jehanne/sys/src
Giacomo Tesio 430df16543 kernel: ignore errors on awake_gc_proc
Calling resrcwait in awake_gc_proc (that is called from pexit and thus
from sys_exits) means that we have to ignore errors that could cause
the syscall to return.

The funny part here was that one single test for newlib showed the
issue by faulting in a note handler AFTER completing with success:

	/arch/amd64/qa/lib/newlib/sigchld/213-sigqueue

The fact was that in the executable, the function notifier() was
located just after the exits() function, whose last line was a call
to _exits().

Thus, when the _exits returned, the notifier() code was executed.
2017-10-25 01:22:01 +02:00
..
cmd cmds: add ns/clone 2017-10-25 01:02:32 +02:00
kern kernel: ignore errors on awake_gc_proc 2017-10-25 01:22:01 +02:00
lib libc: move exits to its own translation unit (another good idea from 9front) 2017-10-25 01:11:34 +02:00
sysconf.json kernel: generalize awake 2017-05-15 00:05:59 +02:00