/third_party/ltp/testcases/kernel/syscalls/getrusage/ |
D | getrusage03.c | 39 if (!SAFE_FORK()) { in inherit_fork1() 62 if (!SAFE_FORK()) { in inherit_fork2() 77 if (!SAFE_FORK()) in grandchild_maxrss() 95 pid_t pid = SAFE_FORK(); in zombie() 124 pid_t pid = SAFE_FORK(); in sig_ign() 143 if (!SAFE_FORK()) { in inherit_exec() 164 if (!SAFE_FORK()) { in run() 165 if (!SAFE_FORK()) { in run()
|
/third_party/ltp/testcases/cve/ |
D | cve-2017-17052.c | 57 SAFE_FORK(); in fork_thread() 66 SAFE_FORK(); in do_test_fork() 67 SAFE_FORK(); in do_test_fork() 68 SAFE_FORK(); in do_test_fork() 71 if (SAFE_FORK() == 0) { in do_test_fork() 93 pid = SAFE_FORK(); in run()
|
/third_party/ltp/lib/newlib_tests/ |
D | test13.c | 14 SAFE_FORK(); in do_test() 15 SAFE_FORK(); in do_test() 16 SAFE_FORK(); in do_test()
|
/third_party/ltp/testcases/kernel/syscalls/kill/ |
D | kill06.c | 23 if (!SAFE_FORK()) { in verify_kill() 26 if (!SAFE_FORK()) in verify_kill()
|
D | kill05.c | 49 pid1 = SAFE_FORK(); in do_master_child() 78 pid = SAFE_FORK(); in verify_kill()
|
/third_party/ltp/testcases/kernel/syscalls/fork/ |
D | fork08.c | 29 if (!SAFE_FORK()) { in run() 34 if (!SAFE_FORK()) { in run()
|
/third_party/ltp/testcases/kernel/sched/autogroup/ |
D | autogroup01.c | 32 if (!SAFE_FORK()) { in do_test() 36 if (SAFE_FORK()) in do_test()
|
/third_party/ltp/testcases/kernel/syscalls/ptrace/ |
D | ptrace02.c | 25 child_pid[0] = SAFE_FORK(); in verify_ptrace() 29 child_pid[1] = SAFE_FORK(); in verify_ptrace()
|
D | ptrace07.c | 91 pid = SAFE_FORK(); in do_test() 97 if (SAFE_FORK() == 0) in do_test()
|
/third_party/ltp/testcases/kernel/syscalls/switch/ |
D | endian_switch01.c | 40 if (SAFE_FORK() == 0) { in check_le_switch_supported() 63 if (SAFE_FORK() == 0) { in test_le_switch()
|
/third_party/ltp/testcases/kernel/syscalls/waitpid/ |
D | waitpid10.c | 39 pid = SAFE_FORK(); in do_child_1() 93 fork_pid = SAFE_FORK(); in do_fork()
|
D | waitpid09.c | 41 pid = SAFE_FORK(); in case0() 74 pid = SAFE_FORK(); in case1()
|
/third_party/ltp/testcases/kernel/syscalls/flock/ |
D | flock04.c | 63 pid = SAFE_FORK(); in verify_flock() 69 pid = SAFE_FORK(); in verify_flock()
|
/third_party/ltp/testcases/kernel/syscalls/prctl/ |
D | prctl03.c | 75 pid = SAFE_FORK(); in verify_prctl() 79 cpid = SAFE_FORK(); in verify_prctl()
|
D | prctl06.c | 49 childpid = SAFE_FORK(); in do_prctl() 69 pid = SAFE_FORK(); in verify_prctl()
|
D | prctl04.c | 93 childpid = SAFE_FORK(); in check_filter_mode_inherit() 190 pid = SAFE_FORK(); in verify_prctl()
|
/third_party/ltp/testcases/kernel/syscalls/pidfd_send_signal/ |
D | pidfd_send_signal03.c | 48 pid = SAFE_FORK(); in verify_pidfd_send_signal() 65 new_pid = SAFE_FORK(); in verify_pidfd_send_signal()
|
/third_party/ltp/testcases/kernel/mem/thp/ |
D | thp01.c | 61 pid_t pid = SAFE_FORK(); in thp_test() 90 pid = SAFE_FORK(); in thp_test()
|
/third_party/ltp/testcases/kernel/syscalls/madvise/ |
D | madvise10.c | 139 pid = SAFE_FORK(); in test_madvise() 143 pid = SAFE_FORK(); in test_madvise()
|
/third_party/ltp/testcases/kernel/syscalls/request_key/ |
D | request_key03.c | 88 add_key_pid = SAFE_FORK(); in test_with_key_type() 109 request_key_pid = SAFE_FORK(); in test_with_key_type()
|
/third_party/ltp/testcases/kernel/sched/cfs-scheduler/ |
D | cfs_bandwidth01.c | 90 const pid_t worker_pid = SAFE_FORK(); in fork_busy_procs_in_cgroup() 97 const pid_t busy_pid = SAFE_FORK(); in fork_busy_procs_in_cgroup()
|
/third_party/ltp/testcases/kernel/syscalls/migrate_pages/ |
D | migrate_pages02.c | 165 child = SAFE_FORK(); in test_migrate_current_process() 203 child1 = SAFE_FORK(); in test_migrate_other_process() 232 child2 = SAFE_FORK(); in test_migrate_other_process()
|
/third_party/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl15.c | 131 if (!SAFE_FORK()) { in run_test() 152 if (!SAFE_FORK()) { in run_test()
|
/third_party/ltp/testcases/kernel/syscalls/times/ |
D | times03.c | 138 pid = SAFE_FORK(); in verify_times() 185 int pid = SAFE_FORK(); in do_test()
|
/third_party/ltp/testcases/kernel/syscalls/mmap/ |
D | mmap18.c | 157 child_pid = SAFE_FORK(); in grow_stack_success() 181 child_pid = SAFE_FORK(); in grow_stack_fail()
|