1 /* @(#) $Id: check_rc_policy.c,v 1.3 2009/06/24 18:53:07 dcid Exp $ */
3 /* Copyright (C) 2009 Trend Micro Inc.
6 * This program is a free software; you can redistribute it
7 * and/or modify it under the terms of the GNU General Public
8 * License (version 3) as published by the FSF - Free Software
14 #include "rootcheck.h"
18 /* check_rc_unixaudit:
19 * Read the file pointer specified
20 * and check if the configured file is there
22 void check_rc_unixaudit(FILE *fp, void *p_list)
24 debug1("%s: DEBUG: Starting on check_rc_unixaudit", ARGV0);
26 rkcl_get_entry(fp, "System Audit:", p_list);
33 * Read the file pointer specified (winpolicy)
34 * and check if the configured file is there
36 void check_rc_winaudit(FILE *fp, void *p_list)
38 debug1("%s: DEBUG: Starting on check_rc_winaudit", ARGV0);
40 rkcl_get_entry(fp, "Windows Audit:", p_list);
44 /* check_rc_winmalware:
45 * Read the file pointer specified (winpolicy)
46 * and check if the configured file is there
48 void check_rc_winmalware(FILE *fp, void *p_list)
50 debug1("%s: DEBUG: Starting on check_rc_winmalware", ARGV0);
52 rkcl_get_entry(fp, "Windows Malware:", p_list);
57 * Read the file pointer specified (winpolicy)
58 * and check if the configured file is there
60 void check_rc_winapps(FILE *fp, void *p_list)
62 debug1("%s: DEBUG: Starting on check_rc_winapps", ARGV0);
64 rkcl_get_entry(fp, "Application Found:", p_list);