android_kernel_xiaomi_sm8350/security/selinux
Davi Arnaut 20c19e4179 [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>
2005-10-23 16:38:39 -07:00
..
include [PATCH] Remove security_inode_post_create/mkdir/symlink/mknod hooks 2005-09-09 13:57:28 -07:00
ss [PATCH] selinux: Fix NULL deref in policydb_destroy 2005-10-23 16:38:38 -07:00
avc.c Merge master.kernel.org:/pub/scm/linux/kernel/git/dwmw2/audit-2.6 2005-09-13 09:47:30 -07:00
hooks.c [PATCH] SELinux - fix SCTP socket bug and general IP protocol handling 2005-09-30 11:36:04 -07:00
Kconfig Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
netif.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
netlink.c [NETLINK]: Add "groups" argument to netlink_kernel_create 2005-08-29 16:01:11 -07:00
nlmsgtab.c [SELINUX]: Update for tcp_diag rename to inet_diag. 2005-08-29 16:01:15 -07:00
selinuxfs.c [PATCH] SELinux: handle sel_make_bools() failure in selinuxfs 2005-10-23 16:38:39 -07:00