Home
last modified time | relevance | path

Searched refs:childpid (Results 1 – 16 of 16) sorted by relevance

/illumos-gate/usr/src/cmd/ast/libshell/common/tests/
H A Dsun_solaris_cr_6687139_command_substitution_exec_redirection_allocation_loop.sh67 integer childpid
83 childpid=$!
95 pstack ${childpid}
100 wait ${childpid}
117 childpid=$!
129 pstack ${childpid}
134 wait ${childpid}
150 childpid=$!
167 wait ${childpid}
184 childpid=$!
[all …]
H A Dsun_solaris_cr_6800929_large_command_substitution_hang.sh143 (( childpid=$! ))
146 isvalidpid ${childpid} || break
150 if isvalidpid ${childpid} ; then
168 (( childpid=$! ))
170 if isvalidpid ${childpid} ; then
179 (( childpid=$! ))
181 if isvalidpid ${childpid} ; then
190 (( childpid=$! ))
192 if isvalidpid ${childpid} ; then
201 (( childpid=$! ))
[all …]
H A Dsun_solaris_command_substitution.sh100 (( 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 Dexecve.c36 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 Ddhcpagent_util.c126 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 Dexec.c50 pid_t childpid; /* child's process ID */ variable
117 childpid = p; in myfork()
145 childpid = 0; in join()
H A Dglobal.h149 extern pid_t childpid; /* child's process ID */
H A Dmain.c1587 if (childpid) { in timedout()
/illumos-gate/usr/src/cmd/rmt/
H A Drmt.c109 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 Ddumptape.c1306 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 Drpc_util.h134 extern pid_t childpid;
H A Drpc_scan.c164 (void) waitpid(childpid, &stat, in get_token()
H A Drpc_main.c145 pid_t childpid; variable
324 switch (childpid = fork()) { in open_input()
/illumos-gate/usr/src/cmd/dlmgmtd/
H A Ddlmgmt_db.c199 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 Dmain.c2396 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 Dinit.c2419 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()