jehanne/sys/src/kern/port
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
..
umem kernel: umem: fix img_get macro 2017-08-15 00:38:09 +02:00
alarm.c first usable version of kernel and commands 2016-11-26 03:49:29 +01:00
alloc.c kernel: deep refactoring and cleanup 2017-08-11 03:18:32 +02:00
allocb.c kernel: deep refactoring and cleanup 2017-08-11 03:18:32 +02:00
aoe.h first usable version of kernel and commands 2016-11-26 03:49:29 +01:00
awake.c kernel: ignore errors on awake_gc_proc 2017-10-25 01:22:01 +02:00
chan.c kernel: deep refactoring and cleanup 2017-08-11 03:18:32 +02:00
debug.c kernel: deep refactoring and cleanup 2017-08-11 03:18:32 +02:00
dev.c kernel: deep refactoring and cleanup 2017-08-11 03:18:32 +02:00
dev9p.c kernel: deep refactoring and cleanup 2017-08-11 03:18:32 +02:00
devbridge.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
devcap.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
devcons.c kernel: deep refactoring and cleanup 2017-08-11 03:18:32 +02:00
devdraw.c kernel: deep refactoring and cleanup 2017-08-11 03:18:32 +02:00
devdup.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
devenv.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
devfs.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
devkprof.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
devmem.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
devmem1.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
devmouse.c kernel: deep refactoring and cleanup 2017-08-11 03:18:32 +02:00
devpci.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
devpipe.c kernel: devpipe: fix error management on writes 2017-05-17 00:27:57 +02:00
devproc.c kernel: fix _procfdprint to use chan's flags 2017-10-25 01:17:31 +02:00
devroot.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
devsd.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
devsegment.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
devself.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
devshr.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
devsrv.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
devssl.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
devtab.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
devtls.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
devtrace.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
devuart.c kernel: deep refactoring and cleanup 2017-08-11 03:18:32 +02:00
devusb.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
devwd.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
elf64.c elf64ldseg: do not pprint warnings on wrong header as it could simply be an rc script 2017-08-21 23:59:40 +02:00
fault.c kernel: removed unreachable code in fault (CID: 155701) 2017-08-15 01:07:48 +02:00
getput.c first usable version of kernel and commands 2016-11-26 03:49:29 +01:00
getput.h first usable version of kernel and commands 2016-11-26 03:49:29 +01:00
include.json kernel: deep refactoring and cleanup 2017-08-11 03:18:32 +02:00
initcode.c kernel: simplify init code 2017-05-20 14:06:26 +02:00
iofilter.h first usable version of kernel and commands 2016-11-26 03:49:29 +01:00
latin1.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
latin1.h first usable version of kernel and commands 2016-11-26 03:49:29 +01:00
led.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
led.h first usable version of kernel and commands 2016-11-26 03:49:29 +01:00
lib.h kernel: deep refactoring and cleanup 2017-08-11 03:18:32 +02:00
log.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
mcslock.c kernel: deep refactoring and cleanup 2017-08-11 03:18:32 +02:00
mul64fract.c first usable version of kernel and commands 2016-11-26 03:49:29 +01:00
net.c first usable version of kernel and commands 2016-11-26 03:49:29 +01:00
netif.c kernel: deep refactoring and cleanup 2017-08-11 03:18:32 +02:00
netif.h kernel: deep refactoring and cleanup 2017-08-11 03:18:32 +02:00
parse.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
pgrp.c kernel: deep refactoring and cleanup 2017-08-11 03:18:32 +02:00
portclock.c kernel: deep refactoring and cleanup 2017-08-11 03:18:32 +02:00
portdat.h kernel: deep refactoring and cleanup 2017-08-11 03:18:32 +02:00
portfns.h kernel: deep refactoring and cleanup 2017-08-11 03:18:32 +02:00
portusbehci.h first usable version of kernel and commands 2016-11-26 03:49:29 +01:00
print.c kernel: deep refactoring and cleanup 2017-08-11 03:18:32 +02:00
proc.c kernel: fix potential overflow in updatecpu (CID 155825) 2017-08-15 00:54:15 +02:00
ps.c kernel: deep refactoring and cleanup 2017-08-11 03:18:32 +02:00
qio.c kernel: deep refactoring and cleanup 2017-08-11 03:18:32 +02:00
qlock.c kernel: deep refactoring and cleanup 2017-08-11 03:18:32 +02:00
random.c kernel: deep refactoring and cleanup 2017-08-11 03:18:32 +02:00
rebootcmd.c first usable version of kernel and commands 2016-11-26 03:49:29 +01:00
ref.c first usable version of kernel and commands 2016-11-26 03:49:29 +01:00
rmap.c kernel: deep refactoring and cleanup 2017-08-11 03:18:32 +02:00
sd.h libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
swcursor.c kernel: deep refactoring and cleanup 2017-08-11 03:18:32 +02:00
sysauth.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
syscallfmt.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
sysfile.c kernel: syspread: avoid negative offsets in dir reads 2017-08-14 18:40:25 +02:00
sysproc.c kernel: simplify sysnotify; should fix CID 156151 (Wrong sizeof argument) 2017-08-14 19:52:22 +02:00
taslock.c kernel: deep refactoring and cleanup 2017-08-11 03:18:32 +02:00
tod.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
uidgid.c libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
usb.h libc: introduce "jehanne_" namespace 2017-04-19 23:48:21 +02:00
usbehci.c kernel: deep refactoring and cleanup 2017-08-11 03:18:32 +02:00
xalloc.c kernel: deep refactoring and cleanup 2017-08-11 03:18:32 +02:00