diff options
author | rwatson <rwatson@FreeBSD.org> | 2009-06-05 14:15:00 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2009-06-05 14:15:00 +0000 |
commit | 443daa9bab0c85781ee5b780e69f3055608d5eeb (patch) | |
tree | 6a555ea4383a534673ce0bd71c80efc826072bd2 /sys/fs | |
parent | 2a2a9b962d1cb11cb9cb8f8ce7f5d4b914d20c54 (diff) | |
download | FreeBSD-src-443daa9bab0c85781ee5b780e69f3055608d5eeb.zip FreeBSD-src-443daa9bab0c85781ee5b780e69f3055608d5eeb.tar.gz |
Don't check MAC in the NFS server ACL set path, right now we aren't
enforcing MAC for NFS clients.
Diffstat (limited to 'sys/fs')
-rw-r--r-- | sys/fs/nfs/nfs_commonacl.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/fs/nfs/nfs_commonacl.c b/sys/fs/nfs/nfs_commonacl.c index 13d9043..99d796e 100644 --- a/sys/fs/nfs/nfs_commonacl.c +++ b/sys/fs/nfs/nfs_commonacl.c @@ -703,10 +703,6 @@ nfsrv_setacl(vnode_t vp, NFSACL_T *aclp, struct ucred *cred, if (aclp->acl_cnt > (ACL_MAX_ENTRIES - 6) / 2) return (NFSERR_ATTRNOTSUPP); error = VOP_ACLCHECK(vp, ACL_TYPE_NFS4, aclp, cred, p); -#ifdef MAC - if (!error) - error = mac_check_vnode_setacl(cred, vp, ACL_TYPE_NFS4, aclp); -#endif if (!error) error = VOP_SETACL(vp, ACL_TYPE_NFS4, aclp, cred, p); return (error); |