X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;ds=sidebyside;f=src%2Frootcheck%2Fcheck_rc_policy.c;h=143d755a88465587a70f21ad791bd8aeb9d9e213;hb=3f728675941dc69d4e544d3a880a56240a6e394a;hp=8d7cf655d961c5fe0c253ae1f158bf0c41922b2d;hpb=927951d1c1ad45ba9e7325f07d996154a91c911b;p=ossec-hids.git diff --git a/src/rootcheck/check_rc_policy.c b/src/rootcheck/check_rc_policy.c old mode 100755 new mode 100644 index 8d7cf65..143d755 --- a/src/rootcheck/check_rc_policy.c +++ b/src/rootcheck/check_rc_policy.c @@ -1,6 +1,3 @@ -/* @(#) $Id: ./src/rootcheck/check_rc_policy.c, 2011/09/08 dcid Exp $ - */ - /* Copyright (C) 2009 Trend Micro Inc. * All right reserved. * @@ -10,61 +7,43 @@ * Foundation */ - #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 */ -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); - 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 */ -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); - 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 */ -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); - 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 */ -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); - rkcl_get_entry(fp, "Application Found:", p_list); } - - -/* EOF */