Allow nfs4-acl-tools to access 'dacl' and 'sacl'
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | libnfs4acl: Add helpers to set the dacl and saclinclude/ libnfs4acl/ libnfs4acl/ +1 more | +143 | 0 replies | |
| 2/6 | libnfs4acl: Add support for the NFS4.1 ACE_INHERITED_ACE flaginclude/ include/ libnfs4acl/ +2 more | +8 | 0 replies | |
| 3/6 | The NFSv41 DACL and SACL prepend an extra field to the aclinclude/ include/ libnfs4acl/ +5 more | +57 | 0 replies | |
| 4/6 | nfs4_getacl: Add support for the --dacl and --sacl optionsnfs4_getfacl/ | +65 | 0 replies | |
| 5/6 | nfs4_setacl: Add support for the --dacl and --sacl optionsnfs4_setfacl/ | +64 | 0 replies | |
| 6/6 | Edit manpages to document the new --dacl, --sacl and inheritance featuresman/ man/ man/ | +32 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6] Allow nfs4-acl-tools to access 'dacl' and 'sacl'
From: Trond Myklebust <[email protected]>
The following patch set matches the kernel patches to allow access to the NFSv4.1 'dacl' and 'sacl' attributes. The current patches are very basic, adding support for encoding/decoding the new attributes only when the user specifies the '--dacl' or '--sacl' flags on the command line.
Trond Myklebust (6):
libnfs4acl: Add helpers to set the dacl and sacl
libnfs4acl: Add support for the NFS4.1 ACE_INHERITED_ACE flag The NFSv41 DACL and SACL prepend an extra field to the acl
nfs4_getacl: Add support for the --dacl and --sacl options
nfs4_setacl: Add support for the --dacl and --sacl options Edit manpages to document the new --dacl, --sacl and inheritance
features
include/libacl_nfs4.h | 18 +++++++ include/nfs4.h | 6 +++ libnfs4acl/Makefile | 2 + libnfs4acl/acl_nfs4_copy_acl.c | 2 + libnfs4acl/acl_nfs4_xattr_load.c | 14 +++++- libnfs4acl/acl_nfs4_xattr_pack.c | 22 ++++++-- libnfs4acl/nfs4_ace_from_string.c | 3 ++ libnfs4acl/nfs4_get_ace_flags.c | 2 + libnfs4acl/nfs4_getacl.c | 84 +++++++++++++++++++++++++++++++ libnfs4acl/nfs4_new_acl.c | 1 + libnfs4acl/nfs4_setacl.c | 49 ++++++++++++++++++ man/man1/nfs4_getfacl.1 | 14 ++++++ man/man1/nfs4_setfacl.1 | 8 +++ man/man5/nfs4_acl.5 | 10 ++++ nfs4_getfacl/nfs4_getfacl.c | 73 ++++++++++++++++++++++++--- nfs4_setfacl/nfs4_setfacl.c | 67 ++++++++++++++++++++++-- 16 files changed, 359 insertions(+), 16 deletions(-) create mode 100644 libnfs4acl/nfs4_getacl.c create mode 100644 libnfs4acl/nfs4_setacl.c
Signature · 1 line
2.36.1