Oreon-Lime-R2/selinux-policy/selinux-policy-d9f4a2b/selinux-policy-d9f4a2bbeb91fd95d0c35a90936efb9ea99d2455/policy/modules/contrib/rkhunter.if

40 lines
790 B
Text
Raw Normal View History

## <summary> policy for rkhunter </summary>
########################################
## <summary>
## Append rkhunter lib files.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
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)
')
########################################
## <summary>
## Manage rkhunter lib files.
## </summary>
## <param name="domain">
## <summary>
## Domain allowed access.
## </summary>
## </param>
#
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)
')