diff options
author | J. Bruce Fields <bfields@redhat.com> | 2017-01-12 10:16:42 -0500 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2017-01-12 10:16:42 -0500 |
commit | 13e2f9577b88d44001b509e89122ad907805b250 (patch) | |
tree | 1a685945bfdfcaa1cd3f5674c65a63f2bbd2610b /support/include/nfs/export.h | |
parent | 9e12e221ead6d869977b43a99e4a7d13a33d82ee (diff) | |
download | nfs-utils-13e2f9577b88d44001b509e89122ad907805b250.tar.gz nfs-utils-13e2f9577b88d44001b509e89122ad907805b250.tar.xz nfs-utils-13e2f9577b88d44001b509e89122ad907805b250.zip |
exportfs: support "security_label" export option
On recent kernels only exports with NFSEXP_SECURITY_LABEL set will
export security labels.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/include/nfs/export.h')
-rw-r--r-- | support/include/nfs/export.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/support/include/nfs/export.h b/support/include/nfs/export.h index 1194255..0eca828 100644 --- a/support/include/nfs/export.h +++ b/support/include/nfs/export.h @@ -18,7 +18,8 @@ #define NFSEXP_ASYNC 0x0010 #define NFSEXP_GATHERED_WRITES 0x0020 #define NFSEXP_NOREADDIRPLUS 0x0040 -/* 80, 100 unused */ +#define NFSEXP_SECURITY_LABEL 0x0080 +/* 0x100 unused */ #define NFSEXP_NOHIDE 0x0200 #define NFSEXP_NOSUBTREECHECK 0x0400 #define NFSEXP_NOAUTHNLM 0x0800 |