projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'kvm-updates/3.1' of git://github.com/avikivity/kvm
[firefly-linux-kernel-4.4.55.git]
/
kernel
/
fork.c
diff --git
a/kernel/fork.c
b/kernel/fork.c
index e7ceaca896094eeff3da742b8442f54e0514ac2d..8e6b6f4fb272ba498a4acdbcb6a29c8f7e6c87dd 100644
(file)
--- a/
kernel/fork.c
+++ b/
kernel/fork.c
@@
-1111,6
+1111,7
@@
static struct task_struct *copy_process(unsigned long clone_flags,
p->real_cred->user != INIT_USER)
goto bad_fork_free;
}
+ current->flags &= ~PF_NPROC_EXCEEDED;
retval = copy_creds(p, clone_flags);
if (retval < 0)