summaryrefslogtreecommitdiff
path: root/etc/daily
diff options
context:
space:
mode:
authorAlexander Bluhm <bluhm@cvs.openbsd.org>2019-09-09 20:02:28 +0000
committerAlexander Bluhm <bluhm@cvs.openbsd.org>2019-09-09 20:02:28 +0000
commita0258cfaca2842e071c42088e9041699bd79b414 (patch)
treedf4abf3faddad02913ffaa864146f6e74a231cfa /etc/daily
parent59e994ee8a1a1edcf89e9aa49e2dd4586bda90b7 (diff)
Inform about system call memory write protection and stack mapping
violations in system accounting. This will help to find missbehaving programs and possible attacks. The flags bit field is full, so recycle the PDP-11 compatibility on VAX. lastcomm(1) prints the AMAP flag as 'M'. daily(8) prints a list of affected processes. OK deraadt@
Diffstat (limited to 'etc/daily')
-rw-r--r--etc/daily4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/daily b/etc/daily
index 255acd06f6f..a3d89391a25 100644
--- a/etc/daily
+++ b/etc/daily
@@ -1,5 +1,5 @@
#
-# $OpenBSD: daily,v 1.92 2019/07/25 13:13:53 bluhm Exp $
+# $OpenBSD: daily,v 1.93 2019/09/09 20:02:26 bluhm Exp $
# From: @(#)daily 8.2 (Berkeley) 1/25/94
#
# For local additions, create the file /etc/daily.local.
@@ -74,7 +74,7 @@ if [ -f /var/account/acct ]; then
mv -f /var/account/acct.0 /var/account/acct.1
cp -f /var/account/acct /var/account/acct.0
sa -sq
- lastcomm -f /var/account/acct.0 | grep -e ' -[A-Z]*[PTU]'
+ lastcomm -f /var/account/acct.0 | grep -e ' -[A-Z]*[MPTU]'
fi
# If ROOTBACKUP is set to 1 in the environment, and