Home
last modified time | relevance | path

Searched refs:doTestSyscallBlocked (Results 1 – 1 of 1) sorted by relevance

/cts/hostsidetests/seccomp/app/jni/
Dandroid_seccomp_cts_app_SeccompDeviceTest.cpp41 static jboolean doTestSyscallBlocked(std::function<void()> execSyscall) { in doTestSyscallBlocked() function
76 return doTestSyscallBlocked([&](){ ALOGI("Calling syscall %d", nr); syscall(nr); }); in testSyscallBlocked()
80 return doTestSyscallBlocked([&] {ALOGE("Calling setresuid\n"); setresuid(ruid, euid, suid);}); in testSetresuidBlocked()
84 return doTestSyscallBlocked([&] {ALOGE("Calling setresgid\n"); setresgid(rgid, egid, sgid);}); in testSetresgidBlocked()