diff options
author | rwatson <rwatson@FreeBSD.org> | 2003-01-31 21:13:25 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2003-01-31 21:13:25 +0000 |
commit | e9e0de5ca49975c9cdbde8a3c003ba0e84e31847 (patch) | |
tree | aa07cf9ac7cda19b1fe705000bbe8793af52d5c0 /lib/libc/stdio/stdio.c | |
parent | 9dd70473b6bcaa295c57599a605acdb94ba8ef9c (diff) | |
download | FreeBSD-src-e9e0de5ca49975c9cdbde8a3c003ba0e84e31847.zip FreeBSD-src-e9e0de5ca49975c9cdbde8a3c003ba0e84e31847.tar.gz |
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.
Diffstat (limited to 'lib/libc/stdio/stdio.c')
0 files changed, 0 insertions, 0 deletions