Chris PeBenito 7576fa
## <summary>Filesystem automounter service.</summary>
Chris PeBenito 7576fa
Chris PeBenito 7576fa
########################################
Chris PeBenito 7576fa
## <summary>
Chris PeBenito 7576fa
##	Execute automount in the automount domain.
Chris PeBenito 7576fa
## </summary>
Chris PeBenito 7576fa
## <param name="domain">
Chris PeBenito 7576fa
##	Domain allowed access.
Chris PeBenito 7576fa
## </param>
Chris PeBenito 7576fa
#
Chris PeBenito 7576fa
interface(`automount_domtrans',`
Chris PeBenito 7576fa
	gen_require(`
Chris PeBenito 7576fa
		type automount_t, automount_exec_t;
Chris PeBenito 7576fa
	')
Chris PeBenito 7576fa
Chris PeBenito 7576fa
	corecmd_search_sbin($1)
Chris PeBenito 7576fa
	domain_auto_trans($1, automount_exec_t, automount_t)
Chris PeBenito 7576fa
Chris PeBenito 7576fa
	allow $1 automount_t:fd use;
Chris PeBenito 7576fa
	allow automount_t $1:fd use;
Chris PeBenito 7576fa
	allow automount_t $1:fifo_file rw_file_perms;
Chris PeBenito 7576fa
	allow automount_t $1:process sigchld;
Chris PeBenito 7576fa
Chris PeBenito 7576fa
')
Chris PeBenito 7576fa
Chris PeBenito 7576fa
########################################
Chris PeBenito 7576fa
## <summary>
Chris PeBenito 7576fa
##	Execute automount in the caller domain.
Chris PeBenito 7576fa
## </summary>
Chris PeBenito 7576fa
## <param name="domain">
Chris PeBenito 7576fa
##	Domain allowed access.
Chris PeBenito 7576fa
## </param>
Chris PeBenito 7576fa
#
Chris PeBenito 3b4da4
interface(`automount_exec_config',`
Chris PeBenito 7576fa
	gen_require(`
Chris PeBenito 3b4da4
		type automount_etc_t;
Chris PeBenito 7576fa
	')
Chris PeBenito 7576fa
Chris PeBenito 7576fa
	corecmd_search_sbin($1)
Chris PeBenito 7576fa
	can_exec($1,automount_etc_t)
Chris PeBenito 7576fa
')