diff options
author | Steve French <sfrench@us.ibm.com> | 2007-10-17 18:50:39 -0400 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2007-10-17 18:50:39 -0400 |
commit | a750e77c21d75abd26fbbde2e104fd406566b6e5 (patch) | |
tree | d4ec933e45547926dbc02d17ea786dacdd8b24ba /fs/cifs/cifsacl.h | |
parent | d5d18501090179d557a4ca976d1c30bfaf5de091 (diff) |
[CIFS] acl support part 4
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsacl.h')
-rw-r--r-- | fs/cifs/cifsacl.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/fs/cifs/cifsacl.h b/fs/cifs/cifsacl.h index fa01053fc5fa..420f87813647 100644 --- a/fs/cifs/cifsacl.h +++ b/fs/cifs/cifsacl.h | |||
@@ -23,9 +23,18 @@ | |||
23 | #define _CIFSACL_H | 23 | #define _CIFSACL_H |
24 | 24 | ||
25 | 25 | ||
26 | #define NUM_AUTHS 6 /* number of authority fields */ | ||
27 | #define NUM_SUBAUTHS 5 /* number of sub authority fields */ | ||
26 | #define NUM_WK_SIDS 7 /* number of well known sids */ | 28 | #define NUM_WK_SIDS 7 /* number of well known sids */ |
27 | #define SIDNAMELENGTH 20 /* long enough for the ones we care about */ | 29 | #define SIDNAMELENGTH 20 /* long enough for the ones we care about */ |
28 | 30 | ||
31 | #define READ_BIT 0x4 | ||
32 | #define WRITE_BIT 0x2 | ||
33 | #define EXEC_BIT 0x1 | ||
34 | |||
35 | #define UBITSHIFT 6 | ||
36 | #define GBITSHIFT 3 | ||
37 | |||
29 | struct cifs_ntsd { | 38 | struct cifs_ntsd { |
30 | __le16 revision; /* revision level */ | 39 | __le16 revision; /* revision level */ |
31 | __le16 type; | 40 | __le16 type; |