llkd: test: llkd.sleep also check for __arm64_sys_openat

4.19 kernel reported __arm64_sys_openat instead of SyS_openat, so
the test for llkd.sleep also needs to check for that as well.

Signed-off-by: Mark Salyzyn <salyzyn@google.com>
Bug: 147486902
Test: llkd_unit_test
Change-Id: Ibb4b4ca45391e35fd03fcb8e7ccea01f547b76e1
This commit is contained in:
Mark Salyzyn 2020-01-10 13:40:00 -08:00
parent be2e2f2beb
commit 92f7bbfbe5

View file

@ -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();