Date: Fri, 21 Jul 2006 20:28:56 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/compat/svr4 svr4_misc.c syscalls.master Message-ID: <200607212028.k6LKSuZB003731@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2006-07-21 20:28:56 UTC FreeBSD src repository Modified files: sys/compat/svr4 svr4_misc.c syscalls.master Log: Add conditional VFS Giant locking to svr4_sys_fchroot() and mark it MPSAFE. Also, call change_dir() instead of doing part of it inline (this now adds a mac_check_vnode_chdir() call) to match fchdir() and call mac_check_vnode_chroot() to match chroot(). Also, use the change_root() function to do the actual change root to match chroot(). Reviewed by: rwatson Revision Changes Path 1.89 +21 -19 src/sys/compat/svr4/svr4_misc.c 1.26 +1 -1 src/sys/compat/svr4/syscalls.master
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607212028.k6LKSuZB003731>