Fork me on GitHub
sid               244 drivers/char/tty.c 	tty->pgid = tty->sid = 0;
sid               248 drivers/char/tty.c 		if(p->sid == current->sid) {
sid               451 drivers/char/tty.c 	if(SESS_LEADER(current) && !current->ctty && !noctty_flag && !tty->sid) {
sid               453 drivers/char/tty.c 		tty->sid = current->sid;
sid               478 drivers/char/tty.c 		tty->pgid = tty->sid = 0;
sid               836 drivers/char/tty.c 			if(SESS_LEADER(current) && (current->sid == tty->sid)) {
sid               842 drivers/char/tty.c 			if(tty->sid) {
sid               855 drivers/char/tty.c 			tty->sid = current->sid;
sid               698 fs/procfs/data.c 		p->ppid, p->pgid, p->sid,
sid                48 include/fiwix/process.h #define SESS_LEADER(p)	((p)->pid == (p)->pgid && (p)->pid == (p)->sid)
sid               107 include/fiwix/process.h 	__pid_t sid;			/* session ID */
sid                55 include/fiwix/tty.h 	__pid_t pid, pgid, sid;
sid                69 kernel/init.c  	init->sid = 0;
sid               201 kernel/process.c 				if(pp->pgid != pgid || pp->sid == p->sid) {
sid               288 kernel/process.c 		if(lastpid == p->pid || lastpid == p->pgid || lastpid == p->sid) {
sid                27 kernel/signal.c 	if(!IS_SUPERUSER && current->euid != p->euid && current->sid != p->sid) {
sid                36 kernel/syscalls/exit.c 			if(p->sid == current->sid && p->state != PROC_ZOMBIE) {
sid                38 kernel/syscalls/exit.c 				p->sid = 0;
sid                29 kernel/syscalls/getsid.c 		return current->sid;
sid                34 kernel/syscalls/getsid.c 			return p->sid;
sid                42 kernel/syscalls/setpgid.c 	if(p->sid == p->pid || p->sid != current->sid) {
sid                50 kernel/syscalls/setpgid.c 			if(p->pgid == pgid && p->sid != current->sid) {
sid                34 kernel/syscalls/setsid.c 	current->sid = current->pgid = current->pid;
sid                36 kernel/syscalls/setsid.c 	return current->sid;