/netbsd-6-1-5-RELEASE/external/bsd/atf/dist/test-programs/ |
H A D | fork_test.sh | 44 ppid=${!} 45 echo "Waiting for pid file for test program ${ppid}" 53 wait ${ppid}
|
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/unit/atf-src/test-programs/ |
H A D | fork_test.sh | 44 ppid=${!} 45 echo "Waiting for pid file for test program ${ppid}" 53 wait ${ppid}
|
/netbsd-6-1-5-RELEASE/tests/lib/libc/sys/ |
H A D | t_kill.c | 135 pid_t cpid, ppid; local 157 ppid = fork(); 159 if (ppid < 0) 162 if (ppid == 0) { 200 (void)waitpid(ppid, &sta, 0); 218 pid_t cpid, ppid; local 221 ppid = fork(); 222 ATF_REQUIRE(ppid >= 0); 224 if (ppid == 0) { 250 (void)waitpid(ppid, 265 pid_t cpid, ppid; local [all...] |
H A D | t_getpid.c | 61 pid_t ppid, fpid, cpid, tpid, wpid; local 74 ppid = getppid(); 76 if (tpid != ppid) 79 if (cpid == ppid)
|
H A D | t_getsid.c | 82 pid_t csid, pid, ppid, sid; local 94 ppid = getppid(); 99 if (getsid(ppid) != csid)
|
/netbsd-6-1-5-RELEASE/usr.sbin/faithd/ |
H A D | tcp.c | 62 static pid_t ppid = (pid_t)0; variable 75 * - child side (ppid != 0) will send SIGUSR1 to parent every (FAITH_TIMEOUT/4) 77 * - parent side (ppid == 0) will check the last SIGUSR1 it have seen. 110 if (ppid) 135 if (ppid) { 140 if (kill(ppid, SIGUSR1) < 0) { 312 ppid = getppid(); 320 ppid = (pid_t)0;
|
/netbsd-6-1-5-RELEASE/external/bsd/am-utils/dist/amd/ |
H A D | amd.c | 389 int ppid = 0; local 549 ppid = daemon_mode(); 563 error = mount_automounter(ppid); 564 if (error && ppid) 565 kill(ppid, SIGALRM);
|
H A D | nfs_start.c | 322 mount_automounter(int ppid) argument 411 if (ppid) 412 kill(ppid, SIGQUIT);
|
/netbsd-6-1-5-RELEASE/libexec/utmp_update/ |
H A D | utmp_update.c | 142 pid_t ppid; local 155 if (utoldp->ut_pid != (ppid = getppid())) 158 (long)utoldp->ut_pid, (long)ppid);
|
/netbsd-6-1-5-RELEASE/sys/miscfs/procfs/ |
H A D | procfs_status.c | 105 int pid, ppid, pgid, sid; local 117 ppid = p->p_pptr ? p->p_pptr->p_pid : 0, 122 /* comm pid ppid pgid sid maj,min ctty,sldr start ut st wmsg uid gid groups ... */ 129 pid, ppid, pgid, sid);
|
/netbsd-6-1-5-RELEASE/external/bsd/tmux/dist/ |
H A D | client.c | 104 pid_t ppid; local 203 ppid = getppid(); 204 if (client_exittype == MSG_DETACHKILL && ppid > 1) 205 kill(ppid, SIGHUP);
|
/netbsd-6-1-5-RELEASE/bin/ksh/ |
H A D | jobs.c | 144 pid_t ppid; /* pid of process that forked job */ member in struct:job 296 if (j->ppid == procpid 503 j->ppid = procpid; 778 if (j->ppid == procpid && j->state == PRUNNING) 789 if (j->ppid != procpid) { 981 if (j->ppid == procpid && j->state == PSTOPPED) 985 && j->ppid == procpid && j->state == PRUNNING) 1334 if (j->ppid == procpid && !(j->flags & JF_STARTED)) { 1792 if ((j->flags & JF_ZOMBIE) && j->ppid == procpid)
|
H A D | main.c | 102 pid_t ppid; local 257 ppid = getppid(); 258 setint(global("PPID"), (long) ppid); 260 setint(global("RANDOM"), (long) (time((time_t *)0) * kshpid * ppid)); local
|
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/tools/ |
H A D | lvmcmdline.c | 1122 const char *command, pid_t ppid, 1148 fprintf(stderr, " Parent PID %" PRIpid_t ": %s\n", ppid, parent_cmdline); 1156 pid_t ppid = getppid(); local 1157 const char *parent_cmdline = _get_cmdline(ppid); 1169 _close_descriptor(fd, suppress_warnings, command, ppid, 1121 _close_descriptor(int fd, unsigned suppress_warnings, const char *command, pid_t ppid, const char *parent_cmdline) argument
|
/netbsd-6-1-5-RELEASE/usr.bin/rlogin/ |
H A D | rlogin.c | 572 static pid_t ppid; variable 610 (void)kill(ppid, SIGUSR1); 672 ppid = getppid();
|
/netbsd-6-1-5-RELEASE/external/bsd/top/dist/machine/ |
H A D | m_linuxthr.c | 89 pid_t ppid; member in struct:top_proc 612 proc->ppid = strtoul(p, &p, 10); /* ppid */ 820 pid = parent->ppid;
|
/netbsd-6-1-5-RELEASE/sys/kern/ |
H A D | kern_exec.c | 1850 pid_t ppid; local 1863 ppid = spawn_data->sed_parent->p_pid; 1953 error = do_sched_setparam(ppid, 0,
|
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/uts/common/dtrace/ |
H A D | fasttrap.c | 400 pid_t ppid = p->p_pid; local 436 if (tp->ftt_pid == ppid &&
|
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/ppc/ |
H A D | emul_unix.c | 408 int ppid = (int)getppid(); 409 emul_write2_status(processor, pid, ppid, errno); 407 int ppid = (int)getppid(); local
|
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/sim/cris/ |
H A D | traps.c | 3063 int ppid local 3092 deliver_signal (current_cpu, exitsig, ppid);
|
/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/src/ |
H A D | sanity.sh | 16009 ppid=\`pwd | sed -e 's,.*/cvs-serv,,'\` 16013 # pid and ppid in the output. This could be made slightly simpler 16018 pidcmd="ps -o pid,ppid -p \$pid || ps -el || ps -al" 16020 ppid=\`cat pid.stdout |\\ 16031 ppid=unkown 16034 if test "x\$ppid" = "x\${CVS_PID}"; then 16041 echo It should have been set to \'\$ppid\' but instead was \'\$CVS_PID\' [all...] |