Allow appdomains to write on cgroup so it can start threads.

am: d618eb6f9c

* commit 'd618eb6f9cca63509fa05917680b7395ffc5fe60':
  Allow appdomains to write on cgroup so it can start threads.
This commit is contained in:
Nick Kralevich 2015-12-01 19:00:44 +00:00 committed by android-build-merger
commit 781a4bed74

4
app.te
View file

@ -25,6 +25,10 @@ allow appdomain zygote_tmpfs:file read;
# Notify zygote of death;
allow appdomain zygote:process sigchld;
# Place process into foreground / background
allow appdomain cgroup:dir { search write };
allow appdomain cgroup:file w_file_perms;
userdebug_or_eng(`
# Notify zygote of the wrapped process PID when using --invoke-with.
allow appdomain zygote:fifo_file write;