Fork me on GitHub
pgid              244 drivers/char/tty.c 	tty->pgid = tty->sid = 0;
pgid              253 drivers/char/tty.c 	kill_pgrp(current->pgid, SIGHUP);
pgid              254 drivers/char/tty.c 	kill_pgrp(current->pgid, SIGCONT);
pgid              299 drivers/char/tty.c 				if(tty->pgid > 0) {
pgid              300 drivers/char/tty.c 					kill_pgrp(tty->pgid, SIGINT);
pgid              305 drivers/char/tty.c 				if(tty->pgid > 0) {
pgid              306 drivers/char/tty.c 					kill_pgrp(tty->pgid, SIGQUIT);
pgid              311 drivers/char/tty.c 				if(tty->pgid > 0) {
pgid              312 drivers/char/tty.c 					kill_pgrp(tty->pgid, SIGTSTP);
pgid              454 drivers/char/tty.c 		tty->pgid = current->pgid;
pgid              478 drivers/char/tty.c 		tty->pgid = tty->sid = 0;
pgid              505 drivers/char/tty.c 	if(current->ctty == tty && current->pgid != tty->pgid) {
pgid              506 drivers/char/tty.c 		if(current->sigaction[SIGTTIN - 1].sa_handler == SIG_IGN || current->sigblocked & (1 << (SIGTTIN - 1)) || is_orphaned_pgrp(current->pgid)) {
pgid              509 drivers/char/tty.c 		kill_pgrp(current->pgid, SIGTTIN);
pgid              651 drivers/char/tty.c 	if(current->ctty == tty && current->pgid != tty->pgid) {
pgid              654 drivers/char/tty.c 				if(is_orphaned_pgrp(current->pgid)) {
pgid              657 drivers/char/tty.c 				kill_pgrp(current->pgid, SIGTTOU);
pgid              856 drivers/char/tty.c 			tty->pgid = current->pgid;
pgid              867 drivers/char/tty.c 			memcpy_b((void *)arg, &tty->pgid, sizeof(__pid_t));
pgid              881 drivers/char/tty.c 			memcpy_b(&tty->pgid, (void *)arg, sizeof(__pid_t));
pgid              931 drivers/char/tty.c 				kill_pgrp(tty->pgid, SIGWINCH);
pgid              698 fs/procfs/data.c 		p->ppid, p->pgid, p->sid,
pgid              700 fs/procfs/data.c 		p->ctty ? p->ctty->pgid : - 1,
pgid               47 include/fiwix/process.h #define PG_LEADER(p)	((p)->pid == (p)->pgid)
pgid               48 include/fiwix/process.h #define SESS_LEADER(p)	((p)->pid == (p)->pgid && (p)->pid == (p)->sid)
pgid              106 include/fiwix/process.h 	__pid_t pgid;			/* process group ID */
pgid               55 include/fiwix/tty.h 	__pid_t pid, pgid, sid;
pgid               68 kernel/init.c  	init->pgid = 0;
pgid               45 kernel/process.c int kill_pgrp(__pid_t pgid, __sigset_t signum)
pgid               52 kernel/process.c 		if(p->pgid == pgid && p->state != PROC_ZOMBIE) {
pgid              188 kernel/process.c int is_orphaned_pgrp(__pid_t pgid)
pgid              197 kernel/process.c 		if(p->pgid == pgid) {
pgid              201 kernel/process.c 				if(pp->pgid != pgid || pp->sid == p->sid) {
pgid              288 kernel/process.c 		if(lastpid == p->pid || lastpid == p->pgid || lastpid == p->sid) {
pgid               37 kernel/syscalls/exit.c 				p->pgid = 0;
pgid               29 kernel/syscalls/getpgid.c 		return current->pgid;
pgid               33 kernel/syscalls/getpgid.c 			return p->pgid;
pgid               17 kernel/syscalls/getpgrp.c 	printk("(pid %d) sys_getpgrp() -> %d\n", current->pid, current->pgid);
pgid               19 kernel/syscalls/getpgrp.c 	return current->pgid;
pgid               40 kernel/syscalls/kill.c 		return kill_pgrp(current->pgid, signum);
pgid               17 kernel/syscalls/setpgid.c int sys_setpgid(__pid_t pid, __pid_t pgid)
pgid               22 kernel/syscalls/setpgid.c 	printk("(pid %d) sys_setpgid(%d, %d)", current->pid, pid, pgid);
pgid               25 kernel/syscalls/setpgid.c 	if(pid < 0 || pgid < 0) {
pgid               35 kernel/syscalls/setpgid.c 	if(!pgid) {
pgid               36 kernel/syscalls/setpgid.c 		pgid = p->pid;
pgid               50 kernel/syscalls/setpgid.c 			if(p->pgid == pgid && p->sid != current->sid) {
pgid               61 kernel/syscalls/setpgid.c 	p->pgid = pgid;
pgid               28 kernel/syscalls/setsid.c 		if(p != current && p->pgid == current->pid) {
pgid               34 kernel/syscalls/setsid.c 	current->sid = current->pgid = current->pid;
pgid               48 kernel/syscalls/wait4.c 				if(p->pgid == current->pgid) {
pgid               53 kernel/syscalls/wait4.c 				if(p->pgid == -pid) {