we spent far too long debugging a weird go library problem (incorrect
authorderaadt <deraadt@openbsd.org>
Mon, 16 Jan 2023 05:32:04 +0000 (05:32 +0000)
committerderaadt <deraadt@openbsd.org>
Mon, 16 Jan 2023 05:32:04 +0000 (05:32 +0000)
commite2c8dd8b7217dea57fdce51706f143ecf030e4b5
tree4c26613a94b18dbc05f01044952ea7d28df9acdb
parentc0aad570ae16c48fde52f15d31962581c3683049
we spent far too long debugging a weird go library problem (incorrect
arguments to mmap) because it was using syscall(2) and that callpath
is invisible in ktrace.  make it visible, it will now show "(via syscall)"
and such.
ok guenther
16 files changed:
sys/arch/alpha/alpha/trap.c
sys/arch/amd64/amd64/trap.c
sys/arch/arm/arm/syscall.c
sys/arch/arm64/arm64/syscall.c
sys/arch/hppa/hppa/trap.c
sys/arch/i386/i386/trap.c
sys/arch/m88k/m88k/trap.c
sys/arch/mips64/mips64/trap.c
sys/arch/powerpc/powerpc/trap.c
sys/arch/powerpc64/powerpc64/syscall.c
sys/arch/riscv64/riscv64/syscall.c
sys/arch/sh/sh/trap.c
sys/arch/sparc64/sparc64/trap.c
sys/sys/ktrace.h
sys/sys/syscall_mi.h
usr.bin/kdump/kdump.c