Home
last modified time | relevance | path

Searched refs:pid_exec (Results 1 - 1 of 1) sorted by relevance

/kernel/linux/linux-6.6/tools/testing/selftests/perf_events/
H A Dremove_on_exec.c123 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