Blame refpolicy/policy/modules/admin/updfstab.if
|
Chris PeBenito |
dce68d |
## <summary>Red Hat utility to change /etc/fstab.</summary>
|
|
Chris PeBenito |
dce68d |
|
|
Chris PeBenito |
dce68d |
########################################
|
|
Chris PeBenito |
dce68d |
## <summary>
|
|
Chris PeBenito |
dce68d |
## Execute updfstab in the updfstab domain.
|
|
Chris PeBenito |
dce68d |
## </summary>
|
|
Chris PeBenito |
dce68d |
## <param name="domain">
|
|
Chris PeBenito |
dce68d |
## The type of the process performing this action.
|
|
Chris PeBenito |
dce68d |
## </param>
|
|
Chris PeBenito |
dce68d |
#
|
|
Chris PeBenito |
dce68d |
interface(`updfstab_domtrans',`
|
|
Chris PeBenito |
dce68d |
gen_require(`
|
|
Chris PeBenito |
dce68d |
type updfstab_t, updfstab_exec_t;
|
|
Chris PeBenito |
dce68d |
class process sigchld;
|
|
Chris PeBenito |
dce68d |
class fd use;
|
|
Chris PeBenito |
dce68d |
class fifo_file rw_file_perms;
|
|
Chris PeBenito |
dce68d |
')
|
|
Chris PeBenito |
dce68d |
|
|
Chris PeBenito |
dce68d |
files_search_usr($1)
|
|
Chris PeBenito |
dce68d |
corecmd_search_sbin($1)
|
|
Chris PeBenito |
dce68d |
domain_auto_trans($1,updfstab_exec_t,updfstab_t)
|
|
Chris PeBenito |
dce68d |
|
|
Chris PeBenito |
dce68d |
allow $1 updfstab_t:fd use;
|
|
Chris PeBenito |
dce68d |
allow updfstab_t $1:fd use;
|
|
Chris PeBenito |
dce68d |
allow updfstab_t $1:fifo_file rw_file_perms;
|
|
Chris PeBenito |
dce68d |
allow updfstab_t $1:process sigchld;
|
|
Chris PeBenito |
dce68d |
')
|