cvs commit: src/sys/compat/svr4 svr4_misc.c syscalls.master

John Baldwin jhb at FreeBSD.org
Fri Jul 21 20:29:40 UTC 2006


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


More information about the cvs-src mailing list