Home
last modified time | relevance | path

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

1234567

/external/google-breakpad/src/client/linux/minidump_writer/
Dlinux_ptrace_dumper_unittest.cc122 LinuxPtraceDumper dumper(getppid()); in TEST_F()
126 LinuxPtraceDumper dumper(getppid()); in TEST_F()
135 LinuxPtraceDumper dumper(getppid()); in TEST_F()
141 if (dumper.threads()[i] == getppid()) { in TEST_F()
228 LinuxPtraceDumper dumper(getppid()); in TEST_F()
247 const pid_t pid = getppid(); in TEST_F()
272 LinuxPtraceDumper dumper(getppid()); in TEST_F()
296 LinuxPtraceDumper dumper(getppid()); in TEST_F()
332 LinuxPtraceDumper dumper(getppid()); in TEST_F()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/shm_open/
D5-1.c55 kill(getppid(), SIGUSR1); in child_process()
61 kill(getppid(), SIGUSR1); in child_process()
68 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/autotest/client/site_tests/security_SeccompSyscallFilters/src/
Dseccomp_bpf_tests.c274 pid_t parent = getppid(); in TEST_SIGNAL()
302 pid_t parent = getppid(); in TEST_SIGNAL()
332 pid_t parent = getppid(); in TEST_SIGNAL()
377 pid_t parent = getppid(); in TEST()
401 pid_t parent = getppid(); in TEST()
577 pid_t parent = getppid(); in TEST_F()
598 pid_t parent = getppid(); in TEST_F_SIGNAL()
622 pid_t parent = getppid(); in TEST_F_SIGNAL()
643 pid_t parent = getppid(); in TEST_F_SIGNAL()
662 pid_t parent = getppid(); in TEST_F_SIGNAL()
[all …]
/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/ltp/testcases/kernel/syscalls/clone/
Dclone08.c160 parent_ppid = getppid(); in test_clone_parent()
185 if (parent_ppid == getppid()) in child_clone_parent()
188 parent_ppid, getppid()); in child_clone_parent()
/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/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/linux-kselftest/tools/testing/selftests/ptrace/
Dpeeksiginfo.c167 pid_t ppid = getppid(); in main()
169 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/linux-kselftest/tools/testing/selftests/seccomp/
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.c74 TEST(getppid()); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/
D4-1.c67 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/ltp/testcases/kernel/syscalls/getpid/
Dgetpid02.c104 pproc_id = getppid(); in main()
/external/ltp/testcases/kernel/syscalls/futex/
Dfutex_wait02.c41 tst_process_state_wait2(getppid(), 'S'); in do_child()
/external/selinux/policycoreutils/secon/
Dsecon.c267 opts->f.pid = getppid(); in cmd_line()
271 opts->f.pid = getppid(); in cmd_line()
275 opts->f.pid = getppid(); in cmd_line()
279 opts->f.pid = getppid(); in cmd_line()
/external/ltp/testcases/kernel/containers/pidns/
Dpidns10.c65 ppid = getppid(); in child_fn()
/external/ltp/testcases/kernel/syscalls/sched_getparam/
Dsched_getparam02.c118 TEST(sched_getparam(getppid(), &param)); in main()

1234567