android_kernel_xiaomi_sm8350/security/selinux/ss
Serge E. Hallyn 0cccca06f9 [PATCH] selinux: check for failed kmalloc in security_sid_to_context()
Check for NULL kmalloc return value before writing to it.

Signed-off-by: Serge E. Hallyn <serue@us.ibm.com>
Acked-by: James Morris <jmorris@namei.org>
Cc: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-05-15 11:20:54 -07:00
..
avtab.c [PATCH] selinux: more ARRAY_SIZE cleanups 2006-01-06 08:33:29 -08:00
avtab.h
conditional.c
conditional.h
constraint.h
context.h
ebitmap.c
ebitmap.h
hashtab.c
hashtab.h
Makefile
mls_types.h
mls.c [PATCH] support for context based audit filtering 2006-05-01 06:06:24 -04:00
mls.h [PATCH] support for context based audit filtering 2006-05-01 06:06:24 -04:00
policydb.c [PATCH] selinux: more ARRAY_SIZE cleanups 2006-01-06 08:33:29 -08:00
policydb.h
services.c [PATCH] selinux: check for failed kmalloc in security_sid_to_context() 2006-05-15 11:20:54 -07:00
services.h
sidtab.c
sidtab.h
symtab.c
symtab.h