Home
last modified time | relevance | path

Searched refs:curpgid (Results 1 – 6 of 6) sorted by relevance

/titanic_50/usr/src/lib/libshell/common/sh/
H A Dxec.c685 job.curpgid = 0; in sh_exec()
1492 pid_t savepgid = job.curpgid; in sh_exec()
1493 job.curpgid = 0; in sh_exec()
1552 job.curpgid = savepgid; in sh_exec()
2376 pid_t curpgid = job.curpgid; in _sh_fork() local
2377 pid_t postid = (flags&FAMP)?0:curpgid; in _sh_fork()
2417 job.curpgid = parent; in _sh_fork()
2420 if(setpgid(parent,job.curpgid)<0 && errno==EPERM) in _sh_fork()
2426 job.curpgid = parent; in _sh_fork()
2439 job.curpgid = curpgid; in _sh_fork()
[all …]
H A Dfault.c167 if(sig==SIGHUP && job.curpgid) in sh_fault()
168 killpg(job.curpgid,SIGHUP); in sh_fault()
525 job.curpgid = 0; in sh_exit()
544 killpg(job.curpgid,SIGTSTP); in sh_exit()
H A Djobs.c336 if(pw->p_pgrp && pw->p_pgrp==job.curpgid && sh_isstate(SH_STOPOK)) in job_reap()
366 if(pw->p_pgrp && pw->p_pgrp==job.curpgid && pw->p_exit==SIGINT && sh_isstate(SH_STOPOK)) in job_reap()
1113 job.curpgid = 0; in job_clear()
1195 if(killpg(job.curpgid,0)<0 && errno==ESRCH) in job_post()
1196 job.curpgid = pid; in job_post()
1197 pw->p_fgrp = job.curpgid; in job_post()
1653 job.curpgid = 0; in job_unlink()
H A Dsubshell.c476 int savejobpgid = job.curpgid; in sh_subshell()
492 job.curpgid = 0; in sh_subshell()
658 job.curpgid = savejobpgid; in sh_subshell()
H A Dmain.c580 job.waitall = job.curpgid = 0; in exfile()
/titanic_50/usr/src/lib/libshell/common/include/
H A Djobs.h79 pid_t curpgid; /* current process gid id */ member