selinux-policy/refpolicy/policy/modules/services/automount.if

46 lines
924 B
Plaintext
Raw Normal View History

2005-12-09 20:08:10 +00:00
## <summary>Filesystem automounter service.</summary>
########################################
## <summary>
## Execute automount in the automount domain.
## </summary>
## <param name="domain">
## <summary>
2005-12-09 20:08:10 +00:00
## Domain allowed access.
## </summary>
2005-12-09 20:08:10 +00:00
## </param>
#
interface(`automount_domtrans',`
gen_require(`
type automount_t, automount_exec_t;
')
corecmd_search_sbin($1)
domain_auto_trans($1, automount_exec_t, automount_t)
allow $1 automount_t:fd use;
allow automount_t $1:fd use;
allow automount_t $1:fifo_file rw_file_perms;
allow automount_t $1:process sigchld;
')
########################################
## <summary>
## Execute automount in the caller domain.
## </summary>
## <param name="domain">
## <summary>
2005-12-09 20:08:10 +00:00
## Domain allowed access.
## </summary>
2005-12-09 20:08:10 +00:00
## </param>
#
2005-12-12 16:52:25 +00:00
interface(`automount_exec_config',`
2005-12-09 20:08:10 +00:00
gen_require(`
2005-12-12 16:52:25 +00:00
type automount_etc_t;
2005-12-09 20:08:10 +00:00
')
corecmd_search_sbin($1)
can_exec($1,automount_etc_t)
')