summaryrefslogtreecommitdiffstats
path: root/sys/security/audit/audit.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2006-12-28 22:18:43 +0000
committerrwatson <rwatson@FreeBSD.org>2006-12-28 22:18:43 +0000
commitecb6fa46c8de52f7f11dd077392f65dbad5aa4bb (patch)
treeb18a0cd0b806e0035e47c63012f7353abcffdf7b /sys/security/audit/audit.c
parent687cc5fe5caf028194f129d0d033f096a4808e44 (diff)
downloadFreeBSD-src-ecb6fa46c8de52f7f11dd077392f65dbad5aa4bb.zip
FreeBSD-src-ecb6fa46c8de52f7f11dd077392f65dbad5aa4bb.tar.gz
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
Diffstat (limited to 'sys/security/audit/audit.c')
-rw-r--r--sys/security/audit/audit.c8
1 files changed, 4 insertions, 4 deletions
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
OpenPOWER on IntegriCloud