Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 2006 15:41:33 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 90790 for review
Message-ID:  <200601311541.k0VFfX64045955@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=90790

Change 90790 by rwatson@rwatson_zoo on 2006/01/31 15:40:44

	When re-reading the audit configuration files due to a read file
	trigger, also set the kernel state.

Affected files ...

.. //depot/projects/trustedbsd/openbsm/bin/auditd/auditd.c#8 edit

Differences ...

==== //depot/projects/trustedbsd/openbsm/bin/auditd/auditd.c#8 (text+ko) ====

@@ -30,7 +30,7 @@
  *
  * @APPLE_BSD_LICENSE_HEADER_END@
  *
- * $P4: //depot/projects/trustedbsd/openbsm/bin/auditd/auditd.c#7 $
+ * $P4: //depot/projects/trustedbsd/openbsm/bin/auditd/auditd.c#8 $
  */
 
 #include <sys/dirent.h>
@@ -520,6 +520,8 @@
 		syslog(LOG_INFO, "Got read file trigger\n");
 		if (read_control_file() == -1)
 			syslog(LOG_ERR, "Error in audit control file\n");
+		if (config_audit_controls() == -1)
+			syslog(LOG_ERR, "Error setting audit controls\n");
 		break;
 
 	default:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601311541.k0VFfX64045955>