android_kernel_google_msm/security
Stephen Smalley 9ee1b3ecbe selinux: Remove unused permission definitions
Remove unused permission definitions from SELinux.
Many of these were only ever used in pre-mainline
versions of SELinux, prior to Linux 2.6.0.  Some of them
were used in the legacy network or compat_net=1 checks
that were disabled by default in Linux 2.6.18 and
fully removed in Linux 2.6.30.

Permissions never used in mainline Linux:
file swapon
filesystem transition
tcp_socket { connectto newconn acceptfrom }
node enforce_dest
unix_stream_socket { newconn acceptfrom }

Legacy network checks, removed in 2.6.30:
socket { recv_msg send_msg }
node { tcp_recv tcp_send udp_recv udp_send rawip_recv rawip_send dccp_recv dccp_send }
netif { tcp_recv tcp_send udp_recv udp_send rawip_recv rawip_send dccp_recv dccp_send }

Change-Id: I976d81760be7a800d696afb9ffc6c7a5dafa5c69
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Paul Moore <pmoore@redhat.com>
2020-11-14 17:06:52 +01:00
..
apparmor nick kvfree() from apparmor 2014-11-18 15:13:23 -08:00
integrity evm: check xattr value length and type in evm_inode_setxattr() 2015-02-02 17:05:06 +08:00
keys Merge remote-tracking branch 'stable/linux-3.4.y' into lineage-15.1 2017-12-27 17:13:15 +03:00
selinux selinux: Remove unused permission definitions 2020-11-14 17:06:52 +01:00
smack Merge remote-tracking branch 'stable/linux-3.4.y' into lineage-15.1 2017-12-27 17:13:15 +03:00
tomoyo consitify do_mount() arguments 2015-07-13 11:17:52 -07:00
yama
Kconfig FROMLIST: security,perf: Allow further restriction of perf_event_open 2016-06-20 19:00:29 +00:00
Makefile
capability.c consitify do_mount() arguments 2015-07-13 11:17:52 -07:00
commoncap.c UPSTREAM: capabilities: ambient capabilities 2017-09-01 13:38:08 +03:00
device_cgroup.c
inode.c vfs: Add permission2 for filesystems with per mount permissions 2017-09-22 19:12:07 +03:00
lsm_audit.c security: lsm_audit: add ioctl specific auditing 2015-04-20 09:42:31 -07:00
min_addr.c
security.c consitify do_mount() arguments 2015-07-13 11:17:52 -07:00