Home
last modified time | relevance | path

Searched refs:getppid (Results 1 – 25 of 201) sorted by relevance

123456789

/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
D5-1.c50 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/
Dkill10.c569 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/
Dlinux_ptrace_dumper_unittest.cc186 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/
Dclone08.c105 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/
D5-3.c92 kill(getppid(), SIGABRT); in main()
96 kill(getppid(), SIGABRT); in main()
D16-1.c102 kill(getppid(), SIGABRT); in main()
106 kill(getppid(), SIGABRT); in main()
/external/ltp/testcases/kernel/syscalls/setpgid/
Dsetpgid03.c82 rval = setpgid(child_pid, getppid()); in main()
111 rval = setpgid(child_pid, getppid()); in main()
/external/linux-kselftest/tools/testing/selftests/cgroup/
Dtest_freezer.c180 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/
Dseccomp_bpf_tests.c266 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/
Depoll_pwait01.c176 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/
Dpeeksiginfo.c168 pid_t ppid = getppid(); in main()
170 if (ppid != getppid()) in main()
/external/strace/tests-mx32/
Dgetxxid.c43 ppid = getppid(); in main()
/external/strace/tests/
Dgetxxid.c43 ppid = getppid(); in main()
/external/strace/tests-m32/
Dgetxxid.c43 ppid = getppid(); in main()
/external/seccomp-tests/linux/
Dseccomp_bpf.c420 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/
Dbsd-nextstep.h44 pid_t getppid(void);
/external/ltp/testcases/kernel/syscalls/getppid/
Dgetppid01.c137 TEST(getppid()); in main()
Dgetppid02.c75 TEST(getppid()); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
D4-1.c65 if (ctl != getppid()) { in main()
/external/compiler-rt/test/asan/TestCases/Linux/
Dsignal_during_stop_the_world.cc35 pid_t parent = getppid(); in main()
/external/llvm-project/compiler-rt/test/asan/TestCases/Linux/
Dsignal_during_stop_the_world.cpp35 pid_t parent = getppid(); in main()
/external/ltp/testcases/kernel/syscalls/wait4/
Dwait401.c28 TST_PROCESS_STATE_WAIT(getppid(), 'S'); in run()
/external/ltp/testcases/kernel/sched/autogroup/
Dautogroup01.c39 SAFE_KILL(getppid(), SIGKILL); in do_test()
/external/linux-kselftest/tools/testing/selftests/seccomp/
Dseccomp_bpf.c492 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/
Dgetpid02.c105 pproc_id = getppid(); in main()

123456789