git: DragonFly_RELEASE_2_4 Fix chdir/fchdir for setuid/setgid binaries

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Sep 30 08:40:45 PDT 2009


commit a434d70ce9e0882c28d7be190e72f9034a1960a3
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/a434d70ce9e0882c28d7be190e72f9034a1960a3


-- 
DragonFly BSD source repository





More information about the Commits mailing list