android_kernel_samsung_msm8976/security
Stephen Smalley 659e4f9211 selinux: enable genfscon labeling for sysfs and pstore files
Support per-file labeling of sysfs and pstore files based on
genfscon policy entries.  This is safe because the sysfs
and pstore directory tree cannot be manipulated by userspace,
except to unlink pstore entries.
This provides an alternative method of assigning per-file labeling
to sysfs or pstore files without needing to set the labels from
userspace on each boot.  The advantages of this approach are that
the labels are assigned as soon as the dentry is first instantiated
and userspace does not need to walk the sysfs or pstore tree and
set the labels on each boot.  The limitations of this approach are
that the labels can only be assigned based on pathname prefix matching.
You can initially assign labels using this mechanism and then change
them at runtime via setxattr if allowed to do so by policy.

Change-Id: If5999785fdc1d24d869b23ae35cd302311e94562
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Suggested-by: Dominick Grift <dac.override@gmail.com>
Git-commit: 6f4f0dc1bc18de691668acf4bfeb9420507e2aa5
Git-repo: https://android.googlesource.com/kernel/common.git
Signed-off-by: Kaushal Kumar <kaushalk@codeaurora.org>
2015-09-16 18:20:18 +05:30
..
apparmor sched: move no_new_privs into new atomic flags 2015-03-19 14:52:51 -07:00
integrity evm: check xattr value length and type in evm_inode_setxattr() 2014-11-14 08:47:54 -08:00
keys KEYS: close race between key lookup and freeing 2015-01-29 17:40:56 -08:00
selinux selinux: enable genfscon labeling for sysfs and pstore files 2015-09-16 18:20:18 +05:30
smack
tomoyo
yama
Kconfig security: add PFT to the default security LSM list 2014-09-29 16:07:33 +03:00
Makefile
capability.c Revert "Add security hooks to binder and implement the hooks for SELinux." 2015-03-19 14:59:35 -07:00
commoncap.c This is the 3.10.67 stable release 2015-04-24 18:04:40 -07:00
device_cgroup.c
inode.c
lsm_audit.c security: lsm_audit: add ioctl specific auditing 2015-06-19 14:35:36 +05:30
min_addr.c
security.c Revert "Add security hooks to binder and implement the hooks for SELinux." 2015-03-19 14:59:35 -07:00