Lines Matching refs:__NR_getpid

632 	EXPECT_EQ(0, syscall(__NR_getpid)) {  in TEST_SIGNAL()
654 EXPECT_EQ(0, syscall(__NR_getpid)) { in TEST_SIGNAL()
682 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 0, 1), in TEST_SIGNAL()
701 EXPECT_EQ(0, syscall(__NR_getpid)); in TEST_SIGNAL()
800 syscall(__NR_getpid); in kill_thread()
823 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 0, 1), in kill_thread_or_group()
835 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 0, 1), in kill_thread_or_group()
1068 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 0, 1), in FIXTURE_SETUP()
1095 syscall(__NR_getpid); in TEST_F_SIGNAL()
1110 syscall(__NR_getpid); in TEST_F_SIGNAL()
1150 ret = syscall(__NR_getpid); in TEST_F()
1164 EXPECT_EQ(__NR_getpid, sigsys->_syscall); in TEST_F()
1187 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 1, 0), in FIXTURE_SETUP()
1194 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 1, 0), in FIXTURE_SETUP()
1201 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 1, 0), in FIXTURE_SETUP()
1208 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 1, 0), in FIXTURE_SETUP()
1215 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 1, 0), in FIXTURE_SETUP()
1296 res = syscall(__NR_getpid); in TEST_F_SIGNAL()
1324 EXPECT_EQ(0, syscall(__NR_getpid)); in TEST_F_SIGNAL()
1349 EXPECT_EQ(0, syscall(__NR_getpid)); in TEST_F_SIGNAL()
1374 EXPECT_EQ(0, syscall(__NR_getpid)); in TEST_F_SIGNAL()
1396 EXPECT_EQ(0, syscall(__NR_getpid)); in TEST_F()
1418 EXPECT_EQ(0, syscall(__NR_getpid)); in TEST_F()
1439 EXPECT_EQ(-1, syscall(__NR_getpid)); in TEST_F()
1460 EXPECT_EQ(-1, syscall(__NR_getpid)); in TEST_F()
1480 EXPECT_EQ(mypid, syscall(__NR_getpid)); in TEST_F()
1500 EXPECT_EQ(mypid, syscall(__NR_getpid)); in TEST_F()
1736 EXPECT_NE(0, syscall(__NR_getpid)); in TEST_F()
2021 EXPECT_EQ(__NR_getpid, get_syscall(_metadata, tracee)); in tracer_seccomp()
2101 case __NR_getpid: in tracer_ptrace()
2145 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 0, 1), in FIXTURE_SETUP()
2231 EXPECT_EQ(self->parent, syscall(__NR_getpid)); in TEST_F()
2232 EXPECT_NE(self->mypid, syscall(__NR_getpid)); in TEST_F()
2291 EXPECT_EQ(-1, syscall(__NR_getpid)); in TEST_F()
2315 EXPECT_NE(self->mypid, syscall(__NR_getpid)); in TEST_F_SIGNAL()
3200 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 0, 1), in TEST_SIGNAL()
3250 EXPECT_EQ(0, syscall(__NR_getpid)); in TEST_SIGNAL()