Allow artd to kill subprocesses during Pre-reboot Dexopt.
Bug: 311377497 Test: Run and cancel Pre-reboot Dexopt. Change-Id: I6dd96a3644b66586a59064ed3cf9b3e5bb7ee0c5
This commit is contained in:
parent
0f6ddab01c
commit
c9b01d60cf
1 changed files with 3 additions and 0 deletions
|
@ -159,6 +159,9 @@ allow artd self:global_capability_class_set sys_admin;
|
|||
domain_auto_trans(artd, derive_classpath_exec, derive_classpath)
|
||||
domain_auto_trans(artd, odrefresh_exec, odrefresh)
|
||||
|
||||
# Allow sending sigkill to subprocesses.
|
||||
allow artd { derive_classpath odrefresh }:process sigkill;
|
||||
|
||||
# Allow accessing Pre-reboot Dexopt files.
|
||||
allow artd pre_reboot_dexopt_file:dir { getattr search };
|
||||
|
||||
|
|
Loading…
Reference in a new issue