1 /* @(#) $Id: ./src/rootcheck/check_rc_policy.c, 2011/09/08 dcid Exp $
4 /* Copyright (C) 2009 Trend Micro Inc.
7 * This program is a free software; you can redistribute it
8 * and/or modify it under the terms of the GNU General Public
9 * License (version 2) as published by the FSF - Free Software
15 #include "rootcheck.h"
19 /* check_rc_unixaudit:
20 * Read the file pointer specified
21 * and check if the configured file is there
23 void check_rc_unixaudit(FILE *fp, void *p_list)
25 debug1("%s: DEBUG: Starting on check_rc_unixaudit", ARGV0);
27 rkcl_get_entry(fp, "System Audit:", p_list);
34 * Read the file pointer specified (winpolicy)
35 * and check if the configured file is there
37 void check_rc_winaudit(FILE *fp, void *p_list)
39 debug1("%s: DEBUG: Starting on check_rc_winaudit", ARGV0);
41 rkcl_get_entry(fp, "Windows Audit:", p_list);
45 /* check_rc_winmalware:
46 * Read the file pointer specified (winpolicy)
47 * and check if the configured file is there
49 void check_rc_winmalware(FILE *fp, void *p_list)
51 debug1("%s: DEBUG: Starting on check_rc_winmalware", ARGV0);
53 rkcl_get_entry(fp, "Windows Malware:", p_list);
58 * Read the file pointer specified (winpolicy)
59 * and check if the configured file is there
61 void check_rc_winapps(FILE *fp, void *p_list)
63 debug1("%s: DEBUG: Starting on check_rc_winapps", ARGV0);
65 rkcl_get_entry(fp, "Application Found:", p_list);