diff --git a/zygote.te b/zygote.te index 9a5bc4b67bf55042372b4124d425abb0cacffc5b..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 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 };