summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2008-08-01 11:00:14 +0000
committerRobert Watson <rwatson@FreeBSD.org>2008-08-01 11:00:14 +0000
commitd69af6ceba1c1eba56e339521324add893e567bb (patch)
treed5133345c2f3bf7e2eecd29f4b412b36d8f2e3ac
parentd9c1cb5439682b2c45188fce42132e21a043bf87 (diff)
Notes
-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 34201afa79c3..7c1c9d6c18a8 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)