/illumos-gate/usr/src/lib/libshell/common/tests/ |
H A D | sun_solaris_cr_6687139_command_substitution_exec_redirection_allocation_loop.sh | 67 integer childpid 83 childpid=$! 87 if isvalidpid ${childpid} ; then 90 kill -STOP ${childpid} 95 pstack ${childpid} 96 kill -KILL ${childpid} 100 wait ${childpid} 117 childpid=$! 121 if isvalidpid ${childpid} ; then 124 kill -STOP ${childpid} [all...] |
H A D | sun_solaris_cr_6800929_large_command_substitution_hang.sh | 143 (( childpid=$! )) 146 isvalidpid ${childpid} || break 150 if isvalidpid ${childpid} ; then 151 err_exit "${currtst.name}: child (pid=${childpid}) still busy, filesize=${testfilesize}." 152 kill -KILL ${childpid} 2>/dev/null 168 (( childpid=$! )) 170 if isvalidpid ${childpid} ; then 171 err_exit "test2a: child (pid=${childpid}) still busy." 172 kill -KILL ${childpid} 2>/dev/null 179 (( childpid [all...] |
H A D | sun_solaris_command_substitution.sh | 100 (( childpid=$! )) 103 isvalidpid ${childpid} || break 107 if isvalidpid ${childpid} ; then 108 err_exit "${currtst.name}: child (pid=${childpid}) still busy, filesize=${testfilesize}." 109 kill -KILL ${childpid} 2>/dev/null 270 (( childpid=$! )) 273 isvalidpid ${childpid} || break 277 if isvalidpid ${childpid} ; then 278 err_exit "${currtst.name}: child (pid=${childpid}) still busy." 279 kill -KILL ${childpid} [all...] |
/illumos-gate/usr/src/lib/libast/common/comp/ |
H A D | execve.c | 36 static pid_t childpid; 41 kill(childpid, sig); 54 if ((childpid = spawnve(path, argv, arge)) < 0) 58 while (waitpid(childpid, &status, 0) == -1)
|
/illumos-gate/usr/src/lib/libtnfctl/ |
H A D | prb_child.c | 69 pid_t childpid; local 82 childpid = fork(); 83 if (childpid == (pid_t) - 1) { 87 if (childpid == 0) { 197 prbstat = sync_child(childpid, smp, ret_val); 222 sync_child(int childpid, volatile shmem_msg_t *smp, prb_proc_ctl_t **proc_pp) argument 229 prbstat = prb_proc_open(childpid, proc_pp); 280 tempstat = prb_proc_reopen(childpid, proc_pp);
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | exec.c | 52 pid_t childpid; /* child's process ID */ variable 119 childpid = p; 147 childpid = 0;
|
H A D | global.h | 149 extern pid_t childpid; /* child's process ID */
|
H A D | main.c | 1589 if (childpid) {
|
/illumos-gate/usr/src/lib/libshell/common/scripts/ |
H A D | multifollow.sh | 95 trap 'for ((i=0 ; i < numfiles ; i++ )) ; do kill -TERM ${files[i].childpid} ; done' EXIT 102 integer childpid=-1 114 files[${numfiles}].childpid=$!
|
/illumos-gate/usr/src/lib/libdhcpagent/common/ |
H A D | dhcpagent_util.c | 126 pid_t childpid; local 153 childpid = fork(); 158 switch (childpid) { 171 (void) waitpid(childpid, NULL, 0);
|
/illumos-gate/usr/src/cmd/rpcgen/ |
H A D | rpc_util.h | 134 extern pid_t childpid;
|
H A D | rpc_scan.c | 164 (void) waitpid(childpid, &stat,
|
H A D | rpc_main.c | 145 pid_t childpid; variable 324 switch (childpid = fork()) {
|
/illumos-gate/usr/src/cmd/rmt/ |
H A D | rmt.c | 111 static pid_t childpid[MAXCHILD]; variable 414 (void) kill(childpid[--children], SIGKILL); 415 while (wait(NULL) != childpid[children]) 447 (childpid[children] = fork()) > 0) 448 next = childpid[children++];
|
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | dumptape.c | 1380 pid_t childpid; local 1407 childpid = fork(); 1408 if (childpid < 0) { 1414 if (childpid != 0) { 1429 tapeno+1, (long)parentpid, (long)childpid); 1433 if (waitproc == childpid) 1437 (long)parentpid, (long)childpid, (long)waitproc); 1441 (long)childpid, WTERMSIG(status), 1451 "Child %ld finishes X_FINOK\n"), (long)childpid); 1456 "Child %ld finishes X_ABORT\n"), (long)childpid); [all...] |
/illumos-gate/usr/src/cmd/dlmgmtd/ |
H A D | dlmgmt_db.c | 198 pid_t childpid; local 227 childpid = fork(); 228 switch (childpid) { 252 if (waitid(P_PID, childpid, &info, WEXITED) == -1) { 262 zfarg.zfarg_inglobalzone = (zoneid == GLOBAL_ZONEID || childpid != 0);
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | main.c | 2391 pid_t childpid = 0; local 2399 if ((childpid = fork()) == -1) { 2410 if (childpid != 0) { 2415 while (gps->fork_pid != childpid) 2423 childpid = getpid(); 2441 gps->fork_pid = childpid; 2453 gps->fork_pid = childpid;
|
/illumos-gate/usr/src/cmd/init/ |
H A D | init.c | 2456 pid_t childpid; local 2480 while ((childpid = fork()) == FAILURE) { 2498 if (childpid != 0) { 2530 process->p_pid = childpid;
|