diff options
author | delphij <delphij@FreeBSD.org> | 2015-09-04 00:14:20 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2015-09-04 00:14:20 +0000 |
commit | db0a2c953d7c03e6526acbf76bee458a3e6543ce (patch) | |
tree | fe31f09e9c5626284dbb21397b98cf5d4cb61e78 /lib/libc | |
parent | 056def92613300ef70cb16126760d5199849a252 (diff) | |
download | FreeBSD-src-db0a2c953d7c03e6526acbf76bee458a3e6543ce.zip FreeBSD-src-db0a2c953d7c03e6526acbf76bee458a3e6543ce.tar.gz |
Expose an interface to determine if an ACE is inherited.
Submitted by: sef
Reviewed by: trasz
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D3540
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/posix1e/acl_add_flag_np.3 | 3 | ||||
-rw-r--r-- | lib/libc/posix1e/acl_support_nfs4.c | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/posix1e/acl_add_flag_np.3 b/lib/libc/posix1e/acl_add_flag_np.3 index db8e565..2204826 100644 --- a/lib/libc/posix1e/acl_add_flag_np.3 +++ b/lib/libc/posix1e/acl_add_flag_np.3 @@ -25,7 +25,7 @@ .\" .\" $FreeBSD$ .\" -.Dd October 30, 2014 +.Dd September 4, 2015 .Dt ACL_ADD_FLAG_NP 3 .Os .Sh NAME @@ -56,6 +56,7 @@ Valid values are: .It ACL_ENTRY_DIRECTORY_INHERIT Ta "Will be inherited by directories." .It ACL_ENTRY_NO_PROPAGATE_INHERIT Ta "Will not propagate." .It ACL_ENTRY_INHERIT_ONLY Ta "Inherit-only." +.It ACL_ENTRY_INHERITED Ta "Inherited from parent" .El .Sh RETURN VALUES .Rv -std acl_add_flag_np diff --git a/lib/libc/posix1e/acl_support_nfs4.c b/lib/libc/posix1e/acl_support_nfs4.c index 4878b43..1eece98 100644 --- a/lib/libc/posix1e/acl_support_nfs4.c +++ b/lib/libc/posix1e/acl_support_nfs4.c @@ -48,6 +48,7 @@ struct flagnames_struct a_flags[] = { ACL_ENTRY_NO_PROPAGATE_INHERIT, "no_propagate", 'n'}, { ACL_ENTRY_SUCCESSFUL_ACCESS, "successfull_access", 'S'}, { ACL_ENTRY_FAILED_ACCESS, "failed_access", 'F'}, + { ACL_ENTRY_INHERITED, "inherited", 'I' }, /* * There is no ACE_IDENTIFIER_GROUP here - SunOS does not show it * in the "flags" field. There is no ACE_OWNER, ACE_GROUP or |