aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsacl.h
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2007-10-23 17:22:55 -0400
committerSteve French <sfrench@us.ibm.com>2007-10-23 17:22:55 -0400
commit44093ca2fef3c52dc7d186116862d74f9a676e0f (patch)
tree18e03ae747d936b9d9de34abfea38aecb020956c /fs/cifs/cifsacl.h
parentc94897790e7c67dcfe3a0b6f035996398c268313 (diff)
[CIFS] acl support part 6
CC: Shirish Pargaonkar <shirishp@us.ibm.com> Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/cifsacl.h')
-rw-r--r--fs/cifs/cifsacl.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/fs/cifs/cifsacl.h b/fs/cifs/cifsacl.h
index 420f87813647..06d52006bf26 100644
--- a/fs/cifs/cifsacl.h
+++ b/fs/cifs/cifsacl.h
@@ -48,7 +48,7 @@ struct cifs_sid {
48 __u8 revision; /* revision level */ 48 __u8 revision; /* revision level */
49 __u8 num_subauth; 49 __u8 num_subauth;
50 __u8 authority[6]; 50 __u8 authority[6];
51 __le32 sub_auth[5]; /* sub_auth[num_subauth] */ /* BB FIXME endianness BB */ 51 __le32 sub_auth[5]; /* sub_auth[num_subauth] */
52} __attribute__((packed)); 52} __attribute__((packed));
53 53
54struct cifs_acl { 54struct cifs_acl {
@@ -57,18 +57,12 @@ struct cifs_acl {
57 __le32 num_aces; 57 __le32 num_aces;
58} __attribute__((packed)); 58} __attribute__((packed));
59 59
60struct cifs_ntace { /* first part of ACE which contains perms */ 60struct cifs_ace {
61 __u8 type; 61 __u8 type;
62 __u8 flags; 62 __u8 flags;
63 __le16 size; 63 __le16 size;
64 __le32 access_req; 64 __le32 access_req;
65} __attribute__((packed)); 65 struct cifs_sid sid; /* ie UUID of user or group who gets these perms */
66
67struct cifs_ace { /* last part of ACE which includes user info */
68 __u8 revision; /* revision level */
69 __u8 num_subauth;
70 __u8 authority[6];
71 __le32 sub_auth[5];
72} __attribute__((packed)); 66} __attribute__((packed));
73 67
74struct cifs_wksid { 68struct cifs_wksid {