X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=blobdiff_plain;f=src%2Frootcheck%2Fcheck_rc_policy.c;h=143d755a88465587a70f21ad791bd8aeb9d9e213;hb=refs%2Fheads%2Fmaster;hp=c7b96e57df373d924f44a8ea107e2211fe7d904d;hpb=914feba5d54f979cd5d7e69c349c3d01f630042a;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 c7b96e5..143d755 --- a/src/rootcheck/check_rc_policy.c +++ b/src/rootcheck/check_rc_policy.c @@ -1,69 +1,49 @@ -/* @(#) $Id: check_rc_policy.c,v 1.3 2009/06/24 18:53:07 dcid Exp $ */ - /* Copyright (C) 2009 Trend Micro Inc. * All right reserved. * * This program is a free software; you can redistribute it * and/or modify it under the terms of the GNU General Public - * License (version 3) as published by the FSF - Free Software + * License (version 2) as published by the FSF - Free Software * 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 */