diff --git a/private/dumpstate.te b/private/dumpstate.te index 4c77b7938..0eafca6e7 100644 --- a/private/dumpstate.te +++ b/private/dumpstate.te @@ -32,3 +32,8 @@ binder_call(dumpstate, statsd) # Collect metrics on boot time created by init get_prop(dumpstate, boottime_prop) + +# Signal native processes to dump their stack. +allow dumpstate { + statsd +}:process signal; diff --git a/private/system_server.te b/private/system_server.te index 642c8bd0e..f8f5e3e49 100644 --- a/private/system_server.te +++ b/private/system_server.te @@ -239,6 +239,7 @@ allow system_server { mediaserver mediametrics sdcardd + statsd surfaceflinger # This list comes from HAL_INTERFACES_OF_INTEREST in