[Spread-cvs] commit: r397 - trunk/daemon

jonathan at spread.org jonathan at spread.org
Fri Mar 7 13:34:30 EST 2008


Author: jonathan
Date: 2008-03-07 13:34:30 -0500 (Fri, 07 Mar 2008)
New Revision: 397

Modified:
   trunk/daemon/Changelog
   trunk/daemon/config_gram.l
   trunk/daemon/config_parse.y
Log:
Add SECURITY type of Event log entries to spread.conf file format.



Modified: trunk/daemon/Changelog
===================================================================
--- trunk/daemon/Changelog	2008-03-07 18:32:25 UTC (rev 396)
+++ trunk/daemon/Changelog	2008-03-07 18:34:30 UTC (rev 397)
@@ -1,3 +1,8 @@
+Fri Mar  7 13:32:49 2008  Jonathan Stanton  <jonathan at spreadconcepts.com>
+
+	* config_gram.l, config_parse.y: Add SECURITY type of Event
+	log entries to spread.conf file format. 
+
 Fri Mar  7 13:22:18 2008  Jonathan Stanton  <jonathan at cnds.jhu.edu>
 	* configure, daemon/config.h.in: Rerun autoconf/autoheader to
 	include new configure options.

Modified: trunk/daemon/config_gram.l
===================================================================
--- trunk/daemon/config_gram.l	2008-03-07 18:32:25 UTC (rev 396)
+++ trunk/daemon/config_gram.l	2008-03-07 18:34:30 UTC (rev 397)
@@ -115,6 +115,7 @@
 MEMORY				{ yylval.mask = 0x00010000; return DMEMORY; }
 SKIPLIST			{ yylval.mask = 0x00200000; return DSKIPLIST; }
 ACM     			{ yylval.mask = 0x00400000; return DACM; }
+SECURITY     			{ yylval.mask = 0x00800000; return DSECURITY; }
 ALL				{ yylval.mask = 0xffffffff; return DALL; }
 NONE				{ yylval.mask = 0x00000000; return DNONE; }
 M                               { yylval.mask = IFTYPE_MONITOR; return IMONITOR; }

Modified: trunk/daemon/config_parse.y
===================================================================
--- trunk/daemon/config_parse.y	2008-03-07 18:32:25 UTC (rev 396)
+++ trunk/daemon/config_parse.y	2008-03-07 18:34:30 UTC (rev 397)
@@ -318,7 +318,7 @@
 %token DEBUGFLAGS BANG
 %token DDEBUG DEXIT DPRINT DDATA_LINK DNETWORK DPROTOCOL DSESSION
 %token DCONF DMEMB DFLOW_CONTROL DSTATUS DEVENTS DGROUPS DMEMORY
-%token DSKIPLIST DACM DALL DNONE
+%token DSKIPLIST DACM DSECURITY DALL DNONE
 %token DANGEROUSMONITOR SOCKETPORTREUSE RUNTIMEDIR SPUSER SPGROUP ALLOWEDAUTHMETHODS REQUIREDAUTHMETHODS ACCESSCONTROLPOLICY
 %token SP_BOOL SP_TRIVAL LINKPROTOCOL PHOP PTCPHOP
 %token IMONITOR ICLIENT IDAEMON
@@ -355,6 +355,7 @@
 		|	DMEMORY { $$ = $1; }
 		|	DSKIPLIST { $$ = $1; }
 		|	DACM { $$ = $1; }
+		|	DSECURITY { $$ = $1; }
 		|	DALL { $$ = $1; }
 		|	DNONE { $$ = $1; }
 		;




More information about the Spread-cvs mailing list