diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-10-19 21:25:51 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-10-19 21:25:51 +0000 |
commit | 615a42874b2003a0b00545878a9e6e24d4a58d72 (patch) | |
tree | c926c3101bf4e0c306e0e6c3a05276fb299c005b /sys/kern/uipc_proto.c | |
parent | 4c2d375ca4e58254fcc2d5f7c0259d285af557a0 (diff) | |
download | FreeBSD-src-615a42874b2003a0b00545878a9e6e24d4a58d72.zip FreeBSD-src-615a42874b2003a0b00545878a9e6e24d4a58d72.tar.gz |
Add a new 'NOMACCHECK' flag to namei() NDINIT flags, which permits the
caller to indicate that MAC checks are not required for the lookup.
Similar to IO_NOMACCHECK for vn_rdwr(), this indicates that the caller
has already performed all required protections and that this is an
internally generated operation. This will be used by the NFS server
code, as we don't currently enforce MAC protections against requests
delivered via NFS.
While here, add NOCROSSMOUNT to PARAMASK; apparently this was used at
one point for name lookup flag checking, but isn't any longer or it
would have triggered from the NFS server code passing it to indicate
that mountpoints shouldn't be crossed in lookups.
Approved by: re
Obtained from: TrustedBSD Project
Sponsored by: DARPA, Network Associates Laboratories
Diffstat (limited to 'sys/kern/uipc_proto.c')
0 files changed, 0 insertions, 0 deletions