From 3d886cd9df5f94359d4ff46210cf2bd3398b2df5 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Sat, 14 Mar 2015 20:35:19 -0400 Subject: [PATCH] extend app policy to fix wrapped processes Bug: 15435041 Change-Id: I26209bf8e0b896eac016b5dd1faf6b6e97d72aff Signed-off-by: Daniel Micay --- app.te | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app.te b/app.te index 27ec14b34..0c866c51a 100644 --- a/app.te +++ b/app.te @@ -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;