/linux-6.3-rc2/tools/testing/selftests/safesetid/ |
A D | safesetid-test.c | 237 pid_t cpid; in test_userns() local 244 if (cpid == -1) { in test_userns() 268 pid_t cpid, w; in test_setuid() local 271 cpid = fork(); in test_setuid() 272 if (cpid == -1) { in test_setuid() 324 pid_t cpid, w; in test_setgid() local 327 cpid = fork(); in test_setgid() 328 if (cpid == -1) { in test_setgid() 380 pid_t cpid, w; in test_setgroups() local 385 cpid = fork(); in test_setgroups() [all …]
|
/linux-6.3-rc2/tools/testing/selftests/bpf/prog_tests/ |
A D | exhandler.c | 22 pid_t cpid; in test_exhandler() local 33 cpid = fork(); in test_exhandler() 34 if (!ASSERT_GT(cpid, -1, "fork failed")) in test_exhandler() 36 if (cpid == 0) in test_exhandler() 38 waitpid(cpid, &status, 0); in test_exhandler()
|
A D | fexit_sleep.c | 30 pid_t cpid; in test_fexit_sleep() local 41 cpid = clone(do_sleep, child_stack + STACK_SIZE, CLONE_FILES | SIGCHLD, fexit_skel); in test_fexit_sleep() 42 if (CHECK(cpid == -1, "clone", "%s\n", strerror(errno))) in test_fexit_sleep() 66 kill(cpid, 9); in test_fexit_sleep() 68 if (CHECK(waitpid(cpid, &wstatus, 0) == -1, "waitpid", "%s\n", strerror(errno))) in test_fexit_sleep()
|
A D | ns_current_pid_tgid.c | 63 pid_t cpid; in test_ns_current_pid_tgid_new_ns() local 68 cpid = clone(test_current_pid_tgid, child_stack + STACK_SIZE, in test_ns_current_pid_tgid_new_ns() 71 if (CHECK(cpid == -1, "clone", "%s\n", strerror(errno))) in test_ns_current_pid_tgid_new_ns() 74 if (CHECK(waitpid(cpid, &wstatus, 0) == -1, "waitpid", "%s\n", strerror(errno))) in test_ns_current_pid_tgid_new_ns()
|
/linux-6.3-rc2/tools/testing/selftests/sched/ |
A D | cs_prctl_test.c | 69 int cpid; member 98 kill(procs[pidx].cpid, 15); in __handle_error() 177 pid_t cpid; in create_processes() local 186 cpid = clone(child_func_process, child_func_process_stack + STACK_SIZE, in create_processes() 188 proc[i].cpid = cpid; in create_processes() 209 printf(" tid=%d, / tgid=%d / pgid=%d: %lx\n", proc[i].cpid, proc[i].cpid, in disp_processes() 210 getpgid(proc[i].cpid), get_cs_cookie(proc[i].cpid)); in disp_processes() 213 proc[i].cpid, getpgid(0), get_cs_cookie(proc[i].thr_tids[j])); in disp_processes() 294 pid = procs[pidx].cpid; in main() 350 kill(procs[pidx].cpid, 15); in main()
|
/linux-6.3-rc2/tools/testing/selftests/powerpc/ptrace/ |
A D | ptrace-perf-hwbreak.c | 267 int cpid; in test5() local 275 cpid = fork(); in test5() 276 if (!cpid) { in test5() 298 kill(cpid, SIGINT); in test5() 398 int cpid; in test9() local 410 cpid = fork(); in test9() 411 if (!cpid) { in test9() 425 kill(cpid, SIGINT); in test9() 538 int cpid; in test14() local 550 cpid = fork(); in test14() [all …]
|
/linux-6.3-rc2/tools/testing/selftests/arm64/mte/ |
A D | check_gcr_el1_cswitch.c | 92 pid_t cpid; in mte_gcr_fork_test() local 102 cpid = getpid(); in mte_gcr_fork_test() 104 res = execute_test(cpid); in mte_gcr_fork_test()
|
/linux-6.3-rc2/tools/testing/selftests/net/ |
A D | nettest.c | 1876 static int ipc_parent(int cpid, int fd, struct sock_args *args) in ipc_parent() argument 1898 if (kill(cpid, 0) == 0) in ipc_parent() 1899 kill(cpid, SIGKILL); in ipc_parent() 1983 int cpid; in main() local 2190 cpid = fork(); in main() 2191 if (cpid < 0) { in main() 2195 if (cpid) in main() 2196 return ipc_parent(cpid, fd[0], &args); in main()
|
/linux-6.3-rc2/tools/testing/selftests/net/mptcp/ |
A D | mptcp_sockopt.sh | 198 local cpid=$! 200 wait $cpid
|
A D | simult_flows.sh | 184 local cpid=$! 186 wait $cpid
|
A D | mptcp_connect.sh | 451 local cpid=$! 453 wait $cpid
|
A D | mptcp_join.sh | 819 local cpid=$! 984 wait $cpid
|
/linux-6.3-rc2/tools/testing/selftests/netfilter/ |
A D | nft_flowtable.sh | 287 cpid=$! 295 if ps -p $cpid > /dev/null;then 296 kill $cpid
|
/linux-6.3-rc2/arch/m68k/math-emu/ |
A D | fp_scan.S | 69 cmp.b #0xf2,%d0 | cpid = 1 71 cmp.b #0xfc,%d0 | cpid = 6
|
/linux-6.3-rc2/arch/m68k/fpsp040/ |
A D | x_fline.S | 60 cmpib #1,%d1 |check if cpid=1
|
/linux-6.3-rc2/arch/mips/kernel/ |
A D | traps.c | 1408 unsigned int cpid; in do_cpu() local 1412 cpid = (regs->cp0_cause >> CAUSEB_CE) & 3; in do_cpu() 1414 if (cpid != 2) in do_cpu() 1417 switch (cpid) { in do_cpu()
|