From: Matthias Kruk Date: Wed, 6 May 2020 06:50:34 +0000 (+0900) Subject: kernel/core: Assign pids starting with 0 X-Git-Url: https://git.corax.cc/?a=commitdiff_plain;h=09abcd4920e67bb5cce45fa0f78ca40a151474be;p=corax kernel/core: Assign pids starting with 0 --- diff --git a/kernel/core/process.c b/kernel/core/process.c index 5afdd8e..a87dd56 100644 --- a/kernel/core/process.c +++ b/kernel/core/process.c @@ -142,7 +142,7 @@ const static sighandler_t _sig_dfl[] = { CORE, TERM, TERM, IGN, TERM, TERM, CORE, CORE }; -static pid_t _next_pid = 100; +static pid_t _next_pid = 0; static struct proc_list *_procs; static inline int NQ(process_t *p)