/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/ |
D | seccomp_bpf_tests.c | 212 EXPECT_EQ(0, syscall(__NR_getpid)) { in TEST_SIGNAL() 232 EXPECT_EQ(0, syscall(__NR_getpid)) { in TEST_SIGNAL() 257 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, __NR_getpid, 0, 1), in TEST_SIGNAL() 274 EXPECT_EQ(0, syscall(__NR_getpid)); in TEST_SIGNAL() 281 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, __NR_getpid, 1, 0), in TEST_SIGNAL() 302 EXPECT_EQ(pid, syscall(__NR_getpid)); in TEST_SIGNAL() 304 EXPECT_EQ(0, syscall(__NR_getpid, 0x0C0FFEE)); in TEST_SIGNAL() 311 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, __NR_getpid, 1, 0), in TEST_SIGNAL() 332 EXPECT_EQ(pid, syscall(__NR_getpid)); in TEST_SIGNAL() 334 EXPECT_EQ(0, syscall(__NR_getpid, 1, 2, 3, 4, 5, 0x0C0FFEE)); in TEST_SIGNAL() [all …]
|
D | sigsegv.c | 179 ret = syscall(__NR_getpid); in TEST_F_SIGNAL()
|
D | resumption.c | 206 ret = syscall(__NR_getpid); in TEST_F()
|
/external/strace/tests-mx32/ |
D | getpid.c | 4 #ifdef __NR_getpid 12 printf("getpid() = %ld\n", syscall(__NR_getpid)); in main()
|
D | inject-nf.c | 45 # define SC_NR __NR_getpid
|
/external/strace/tests-m32/ |
D | getpid.c | 4 #ifdef __NR_getpid 12 printf("getpid() = %ld\n", syscall(__NR_getpid)); in main()
|
D | inject-nf.c | 45 # define SC_NR __NR_getpid
|
/external/strace/tests/ |
D | getpid.c | 4 #ifdef __NR_getpid 12 printf("getpid() = %ld\n", syscall(__NR_getpid)); in main()
|
D | inject-nf.c | 45 # define SC_NR __NR_getpid
|
/external/ltp/testcases/kernel/syscalls/clone/ |
D | clone08.c | 132 if (ctid == tst_syscall(__NR_getpid)) in child_clone_child_settid() 142 if (ptid == tst_syscall(__NR_getpid)) in child_clone_parent_settid() 192 tgid = tst_syscall(__NR_getpid); in test_clone_thread() 221 if (tgid == tst_syscall(__NR_getpid)) in child_clone_thread()
|
/external/seccomp-tests/linux/ |
D | seccomp_bpf.c | 361 EXPECT_EQ(0, syscall(__NR_getpid)) { in TEST_SIGNAL() 383 EXPECT_EQ(0, syscall(__NR_getpid)) { in TEST_SIGNAL() 411 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 0, 1), in TEST_SIGNAL() 430 EXPECT_EQ(0, syscall(__NR_getpid)); in TEST_SIGNAL() 634 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 0, 1), in FIXTURE_SETUP() 661 syscall(__NR_getpid); in TEST_F_SIGNAL() 676 syscall(__NR_getpid); in TEST_F_SIGNAL() 716 ret = syscall(__NR_getpid); in TEST_F() 730 EXPECT_EQ(__NR_getpid, sigsys->_syscall); in TEST_F() 752 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 1, 0), in FIXTURE_SETUP() [all …]
|
/external/linux-kselftest/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 521 EXPECT_EQ(0, syscall(__NR_getpid)) { in TEST_SIGNAL() 543 EXPECT_EQ(0, syscall(__NR_getpid)) { in TEST_SIGNAL() 571 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 0, 1), in TEST_SIGNAL() 590 EXPECT_EQ(0, syscall(__NR_getpid)); in TEST_SIGNAL() 929 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 0, 1), in FIXTURE_SETUP() 956 syscall(__NR_getpid); in TEST_F_SIGNAL() 971 syscall(__NR_getpid); in TEST_F_SIGNAL() 1011 ret = syscall(__NR_getpid); in TEST_F() 1025 EXPECT_EQ(__NR_getpid, sigsys->_syscall); in TEST_F() 1048 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 1, 0), in FIXTURE_SETUP() [all …]
|
D | seccomp_benchmark.c | 28 ret = syscall(__NR_getpid); in timing()
|
/external/linux-kselftest/android/patches/ |
D | 0017-seccomp_bpf.patch | 57 EXPECT_EQ(-1, syscall(__NR_getpid)); 67 EXPECT_EQ(mypid, syscall(__NR_getpid));
|
D | 0009-seccomp-disable-tests-broken-on-kernels-4.8.patch | 35 EXPECT_NE(self->mypid, syscall(__NR_getpid));
|
/external/openssh/ |
D | sandbox-seccomp-filter.c | 216 #ifdef __NR_getpid 217 SC_ALLOW(__NR_getpid),
|
/external/minijail/linux-x86/ |
D | libsyscalls.gen.c | 123 #ifdef __NR_getpid 124 { "getpid", __NR_getpid },
|
/external/kernel-headers/original/uapi/asm-x86/asm/ |
D | unistd_64.h | 43 #define __NR_getpid 39 macro
|
D | unistd_32.h | 24 #define __NR_getpid 20 macro
|
D | unistd_x32.h | 38 #define __NR_getpid (__X32_SYSCALL_BIT + 39) macro
|
/external/strace/ |
D | scno.h | 125 #ifndef __NR_getpid 126 # define __NR_getpid (SYSCALL_BIT | 39) macro
|
/external/libchrome/base/process/ |
D | process_util_unittest.cc | 1297 const pid_t pid = syscall(__NR_getpid); in MULTIPROCESS_TEST_MAIN() 1325 ASSERT_EQ(syscall(__NR_getpid), getpid()); in TEST() 1332 RAW_CHECK(syscall(__NR_getpid) == ctid); in TEST()
|
/external/kernel-headers/original/uapi/asm-generic/ |
D | unistd.h | 521 #define __NR_getpid 172 macro 522 __SYSCALL(__NR_getpid, sys_getpid)
|
/external/kernel-headers/original/uapi/asm-arm/asm/ |
D | unistd-common.h | 20 #define __NR_getpid (__NR_SYSCALL_BASE + 20) macro
|
/external/llvm-project/libc/config/linux/ |
D | syscall_numbers.h.inc | 525 #ifdef __NR_getpid 526 #define SYS_getpid __NR_getpid
|