projects
/
ossec-hids.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new upstream release (3.3.0); modify package compatibility for Stretch
[ossec-hids.git]
/
src
/
config
/
rootcheck-config.h
diff --git
a/src/config/rootcheck-config.h
b/src/config/rootcheck-config.h
old mode 100755
(executable)
new mode 100644
(file)
index
7a45baf
..
a365305
--- a/
src/config/rootcheck-config.h
+++ b/
src/config/rootcheck-config.h
@@
-1,5
+1,3
@@
-/* $OSSEC, rootcheck.h, v0.1, 2005/10/03, Daniel B. Cid$ */
-
/* Copyright (C) 2009 Trend Micro Inc.
* All right reserved.
*
/* Copyright (C) 2009 Trend Micro Inc.
* All right reserved.
*
@@
-9,16
+7,13
@@
* Foundation
*/
* Foundation
*/
-
#ifndef __CROOTCHECK_H
#ifndef __CROOTCHECK_H
-
#define __CROOTCHECK_H
#include <stdio.h>
#define __CROOTCHECK_H
#include <stdio.h>
-typedef struct _rkconfig
-{
- char *workdir;
+typedef struct _rkconfig {
+ const char *workdir;
char *basedir;
char *rootkit_files;
char *rootkit_trojans;
char *basedir;
char *rootkit_files;
char *rootkit_trojans;
@@
-35,12
+30,16
@@
typedef struct _rkconfig
int scanall;
int readall;
int disabled;
int scanall;
int readall;
int disabled;
+ short skip_nfs;
+
+#ifdef OSSECHIDS
+ unsigned int tsleep;
+#endif /* OSSECHIDS */
int time;
int queue;
int time;
int queue;
-
- struct _checks
- {
+
+ struct _checks {
short rc_dev;
short rc_files;
short rc_if;
short rc_dev;
short rc_files;
short rc_if;
@@
-49,23
+48,17
@@
typedef struct _rkconfig
short rc_sys;
short rc_trojans;
short rc_sys;
short rc_trojans;
- #ifdef WIN32
-
+#ifdef WIN32
short rc_winaudit;
short rc_winmalware;
short rc_winapps;
short rc_winaudit;
short rc_winmalware;
short rc_winapps;
-
- #else
-
+#else
short rc_unixaudit;
short rc_unixaudit;
-
- #endif
-
+#endif
} checks;
} checks;
-}rkconfig;
+} rkconfig;
-#endif
+#endif /* __CROOTCHECK_H */
-/* EOF */