git: Fix chdir/fchdir for setuid/setgid binaries

Simon Schubert corecode at crater.dragonflybsd.org
Wed Sep 30 08:12:15 PDT 2009


commit 609c6f34fef1b0942cfff9f26bc1844a4858ad7c
Author: Simon 'corecode' Schubert <corecode at fs.ei.tum.de>
Date:   Wed Sep 30 17:02:24 2009 +0200

    Fix chdir/fchdir for setuid/setgid binaries
    
    Access checks for a directory have to be done using the euid/egid, not
    the ruid/rgid.

Summary of changes:
 sys/kern/vfs_syscalls.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/609c6f34fef1b0942cfff9f26bc1844a4858ad7c


-- 
DragonFly BSD source repository





More information about the Commits mailing list