/illumos-gate/usr/src/cmd/ast/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} 2>/dev/null
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/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/libdhcpagent/common/ |
H A D | dhcpagent_util.c | 126 pid_t childpid; in dhcp_start_agent() local 153 childpid = fork(); in dhcp_start_agent() 158 switch (childpid) { in dhcp_start_agent() 171 (void) waitpid(childpid, NULL, 0); in dhcp_start_agent()
|
/illumos-gate/usr/src/tools/cscope-fast/ |
H A D | exec.c | 50 pid_t childpid; /* child's process ID */ variable 117 childpid = p; in myfork() 145 childpid = 0; in join()
|
H A D | global.h | 149 extern pid_t childpid; /* child's process ID */
|
H A D | main.c | 1587 if (childpid) { in timedout()
|
/illumos-gate/usr/src/cmd/rmt/ |
H A D | rmt.c | 109 static pid_t childpid[MAXCHILD]; variable 412 (void) kill(childpid[--children], SIGKILL); in main() 413 while (wait(NULL) != childpid[children]) in main() 445 (childpid[children] = fork()) > 0) in main() 446 next = childpid[children++]; in main()
|
/illumos-gate/usr/src/cmd/backup/dump/ |
H A D | dumptape.c | 1306 pid_t childpid; in otape() local 1333 childpid = fork(); in otape() 1334 if (childpid < 0) { in otape() 1340 if (childpid != 0) { in otape() 1355 tapeno+1, (long)parentpid, (long)childpid); in otape() 1359 if (waitproc == childpid) in otape() 1363 (long)parentpid, (long)childpid, (long)waitproc); in otape() 1367 (long)childpid, WTERMSIG(status), in otape() 1377 "Child %ld finishes X_FINOK\n"), (long)childpid); in otape() 1382 "Child %ld finishes X_ABORT\n"), (long)childpid); in otape() [all …]
|
/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, in get_token()
|
H A D | rpc_main.c | 145 pid_t childpid; variable 324 switch (childpid = fork()) { in open_input()
|
/illumos-gate/usr/src/cmd/dlmgmtd/ |
H A D | dlmgmt_db.c | 199 pid_t childpid; in dlmgmt_zfop() local 228 childpid = fork(); in dlmgmt_zfop() 229 switch (childpid) { in dlmgmt_zfop() 253 if (waitid(P_PID, childpid, &info, WEXITED) == -1) { in dlmgmt_zfop() 263 zfarg.zfarg_inglobalzone = (zoneid == GLOBAL_ZONEID || childpid != 0); in dlmgmt_zfop()
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | main.c | 2396 pid_t childpid = 0; in control() local 2404 if ((childpid = fork()) == -1) { in control() 2415 if (childpid != 0) { in control() 2420 while (gps->fork_pid != childpid) in control() 2428 childpid = getpid(); in control() 2446 gps->fork_pid = childpid; in control() 2458 gps->fork_pid = childpid; in control()
|
/illumos-gate/usr/src/cmd/init/ |
H A D | init.c | 2419 pid_t childpid; in efork() local 2443 while ((childpid = fork()) == FAILURE) { in efork() 2461 if (childpid != 0) { in efork() 2493 process->p_pid = childpid; in efork()
|