diff options
author | Richard Kennedy <richard@rsk.demon.co.uk> | 2008-05-18 11:32:57 (GMT) |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2008-07-14 05:01:37 (GMT) |
commit | fdeb05184b8b2500e120647778d63fddba76dc59 (patch) | |
tree | 19e745966786f4af3d589018d6dc738aeb5f1321 /security/selinux/include/objsec.h | |
parent | f5269710789f666a65cf1132c4f1d14fbc8d3c29 (diff) | |
download | linux-fsl-qoriq-fdeb05184b8b2500e120647778d63fddba76dc59.tar.xz |
SELinux: reorder inode_security_struct to increase objs/slab on 64bit
reorder inode_security_struct to remove padding on 64 bit builds
size reduced from 72 to 64 bytes increasing objects per slab to 64.
Signed-off-by: Richard Kennedy <richard@rsk.demon.co.uk>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security/selinux/include/objsec.h')
-rw-r--r-- | security/selinux/include/objsec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/include/objsec.h b/security/selinux/include/objsec.h index 032c235..5f0be19 100644 --- a/security/selinux/include/objsec.h +++ b/security/selinux/include/objsec.h @@ -43,8 +43,8 @@ struct inode_security_struct { u32 sid; /* SID of this object */ u16 sclass; /* security class of this object */ unsigned char initialized; /* initialization flag */ - struct mutex lock; unsigned char inherit; /* inherit SID from parent entry */ + struct mutex lock; }; struct file_security_struct { |