diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2017-06-08 17:14:03 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2017-06-08 17:14:03 +0000 |
commit | fa03989c2a6987373f0f0afb9944b9976c720e37 (patch) | |
tree | 88c0401b0c3f38361b0d35cc7fb85c99ee0978b5 /usr.bin/lastcomm/lastcomm.1 | |
parent | d5232db52d2561b36d287e4d09fd411f122c60ac (diff) |
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@
Diffstat (limited to 'usr.bin/lastcomm/lastcomm.1')
-rw-r--r-- | usr.bin/lastcomm/lastcomm.1 | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/usr.bin/lastcomm/lastcomm.1 b/usr.bin/lastcomm/lastcomm.1 index 12b0156e648..0fca39005b7 100644 --- a/usr.bin/lastcomm/lastcomm.1 +++ b/usr.bin/lastcomm/lastcomm.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: lastcomm.1,v 1.17 2017/06/07 20:53:59 bluhm Exp $ +.\" $OpenBSD: lastcomm.1,v 1.18 2017/06/08 17:14:02 bluhm Exp $ .\" $NetBSD: lastcomm.1,v 1.5 1995/10/22 01:43:41 ghudson Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)lastcomm.1 8.1 (Berkeley) 6/6/93 .\" -.Dd $Mdocdate: June 7 2017 $ +.Dd $Mdocdate: June 8 2017 $ .Dt LASTCOMM 1 .Os .Sh NAME @@ -114,11 +114,14 @@ indicates the command terminated with the generation of a .Pa core file, .Sq X -indicates the command was terminated with a signal, and +indicates the command was terminated with a signal, .Sq P indicates the command was terminated due to a .Xr pledge 2 -violation. +violation, and +.Sq T +indicates the command did a memory access violation detected by a +processor trap. .Sh FILES .Bl -tag -width /var/account/acct -compact .It Pa /var/account/acct |