CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2019/09/23 02:34:07
Modified files:
regress/usr.bin/lastcomm: Makefile
Added files:
regress/usr.bin/lastcomm: callstack.c syscallwx.c trapstack.c
Removed files:
regress/usr.bin/lastcomm: stackmap.c
Log message:
Add lastcomm(1) test for system call from writeable memory. This
requires that /usr/obj is mounted wxallowed, otherwise the test is
skipped. Split the stack map test into two stack pointer validation
tests, one during syscall and one in the trap handler.
Currently the tests during system call fail on amd64 as the signal
handler is not executed properly. On i386 and arm64 they pass. On
armv7 something else is broken.