Searched refs:syscall (Results 1 – 5 of 5) sorted by relevance
/cts/tests/tests/security/jni/ |
D | android_security_cts_NativeCodeTest.cpp | 48 int fd = syscall(__NR_perf_event_open, attr, 0, -1, -1, 0); in android_security_cts_NativeCodeTest_doPerfEventTest() 80 fd[0]=syscall(__NR_perf_event_open, &pe[0], 0, 0, -1, 0); in android_security_cts_NativeCodeTest_doPerfEventTest2() 81 fd[1]=syscall(__NR_perf_event_open, &pe[1], 0, 0, fd[0], 0); in android_security_cts_NativeCodeTest_doPerfEventTest2() 119 int result = syscall(__NR__sysctl, &args); in android_security_cts_NativeCodeTest_doVrootTest() 131 return (void*) syscall(__NR_mmap2, addr, len, prot, flags, fd, offset); in mmap_syscall() 179 return syscall(__NR_futex, uaddr, op, val, ts, uaddr2, val3); in futex_syscall()
|
/cts/tests/tests/os/jni/seccomp-tests/tests/ |
D | seccomp_bpf_tests.c | 97 syscall(__NR_exit, 1); in TEST() 105 syscall(__NR_prctl, PR_SET_SECCOMP, SECCOMP_MODE_FILTER, NULL, NULL, NULL); in TEST_SIGNAL() 323 EXPECT_EQ(0, syscall(__NR_getpid)) { in TEST_SIGNAL() 343 EXPECT_EQ(0, syscall(__NR_getpid)) { in TEST_SIGNAL() 383 EXPECT_EQ(parent, syscall(__NR_getppid)); in TEST_SIGNAL() 385 EXPECT_EQ(0, syscall(__NR_getpid)); in TEST_SIGNAL() 412 EXPECT_EQ(parent, syscall(__NR_getppid)); in TEST_SIGNAL() 413 EXPECT_EQ(pid, syscall(__NR_getpid)); in TEST_SIGNAL() 415 EXPECT_EQ(0, syscall(__NR_getpid, 0x0C0FFEE)); in TEST_SIGNAL() 442 EXPECT_EQ(parent, syscall(__NR_getppid)); in TEST_SIGNAL() [all …]
|
D | resumption.c | 163 syscall(__NR_write, STDOUT_FILENO, buf, len); in TRAP_action() 207 ret = syscall(__NR_getpid); in TEST_F() 209 ret = syscall(__NR_close, 0); in TEST_F() 211 ret = syscall(__NR_close, 0); in TEST_F()
|
D | sigsegv.c | 145 syscall(__NR_write, STDOUT_FILENO, buf, len); in TRAP_action() 176 ret = syscall(__NR_getpid); in TEST_F_SIGNAL()
|
/cts/tests/tests/os/jni/ |
D | android_os_cts_SeccompTest.cpp | 66 int rv = syscall(__NR_seccomp, SECCOMP_SET_MODE_FILTER, SECCOMP_FILTER_FLAG_TSYNC, &prog); in android_security_cts_SeccompBpfTest_installTestFilter()
|