Home
last modified time | relevance | path

Searched hist:"20 c19e41" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/security/selinux/
H A Dselinuxfs.c20c19e41 Sun Oct 23 14:57:16 CDT 2005 Davi Arnaut <davi.arnaut@gmail.com> [PATCH] SELinux: handle sel_make_bools() failure in selinuxfs

This patch fixes error handling in sel_make_bools(), where currently we'd
get a memory leak via security_get_bools() and try to kfree() the wrong
pointer if called again.

Signed-off-by: James Morris <jmorris@namei.org>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
20c19e41 Sun Oct 23 14:57:16 CDT 2005 Davi Arnaut <davi.arnaut@gmail.com> [PATCH] SELinux: handle sel_make_bools() failure in selinuxfs

This patch fixes error handling in sel_make_bools(), where currently we'd
get a memory leak via security_get_bools() and try to kfree() the wrong
pointer if called again.

Signed-off-by: James Morris <jmorris@namei.org>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>