## Filesystem automounter service.
########################################
##
## Execute automount in the automount domain.
##
##
##
## Domain allowed access.
##
##
#
interface(`automount_domtrans',`
gen_require(`
type automount_t, automount_exec_t;
')
corecmd_search_bin($1)
domtrans_pattern($1, automount_exec_t, automount_t)
')
########################################
##
## Execute automount in the caller domain.
##
##
##
## Domain allowed access.
##
##
#
interface(`automount_exec_config',`
gen_require(`
type automount_etc_t;
')
corecmd_search_bin($1)
can_exec($1,automount_etc_t)
')
########################################
##
## Allow the domain to read state files in /proc.
##
##
##
## Domain to allow access.
##
##
#
interface(`automount_read_state',`
gen_require(`
type automount_t;
')
read_files_pattern($1,automount_t,automount_t)
')
########################################
##
## Do not audit attempts to get the attributes
## of automount temporary directories.
##
##
##
## Domain to not audit.
##
##
#
interface(`automount_dontaudit_getattr_tmp_dirs',`
gen_require(`
type automount_tmp_t;
')
dontaudit $1 automount_tmp_t:dir getattr;
')