/third_party/rust/crates/rustix/tests/process/ |
D | id.rs | 53 assert_eq!(process::getppid(), process::getppid()); in test_getppid() 56 process::Pid::as_raw(process::getppid()) as libc::pid_t, in test_getppid() 57 libc::getppid() in test_getppid() 59 if let Some(ppid) = process::getppid() { in test_getppid() 60 assert_eq!(ppid.is_init(), libc::getppid() == 1); in test_getppid() 62 assert_eq!(libc::getppid(), 0); in test_getppid()
|
/third_party/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()
|
/third_party/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()
|
/third_party/ltp/testcases/kernel/syscalls/sched_setparam/ |
D | sched_setparam05.c | 31 TST_EXP_FAIL(tv->sched_setparam(getppid(), &p), EPERM, in run() 32 "sched_setparam(%d, 0)", getppid()); in run()
|
D | sched_setparam03.c | 31 TST_EXP_PASS_SILENT(tv->sched_setparam(getppid(), &p5)); in run()
|
/third_party/ltp/testcases/kernel/syscalls/clone/ |
D | clone08.c | 106 parent_ppid = getppid(); in test_clone_parent() 115 if (parent_ppid == getppid()) { in child_clone_parent() 119 parent_ppid, getppid()); in child_clone_parent()
|
/third_party/musl/libc-test/src/regression/ |
D | daemon-failure.c | 53 if (getpid() != pid || getppid() == 1) in main() 55 getppid(), getpid(), pid); in main()
|
/third_party/ltp/testcases/kernel/syscalls/setpgid/ |
D | setpgid03.c | 82 rval = setpgid(child_pid, getppid()); in main() 111 rval = setpgid(child_pid, getppid()); in main()
|
/third_party/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()
|
/third_party/rust/crates/rustix/examples/ |
D | process.rs | 12 println!("Parent Pid: {}", Pid::as_raw(getppid())); in main() 14 if let Some(ppid) = getppid() { in main()
|
/third_party/rust/crates/rustix/src/process/ |
D | id.rs | 266 pub fn getppid() -> Option<Pid> { in getppid() function 267 backend::process::syscalls::getppid() in getppid()
|
/third_party/musl/src/unistd/ |
D | getppid.c | 4 pid_t getppid(void) in getppid() function
|
/third_party/ltp/testcases/kernel/syscalls/getppid/ |
D | getppid01.c | 21 ppid = getppid(); in verify_getppid()
|
D | getppid02.c | 25 pproc_id = getppid(); in verify_getppid()
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
D | getppid.c | 30 pid_t child_ppid = getppid(); in getppid_0100()
|
/third_party/musl/libc-test/src/functionalext/supplement/time/ |
D | clock_getcpuclockid.c | 28 pid_t pid = getppid(); in clock_getcpuclockid_0100()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/fork/ |
D | 4-1.c | 65 if (ctl != getppid()) { in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/signal/ |
D | kill.c | 49 kill(getppid(), SIGUSR1); in kill_0100()
|
/third_party/ltp/testcases/kernel/syscalls/wait4/ |
D | wait401.c | 28 TST_PROCESS_STATE_WAIT(getppid(), 'S', 0); in run()
|
/third_party/ltp/testcases/kernel/sched/autogroup/ |
D | autogroup01.c | 39 SAFE_KILL(getppid(), SIGKILL); in do_test()
|
/third_party/ltp/testcases/kernel/syscalls/getpid/ |
D | getpid02.c | 30 pproc_id = getppid(); in verify_getpid()
|
/third_party/ltp/testcases/kernel/containers/pidns/ |
D | pidns10.c | 65 ppid = getppid(); in child_fn()
|
D | pidns01.c | 74 ppid = getppid(); in child_fn1()
|
/third_party/ltp/testcases/kernel/controllers/memcg/regression/ |
D | memcg_test_3.c | 35 SAFE_KILL(getppid(), SIGUSR1); in do_child()
|