summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Shih <adamshih@google.com>2023-07-13 05:04:33 +0000
committerAdam Shih <adamshih@google.com>2023-08-04 09:10:59 +0800
commit59e512323906b2b4b0b2f1ae684b83ea8b6f4641 (patch)
tree72b6a082e3e5a016422e9975516df167833c02b9
parentb4a93827d34df8bebb9e88f211a415d281127ba3 (diff)
downloadpixel-sepolicy-59e512323906b2b4b0b2f1ae684b83ea8b6f4641.tar.gz
Be able to retire dump binaries that take too long
Bug: 289710400 Test: Do adb bugreport after changing timeout limit from 15s to 1s Change-Id: I82f652c67bbda8799c0dcb57452c3f62b10e2b2a
-rw-r--r--common/vendor/te_macros1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/vendor/te_macros b/common/vendor/te_macros
index c9a9c04..99873fe 100644
--- a/common/vendor/te_macros
+++ b/common/vendor/te_macros
@@ -12,6 +12,7 @@ domain_auto_trans(hal_dumpstate_default, $1_exec, $1)
allow $1 dumpstate:fd use;
allow $1 dumpstate:fifo_file { write getattr };
allow $1 hal_dumpstate_default:fd use;
+allow hal_dumpstate_default $1:process { sigkill signal };
allow $1 shell_data_file:file { write getattr };
')