WSL2-Linux-Kernel/security/selinux/ss
Stephen Smalley 45e5421eb5 SELinux: add more validity checks on policy load
Add more validity checks at policy load time to reject malformed
policies and prevent subsequent out-of-range indexing when in permissive
mode.  Resolves the NULL pointer dereference reported in
https://bugzilla.redhat.com/show_bug.cgi?id=357541.

Signed-off-by:  Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>
2007-11-08 08:56:23 +11:00
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
avtab.c SELinux: add more validity checks on policy load 2007-11-08 08:56:23 +11:00
avtab.h SELinux: add more validity checks on policy load 2007-11-08 08:56:23 +11:00
conditional.c SELinux: add more validity checks on policy load 2007-11-08 08:56:23 +11:00
conditional.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
constraint.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
context.h selinux: Delete mls_copy_context 2007-01-08 17:32:51 -05:00
ebitmap.c SELinux: fix bug in new ebitmap code. 2007-11-08 08:55:10 +11:00
ebitmap.h SELinux: kills warnings in Improve SELinux performance when AVC misses 2007-10-17 08:59:36 +10:00
hashtab.c SELinux: ensure keys constant in hashtab_search 2006-11-28 12:04:37 -05:00
hashtab.h SELinux: ensure keys constant in hashtab_search 2006-11-28 12:04:37 -05:00
mls.c SELinux: add more validity checks on policy load 2007-11-08 08:56:23 +11:00
mls.h SELinux: add more validity checks on policy load 2007-11-08 08:56:23 +11:00
mls_types.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
policydb.c SELinux: add more validity checks on policy load 2007-11-08 08:56:23 +11:00
policydb.h SELinux: add more validity checks on policy load 2007-11-08 08:56:23 +11:00
services.c SELinux: improve performance when AVC misses. 2007-10-17 08:59:34 +10:00
services.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sidtab.c Reassign printk levels in selinux kernel code 2007-02-26 14:43:07 -05:00
sidtab.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
symtab.c SELinux: ensure keys constant in hashtab_search 2006-11-28 12:04:37 -05:00
symtab.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00