PERFORCE change 90790 for review
Robert Watson
rwatson at FreeBSD.org
Tue Jan 31 07:41:35 PST 2006
http://perforce.freebsd.org/chv.cgi?CH=90790
Change 90790 by rwatson at 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:
More information about the p4-projects
mailing list