]> git.baikalelectronics.ru Git - kernel.git/commit
selinux: add security in-core xattr support for pstore and debugfs
authorMark Salyzyn <salyzyn@android.com>
Wed, 4 Feb 2015 16:34:30 +0000 (11:34 -0500)
committerPaul Moore <pmoore@redhat.com>
Wed, 4 Feb 2015 16:34:30 +0000 (11:34 -0500)
commita3fee9d1783cc8a7b90b617a2a0cd65f211eb374
tree8fd129856aed1a5a579f9a7a8aaa7a24476f8c40
parent4a5792142d420bb2e0121fb8fceceab9c7b4f760
selinux: add security in-core xattr support for pstore and debugfs

- add "pstore" and "debugfs" to list of in-core exceptions
- change fstype checks to boolean equation
- change from strncmp to strcmp for checking

Signed-off-by: Mark Salyzyn <salyzyn@android.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
[PM: tweaked the subject line prefix to "selinux"]
Signed-off-by: Paul Moore <pmoore@redhat.com>
security/selinux/hooks.c