diff options
Diffstat (limited to 'kernel/fork.c')
-rw-r--r-- | kernel/fork.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index 73a442b7be6d..1020977b57ca 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -880,6 +880,8 @@ static int copy_signal(unsigned long clone_flags, struct task_struct *tsk) | |||
880 | 880 | ||
881 | tty_audit_fork(sig); | 881 | tty_audit_fork(sig); |
882 | 882 | ||
883 | sig->oom_adj = current->signal->oom_adj; | ||
884 | |||
883 | return 0; | 885 | return 0; |
884 | } | 886 | } |
885 | 887 | ||