1 /* Copyright (C) 2009 Trend Micro Inc.
4 * This program is a free software; you can redistribute it
5 * and/or modify it under the terms of the GNU General Public
6 * License (version 2) as published by the FSF - Free Software
12 #include "rootcheck.h"
13 #include "config/config.h"
16 /* Read the rootcheck config */
17 int Read_Rootcheck_Config(const char *cfgfile)
21 modules |= CROOTCHECK;
22 if (ReadConfig(modules, cfgfile, &rootcheck, NULL) < 0) {
27 /* Read shared config */
28 modules |= CAGENT_CONFIG;
29 ReadConfig(modules, AGENTCONFIG, &rootcheck, NULL);
34 #endif /* OSSECHIDS */