Skip to content
Snippets Groups Projects
Commit f4fc0c17 authored by Narayan Kamath's avatar Narayan Kamath Committed by Android Git Automerger
Browse files

am 99499dc0: Merge "Change zygote sepolicy whitelist."

* commit '99499dc0':
  Change zygote sepolicy whitelist.
parents c1995700 99499dc0
No related branches found
No related tags found
No related merge requests found
...@@ -5,7 +5,7 @@ type zygote_exec, exec_type, file_type; ...@@ -5,7 +5,7 @@ type zygote_exec, exec_type, file_type;
init_daemon_domain(zygote) init_daemon_domain(zygote)
typeattribute zygote mlstrustedsubject; typeattribute zygote mlstrustedsubject;
# Override DAC on files and switch uid/gid. # Override DAC on files and switch uid/gid.
allow zygote self:capability { dac_override setgid setuid fowner }; allow zygote self:capability { dac_override setgid setuid fowner chown };
# Drop capabilities from bounding set. # Drop capabilities from bounding set.
allow zygote self:capability setpcap; allow zygote self:capability setpcap;
# Switch SELinux context to app domains. # Switch SELinux context to app domains.
...@@ -20,7 +20,7 @@ allow zygote appdomain:process { getpgid setpgid }; ...@@ -20,7 +20,7 @@ allow zygote appdomain:process { getpgid setpgid };
# Write to system data. # Write to system data.
allow zygote system_data_file:dir rw_dir_perms; allow zygote system_data_file:dir rw_dir_perms;
allow zygote system_data_file:file create_file_perms; allow zygote system_data_file:file create_file_perms;
allow zygote dalvikcache_data_file:dir rw_dir_perms; allow zygote dalvikcache_data_file:dir create_dir_perms;
allow zygote dalvikcache_data_file:file create_file_perms; allow zygote dalvikcache_data_file:file create_file_perms;
# For art. # For art.
allow zygote dalvikcache_data_file:file execute; allow zygote dalvikcache_data_file:file execute;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment