lineage_android_kernel_sams.../security
Stephen Smalley 4888634719 Enable setting security contexts on rootfs inodes.
rootfs (ramfs) can support setting of security contexts
by userspace due to the vfs fallback behavior of calling
the security module to set the in-core inode state
for security.* attributes when the filesystem does not
provide an xattr handler.  No xattr handler required
as the inodes are pinned in memory and have no backing
store.

This is useful in allowing early userspace to label individual
files within a rootfs while still providing a policy-defined
default via genfs.

Change-Id: Ifc7e2dad167e79c2319139e22042513fd3130be2
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
2018-11-15 07:41:13 +03:00
..
apparmor nick kvfree() from apparmor 2018-11-15 07:37:25 +03:00
integrity evm: check xattr value length and type in evm_inode_setxattr() 2015-02-02 17:05:06 +08:00
keys UPSTREAM: KEYS: encrypted: fix buffer overread in valid_master_desc() 2018-09-18 16:03:15 +03:00
selinux Enable setting security contexts on rootfs inodes. 2018-11-15 07:41:13 +03:00
smack Merge the linux-stable linux-3.4.y branch 2016-07-09 08:42:10 +08:00
tima_uevent Merge GT-I9505_KK_Opensource_Update5 2014-03-28 02:34:15 -07:00
tomoyo consitify do_mount() arguments 2015-10-13 23:37:11 -05:00
yama Yama: handle 32-bit userspace prctl 2012-10-07 08:32:28 -07:00
Kconfig FROMLIST: security,perf: Allow further restriction of perf_event_open 2016-08-09 07:29:28 -07:00
Makefile Merge GT-I9505_KK_Opensource_Update5 2014-03-28 02:34:15 -07:00
capability.c consitify do_mount() arguments 2015-10-13 23:37:11 -05:00
commoncap.c Add PR_{GET,SET}_NO_NEW_PRIVS to prevent execve from granting privs 2014-09-18 21:00:19 -05:00
device_cgroup.c cgroup: remove cgroup_subsys argument from callbacks 2012-02-02 09:20:22 -08:00
inode.c vfs: Add permission2 for filesystems with per mount permissions 2018-10-03 15:42:02 +03:00
lsm_audit.c security: add ioctl specific auditing to lsm_audit 2016-08-27 12:24:04 +08:00
min_addr.c
security.c consitify do_mount() arguments 2015-10-13 23:37:11 -05:00