From ecb6fa46c8de52f7f11dd077392f65dbad5aa4bb Mon Sep 17 00:00:00 2001 From: rwatson Date: Thu, 28 Dec 2006 22:18:43 +0000 Subject: Update a number of comments: - Replace XXX with Note: in several cases where observations are made about future functionality rather than problems or bugs. - Remove an XXX comment about byte order and au_to_ip() -- IP headers must be submitted in network byte order. Add a comment to this effect. - Mention that we don't implement select/poll for /dev/audit. Obtained from: TrustedBSD Project --- sys/security/audit/audit.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sys/security/audit/audit.c') diff --git a/sys/security/audit/audit.c b/sys/security/audit/audit.c index c8121a0..698ca81 100644 --- a/sys/security/audit/audit.c +++ b/sys/security/audit/audit.c @@ -312,9 +312,9 @@ audit_new(int event, struct thread *td) return (NULL); /* - * XXX: The number of outstanding uncommitted audit records is - * limited to the number of concurrent threads servicing system - * calls in the kernel. + * Note: the number of outstanding uncommitted audit records is + * limited to the number of concurrent threads servicing system calls + * in the kernel. */ ar = uma_zalloc_arg(audit_record_zone, td, M_WAITOK); ar->k_ar.ar_event = event; @@ -503,7 +503,7 @@ audit_syscall_enter(unsigned short code, struct thread *td) * processes, do that here rather than trying to allocate * another audit record. * - * XXXRW: We might wish to be able to continue here in the + * Note: we might wish to be able to continue here in the * future, if the system recovers. That should be possible * by means of checking the condition in a loop around * cv_wait(). It might be desirable to reevaluate whether an -- cgit v1.1