diff options
author | Namjae Jeon <namjae.jeon@samsung.com> | 2021-06-30 02:38:13 +0200 |
---|---|---|
committer | Namjae Jeon <namjae.jeon@samsung.com> | 2021-06-30 07:43:56 +0200 |
commit | 12411ad59d49e415f987719b8f676e2c6b99be37 (patch) | |
tree | 356fc92df5cef226d2d43c2de6b4cdcd11f9dd24 /fs/ksmbd/smbacl.h | |
parent | ksmbd: change ACE types to enumeration (diff) | |
download | linux-12411ad59d49e415f987719b8f676e2c6b99be37.tar.xz linux-12411ad59d49e415f987719b8f676e2c6b99be37.zip |
ksmbd: change sid types to enumeration
Change sid types to enumeration.
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/ksmbd/smbacl.h')
-rw-r--r-- | fs/ksmbd/smbacl.h | 23 |
1 files changed, 14 insertions, 9 deletions
diff --git a/fs/ksmbd/smbacl.h b/fs/ksmbd/smbacl.h index baa9b9b47a07..3e1345e9f24f 100644 --- a/fs/ksmbd/smbacl.h +++ b/fs/ksmbd/smbacl.h @@ -25,15 +25,20 @@ enum { ACCESS_DENIED, }; -#define SIDOWNER 1 -#define SIDGROUP 2 -#define SIDCREATOR_OWNER 3 -#define SIDCREATOR_GROUP 4 -#define SIDUNIX_USER 5 -#define SIDUNIX_GROUP 6 -#define SIDNFS_USER 7 -#define SIDNFS_GROUP 8 -#define SIDNFS_MODE 9 +/* + * Security ID types + */ +enum { + SIDOWNER = 1, + SIDGROUP, + SIDCREATOR_OWNER, + SIDCREATOR_GROUP, + SIDUNIX_USER, + SIDUNIX_GROUP, + SIDNFS_USER, + SIDNFS_GROUP, + SIDNFS_MODE, +}; /* Revision for ACLs */ #define SD_REVISION 1 |