diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-08-12 16:15:34 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-08-12 16:15:34 +0000 |
commit | d14df136e25899f51c4b8aa65ddd3bd2c112e532 (patch) | |
tree | 469acb8d2bf9e76cea15420d324ea0a3d031ed97 /lib/libc/stdlib/hcreate.c | |
parent | caa152031758d04e19a87ea5055271e0d46ce680 (diff) | |
download | FreeBSD-src-d14df136e25899f51c4b8aa65ddd3bd2c112e532.zip FreeBSD-src-d14df136e25899f51c4b8aa65ddd3bd2c112e532.tar.gz |
Implement IO_NOMACCHECK in vn_rdwr() -- perform MAC checks (assuming
'options MAC') as long as IO_NOMACCHECK is not set in the IO flags.
If IO_NOMACCHECK is set, bypass MAC checks in vn_rdwr(). This allows
vn_rdwr() to be used as a utility function inside of file systems
where MAC checks have already been performed, or where the operation
is being done on behalf of the kernel not the user.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI LAbs
Diffstat (limited to 'lib/libc/stdlib/hcreate.c')
0 files changed, 0 insertions, 0 deletions