diff options
author | Ryan Moeller <[email protected]> | 2020-10-14 00:25:48 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2020-10-13 21:25:48 -0700 |
commit | 485b50bb9e6772240af32fba434ddb8ebfa8cede (patch) | |
tree | 32c66cae383645c41bcf43ecc6345af532a1b5a7 /include/sys | |
parent | b302185a9283fa93ce98d17ca9893437753ec665 (diff) |
Cross-platform acltype
The acltype property is currently hidden on FreeBSD and does not
reflect the NFSv4 style ZFS ACLs used on the platform. This makes it
difficult to observe that a pool imported from FreeBSD on Linux has a
different type of ACL that is being ignored, and vice versa.
Add an nfsv4 acltype and expose the property on FreeBSD.
Make the default acltype nfsv4 on FreeBSD.
Setting acltype to an unhanded style is treated the same as setting
it to off. The ACLs will not be removed, but they will be ignored.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Ryan Moeller <[email protected]>
Closes #10520
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/zfs_ioctl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sys/zfs_ioctl.h b/include/sys/zfs_ioctl.h index 53629cfc2..afae576ea 100644 --- a/include/sys/zfs_ioctl.h +++ b/include/sys/zfs_ioctl.h @@ -68,6 +68,7 @@ extern "C" { */ #define ZFS_ACLTYPE_OFF 0 #define ZFS_ACLTYPE_POSIX 1 +#define ZFS_ACLTYPE_NFSV4 2 /* * Field manipulation macros for the drr_versioninfo field of the |