fork of 9front i guess
Find a file
cinap_lenrek ca4f815cfc pc64: fix wrong Ureg* argument on note handler (thanks _sl!)
_sl reported crash:

stats 593: suicide: sys: trap: fault write addr=0xffffffff8258d1b0 pc=0x204cc7

; acid 593
/proc/593/text:amd64 plan 9 executable
/sys/lib/acid/port
/sys/lib/acid/amd64
acid: lstk()
notejmp(ret=0x1,j=0x40ac90)+0x13 /sys/src/libc/amd64/notejmp.c:10
alarmed(a=0xffffffff8258d1b0,s=0x7ffffeffea58)+0x3f /sys/src/cmd/stats.c:718
notifier+0x3e /sys/src/libc/port/atnotify.c:15
acid:

note how a in alarmed is a kernel address!

the first Ureg* argument is passed to the note handler in the
RARG (BX) register, which was not loaded when returning to
userspace from syscall() thru forkret(). fix by returning thru
noteret() from syscall().
2014-08-07 19:55:25 +02:00
386
68000
68020
acme
adm/timezone
alpha
amd64 libc and ape support for amd64 2014-02-01 10:31:41 +01:00
arm
lib fortunes: From: urielc@cantv.net 2014-07-30 12:11:58 -04:00
mips
power
power64
rc usps: yet another update 2014-08-01 20:44:58 +02:00
sparc
sparc64
sys pc64: fix wrong Ureg* argument on note handler (thanks _sl!) 2014-08-07 19:55:25 +02:00
.hgignore