llkd: requires sys_admin permissions
As a result of commit f8a00cef17206ecd1b30d3d9f99e10d9fa707aa7 ("proc: restrict kernel stack dumps to root") the userdebug feature where llkd can monitor for live lock signatures in the stack traces broke. So now userdebug variant of llkd requires sys_admin permissions. Signed-off-by: Mark Salyzyn <salyzyn@google.com> Test: llkd_unit_test Bug: 147486902 Change-Id: I31572afa08daa490a69783855bce55313eaed96c
This commit is contained in:
parent
60ddf3a29a
commit
be2e2f2beb
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ service llkd-1 /system/bin/llkd
|
|||
disabled
|
||||
user llkd
|
||||
group llkd readproc
|
||||
capabilities KILL IPC_LOCK SYS_PTRACE DAC_OVERRIDE
|
||||
capabilities KILL IPC_LOCK SYS_PTRACE DAC_OVERRIDE SYS_ADMIN
|
||||
file /dev/kmsg w
|
||||
file /proc/sysrq-trigger w
|
||||
writepid /dev/cpuset/system-background/tasks
|
||||
|
|
Loading…
Reference in a new issue