aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsacl.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs/cifsacl.h')
-rw-r--r--fs/cifs/cifsacl.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/fs/cifs/cifsacl.h b/fs/cifs/cifsacl.h
index b975ae113037..5e7b56738cc5 100644
--- a/fs/cifs/cifsacl.h
+++ b/fs/cifs/cifsacl.h
@@ -33,10 +33,9 @@ struct cifs_ntsd {
33 33
34struct cifs_sid { 34struct cifs_sid {
35 __u8 revision; /* revision level */ 35 __u8 revision; /* revision level */
36 __u8 num_auth; 36 __u8 num_subauth;
37 __u8 authority[6]; 37 __u8 authority[6];
38 __u32 sub_auth[4]; 38 __u32 sub_auth[0]; /* sub_auth[num_subauth] */
39 __u32 rid;
40} __attribute__((packed)); 39} __attribute__((packed));
41 40
42struct cifs_acl { 41struct cifs_acl {
@@ -54,10 +53,9 @@ struct cifs_ntace {
54 53
55struct cifs_ace { 54struct cifs_ace {
56 __u8 revision; /* revision level */ 55 __u8 revision; /* revision level */
57 __u8 num_auth; 56 __u8 num_subauth;
58 __u8 authority[6]; 57 __u8 authority[6];
59 __u32 sub_auth[4]; 58 __u32 sub_auth[0];
60 __u32 rid;
61} __attribute__((packed)); 59} __attribute__((packed));
62 60
63/* everyone */ 61/* everyone */