summaryrefslogtreecommitdiff
path: root/fs/cifs/cifsacl.h
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2007-10-23 21:22:55 +0000
committerSteve French <sfrench@us.ibm.com>2007-10-23 21:22:55 +0000
commit44093ca2fef3c52dc7d186116862d74f9a676e0f (patch)
tree18e03ae747d936b9d9de34abfea38aecb020956c /fs/cifs/cifsacl.h
parentc94897790e7c67dcfe3a0b6f035996398c268313 (diff)
downloadlinux-3.10-44093ca2fef3c52dc7d186116862d74f9a676e0f.tar.gz
linux-3.10-44093ca2fef3c52dc7d186116862d74f9a676e0f.tar.bz2
linux-3.10-44093ca2fef3c52dc7d186116862d74f9a676e0f.zip
[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 420f8781364..06d52006bf2 100644
--- a/fs/cifs/cifsacl.h
+++ b/fs/cifs/cifsacl.h
@@ -48,7 +48,7 @@ struct cifs_sid {
__u8 revision; /* revision level */
__u8 num_subauth;
__u8 authority[6];
- __le32 sub_auth[5]; /* sub_auth[num_subauth] */ /* BB FIXME endianness BB */
+ __le32 sub_auth[5]; /* sub_auth[num_subauth] */
} __attribute__((packed));
struct cifs_acl {
@@ -57,18 +57,12 @@ struct cifs_acl {
__le32 num_aces;
} __attribute__((packed));
-struct cifs_ntace { /* first part of ACE which contains perms */
+struct cifs_ace {
__u8 type;
__u8 flags;
__le16 size;
__le32 access_req;
-} __attribute__((packed));
-
-struct cifs_ace { /* last part of ACE which includes user info */
- __u8 revision; /* revision level */
- __u8 num_subauth;
- __u8 authority[6];
- __le32 sub_auth[5];
+ struct cifs_sid sid; /* ie UUID of user or group who gets these perms */
} __attribute__((packed));
struct cifs_wksid {