/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/ |
D | seccomp_bpf_tests.c | 220 EXPECT_EQ(0, syscall(__NR_getpid)) { in TEST_SIGNAL() 240 EXPECT_EQ(0, syscall(__NR_getpid)) { in TEST_SIGNAL() 265 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, __NR_getpid, 0, 1), in TEST_SIGNAL() 282 EXPECT_EQ(0, syscall(__NR_getpid)); in TEST_SIGNAL() 289 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, __NR_getpid, 1, 0), in TEST_SIGNAL() 310 EXPECT_EQ(pid, syscall(__NR_getpid)); in TEST_SIGNAL() 312 EXPECT_EQ(0, syscall(__NR_getpid, 0x0C0FFEE)); in TEST_SIGNAL() 319 BPF_JUMP(BPF_JMP+BPF_JEQ+BPF_K, __NR_getpid, 1, 0), in TEST_SIGNAL() 340 EXPECT_EQ(pid, syscall(__NR_getpid)); in TEST_SIGNAL() 342 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/valgrind/coregrind/ |
D | m_debuglog.c | 100 "movl $"VG_STRINGIFY(__NR_getpid)", %%eax\n" /* %eax = __NR_getpid */ in local_sys_getpid() 144 "movq $"VG_STRINGIFY(__NR_getpid)", %%rax\n" /* %rax = __NR_getpid */ in local_sys_getpid() 189 : "i" (__NR_getpid) in local_sys_getpid() 232 : "i" (__NR_getpid) in local_sys_getpid() 269 "mov r7, #"VG_STRINGIFY(__NR_getpid)"\n\t" in local_sys_getpid() 306 "mov x8, #"VG_STRINGIFY(__NR_getpid)"\n" in local_sys_getpid() 352 "movl $"VG_STRINGIFY(VG_DARWIN_SYSNO_INDEX(__NR_getpid))", %%eax\n" in local_sys_getpid() 388 "movl $"VG_STRINGIFY(VG_DARWIN_SYSNO_FOR_KERNEL(__NR_getpid))", %%eax\n" in local_sys_getpid() 430 : "i" (__NR_getpid) in local_sys_getpid() 472 : "n" (__NR_getpid) in local_sys_getpid() [all …]
|
/external/strace/tests-mx32/ |
D | getpid.c | 4 #ifdef __NR_getpid 12 printf("getpid() = %ld\n", syscall(__NR_getpid)); in main()
|
/external/strace/tests/ |
D | getpid.c | 4 #ifdef __NR_getpid 12 printf("getpid() = %ld\n", syscall(__NR_getpid)); in main()
|
/external/strace/tests-m32/ |
D | getpid.c | 4 #ifdef __NR_getpid 12 printf("getpid() = %ld\n", syscall(__NR_getpid)); in main()
|
/external/linux-kselftest/tools/testing/selftests/seccomp/ |
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/ltp/testcases/kernel/syscalls/clone/ |
D | clone08.c | 209 if (ctid == ltp_syscall(__NR_getpid)) in child_clone_child_settid() 219 if (ptid == ltp_syscall(__NR_getpid)) in child_clone_parent_settid() 279 tgid = ltp_syscall(__NR_getpid); in test_clone_thread() 305 if (tgid == ltp_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/libchrome/sandbox/linux/seccomp-bpf/ |
D | syscall_unittest.cc | 82 EXPECT_EQ(Syscall::Call(__NR_getpid), syscall(__NR_getpid)); in TEST()
|
/external/openssh/ |
D | sandbox-seccomp-filter.c | 169 #ifdef __NR_getpid 170 SC_ALLOW(__NR_getpid),
|
/external/libchrome/sandbox/linux/system_headers/ |
D | arm64_linux_syscalls.h | 698 #if !defined(__NR_getpid) 699 #define __NR_getpid 172 macro
|
D | x86_64_linux_syscalls.h | 169 #if !defined(__NR_getpid) 170 #define __NR_getpid 39 macro
|
D | x86_32_linux_syscalls.h | 93 #if !defined(__NR_getpid) 94 #define __NR_getpid 20 macro
|
D | mips64_linux_syscalls.h | 168 #if !defined(__NR_getpid) 169 #define __NR_getpid (__NR_Linux + 38) macro
|
/external/minijail/linux-x86/ |
D | libsyscalls.gen.c | 123 #ifdef __NR_getpid 124 { "getpid", __NR_getpid },
|
/external/valgrind/include/vki/ |
D | vki-scnums-arm64-linux.h | 217 #define __NR_getpid 172 macro
|
D | vki-scnums-s390x-linux.h | 59 #define __NR_getpid 20 macro
|
D | vki-scnums-amd64-linux.h | 80 #define __NR_getpid 39 macro
|
D | vki-scnums-arm-linux.h | 57 #define __NR_getpid 20 macro
|
D | vki-scnums-ppc64-linux.h | 57 #define __NR_getpid 20 macro
|
D | vki-scnums-ppc32-linux.h | 57 #define __NR_getpid 20 macro
|
/external/kernel-headers/original/uapi/asm-x86/asm/ |
D | unistd_64.h | 43 #define __NR_getpid 39 macro
|
/external/strace/ |
D | scno.h | 125 #ifndef __NR_getpid 126 # define __NR_getpid (SYSCALL_BIT | 39) macro
|