android_kernel_xiaomi_sm8350/security/selinux/ss
Stephen Smalley b1aa5301b9 selinux: fix labeling of /proc/net inodes
The proc net rewrite had a side effect on selinux, leading it to mislabel
the /proc/net inodes, thereby leading to incorrect denials.  Fix
security_genfs_sid to ignore extra leading / characters in the path supplied
by selinux_proc_get_sid since we now get "//net/..." rather than "/net/...".

Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: James Morris <jmorris@namei.org>
2008-01-26 12:16:16 +11:00
..
avtab.c security/selinux: Add missing "space" 2008-01-25 11:29:44 +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
constraint.h
context.h
ebitmap.c
ebitmap.h
hashtab.c
hashtab.h
Makefile
mls_types.h
mls.c selinux: make mls_compute_sid always polyinstantiate 2008-01-25 11:29:56 +11:00
mls.h SELinux: add more validity checks on policy load 2007-11-08 08:56:23 +11: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: fix labeling of /proc/net inodes 2008-01-26 12:16:16 +11:00
services.h
sidtab.c
sidtab.h
symtab.c
symtab.h