Browse Source

Report processes that were killed due to pledge or memory access

violations in the daily mail.
OK millert@ jmc@
OPENBSD_6_2
bluhm 7 years ago
parent
commit
d8441d1af8
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      src/etc/daily

+ 2
- 1
src/etc/daily View File

@ -1,5 +1,5 @@
# #
# $OpenBSD: daily,v 1.88 2016/04/29 13:05:33 schwarze Exp $
# $OpenBSD: daily,v 1.89 2017/06/10 11:28:30 bluhm Exp $
# From: @(#)daily 8.2 (Berkeley) 1/25/94 # From: @(#)daily 8.2 (Berkeley) 1/25/94
# #
# For local additions, create the file /etc/daily.local. # For local additions, create the file /etc/daily.local.
@ -71,6 +71,7 @@ if [ -f /var/account/acct ]; then
mv -f /var/account/acct.0 /var/account/acct.1 mv -f /var/account/acct.0 /var/account/acct.1
cp -f /var/account/acct /var/account/acct.0 cp -f /var/account/acct /var/account/acct.0
sa -sq sa -sq
lastcomm -f /var/account/acct.0 | grep -e ' -[A-Z]*[PT]'
fi fi
# If ROOTBACKUP is set to 1 in the environment, and # If ROOTBACKUP is set to 1 in the environment, and


Loading…
Cancel
Save