CVSROOT: /cvs Module name: src Changes by: [email protected] 2017/06/07 14:53:59
Modified files:
sys/kern : kern_pledge.c
sys/sys : acct.h
usr.bin/lastcomm: lastcomm.1 lastcomm.c
lib/libc/sys : pledge.2
Log message:
Add an acct(5) flag for pledge violations. Then lastcomm(1) shows
when something went wrong. This allows to monitor whether the
system is under attack and that the attack has been prevented by
OpenBSD pledge(2).
OK deraadt@ millert@ jmc@
