]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Adapt filesystem-independent NFSv4 ACL code (used by UFS, but not by ZFS)
authorEdward Tomasz Napierala <trasz@FreeBSD.org>
Mon, 13 Dec 2010 18:56:04 +0000 (18:56 +0000)
committerEdward Tomasz Napierala <trasz@FreeBSD.org>
Mon, 13 Dec 2010 18:56:04 +0000 (18:56 +0000)
commit4c7bba9985401a4fc415fb76d899bce5641f2017
treea0568b7a45caa458538414646fa6a671bb3af842
parentd0beb2c412502173fd12a375d77cf60c6152ac97
Adapt filesystem-independent NFSv4 ACL code (used by UFS, but not by ZFS)
to PSARC/2010/029.  In short, the semantics is simplified - "weird stuff"
no longer happens after chmod, entries don't get duplicated during
inheritance, and trivial ACLs no longer contain three "DENY" entries,
which is also more friendly to MS Windows.

By default, UFS keeps using old semantics.  To change it, set sysctl
vfs.acl_nfs4_old_semantics to 0.  I'll flip the switch when ZFSv28
hits the tree, to keep these two in sync - ZFS v28 uses PSARC semantics,
and ZFS v15 uses the old one.
sys/kern/subr_acl_nfs4.c