sechk_lib Struct Reference

#include <sechecker.h>

List of all members.


Detailed Description

Module library: This structure tracks all modules that SEChecker can run, the policy, and other policy related data.

Definition at line 205 of file sechecker.h.


Public Attributes

apol_vector_tmodules
 Vector of the modules (of type sechk_module_t).
apol_policy_tpolicy
 The policy to analyze when running modules.
apol_vector_tfc_entries
 Vector of file contexts data (of type sefs_entry_t).
char * fc_path
 File name of the file_contexts file loaded.
sefs_fclist_tfc_file
 The file_contexts file object.
unsigned char outputformat
 The default output format for the report.
char * selinux_config_path
 The path for the selinux configuration file.
apol_policy_path_tpolicy_path
 File name of the policy loaded.
const char * minsev
 Minimum severity level specified for the report.

Member Data Documentation

apol_vector_t* sechk_lib::modules
 

Vector of the modules (of type sechk_module_t).

Definition at line 208 of file sechecker.h.

Referenced by main(), sechk_lib_check_module_dependencies(), sechk_lib_check_module_requirements(), sechk_lib_get_module(), sechk_lib_get_module_idx(), sechk_lib_get_module_result(), sechk_lib_init_modules(), sechk_lib_load_profile(), sechk_lib_new(), sechk_lib_print_modules_report(), sechk_lib_process_xml_node(), sechk_lib_register_modules(), sechk_lib_run_modules(), sechk_lib_set_outputformat(), and sechk_print_list().

apol_policy_t* sechk_lib::policy
 

The policy to analyze when running modules.

Definition at line 210 of file sechecker.h.

Referenced by sechk_lib_check_module_dependencies(), sechk_lib_check_module_requirements(), sechk_lib_check_requirement(), sechk_lib_get_module_result(), sechk_lib_init_modules(), sechk_lib_load_fc(), sechk_lib_load_policy(), sechk_lib_module_clear_option(), sechk_lib_print_modules_report(), sechk_lib_run_modules(), sechk_lib_set_minsev(), spurious_audit_register(), and xx_register().

apol_vector_t* sechk_lib::fc_entries
 

Vector of file contexts data (of type sefs_entry_t).

Definition at line 212 of file sechecker.h.

Referenced by find_file_types_run(), sechk_lib_check_requirement(), and sechk_lib_load_fc().

char* sechk_lib::fc_path
 

File name of the file_contexts file loaded.

Definition at line 214 of file sechecker.h.

Referenced by find_file_types_run(), and sechk_lib_load_fc().

sefs_fclist_t* sechk_lib::fc_file
 

The file_contexts file object.

Definition at line 216 of file sechecker.h.

Referenced by sechk_lib_load_fc().

unsigned char sechk_lib::outputformat
 

The default output format for the report.

Definition at line 218 of file sechecker.h.

Referenced by sechk_lib_check_module_requirements(), sechk_lib_check_requirement(), sechk_lib_load_fc(), sechk_lib_load_policy(), sechk_lib_new(), sechk_lib_run_modules(), and sechk_lib_set_outputformat().

char* sechk_lib::selinux_config_path
 

The path for the selinux configuration file.

Definition at line 220 of file sechecker.h.

apol_policy_path_t* sechk_lib::policy_path
 

File name of the policy loaded.

Definition at line 222 of file sechecker.h.

Referenced by sechk_lib_load_policy().

const char* sechk_lib::minsev
 

Minimum severity level specified for the report.

Definition at line 224 of file sechecker.h.

Referenced by sechk_lib_new(), sechk_lib_print_modules_report(), sechk_lib_run_modules(), and sechk_lib_set_minsev().


The documentation for this struct was generated from the following file: