android_kernel_xiaomi_sm8350/security/selinux/ss
Paul Moore bf0edf3929 NetLabel: better error handling involving mls_export_cat()
Upon inspection it looked like the error handling for mls_export_cat() was
rather poor.  This patch addresses this by NULL'ing out kfree()'d pointers
before returning and checking the return value of the function everywhere
it is called.

Signed-off-by: Paul Moore <paul.moore@hp.com>
Signed-off-by: James Morris <jmorris@namei.org>
2006-10-15 23:14:15 -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 NetLabel: better error handling involving mls_export_cat() 2006-10-15 23:14:15 -07:00
ebitmap.h [NetLabel]: SELinux support 2006-09-22 14:53:36 -07:00
hashtab.c
hashtab.h
Makefile
mls_types.h
mls.c NetLabel: better error handling involving mls_export_cat() 2006-10-15 23:14:15 -07:00
mls.h [NetLabel]: SELinux support 2006-09-22 14:53:36 -07:00
policydb.c SELinux: Bug fix in polidydb_destroy 2006-10-11 23:59:41 -07:00
policydb.h [PATCH] selinux: add support for range transitions on object classes 2006-09-26 08:48:52 -07:00
services.c NetLabel: better error handling involving mls_export_cat() 2006-10-15 23:14:15 -07:00
services.h
sidtab.c
sidtab.h
symtab.c
symtab.h