/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/ |
D | 5-1.c | 50 kill(getppid(), SIGUSR1); in child_process() 56 kill(getppid(), SIGUSR1); in child_process() 63 kill(getppid(), SIGUSR1); in child_process()
|
/external/ltp/testcases/kernel/syscalls/kill/ |
D | kill10.c | 569 getppid()); in manager() 570 if (kill(getppid(), SIGUSR1) == -1) { in manager() 573 mypid, getppid(), errno, strerror(errno)); in manager() 593 mypid, getppid()); in manager() 594 if (kill(getppid(), SIGUSR2) == -1) { in manager() 597 mypid, getppid(), errno, in manager() 720 mypid, getppid()); in fork_procs() 721 if (kill(getppid(), SIGUSR2) == -1) { in fork_procs() 725 mypid, getppid(), errno, in fork_procs()
|
/external/google-breakpad/src/client/linux/minidump_writer/ |
D | linux_ptrace_dumper_unittest.cc | 186 LinuxPtraceDumper dumper(getppid()); in TEST_F() 190 LinuxPtraceDumper dumper(getppid()); in TEST_F() 199 LinuxPtraceDumper dumper(getppid()); in TEST_F() 205 if (dumper.threads()[i] == getppid()) { in TEST_F() 292 LinuxPtraceDumper dumper(getppid()); in TEST_F() 311 const pid_t pid = getppid(); in TEST_F() 336 LinuxPtraceDumper dumper(getppid()); in TEST_F() 360 LinuxPtraceDumper dumper(getppid()); in TEST_F() 397 LinuxPtraceDumper dumper(getppid()); in TEST_F()
|
/external/ltp/testcases/kernel/syscalls/clone/ |
D | clone08.c | 105 parent_ppid = getppid(); in test_clone_parent() 114 if (parent_ppid == getppid()) { in child_clone_parent() 118 parent_ppid, getppid()); in child_clone_parent()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedsend/ |
D | 5-3.c | 92 kill(getppid(), SIGABRT); in main() 96 kill(getppid(), SIGABRT); in main()
|
D | 16-1.c | 102 kill(getppid(), SIGABRT); in main() 106 kill(getppid(), SIGABRT); in main()
|
/external/ltp/testcases/kernel/syscalls/setpgid/ |
D | setpgid03.c | 82 rval = setpgid(child_pid, getppid()); in main() 111 rval = setpgid(child_pid, getppid()); in main()
|
/external/linux-kselftest/tools/testing/selftests/cgroup/ |
D | test_freezer.c | 180 int ppid = getppid(); in child_fn() 182 while (getppid() == ppid) in child_fn() 185 return getppid() == ppid; in child_fn() 404 ppid = getppid(); in forkbomb_fn() 406 while (getppid() == ppid) in forkbomb_fn() 409 return getppid() == ppid; in forkbomb_fn()
|
/external/autotest/client/site_tests/security_SeccompSyscallFilters/src/ |
D | seccomp_bpf_tests.c | 266 pid_t parent = getppid(); in TEST_SIGNAL() 294 pid_t parent = getppid(); in TEST_SIGNAL() 324 pid_t parent = getppid(); in TEST_SIGNAL() 369 pid_t parent = getppid(); in TEST() 393 pid_t parent = getppid(); in TEST() 569 pid_t parent = getppid(); in TEST_F() 590 pid_t parent = getppid(); in TEST_F_SIGNAL() 614 pid_t parent = getppid(); in TEST_F_SIGNAL() 635 pid_t parent = getppid(); in TEST_F_SIGNAL() 654 pid_t parent = getppid(); in TEST_F_SIGNAL() [all …]
|
/external/ltp/testcases/kernel/syscalls/epoll_pwait/ |
D | epoll_pwait01.c | 176 if (tst_process_state_wait2(getppid(), 'S') != 0) { in do_child() 181 SAFE_KILL(cleanup, getppid(), SIGUSR1); in do_child()
|
/external/linux-kselftest/tools/testing/selftests/ptrace/ |
D | peeksiginfo.c | 168 pid_t ppid = getppid(); in main() 170 if (ppid != getppid()) in main()
|
/external/strace/tests-mx32/ |
D | getxxid.c | 43 ppid = getppid(); in main()
|
/external/strace/tests/ |
D | getxxid.c | 43 ppid = getppid(); in main()
|
/external/strace/tests-m32/ |
D | getxxid.c | 43 ppid = getppid(); in main()
|
/external/seccomp-tests/linux/ |
D | seccomp_bpf.c | 420 pid_t parent = getppid(); in TEST_SIGNAL() 453 pid_t parent = getppid(); in TEST_SIGNAL() 492 pid_t parent = getppid(); in TEST_SIGNAL() 558 pid_t parent = getppid(); in TEST() 585 pid_t parent = getppid(); in TEST() 612 pid_t parent = getppid(); in TEST() 806 parent = getppid(); in TEST_F() 830 parent = getppid(); in TEST_F_SIGNAL() 857 parent = getppid(); in TEST_F_SIGNAL() 882 parent = getppid(); in TEST_F_SIGNAL() [all …]
|
/external/openssh/openbsd-compat/ |
D | bsd-nextstep.h | 44 pid_t getppid(void);
|
/external/ltp/testcases/kernel/syscalls/getppid/ |
D | getppid01.c | 137 TEST(getppid()); in main()
|
D | getppid02.c | 75 TEST(getppid()); in main()
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
D | 4-1.c | 65 if (ctl != getppid()) { in main()
|
/external/compiler-rt/test/asan/TestCases/Linux/ |
D | signal_during_stop_the_world.cc | 35 pid_t parent = getppid(); in main()
|
/external/llvm-project/compiler-rt/test/asan/TestCases/Linux/ |
D | signal_during_stop_the_world.cpp | 35 pid_t parent = getppid(); in main()
|
/external/ltp/testcases/kernel/syscalls/wait4/ |
D | wait401.c | 28 TST_PROCESS_STATE_WAIT(getppid(), 'S'); in run()
|
/external/ltp/testcases/kernel/sched/autogroup/ |
D | autogroup01.c | 39 SAFE_KILL(getppid(), SIGKILL); in do_test()
|
/external/linux-kselftest/tools/testing/selftests/seccomp/ |
D | seccomp_bpf.c | 492 pid_t parent = getppid(); 580 pid_t parent = getppid(); in TEST_SIGNAL() 613 pid_t parent = getppid(); in TEST_SIGNAL() 652 pid_t parent = getppid(); in TEST_SIGNAL() 836 pid_t parent = getppid(); in TEST() 854 pid_t parent = getppid(); in TEST() 876 pid_t parent = getppid(); in TEST() 901 pid_t parent = getppid(); in TEST() 1111 parent = getppid(); in TEST_F() 1137 parent = getppid(); in TEST_F_SIGNAL() [all …]
|
/external/ltp/testcases/kernel/syscalls/getpid/ |
D | getpid02.c | 105 pproc_id = getppid(); in main()
|