diff options
author | trasz <trasz@FreeBSD.org> | 2011-03-04 17:23:10 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2011-03-04 17:23:10 +0000 |
commit | a751651e6d0fa30b88f367c059838771e685493e (patch) | |
tree | e4d9e001bc6f585e07151d12620c0bb94abc83c2 /lib | |
parent | 89a4324b38557f70adf35b25e7874fd56b17c8a6 (diff) | |
download | FreeBSD-src-a751651e6d0fa30b88f367c059838771e685493e.zip FreeBSD-src-a751651e6d0fa30b88f367c059838771e685493e.tar.gz |
Make acl_strip_np(3) use new trivial ACL format for NFSv4 ACls (three
entries instead of six). This makes "setfacl -b" do the right thing
for ACLs on ZFS. UFS recognizes both kinds of trivial ACLs; no change
there.
MFC after: 2 months
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/posix1e/acl_strip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/posix1e/acl_strip.c b/lib/libc/posix1e/acl_strip.c index c4065d6..c0b0ff3 100644 --- a/lib/libc/posix1e/acl_strip.c +++ b/lib/libc/posix1e/acl_strip.c @@ -141,7 +141,7 @@ acl_strip_np(const acl_t aclp, int recalculate_mask) { switch (_acl_brand(aclp)) { case ACL_BRAND_NFS4: - return (_nfs4_acl_strip_np(aclp, 1)); + return (_nfs4_acl_strip_np(aclp, 0)); case ACL_BRAND_POSIX: return (_posix1e_acl_strip_np(aclp, recalculate_mask)); |