diff options
author | Boris Protopopov <pboris@amazon.com> | 2020-12-18 11:30:12 -0600 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2020-12-18 13:25:57 -0600 |
commit | 3970acf7ddb9aa01c4bdeef197495157c98a15f6 (patch) | |
tree | 9a3cbc47f7e7db89ac60c3e39df67a74954b87ad /fs/cifs/cifspdu.h | |
parent | 0bf1bafb17df03fbd0e8b9a086c39e6f24af7193 (diff) |
SMB3: Add support for getting and setting SACLs
Add SYSTEM_SECURITY access flag and use with smb2 when opening
files for getting/setting SACLs. Add "system.cifs_ntsd_full"
extended attribute to allow user-space access to the functionality.
Avoid multiple server calls when setting owner, DACL, and SACL.
Signed-off-by: Boris Protopopov <pboris@amazon.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/cifspdu.h')
-rw-r--r-- | fs/cifs/cifspdu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/cifspdu.h b/fs/cifs/cifspdu.h index ce51183ecaf4..64fe5a47b5e8 100644 --- a/fs/cifs/cifspdu.h +++ b/fs/cifs/cifspdu.h @@ -240,6 +240,8 @@ #define SYNCHRONIZE 0x00100000 /* The file handle can waited on to */ /* synchronize with the completion */ /* of an input/output request */ +#define SYSTEM_SECURITY 0x01000000 /* The system access control list */ + /* can be read and changed */ #define GENERIC_ALL 0x10000000 #define GENERIC_EXECUTE 0x20000000 #define GENERIC_WRITE 0x40000000 |