public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
541cb86
)
syscall_proc: note a case we need to dig into
author
Alan Cox
<alan@linux.intel.com>
Sat, 19 Jan 2019 19:57:38 +0000
(19:57 +0000)
committer
Alan Cox
<alan@linux.intel.com>
Sat, 19 Jan 2019 19:57:38 +0000
(19:57 +0000)
Kernel/syscall_proc.c
patch
|
blob
|
history
diff --git
a/Kernel/syscall_proc.c
b/Kernel/syscall_proc.c
index
3a4646a
..
e1944d6
100644
(file)
--- a/
Kernel/syscall_proc.c
+++ b/
Kernel/syscall_proc.c
@@
-424,6
+424,8
@@
arg_t _fork(void)
pagemap_free(new_process);
new_process->p_status = P_EMPTY;
udata.u_error = ENOMEM;
+ /* FIXME: we don't know for sure whether the error occurred
+ before or after makeproc: see bug 686 */
nproc--;
nready--;
}