Made sure Posix ACLs are not padded by compiler

PERMISSION_HANDLING_BRANCH
Jean-Pierre André 2010-10-01 10:38:35 +02:00
parent 270b640b99
commit 07e686a744
1 changed files with 2 additions and 2 deletions

View File

@ -166,14 +166,14 @@ struct POSIX_ACE {
u16 tag;
u16 perms;
s32 id;
} ;
} __attribute__((__packed__));
struct POSIX_ACL {
u8 version;
u8 flags;
u16 filler;
struct POSIX_ACE ace[0];
} ;
} __attribute__((__packed__));
struct POSIX_SECURITY {
mode_t mode;