Home
last modified time | relevance | path

Searched refs:SAFE_FORK (Results 1 – 25 of 212) sorted by relevance

123456789

/third_party/ltp/testcases/kernel/syscalls/getrusage/
Dgetrusage03.c39 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/
Dcve-2017-17052.c57 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/
Dtest13.c14 SAFE_FORK(); in do_test()
15 SAFE_FORK(); in do_test()
16 SAFE_FORK(); in do_test()
/third_party/ltp/testcases/kernel/syscalls/kill/
Dkill06.c23 if (!SAFE_FORK()) { in verify_kill()
26 if (!SAFE_FORK()) in verify_kill()
Dkill05.c49 pid1 = SAFE_FORK(); in do_master_child()
78 pid = SAFE_FORK(); in verify_kill()
/third_party/ltp/testcases/kernel/syscalls/fork/
Dfork08.c29 if (!SAFE_FORK()) { in run()
34 if (!SAFE_FORK()) { in run()
/third_party/ltp/testcases/kernel/sched/autogroup/
Dautogroup01.c32 if (!SAFE_FORK()) { in do_test()
36 if (SAFE_FORK()) in do_test()
/third_party/ltp/testcases/kernel/syscalls/ptrace/
Dptrace02.c25 child_pid[0] = SAFE_FORK(); in verify_ptrace()
29 child_pid[1] = SAFE_FORK(); in verify_ptrace()
Dptrace07.c91 pid = SAFE_FORK(); in do_test()
97 if (SAFE_FORK() == 0) in do_test()
/third_party/ltp/testcases/kernel/syscalls/switch/
Dendian_switch01.c40 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/
Dwaitpid10.c39 pid = SAFE_FORK(); in do_child_1()
93 fork_pid = SAFE_FORK(); in do_fork()
Dwaitpid09.c41 pid = SAFE_FORK(); in case0()
74 pid = SAFE_FORK(); in case1()
/third_party/ltp/testcases/kernel/syscalls/flock/
Dflock04.c63 pid = SAFE_FORK(); in verify_flock()
69 pid = SAFE_FORK(); in verify_flock()
/third_party/ltp/testcases/kernel/syscalls/prctl/
Dprctl03.c75 pid = SAFE_FORK(); in verify_prctl()
79 cpid = SAFE_FORK(); in verify_prctl()
Dprctl06.c49 childpid = SAFE_FORK(); in do_prctl()
69 pid = SAFE_FORK(); in verify_prctl()
Dprctl04.c93 childpid = SAFE_FORK(); in check_filter_mode_inherit()
190 pid = SAFE_FORK(); in verify_prctl()
/third_party/ltp/testcases/kernel/syscalls/pidfd_send_signal/
Dpidfd_send_signal03.c48 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/
Dthp01.c61 pid_t pid = SAFE_FORK(); in thp_test()
90 pid = SAFE_FORK(); in thp_test()
/third_party/ltp/testcases/kernel/syscalls/madvise/
Dmadvise10.c139 pid = SAFE_FORK(); in test_madvise()
143 pid = SAFE_FORK(); in test_madvise()
/third_party/ltp/testcases/kernel/syscalls/request_key/
Drequest_key03.c88 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/
Dcfs_bandwidth01.c90 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/
Dmigrate_pages02.c165 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/
Dfcntl15.c131 if (!SAFE_FORK()) { in run_test()
152 if (!SAFE_FORK()) { in run_test()
/third_party/ltp/testcases/kernel/syscalls/times/
Dtimes03.c138 pid = SAFE_FORK(); in verify_times()
185 int pid = SAFE_FORK(); in do_test()
/third_party/ltp/testcases/kernel/syscalls/mmap/
Dmmap18.c157 child_pid = SAFE_FORK(); in grow_stack_success()
181 child_pid = SAFE_FORK(); in grow_stack_fail()

123456789