#include <sechecker.h>
Public Attributes | |
| char * | name |
| Unique module name. | |
| const char * | brief_description |
| Brief description of the module. | |
| const char * | detailed_description |
| Detailed description of the module. | |
| const char * | opt_description |
| Description of options, requirements, and dependencies. | |
| sechk_result_t * | result |
| Results generated by this module. | |
| apol_vector_t * | options |
| Vector (of type sechk_name_value_t) containing all user specified options for this module. | |
| apol_vector_t * | requirements |
| Vector (of type sechk_name_value_t) containing all conditions required by the module such as policy version or type. | |
| apol_vector_t * | dependencies |
| Vector (of type sechk_name_value_t) containing a list of modules which need to run before this module may access their results. | |
| apol_vector_t * | functions |
| Vector (of type sechk_fn_t) of all functions registered for this module. | |
| unsigned char | outputformat |
| Default output format for the report. | |
| bool | selected |
| This field is used by the library to indicate that the user or another module has selected this module to be run. | |
| const char * | severity |
| The severity level of this module's results. | |
| void * | data |
| The module's private data. | |
| free_fn_t | data_free |
| Function to be used to free the private data. | |
| const sechk_lib_t * | parent_lib |
| Pointer to the module's parent library. | |
|
|
|
|
Detailed description of the module. This should include a listing of of all steps performed by the module's checks. Definition at line 235 of file sechecker.h. Referenced by attribs_wo_rules_register(), attribs_wo_types_register(), domain_and_file_register(), domains_wo_roles_register(), find_assoc_types_register(), find_domains_register(), find_file_types_register(), find_net_domains_register(), find_netif_types_register(), find_node_types_register(), find_port_types_register(), imp_range_trans_register(), inc_dom_trans_register(), inc_mount_register(), inc_net_access_register(), main(), roles_wo_allow_register(), roles_wo_types_register(), roles_wo_users_register(), sechk_lib_print_modules_report(), spurious_audit_register(), types_wo_allow_register(), unreachable_doms_register(), users_wo_roles_register(), and xx_register(). |
|
|
Description of options, requirements, and dependencies.
Definition at line 237 of file sechecker.h. Referenced by attribs_wo_rules_register(), attribs_wo_types_register(), domain_and_file_register(), domains_wo_roles_register(), find_assoc_types_register(), find_domains_register(), find_file_types_register(), find_net_domains_register(), find_netif_types_register(), find_node_types_register(), find_port_types_register(), imp_range_trans_register(), inc_dom_trans_register(), inc_mount_register(), inc_net_access_register(), main(), roles_wo_allow_register(), roles_wo_types_register(), roles_wo_users_register(), spurious_audit_register(), types_wo_allow_register(), unreachable_doms_register(), users_wo_roles_register(), and xx_register(). |
|
|
|
Vector (of type sechk_name_value_t) containing all user specified options for this module.
Definition at line 242 of file sechecker.h. Referenced by find_domains_init(), find_domains_register(), find_file_types_init(), find_file_types_register(), find_net_domains_init(), find_net_domains_register(), sechk_lib_module_clear_option(), sechk_lib_process_xml_node(), sechk_module_free(), sechk_module_new(), xx_init(), and xx_register(). |
|
|
Vector (of type sechk_name_value_t) containing all conditions required by the module such as policy version or type. See profile documentation for a complete listing of possible requirements. Definition at line 246 of file sechecker.h. Referenced by attribs_wo_rules_register(), attribs_wo_types_register(), domain_and_file_register(), domains_wo_roles_register(), find_domains_register(), find_file_types_register(), imp_range_trans_register(), inc_dom_trans_register(), sechk_lib_check_module_requirements(), sechk_module_free(), sechk_module_new(), unreachable_doms_register(), and xx_register(). |
|
|
Vector (of type sechk_name_value_t) containing a list of modules which need to run before this module may access their results.
Definition at line 249 of file sechecker.h. Referenced by domain_and_file_register(), domain_and_file_run(), domains_wo_roles_register(), inc_dom_trans_register(), inc_net_access_register(), inc_net_access_run(), sechk_lib_check_module_dependencies(), sechk_module_free(), sechk_module_new(), unreachable_doms_register(), unreachable_doms_run(), and xx_register(). |
|
|
Vector (of type sechk_fn_t) of all functions registered for this module. All modules are required to have at least three: init, run, and print. Definition at line 252 of file sechecker.h. Referenced by attribs_wo_rules_register(), attribs_wo_types_register(), domain_and_file_register(), domains_wo_roles_register(), find_assoc_types_register(), find_domains_register(), find_file_types_register(), find_net_domains_register(), find_netif_types_register(), find_node_types_register(), find_port_types_register(), imp_range_trans_register(), inc_dom_trans_register(), inc_mount_register(), inc_net_access_register(), roles_wo_allow_register(), roles_wo_types_register(), roles_wo_users_register(), sechk_lib_get_module_function(), sechk_module_free(), sechk_module_new(), spurious_audit_register(), types_wo_allow_register(), unreachable_doms_register(), users_wo_roles_register(), and xx_register(). |
|
|
|
This field is used by the library to indicate that the user or another module has selected this module to be run.
Definition at line 257 of file sechecker.h. Referenced by main(), sechk_lib_check_module_dependencies(), sechk_lib_check_module_requirements(), sechk_lib_init_modules(), sechk_lib_load_profile(), sechk_lib_print_modules_report(), sechk_lib_process_xml_node(), and sechk_lib_run_modules(). |
|
|
The severity level of this module's results. One of SECHK_SEV_* above. Definition at line 259 of file sechecker.h. Referenced by attribs_wo_rules_register(), attribs_wo_types_register(), domain_and_file_register(), domains_wo_roles_register(), find_assoc_types_register(), find_domains_register(), find_file_types_register(), find_net_domains_register(), find_netif_types_register(), find_node_types_register(), find_port_types_register(), imp_range_trans_register(), inc_dom_trans_register(), inc_mount_register(), inc_net_access_register(), roles_wo_allow_register(), roles_wo_types_register(), roles_wo_users_register(), sechk_lib_print_modules_report(), sechk_lib_run_modules(), spurious_audit_register(), types_wo_allow_register(), unreachable_doms_register(), users_wo_roles_register(), and xx_register(). |
|
|
The module's private data. This includes data generated when processing options and from reading its dependencies' results. Definition at line 262 of file sechecker.h. Referenced by attribs_wo_rules_init(), attribs_wo_types_init(), domain_and_file_init(), domains_wo_roles_init(), find_assoc_types_init(), find_domains_init(), find_domains_print(), find_domains_run(), find_file_types_init(), find_file_types_print(), find_file_types_run(), find_net_domains_init(), find_net_domains_print(), find_net_domains_run(), imp_range_trans_init(), inc_dom_trans_init(), inc_mount_init(), inc_net_access_init(), roles_wo_allow_init(), roles_wo_types_init(), roles_wo_users_init(), sechk_module_free(), spurious_audit_init(), types_wo_allow_init(), unreachable_doms_init(), unreachable_doms_print(), unreachable_doms_run(), users_wo_roles_init(), xx_init(), xx_print(), and xx_run(). |
|
|