Lines Matching refs:pid
694 pid_t pid; in test_fork() local
700 pid = fork(); in test_fork()
702 switch (pid) { in test_fork()
710 pid = waitpid(pid, &status, 0); in test_fork()
712 return pid == -1 || !WIFEXITED(status) || WEXITSTATUS(status) != 123; in test_fork()
1114 pid_t pid; in run_protection() local
1133 pid = -1; in run_protection()
1134 pid = fork(); in run_protection()
1136 switch (pid) { in run_protection()
1151 pid = waitpid(pid, &status, 0); in run_protection()
1153 if (pid == -1 || !WIFSIGNALED(status) || WTERMSIG(status) != SIGABRT) { in run_protection()