summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorrob <rob@cvs.openbsd.org>2020-07-26 13:27:25 +0000
committerrob <rob@cvs.openbsd.org>2020-07-26 13:27:25 +0000
commit35af3879a803bc52e8a54668f78817c3c9bf5640 (patch)
treec7122e6e49fafdc34e0d883c00514164a7519882 /lib
parent2c9c5dd0d38303e2a1bf5c496fd58d88b6eb0d7d (diff)
Reference unveil(2) in system accounting and daily.8.
Reminder that unveil does not kill from brynet and gsoares. Wording tweaks from jmc; feedback from deraadt. ok jmc@, millert@, solene@, "fine with me" deraadt@
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/acct.211
1 files changed, 5 insertions, 6 deletions
diff --git a/lib/libc/sys/acct.2 b/lib/libc/sys/acct.2
index f8b184ce0b6..5575f4cd941 100644
--- a/lib/libc/sys/acct.2
+++ b/lib/libc/sys/acct.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: acct.2,v 1.18 2015/09/10 17:55:21 schwarze Exp $
+.\" $OpenBSD: acct.2,v 1.19 2020/07/26 13:27:23 rob Exp $
.\" $NetBSD: acct.2,v 1.6 1995/02/27 12:31:47 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)acct.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: September 10 2015 $
+.Dd $Mdocdate: July 26 2020 $
.Dt ACCT 2
.Os
.Sh NAME
@@ -51,14 +51,13 @@ is
accounting is disabled.
If
.Fa file
-is an existing, NUL-terminated pathname, record collection is enabled
-and for every process initiated which terminates under normal conditions
+is an existing, NUL-terminated pathname, record collection is enabled.
+For every process initiated which terminates under normal conditions or
+misbehaves in very specific ways (e.g. file access prevented by unveil),
an accounting record is appended to
.Fa file .
Abnormal conditions of termination are reboots or other
fatal system problems.
-Records for processes which never terminate cannot be produced by
-.Fn acct .
.Fn acct
is only available on kernels compiled with the
.Cm ACCOUNTING