diff --git a/llkd/llkd-debuggable.rc b/llkd/llkd-debuggable.rc index 724cb5ee0..4b11b1c7a 100644 --- a/llkd/llkd-debuggable.rc +++ b/llkd/llkd-debuggable.rc @@ -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 diff --git a/llkd/tests/llkd_test.cpp b/llkd/tests/llkd_test.cpp index 96079cc69..475512c38 100644 --- a/llkd/tests/llkd_test.cpp +++ b/llkd/tests/llkd_test.cpp @@ -89,7 +89,8 @@ seconds llkdSleepPeriod(char state) { rest(); std::string setprop("setprop "); // Manually check that SyS_openat is _added_ to the list when restarted - execute((setprop + LLK_CHECK_STACK_PROPERTY + " ,SyS_openat").c_str()); + // 4.19+ kernels report __arm64_sys_openat b/147486902 + execute((setprop + LLK_CHECK_STACK_PROPERTY + " ,SyS_openat,__arm64_sys_openat").c_str()); rest(); execute((setprop + LLK_ENABLE_WRITEABLE_PROPERTY + " false").c_str()); rest();