Skip to content
Snippets Groups Projects
Commit 2cba1ee1 authored by Stephen Smalley's avatar Stephen Smalley
Browse files

Remove ability to read all /proc/pid/attr/current entries.


This was rendered obsolete when SELinuxDomainTest was ported
to SELinuxHostTest and only makes sense if allowing search
to domain:dir and { open read } to domain:file in order to
open the /proc/pid/attr/current files in the first place.
SELinux applies a further :process getattr check when
reading any of the /proc/pid/attr/* files for any process
other than self, which is no longer needed by app domains to
pass CTS.

Change-Id: Iff1e601e1268d4d77f64788d733789a2d2cd18cc
Signed-off-by: default avatarStephen Smalley <sds@tycho.nsa.gov>
parent 8bd13687
No related branches found
No related tags found
No related merge requests found
...@@ -178,8 +178,6 @@ allow appdomain runas_exec:file getattr; ...@@ -178,8 +178,6 @@ allow appdomain runas_exec:file getattr;
# Check SELinux policy and contexts. # Check SELinux policy and contexts.
selinux_check_access(appdomain) selinux_check_access(appdomain)
selinux_check_context(appdomain) selinux_check_context(appdomain)
# Validate that each process is running in the correct security context.
allow appdomain domain:process getattr;
### ###
### Neverallow rules ### Neverallow rules
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment