Searched refs:parentpid (Results 1 – 2 of 2) sorted by relevance
/external/ltp/testcases/kernel/containers/pidns/ |
D | pidns05.c | 86 pid_t parentpid, pgid, pgid2; in find_cinit_pids() local 89 parentpid = getpid(); in find_cinit_pids() 90 pgid = getpgid(parentpid); in find_cinit_pids() 93 for (i = parentpid + 1; i != parentpid; i++) { in find_cinit_pids()
|
/external/ltp/testcases/kernel/syscalls/ioctl/ |
D | ioctl02.c | 81 static int parentpid, childpid; variable 113 maybe_run_child(&do_child_uclinux, "dS", &parentpid, &childtty); in main() 131 parentpid = getpid(); in main() 139 if (self_exec(av[0], "dS", parentpid, childtty) < 0) in main() 383 kill(parentpid, SIGUSR1); in do_child_setup() 391 kill(parentpid, SIGUSR1); in do_child_setup() 396 kill(parentpid, SIGUSR1); in do_child_setup()
|