## RAID array management tools ######################################## ## ## Execute software raid tools in the mdadm domain. ## ## ## The type of the process performing this action. ## # interface(`raid_domtrans_mdadm',` gen_require(` type mdadm_t, mdadm_exec_t; ') corecmd_search_sbin($1) domain_auto_trans($1,mdadm_exec_t,mdadm_t) allow $1 mdadm_t:fd use; allow mdadm_t $1:fd use; allow mdadm_t $1:fifo_file rw_file_perms; allow mdadm_t $1:process sigchld; ') ######################################## ## ## Create, read, write, and delete the mdadm pid files. ## ## ##

## Create, read, write, and delete the mdadm pid files. ##

##

## Added for use in the init module. ##

##
## ## The type of the process performing this action. ## # interface(`raid_manage_mdadm_pid',` gen_require(` type mdadm_var_run_t; ') # FIXME: maybe should have a type_transition. not # clear what this is doing, from the original # mdadm policy allow $1 mdadm_var_run_t:file create_file_perms; ')