]> 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)
commit5a8ac5a886e7bd8b215908c9e09c9ff4ecf5c269
tree8fd129856aed1a5a579f9a7a8aaa7a24476f8c40
parentff64d9951a3cdbf65d93236ad2c22b982e3ea6b9
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