## policy for rkhunter
########################################
##
## Append rkhunter lib files.
##
##
##
## Domain allowed access.
##
##
#
interface(`rkhunter_append_lib_files',`
gen_require(`
type rkhunter_var_lib_t;
')
files_search_var_lib($1)
append_files_pattern($1, rkhunter_var_lib_t, rkhunter_var_lib_t)
')
########################################
##
## Manage rkhunter lib files.
##
##
##
## Domain allowed access.
##
##
#
interface(`rkhunter_manage_lib_files',`
gen_require(`
type rkhunter_var_lib_t;
')
files_search_var_lib($1)
manage_files_pattern($1, rkhunter_var_lib_t, rkhunter_var_lib_t)
')