Skip to content
Snippets Groups Projects
Commit ae5927b8 authored by Geremy Condra's avatar Geremy Condra Committed by The Android Automerger
Browse files

Give Zygote the ability to write app data files.

This fixes another bug encountered while taking bugreports.

Bug: 10498304
Change-Id: Ie33e869ccd28c5461f4f3736c078b2a865aa7cdd
parent da952e12
No related branches found
No related tags found
No related merge requests found
......@@ -11,9 +11,9 @@ allow zygote self:capability setpcap;
# Switch SELinux context to app domains.
allow zygote system:process dyntransition;
allow zygote appdomain:process dyntransition;
# Allow zygote to read app data dirs (b/10455872)
allow zygote appdomain:dir search;
allow zygote appdomain:file { r_file_perms };
# Allow zygote to read + write app data dirs (b/10455872 and b/10498304)
allow zygote appdomain:dir { getattr search };
allow zygote appdomain:file { r_file_perms write };
# Move children into the peer process group.
allow zygote system:process { getpgid setpgid };
allow zygote appdomain:process { getpgid setpgid };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment