Home
last modified time | relevance | path

Searched refs:__NR_getpid (Results 1 – 25 of 59) sorted by relevance

123

/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/
Dseccomp_bpf_tests.c220 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 …]
Dsigsegv.c179 ret = syscall(__NR_getpid); in TEST_F_SIGNAL()
Dresumption.c206 ret = syscall(__NR_getpid); in TEST_F()
/external/valgrind/coregrind/
Dm_debuglog.c100 "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/
Dgetpid.c4 #ifdef __NR_getpid
12 printf("getpid() = %ld\n", syscall(__NR_getpid)); in main()
/external/strace/tests/
Dgetpid.c4 #ifdef __NR_getpid
12 printf("getpid() = %ld\n", syscall(__NR_getpid)); in main()
/external/strace/tests-m32/
Dgetpid.c4 #ifdef __NR_getpid
12 printf("getpid() = %ld\n", syscall(__NR_getpid)); in main()
/external/linux-kselftest/tools/testing/selftests/seccomp/
Dseccomp_bpf.c361 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/
Dclone08.c209 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/
Dseccomp_bpf.c361 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/
Dsyscall_unittest.cc82 EXPECT_EQ(Syscall::Call(__NR_getpid), syscall(__NR_getpid)); in TEST()
/external/openssh/
Dsandbox-seccomp-filter.c169 #ifdef __NR_getpid
170 SC_ALLOW(__NR_getpid),
/external/libchrome/sandbox/linux/system_headers/
Darm64_linux_syscalls.h698 #if !defined(__NR_getpid)
699 #define __NR_getpid 172 macro
Dx86_64_linux_syscalls.h169 #if !defined(__NR_getpid)
170 #define __NR_getpid 39 macro
Dx86_32_linux_syscalls.h93 #if !defined(__NR_getpid)
94 #define __NR_getpid 20 macro
Dmips64_linux_syscalls.h168 #if !defined(__NR_getpid)
169 #define __NR_getpid (__NR_Linux + 38) macro
/external/minijail/linux-x86/
Dlibsyscalls.gen.c123 #ifdef __NR_getpid
124 { "getpid", __NR_getpid },
/external/valgrind/include/vki/
Dvki-scnums-arm64-linux.h217 #define __NR_getpid 172 macro
Dvki-scnums-s390x-linux.h59 #define __NR_getpid 20 macro
Dvki-scnums-amd64-linux.h80 #define __NR_getpid 39 macro
Dvki-scnums-arm-linux.h57 #define __NR_getpid 20 macro
Dvki-scnums-ppc64-linux.h57 #define __NR_getpid 20 macro
Dvki-scnums-ppc32-linux.h57 #define __NR_getpid 20 macro
/external/kernel-headers/original/uapi/asm-x86/asm/
Dunistd_64.h43 #define __NR_getpid 39 macro
/external/strace/
Dscno.h125 #ifndef __NR_getpid
126 # define __NR_getpid (SYSCALL_BIT | 39) macro

123