Lines Matching refs:__NR_getpid

458 	EXPECT_EQ(0, syscall(__NR_getpid)) {  in TEST_SIGNAL()
480 EXPECT_EQ(0, syscall(__NR_getpid)) { in TEST_SIGNAL()
508 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 0, 1), in TEST_SIGNAL()
527 EXPECT_EQ(0, syscall(__NR_getpid)); in TEST_SIGNAL()
863 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 0, 1), in FIXTURE_SETUP()
890 syscall(__NR_getpid); in TEST_F_SIGNAL()
905 syscall(__NR_getpid); in TEST_F_SIGNAL()
945 ret = syscall(__NR_getpid); in TEST_F()
959 EXPECT_EQ(__NR_getpid, sigsys->_syscall); in TEST_F()
982 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 1, 0), in FIXTURE_SETUP()
989 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 1, 0), in FIXTURE_SETUP()
996 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 1, 0), in FIXTURE_SETUP()
1003 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 1, 0), in FIXTURE_SETUP()
1010 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 1, 0), in FIXTURE_SETUP()
1091 res = syscall(__NR_getpid); in TEST_F_SIGNAL()
1119 EXPECT_EQ(0, syscall(__NR_getpid)); in TEST_F_SIGNAL()
1144 EXPECT_EQ(0, syscall(__NR_getpid)); in TEST_F_SIGNAL()
1169 EXPECT_EQ(0, syscall(__NR_getpid)); in TEST_F_SIGNAL()
1191 EXPECT_EQ(0, syscall(__NR_getpid)); in TEST_F()
1213 EXPECT_EQ(0, syscall(__NR_getpid)); in TEST_F()
1234 EXPECT_EQ(-1, syscall(__NR_getpid)); in TEST_F()
1255 EXPECT_EQ(-1, syscall(__NR_getpid)); in TEST_F()
1275 EXPECT_EQ(mypid, syscall(__NR_getpid)); in TEST_F()
1295 EXPECT_EQ(mypid, syscall(__NR_getpid)); in TEST_F()
1520 EXPECT_NE(0, syscall(__NR_getpid)); in TEST_F()
1691 EXPECT_EQ(__NR_getpid, get_syscall(_metadata, tracee)); in tracer_syscall()
1731 if (nr == __NR_getpid) in tracer_ptrace()
1747 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 0, 1), in FIXTURE_SETUP()
1797 EXPECT_NE(self->mypid, syscall(__NR_getpid)); in TEST_F()
1837 EXPECT_EQ(self->parent, syscall(__NR_getpid)); in TEST_F()
1838 EXPECT_NE(self->mypid, syscall(__NR_getpid)); in TEST_F()
1884 EXPECT_EQ(-1, syscall(__NR_getpid)); in TEST_F()
1915 EXPECT_NE(self->mypid, syscall(__NR_getpid)); in TEST_F_SIGNAL()
1946 EXPECT_EQ(-1, syscall(__NR_getpid)); in TEST_F()
1978 EXPECT_NE(self->mypid, syscall(__NR_getpid)); in TEST_F_SIGNAL()
2788 BPF_JUMP(BPF_JMP|BPF_JEQ|BPF_K, __NR_getpid, 0, 1), in TEST_SIGNAL()
2838 EXPECT_EQ(0, syscall(__NR_getpid)); in TEST_SIGNAL()