Merge "extend app policy to fix wrapped processes"

This commit is contained in:
Nick Kralevich 2015-03-26 22:49:13 +00:00 committed by Gerrit Code Review
commit 6b03bbab30

5
app.te
View file

@ -27,6 +27,11 @@ allow appdomain zygote_tmpfs:file read;
# Notify zygote of death;
allow appdomain zygote:process sigchld;
# Notify zygote of the wrapped process PID when using --invoke-with.
userdebug_or_eng(`
allow appdomain zygote:fifo_file write;
')
# Notify shell and adbd of death when spawned via runas for ndk-gdb.
allow appdomain shell:process sigchld;
allow appdomain adbd:process sigchld;