[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ossec-cvs] ossec-hids: syscheck.c (HEAD) win-registry.c (HEAD) [dcid]
Module name: ossec-hids
Changes by: dcid 07/09/25 20:18:20
Modified files:
syscheck.c win-registry.c
Log message:
Description: A few more changes on the syscheck organization. Putting the defines where they should be.
Reviewed by: dcid
Bug:
Index: syscheck.c
===================================================================
RCS file: /usr/cvsroot/ossec-hids/src/syscheckd/syscheck.c,v
diff -u -r1.34 -r1.35
--- syscheck.c 25 Sep 2007 22:53:52 -0000 1.34
+++ syscheck.c 25 Sep 2007 23:18:20 -0000 1.35
@@ -29,6 +29,11 @@
#include "rootcheck/rootcheck.h"
+/* Definitions only used in here. */
+#define SYSCHECK_DB SYSCHECK_DIR "/syschecklocal.db"
+#define SYS_WIN_DB "syscheck/syschecklocal.db"
+
+
/* void read_internal()
* Reads syscheck internal options.
Index: win-registry.c
===================================================================
RCS file: /usr/cvsroot/ossec-hids/src/syscheckd/win-registry.c,v
diff -u -r1.8 -r1.9
--- win-registry.c 20 Jul 2007 00:19:27 -0000 1.8
+++ win-registry.c 25 Sep 2007 23:18:20 -0000 1.9
@@ -27,6 +27,11 @@
#define MAX_KEY_LENGTH 255
#define MAX_KEY 2048
#define MAX_VALUE_NAME 16383
+
+/* Places to story the registry values. */
+#define SYS_WIN_REG "syscheck/syscheckregistry.db"
+#define SYS_REG_TMP "syscheck/syscheck_sum.tmp"
+
/* Global variables */
OSSEC home |
Main Index |
Thread Index
OSSEC project: www.ossec.net.
Mailling list information: http://www.ossec.net/en/mailing_lists.html.