Searched refs:pid_exec (Results 1 - 1 of 1) sorted by relevance
/kernel/linux/linux-6.6/tools/testing/selftests/perf_events/ |
H A D | remove_on_exec.c | 123 pid_t pid_exec, pid_only_fork; in TEST_F() local 139 pid_exec = fork(); in TEST_F() 140 if (pid_exec == 0) { in TEST_F() 148 ASSERT_EQ(waitpid(pid_exec, &tmp, WNOHANG), 0); /* Child is running. */ in TEST_F() 157 EXPECT_EQ(waitpid(pid_exec, &tmp, WNOHANG), 0); /* Should still be running. */ in TEST_F() 158 EXPECT_EQ(kill(pid_exec, SIGKILL), 0); in TEST_F() 174 pid_t pid_exec; in TEST_F() local 179 pid_exec = fork(); in TEST_F() 180 if (pid_exec == 0) { in TEST_F() 190 EXPECT_EQ(waitpid(pid_exec, in TEST_F() [all...] |
Completed in 2 milliseconds