Fix chdir/fchdir for setuid/setgid binaries
commita434d70ce9e0882c28d7be190e72f9034a1960a3
authorSimon 'corecode' Schubert <corecode@fs.ei.tum.de>
Wed, 30 Sep 2009 15:02:24 +0000 (30 17:02 +0200)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 30 Sep 2009 15:40:18 +0000 (30 08:40 -0700)
treea8fcc262741adfd54d619a8ed0139535c95e2364
parentd8251b4ea0451fdc6f36b91859b71673f67933ba
Fix chdir/fchdir for setuid/setgid binaries

Access checks for a directory have to be done using the euid/egid, not
the ruid/rgid.
sys/kern/vfs_syscalls.c