PERFORCE change 177682 for review

Christian S.J. Peron csjp at FreeBSD.org
Mon May 3 21:52:39 UTC 2010


http://p4web.freebsd.org/@@177682?ac=10

Change 177682 by csjp at hvm02 on 2010/05/03 21:52:09

	In addition to logging the audit records, drop a message in syslog
	This only applies to the "bsm" logging format.

Affected files ...

.. //depot/projects/trustedbsd/bsmtrace/log.c#3 edit

Differences ...

==== //depot/projects/trustedbsd/bsmtrace/log.c#3 (text+ko) ====

@@ -123,6 +123,9 @@
 	 * are dealing with a dynamic sequence, and the records are attached to
 	 * each individual state.
 	 */
+	syslog(LOG_AUTH | LOG_NOTICE,
+	    "%u.%u sequence match evidence file: %s", br->br_sec, br->br_usec,
+	    path);
 	if ((bs->bs_seq_flags & BSM_SEQUENCE_PARENT) != 0) {
 		if (write(fd, br->br_raw, br->br_raw_len) < 0)
 			bsmtrace_error(1, "write failed");


More information about the p4-projects mailing list