[PATCH] SELinux: fix size-128 slab leak
authorStephen Smalley <sds@epoch.ncsc.mil>
Fri, 3 Feb 2006 13:21:12 +0000 (08:21 -0500)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 4 Feb 2006 02:31:33 +0000 (18:31 -0800)
commit53ea68ecea11bcbb3451c2758ce181bd97b569a9
tree4e754db2a21db5b90a1650f2993d0b76c00cbd53
parent89a2fa5f2139be35e214bcf86a8291d6a1da75f2
[PATCH] SELinux: fix size-128 slab leak

Remove private inode tests from security_inode_alloc and security_inode_free,
as we otherwise end up leaking inode security structures for private inodes.

Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Acked-by: James Morris <jmorris@namei.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/security.h