summaryrefslogtreecommitdiffstats
path: root/sys/security
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2006-06-05 13:45:05 +0000
committerrwatson <rwatson@FreeBSD.org>2006-06-05 13:45:05 +0000
commit9c450e4c0276184d2ffa296c1b728fe3ef2ddc3b (patch)
tree07ef5ed46ef7244ba71edddd3c3ebe6587995415 /sys/security
parent4f92724562aeddd68892b2f2902f15196fb15aa3 (diff)
downloadFreeBSD-src-9c450e4c0276184d2ffa296c1b728fe3ef2ddc3b.zip
FreeBSD-src-9c450e4c0276184d2ffa296c1b728fe3ef2ddc3b.tar.gz
Use struct kaudit_queue instead of a hand-crafted queue type for
audit records in the audit_worker thread. Obtained from: TrustedBSD Project
Diffstat (limited to 'sys/security')
-rw-r--r--sys/security/audit/audit_worker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/security/audit/audit_worker.c b/sys/security/audit/audit_worker.c
index 7da4f99..8e34748 100644
--- a/sys/security/audit/audit_worker.c
+++ b/sys/security/audit/audit_worker.c
@@ -394,7 +394,7 @@ audit_worker_drain(void)
static void
audit_worker(void *arg)
{
- TAILQ_HEAD(, kaudit_record) ar_worklist;
+ struct kaudit_queue ar_worklist;
struct kaudit_record *ar;
struct ucred *audit_cred;
struct thread *audit_td;
OpenPOWER on IntegriCloud