diff --git a/zygote.te b/zygote.te index 0fb3842146e4b484bb94ba6f68a1cb78f8864f18..87f72bfbe7129c259b46c706504f887d3f6514a6 100644 --- a/zygote.te +++ b/zygote.te @@ -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 to read + write app data dirs (b/10455872 and b/10498304) allow zygote appdomain:dir { getattr search }; -allow zygote appdomain:file { r_file_perms }; +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 };