]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit8f3a5151037cad3e9829fd327bdc4db63dd417a5
tree4e754db2a21db5b90a1650f2993d0b76c00cbd53
parent0ec8202161ec9abbc1b45b3f8146821ad43f1b54
[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