Date: Sat, 29 Apr 2006 13:38:39 GMT From: Robert Watson <rwatson@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 96361 for review Message-ID: <200604291338.k3TDcdLg055015@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=96361 Change 96361 by rwatson@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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604291338.k3TDcdLg055015>