aboutsummaryrefslogtreecommitdiff
path: root/sys/security/audit
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2008-06-03 11:06:34 +0000
committerRobert Watson <rwatson@FreeBSD.org>2008-06-03 11:06:34 +0000
commit4e95375678574798d60ce3e03ebbb163ec35d3a5 (patch)
treef97ca54193ed1678b5f503873f6c7030e8655735 /sys/security/audit
parentac14190e39332a069d7c6595c3fd992c8723631a (diff)
Notes
Diffstat (limited to 'sys/security/audit')
-rw-r--r--sys/security/audit/audit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/security/audit/audit.c b/sys/security/audit/audit.c
index 5f345f7b1ffb..ede47c9c619a 100644
--- a/sys/security/audit/audit.c
+++ b/sys/security/audit/audit.c
@@ -269,6 +269,9 @@ SYSINIT(audit_init, SI_SUB_AUDIT, SI_ORDER_FIRST, audit_init, NULL);
* Drain the audit queue and close the log at shutdown. Note that this can
* be called both from the system shutdown path and also from audit
* configuration syscalls, so 'arg' and 'howto' are ignored.
+ *
+ * XXXRW: In FreeBSD 7.x and 8.x, this fails to wait for the record queue to
+ * drain before returning, which could lead to lost records on shutdown.
*/
void
audit_shutdown(void *arg, int howto)