aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/fork.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/fork.c')
-rw-r--r--kernel/fork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c
index 298c4d6ab512..60d2644bfe85 100644
--- a/kernel/fork.c
+++ b/kernel/fork.c
@@ -1259,7 +1259,7 @@ static struct task_struct *copy_process(unsigned long clone_flags,
1259 if (thread_group_leader(p)) { 1259 if (thread_group_leader(p)) {
1260 p->signal->tty = current->signal->tty; 1260 p->signal->tty = current->signal->tty;
1261 p->signal->pgrp = process_group(current); 1261 p->signal->pgrp = process_group(current);
1262 p->signal->session = process_session(current); 1262 set_signal_session(p->signal, process_session(current));
1263 attach_pid(p, PIDTYPE_PGID, process_group(p)); 1263 attach_pid(p, PIDTYPE_PGID, process_group(p));
1264 attach_pid(p, PIDTYPE_SID, process_session(p)); 1264 attach_pid(p, PIDTYPE_SID, process_session(p));
1265 1265