WSL2-Linux-Kernel/security/smack
Casey Schaufler 46a2f3b9e9 Smack: setprocattr memory leak fix
The data structure allocations being done in prepare_creds
are duplicated in smack_setprocattr. This results in the
structure allocated in prepare_creds being orphaned and
never freed. The duplicate code is removed from
smack_setprocattr.

Targeted for git://git.gitorious.org/smack-next/kernel.git

Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
2012-09-18 09:51:06 -07:00
..
Kconfig Smack: Simplified Mandatory Access Control Kernel 2008-02-05 09:44:20 -08:00
Makefile Smack: Simplified Mandatory Access Control Kernel 2008-02-05 09:44:20 -08:00
smack.h Smack: onlycap limits on CAP_MAC_ADMIN 2012-07-13 15:49:23 -07:00
smack_access.c Smack: onlycap limits on CAP_MAC_ADMIN 2012-07-13 15:49:23 -07:00
smack_lsm.c Smack: setprocattr memory leak fix 2012-09-18 09:51:06 -07:00
smackfs.c Smack: implement revoking all rules for a subject label 2012-09-18 09:50:52 -07:00