/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/ltp/testcases/kernel/syscalls/clone/ |
D | clone08.c | 142 if (ctid == tst_syscall(__NR_getpid)) in child_clone_child_settid() 152 if (ptid == tst_syscall(__NR_getpid)) in child_clone_parent_settid() 202 tgid = tst_syscall(__NR_getpid); in test_clone_thread() 231 if (tgid == tst_syscall(__NR_getpid)) in child_clone_thread()
|
/external/linux-kselftest/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 462 EXPECT_EQ(0, syscall(__NR_getpid)) { in TEST_SIGNAL() 484 EXPECT_EQ(0, syscall(__NR_getpid)) { in TEST_SIGNAL() 512 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 0, 1), in TEST_SIGNAL() 531 EXPECT_EQ(0, syscall(__NR_getpid)); in TEST_SIGNAL() 869 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 0, 1), in FIXTURE_SETUP() 896 syscall(__NR_getpid); in TEST_F_SIGNAL() 911 syscall(__NR_getpid); in TEST_F_SIGNAL() 951 ret = syscall(__NR_getpid); in TEST_F() 965 EXPECT_EQ(__NR_getpid, sigsys->_syscall); in TEST_F() 988 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_disable_tests.patch | 53 EXPECT_EQ(-1, syscall(__NR_getpid)); 62 EXPECT_EQ(mypid, syscall(__NR_getpid)); 70 if (nr == __NR_getpid) 80 EXPECT_NE(self->mypid, syscall(__NR_getpid));
|
D | 0009-seccomp-disable-tests-broken-on-kernels-4.8.patch | 35 EXPECT_NE(self->mypid, syscall(__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-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/ |
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/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/openssh/ |
D | sandbox-seccomp-filter.c | 169 #ifdef __NR_getpid 170 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/kernel-headers/original/uapi/asm-generic/ |
D | unistd.h | 492 #define __NR_getpid 172 macro 493 __SYSCALL(__NR_getpid, sys_getpid)
|
/external/honggfuzz/linux/ |
D | arch.c | 168 if (kill(syscall(__NR_getpid), SIGSTOP) == -1) { in arch_launchChild()
|
/external/kernel-headers/original/uapi/asm-mips/asm/ |
D | unistd_n64.h | 42 #define __NR_getpid (__NR_Linux + 38) macro
|
/external/kernel-headers/original/uapi/asm-arm/asm/ |
D | unistd-common.h | 20 #define __NR_getpid (__NR_SYSCALL_BASE + 20) macro
|