Browse Source

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@
OPENBSD_6_6
bluhm 4 years ago
parent
commit
ca8d24bbae
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/daily

+ 2
- 2
src/etc/daily View File

@ -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


Loading…
Cancel
Save