aboutsummaryrefslogtreecommitdiff
path: root/security/selinux
diff options
context:
space:
mode:
authorRichard Kennedy <richard@rsk.demon.co.uk>2008-05-18 12:32:57 +0100
committerJames Morris <jmorris@namei.org>2008-07-14 15:01:37 +1000
commitfdeb05184b8b2500e120647778d63fddba76dc59 (patch)
tree19e745966786f4af3d589018d6dc738aeb5f1321 /security/selinux
parentf5269710789f666a65cf1132c4f1d14fbc8d3c29 (diff)
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')
-rw-r--r--security/selinux/include/objsec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/include/objsec.h b/security/selinux/include/objsec.h
index 032c2357dad..5f0be19ca43 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 {