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
/
rootcheck
/
check_rc_policy.c
diff --git
a/src/rootcheck/check_rc_policy.c
b/src/rootcheck/check_rc_policy.c
old mode 100755
(executable)
new mode 100644
(file)
index
f10708e
..
143d755
--- a/
src/rootcheck/check_rc_policy.c
+++ b/
src/rootcheck/check_rc_policy.c
@@
-1,5
+1,3
@@
-/* @(#) $Id$ */
-
/* Copyright (C) 2009 Trend Micro Inc.
* All right reserved.
*
/* Copyright (C) 2009 Trend Micro Inc.
* All right reserved.
*
@@
-9,61
+7,43
@@
* Foundation
*/
* Foundation
*/
-
#include "shared.h"
#include "rootcheck.h"
#include "shared.h"
#include "rootcheck.h"
-
-/* check_rc_unixaudit:
- * Read the file pointer specified
+/* Read the file pointer specified
* and check if the configured file is there
*/
* and check if the configured file is there
*/
-void check_rc_unixaudit(FILE *fp, void *p_list)
+void check_rc_unixaudit(FILE *fp, OSList *p_list)
{
debug1("%s: DEBUG: Starting on check_rc_unixaudit", ARGV0);
{
debug1("%s: DEBUG: Starting on check_rc_unixaudit", ARGV0);
-
rkcl_get_entry(fp, "System Audit:", p_list);
rkcl_get_entry(fp, "System Audit:", p_list);
-
}
}
-
-
-/* check_rc_winaudit:
- * Read the file pointer specified (winpolicy)
+/* Read the file pointer specified
* and check if the configured file is there
*/
* and check if the configured file is there
*/
-void check_rc_winaudit(FILE *fp, void *p_list)
+void check_rc_winaudit(FILE *fp, OSList *p_list)
{
debug1("%s: DEBUG: Starting on check_rc_winaudit", ARGV0);
{
debug1("%s: DEBUG: Starting on check_rc_winaudit", ARGV0);
-
rkcl_get_entry(fp, "Windows Audit:", p_list);
rkcl_get_entry(fp, "Windows Audit:", p_list);
-
}
}
-/* check_rc_winmalware:
- * Read the file pointer specified (winpolicy)
+/* Read the file pointer specified
* and check if the configured file is there
*/
* and check if the configured file is there
*/
-void check_rc_winmalware(FILE *fp, void *p_list)
+void check_rc_winmalware(FILE *fp, OSList *p_list)
{
debug1("%s: DEBUG: Starting on check_rc_winmalware", ARGV0);
{
debug1("%s: DEBUG: Starting on check_rc_winmalware", ARGV0);
-
rkcl_get_entry(fp, "Windows Malware:", p_list);
rkcl_get_entry(fp, "Windows Malware:", p_list);
-
}
}
-/* check_rc_winapps:
- * Read the file pointer specified (winpolicy)
+/* Read the file pointer specified
* and check if the configured file is there
*/
* and check if the configured file is there
*/
-void check_rc_winapps(FILE *fp, void *p_list)
+void check_rc_winapps(FILE *fp, OSList *p_list)
{
debug1("%s: DEBUG: Starting on check_rc_winapps", ARGV0);
{
debug1("%s: DEBUG: Starting on check_rc_winapps", ARGV0);
-
rkcl_get_entry(fp, "Application Found:", p_list);
}
rkcl_get_entry(fp, "Application Found:", p_list);
}
-
-
-/* EOF */