From: Alan Cox Date: Sat, 19 Jan 2019 19:57:38 +0000 (+0000) Subject: syscall_proc: note a case we need to dig into X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=0fc2e24e8ed3d0ea405c58f363c005f5688c9518;p=FUZIX.git syscall_proc: note a case we need to dig into --- diff --git a/Kernel/syscall_proc.c b/Kernel/syscall_proc.c index 3a4646ae..e1944d6e 100644 --- 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--; }