PERFORCE change 96361 for review
Robert Watson
rwatson at FreeBSD.org
Sat Apr 29 13:41:29 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=96361
Change 96361 by rwatson at rwatson_peppercorn on 2006/04/29 13:38:28
Use au_to_header32_tm(), a kernel interface to create a header with
a specific timeval, rather than the user API.
Affected files ...
.. //depot/projects/trustedbsd/audit3/sys/security/audit/audit_bsm.c#12 edit
Differences ...
==== //depot/projects/trustedbsd/audit3/sys/security/audit/audit_bsm.c#12 (text+ko) ====
@@ -122,7 +122,7 @@
/* Create the header token */
tm.tv_usec = ctime->tv_nsec / 1000;
tm.tv_sec = ctime->tv_sec;
- hdr = au_to_header32(tot_rec_size, event, 0, tm);
+ hdr = au_to_header32_tm(tot_rec_size, event, 0, tm);
TAILQ_INSERT_HEAD(&rec->token_q, hdr, tokens);
trail = au_to_trailer(tot_rec_size);
More information about the trustedbsd-cvs
mailing list