Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Jan 2003 13:13:25 -0800 (PST)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern vfs_syscalls.c
Message-ID:  <200301312113.h0VLDPsV003814@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rwatson     2003/01/31 13:13:25 PST

  Modified files:
    sys/kern             vfs_syscalls.c 
  Log:
  Correct handling of locking for chroot() and chdir() cases: rather
  than having change_dir() release the vnode lock on success, hold the
  lock so that we can use it later when invoking MAC checks and
  VOP_ACCESS() in the chroot() code.  Update the comment to reflect
  this calling convention.  Update callers to unlock the vnode
  lock.  Correct a typo regarding vnode naming in the MAC case that
  crept in via the previous patch applied.
  
  Revision  Changes    Path
  1.308     +8 -7      src/sys/kern/vfs_syscalls.c

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200301312113.h0VLDPsV003814>