Home
last modified time | relevance | path

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

12

/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/
Dseccomp_bpf_tests.c212 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 …]
Dsigsegv.c179 ret = syscall(__NR_getpid); in TEST_F_SIGNAL()
Dresumption.c206 ret = syscall(__NR_getpid); in TEST_F()
/external/ltp/testcases/kernel/syscalls/clone/
Dclone08.c142 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/
Dseccomp_bpf.c462 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 …]
Dseccomp_benchmark.c28 ret = syscall(__NR_getpid); in timing()
/external/linux-kselftest/android/patches/
D0017-seccomp_bpf_disable_tests.patch53 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));
D0009-seccomp-disable-tests-broken-on-kernels-4.8.patch35 EXPECT_NE(self->mypid, syscall(__NR_getpid));
/external/strace/tests-m32/
Dgetpid.c4 #ifdef __NR_getpid
12 printf("getpid() = %ld\n", syscall(__NR_getpid)); in main()
Dinject-nf.c45 # define SC_NR __NR_getpid
/external/strace/tests-mx32/
Dgetpid.c4 #ifdef __NR_getpid
12 printf("getpid() = %ld\n", syscall(__NR_getpid)); in main()
Dinject-nf.c45 # define SC_NR __NR_getpid
/external/strace/tests/
Dgetpid.c4 #ifdef __NR_getpid
12 printf("getpid() = %ld\n", syscall(__NR_getpid)); in main()
Dinject-nf.c45 # define SC_NR __NR_getpid
/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/openssh/
Dsandbox-seccomp-filter.c169 #ifdef __NR_getpid
170 SC_ALLOW(__NR_getpid),
/external/minijail/linux-x86/
Dlibsyscalls.gen.c123 #ifdef __NR_getpid
124 { "getpid", __NR_getpid },
/external/kernel-headers/original/uapi/asm-x86/asm/
Dunistd_64.h43 #define __NR_getpid 39 macro
Dunistd_32.h24 #define __NR_getpid 20 macro
Dunistd_x32.h38 #define __NR_getpid (__X32_SYSCALL_BIT + 39) macro
/external/strace/
Dscno.h125 #ifndef __NR_getpid
126 # define __NR_getpid (SYSCALL_BIT | 39) macro
/external/kernel-headers/original/uapi/asm-generic/
Dunistd.h492 #define __NR_getpid 172 macro
493 __SYSCALL(__NR_getpid, sys_getpid)
/external/honggfuzz/linux/
Darch.c168 if (kill(syscall(__NR_getpid), SIGSTOP) == -1) { in arch_launchChild()
/external/kernel-headers/original/uapi/asm-mips/asm/
Dunistd_n64.h42 #define __NR_getpid (__NR_Linux + 38) macro
/external/kernel-headers/original/uapi/asm-arm/asm/
Dunistd-common.h20 #define __NR_getpid (__NR_SYSCALL_BASE + 20) macro

12