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

Allow reading of /data/security/current symlink.


If we are going to allow all domains to search and
stat the contents of /data/security, then we should
also allow them to read the /data/security/current symlink
created by SELinuxPolicyInstallReceiver to the directory
containing the current policy update.

Change-Id: Ida352ed7ae115723964d2723f1115a87af438013
Signed-off-by: default avatarStephen Smalley <sds@tycho.nsa.gov>
parent 2a36dff6
No related branches found
No related tags found
No related merge requests found
......@@ -128,9 +128,10 @@ allow domain debugfs:file w_file_perms;
# Get SELinux enforcing status.
selinux_getenforce(domain)
# security files
# /data/security files
allow domain security_file:dir { search getattr };
allow domain security_file:file getattr;
allow domain security_file:lnk_file r_file_perms;
# World readable asec image contents
allow domain asec_public_file:file r_file_perms;
......
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