Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fdeb0518 authored by Richard Kennedy's avatar Richard Kennedy Committed by James Morris
Browse files

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: default avatarRichard Kennedy <richard@rsk.demon.co.uk>
Signed-off-by: default avatarJames Morris <jmorris@namei.org>
parent f5269710
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 {