ASLR, W^X, and guard pages trigger processor traps that result in
authorbluhm <bluhm@openbsd.org>
Thu, 8 Jun 2017 17:14:02 +0000 (17:14 +0000)
committerbluhm <bluhm@openbsd.org>
Thu, 8 Jun 2017 17:14:02 +0000 (17:14 +0000)
commit8788635fa4e541cf4323d99743451cf41e531926
treea8cb383a838fcc9f500c091bb1e3e0b2d7443ca9
parent42fe4315c72a19805ae3b305fc99a562df14ca2b
ASLR, W^X, and guard pages trigger processor traps that result in
SIGILL, SIGBUS, SIGSEGV signals.  Make such memory violations visible
in lastcomm(1).  This also works if a programm tries to hide them
with a signal handler.  Manual kill -SEGV does not generate false
positives.
OK deraadt@
share/man/man5/acct.5
sys/kern/kern_sig.c
sys/sys/acct.h
usr.bin/lastcomm/lastcomm.1
usr.bin/lastcomm/lastcomm.c