Jeremy Solt 21d23c
## <summary>RHCS - Red Hat Cluster Suite</summary>
Jeremy Solt 538cf9
Jeremy Solt 538cf9
#######################################
Jeremy Solt 538cf9
## <summary>
Jeremy Solt 538cf9
##	Creates types and rules for a basic
Jeremy Solt 538cf9
##	rhcs init daemon domain.
Jeremy Solt 538cf9
## </summary>
Jeremy Solt 538cf9
## <param name="prefix">
Jeremy Solt 538cf9
##	<summary>
Jeremy Solt 538cf9
##	Prefix for the domain.
Jeremy Solt 538cf9
##	</summary>
Jeremy Solt 538cf9
## </param>
Jeremy Solt 538cf9
#
Jeremy Solt 538cf9
template(`rhcs_domain_template',`
Jeremy Solt 538cf9
	gen_require(`
Jeremy Solt 538cf9
		attribute cluster_domain;
Dan Walsh 3eaa99
		attribute cluster_tmpfs;
Dan Walsh 3eaa99
		attribute cluster_pid;
Jeremy Solt 538cf9
	')
Jeremy Solt 538cf9
Jeremy Solt 538cf9
	##############################
Jeremy Solt 538cf9
	#
Jeremy Solt 21d23c
	# Declarations
Jeremy Solt 538cf9
	#
Jeremy Solt 538cf9
Jeremy Solt 538cf9
	type $1_t, cluster_domain;
Jeremy Solt 538cf9
	type $1_exec_t;
Jeremy Solt 538cf9
	init_daemon_domain($1_t, $1_exec_t)
Jeremy Solt 538cf9
Dan Walsh 3eaa99
	type $1_tmpfs_t, cluster_tmpfs;
Jeremy Solt 538cf9
	files_tmpfs_file($1_tmpfs_t)
Jeremy Solt 538cf9
Jeremy Solt 538cf9
	type $1_var_log_t;
Jeremy Solt 538cf9
	logging_log_file($1_var_log_t)
Jeremy Solt 538cf9
Dan Walsh 3eaa99
	type $1_var_run_t, cluster_pid;
Jeremy Solt 538cf9
	files_pid_file($1_var_run_t)
Jeremy Solt 538cf9
Jeremy Solt 538cf9
	##############################
Jeremy Solt 538cf9
	#
Jeremy Solt 21d23c
	# Local policy
Jeremy Solt 538cf9
	#
Jeremy Solt 538cf9
Jeremy Solt 538cf9
	manage_dirs_pattern($1_t, $1_tmpfs_t, $1_tmpfs_t)
Jeremy Solt 538cf9
	manage_files_pattern($1_t, $1_tmpfs_t, $1_tmpfs_t)
Jeremy Solt 538cf9
	fs_tmpfs_filetrans($1_t, $1_tmpfs_t, { dir file })
Jeremy Solt 538cf9
Jeremy Solt 538cf9
	manage_files_pattern($1_t, $1_var_log_t, $1_var_log_t)
Jeremy Solt 538cf9
	manage_sock_files_pattern($1_t, $1_var_log_t, $1_var_log_t)
Jeremy Solt 538cf9
	logging_log_filetrans($1_t, $1_var_log_t, { file sock_file })
Jeremy Solt 538cf9
Jeremy Solt 538cf9
	manage_files_pattern($1_t, $1_var_run_t, $1_var_run_t)
Jeremy Solt 538cf9
	manage_fifo_files_pattern($1_t, $1_var_run_t, $1_var_run_t)
Jeremy Solt 538cf9
	manage_sock_files_pattern($1_t, $1_var_run_t, $1_var_run_t)
Jeremy Solt 538cf9
	files_pid_filetrans($1_t, $1_var_run_t, { file fifo_file })
Jeremy Solt 7a8e6a
Jeremy Solt 538cf9
')
Jeremy Solt 538cf9
Jeremy Solt 538cf9
######################################
Jeremy Solt 538cf9
## <summary>
Jeremy Solt 538cf9
##	Execute a domain transition to run dlm_controld.
Jeremy Solt 538cf9
## </summary>
Jeremy Solt 538cf9
## <param name="domain">
Jeremy Solt 538cf9
## <summary>
Jeremy Solt 538cf9
##	Domain allowed to transition.
Jeremy Solt 538cf9
## </summary>
Jeremy Solt 538cf9
## </param>
Jeremy Solt 538cf9
#
Jeremy Solt 21d23c
interface(`rhcs_domtrans_dlm_controld',`
Jeremy Solt 538cf9
	gen_require(`
Jeremy Solt 538cf9
	type dlm_controld_t, dlm_controld_exec_t;
Jeremy Solt 538cf9
	')
Jeremy Solt 538cf9
Jeremy Solt 538cf9
	corecmd_search_bin($1)
Jeremy Solt 538cf9
	domtrans_pattern($1, dlm_controld_exec_t, dlm_controld_t)
Jeremy Solt 538cf9
')
Jeremy Solt 538cf9
Jeremy Solt 538cf9
#####################################
Jeremy Solt 538cf9
## <summary>
Jeremy Solt 538cf9
##	Connect to dlm_controld over a unix domain
Jeremy Solt 538cf9
##	stream socket.
Jeremy Solt 538cf9
## </summary>
Jeremy Solt 538cf9
## <param name="domain">
Jeremy Solt 538cf9
##	<summary>
Jeremy Solt 538cf9
##	Domain allowed access.
Jeremy Solt 538cf9
##	</summary>
Jeremy Solt 538cf9
## </param>
Jeremy Solt 538cf9
#
Jeremy Solt 21d23c
interface(`rhcs_stream_connect_dlm_controld',`
Jeremy Solt 538cf9
	gen_require(`
Jeremy Solt 538cf9
		type dlm_controld_t, dlm_controld_var_run_t;
Jeremy Solt 538cf9
	')
Jeremy Solt 538cf9
Jeremy Solt 538cf9
	files_search_pids($1)
Jeremy Solt 538cf9
	stream_connect_pattern($1, dlm_controld_var_run_t, dlm_controld_var_run_t, dlm_controld_t)
Jeremy Solt 538cf9
')
Jeremy Solt 538cf9
Jeremy Solt 538cf9
#####################################
Jeremy Solt 538cf9
## <summary>
Jeremy Solt 538cf9
##	Allow read and write access to dlm_controld semaphores.
Jeremy Solt 538cf9
## </summary>
Jeremy Solt 538cf9
## <param name="domain">
Jeremy Solt 538cf9
##	<summary>
Jeremy Solt 538cf9
##	Domain allowed access.
Jeremy Solt 538cf9
##	</summary>
Jeremy Solt 538cf9
## </param>
Jeremy Solt 538cf9
#
Jeremy Solt 21d23c
interface(`rhcs_rw_dlm_controld_semaphores',`
Jeremy Solt 538cf9
	gen_require(`
Jeremy Solt 21d23c
		type dlm_controld_t, dlm_controld_tmpfs_t;
Jeremy Solt 538cf9
	')
Jeremy Solt 538cf9
Jeremy Solt 538cf9
	allow $1 dlm_controld_t:sem { rw_sem_perms destroy };
Jeremy Solt 538cf9
Jeremy Solt 538cf9
	fs_search_tmpfs($1)
Jeremy Solt 538cf9
	manage_files_pattern($1, dlm_controld_tmpfs_t, dlm_controld_tmpfs_t)
Jeremy Solt 538cf9
')
Jeremy Solt 538cf9
Jeremy Solt 538cf9
######################################
Jeremy Solt 538cf9
## <summary>
Jeremy Solt 538cf9
##	Execute a domain transition to run fenced.
Jeremy Solt 538cf9
## </summary>
Jeremy Solt 538cf9
## <param name="domain">
Jeremy Solt 538cf9
##	<summary>
Dominick Grift 288845
##	Domain allowed to transition.
Jeremy Solt 538cf9
##	</summary>
Jeremy Solt 538cf9
## </param>
Jeremy Solt 538cf9
#
Jeremy Solt 21d23c
interface(`rhcs_domtrans_fenced',`
Jeremy Solt 538cf9
	gen_require(`
Jeremy Solt 538cf9
		type fenced_t, fenced_exec_t;
Jeremy Solt 538cf9
	')
Jeremy Solt 538cf9
Jeremy Solt 538cf9
	corecmd_search_bin($1)
Jeremy Solt 538cf9
	domtrans_pattern($1, fenced_exec_t, fenced_t)
Jeremy Solt 538cf9
')
Jeremy Solt 538cf9
Jeremy Solt 538cf9
######################################
Jeremy Solt 538cf9
## <summary>
Jeremy Solt 538cf9
##	Allow read and write access to fenced semaphores.
Jeremy Solt 538cf9
## </summary>
Jeremy Solt 538cf9
## <param name="domain">
Jeremy Solt 538cf9
##	<summary>
Jeremy Solt 538cf9
##	Domain allowed access.
Jeremy Solt 538cf9
##	</summary>
Jeremy Solt 538cf9
## </param>
Jeremy Solt 538cf9
#
Jeremy Solt 21d23c
interface(`rhcs_rw_fenced_semaphores',`
Jeremy Solt 538cf9
	gen_require(`
Jeremy Solt 21d23c
		type fenced_t, fenced_tmpfs_t;
Jeremy Solt 538cf9
	')
Jeremy Solt 538cf9
Jeremy Solt 538cf9
	allow $1 fenced_t:sem { rw_sem_perms destroy };
Jeremy Solt 21d23c
Jeremy Solt 21d23c
	fs_search_tmpfs($1)
Jeremy Solt 21d23c
	manage_files_pattern($1, fenced_tmpfs_t, fenced_tmpfs_t)
Jeremy Solt 538cf9
')
Jeremy Solt 538cf9
Jeremy Solt 538cf9
######################################
Jeremy Solt 538cf9
## <summary>
Jeremy Solt 538cf9
##	Connect to fenced over an unix domain stream socket.
Jeremy Solt 538cf9
## </summary>
Jeremy Solt 538cf9
## <param name="domain">
Jeremy Solt 538cf9
##	<summary>
Jeremy Solt 538cf9
##	Domain allowed access.
Jeremy Solt 538cf9
##	</summary>
Jeremy Solt 538cf9
## </param>
Jeremy Solt 538cf9
#
Jeremy Solt 21d23c
interface(`rhcs_stream_connect_fenced',`
Jeremy Solt 538cf9
	gen_require(`
Jeremy Solt 538cf9
		type fenced_var_run_t, fenced_t;
Jeremy Solt 538cf9
	')
Jeremy Solt 538cf9
Jeremy Solt 538cf9
	allow $1 fenced_t:unix_stream_socket connectto;
Jeremy Solt 538cf9
	allow $1 fenced_var_run_t:sock_file { getattr write };
Jeremy Solt 538cf9
	files_search_pids($1)
Jeremy Solt 538cf9
')
Jeremy Solt 538cf9
Jeremy Solt 538cf9
#####################################
Jeremy Solt 538cf9
## <summary>
Jeremy Solt 538cf9
##	Execute a domain transition to run gfs_controld.
Jeremy Solt 538cf9
## </summary>
Jeremy Solt 538cf9
## <param name="domain">
Jeremy Solt 538cf9
##	<summary>
Dominick Grift 288845
##	Domain allowed to transition.
Jeremy Solt 538cf9
##	</summary>
Jeremy Solt 538cf9
## </param>
Jeremy Solt 538cf9
#
Jeremy Solt 21d23c
interface(`rhcs_domtrans_gfs_controld',`
Jeremy Solt 538cf9
	gen_require(`
Jeremy Solt 538cf9
	type gfs_controld_t, gfs_controld_exec_t;
Jeremy Solt 538cf9
	')
Jeremy Solt 538cf9
Jeremy Solt 538cf9
	corecmd_search_bin($1)
Jeremy Solt 538cf9
	domtrans_pattern($1, gfs_controld_exec_t, gfs_controld_t)
Jeremy Solt 538cf9
')
Jeremy Solt 538cf9
Jeremy Solt 538cf9
####################################
Jeremy Solt 538cf9
## <summary>
Jeremy Solt 538cf9
##	Allow read and write access to gfs_controld semaphores.
Jeremy Solt 538cf9
## </summary>
Jeremy Solt 538cf9
## <param name="domain">
Jeremy Solt 538cf9
##	<summary>
Jeremy Solt 538cf9
##	Domain allowed access.
Jeremy Solt 538cf9
##	</summary>
Jeremy Solt 538cf9
## </param>
Jeremy Solt 538cf9
#
Jeremy Solt 21d23c
interface(`rhcs_rw_gfs_controld_semaphores',`
Jeremy Solt 538cf9
	gen_require(`
Jeremy Solt 21d23c
		type gfs_controld_t, gfs_controld_tmpfs_t;
Jeremy Solt 538cf9
	')
Jeremy Solt 538cf9
Jeremy Solt 538cf9
	allow $1 gfs_controld_t:sem { rw_sem_perms destroy };
Jeremy Solt 21d23c
Jeremy Solt 21d23c
	fs_search_tmpfs($1)
Jeremy Solt 21d23c
	manage_files_pattern($1, gfs_controld_tmpfs_t, gfs_controld_tmpfs_t)
Jeremy Solt 538cf9
')
Jeremy Solt 538cf9
Jeremy Solt 538cf9
########################################
Jeremy Solt 538cf9
## <summary>
Jeremy Solt 538cf9
##	Read and write to gfs_controld_t shared memory.
Jeremy Solt 538cf9
## </summary>
Jeremy Solt 538cf9
## <param name="domain">
Jeremy Solt 538cf9
##	<summary>
Jeremy Solt 538cf9
##	Domain allowed access.
Jeremy Solt 538cf9
##	</summary>
Jeremy Solt 538cf9
## </param>
Jeremy Solt 538cf9
#
Jeremy Solt 21d23c
interface(`rhcs_rw_gfs_controld_shm',`
Jeremy Solt 538cf9
	gen_require(`
Jeremy Solt 7a8e6a
		type gfs_controld_t, gfs_controld_tmpfs_t;
Jeremy Solt 538cf9
	')
Jeremy Solt 538cf9
Jeremy Solt 538cf9
	allow $1 gfs_controld_t:shm { rw_shm_perms destroy };
Jeremy Solt 21d23c
Jeremy Solt 21d23c
	fs_search_tmpfs($1)
Jeremy Solt 21d23c
	manage_files_pattern($1, gfs_controld_tmpfs_t, gfs_controld_tmpfs_t)
Jeremy Solt 538cf9
')
Jeremy Solt 538cf9
Jeremy Solt 538cf9
#####################################
Jeremy Solt 538cf9
## <summary>
Jeremy Solt 538cf9
##	Connect to gfs_controld_t over an unix domain stream socket.
Jeremy Solt 538cf9
## </summary>
Jeremy Solt 538cf9
## <param name="domain">
Jeremy Solt 538cf9
##	<summary>
Jeremy Solt 538cf9
##	Domain allowed access.
Jeremy Solt 538cf9
##	</summary>
Jeremy Solt 538cf9
## </param>
Jeremy Solt 538cf9
#
Jeremy Solt 21d23c
interface(`rhcs_stream_connect_gfs_controld',`
Jeremy Solt 538cf9
	gen_require(`
Jeremy Solt 538cf9
		type gfs_controld_t, gfs_controld_var_run_t;
Jeremy Solt 538cf9
	')
Jeremy Solt 538cf9
Jeremy Solt 538cf9
	files_search_pids($1)
Jeremy Solt 538cf9
	stream_connect_pattern($1, gfs_controld_var_run_t, gfs_controld_var_run_t, gfs_controld_t)
Jeremy Solt 538cf9
')
Jeremy Solt 538cf9
Jeremy Solt 538cf9
######################################
Jeremy Solt 538cf9
## <summary>
Jeremy Solt 538cf9
##	Execute a domain transition to run groupd.
Jeremy Solt 538cf9
## </summary>
Jeremy Solt 538cf9
## <param name="domain">
Jeremy Solt 538cf9
## <summary>
Dominick Grift 288845
##	Domain allowed to transition.
Jeremy Solt 538cf9
## </summary>
Jeremy Solt 538cf9
## </param>
Jeremy Solt 538cf9
#
Jeremy Solt 21d23c
interface(`rhcs_domtrans_groupd',`
Jeremy Solt 538cf9
	gen_require(`
Jeremy Solt 538cf9
		type groupd_t, groupd_exec_t;
Jeremy Solt 538cf9
	')
Jeremy Solt 538cf9
Jeremy Solt 538cf9
	corecmd_search_bin($1)
Jeremy Solt 538cf9
	domtrans_pattern($1, groupd_exec_t, groupd_t)
Jeremy Solt 538cf9
')
Jeremy Solt 538cf9
Jeremy Solt 538cf9
#####################################
Jeremy Solt 538cf9
## <summary>
Jeremy Solt 538cf9
##	Connect to groupd over a unix domain
Jeremy Solt 538cf9
##	stream socket.
Jeremy Solt 538cf9
## </summary>
Jeremy Solt 538cf9
## <param name="domain">
Jeremy Solt 538cf9
##	<summary>
Jeremy Solt 538cf9
##	Domain allowed access.
Jeremy Solt 538cf9
##	</summary>
Jeremy Solt 538cf9
## </param>
Jeremy Solt 538cf9
#
Jeremy Solt 21d23c
interface(`rhcs_stream_connect_groupd',`
Jeremy Solt 538cf9
	gen_require(`
Jeremy Solt 538cf9
		type groupd_t, groupd_var_run_t;
Jeremy Solt 538cf9
	')
Jeremy Solt 538cf9
Jeremy Solt 538cf9
	files_search_pids($1)
Jeremy Solt 538cf9
	stream_connect_pattern($1, groupd_var_run_t, groupd_var_run_t, groupd_t)
Jeremy Solt 538cf9
')
Jeremy Solt 538cf9
Jeremy Solt 538cf9
#####################################
Jeremy Solt 538cf9
## <summary>
Jeremy Solt 538cf9
##	Allow read and write access to groupd semaphores.
Jeremy Solt 538cf9
## </summary>
Jeremy Solt 538cf9
## <param name="domain">
Jeremy Solt 538cf9
##	<summary>
Jeremy Solt 538cf9
##	Domain allowed access.
Jeremy Solt 538cf9
##	</summary>
Jeremy Solt 538cf9
## </param>
Jeremy Solt 538cf9
#
Jeremy Solt 21d23c
interface(`rhcs_rw_groupd_semaphores',`
Jeremy Solt 538cf9
	gen_require(`
Jeremy Solt 21d23c
		type groupd_t, groupd_tmpfs_t;
Jeremy Solt 538cf9
	')
Jeremy Solt 538cf9
Jeremy Solt 538cf9
	allow $1 groupd_t:sem { rw_sem_perms destroy };
Jeremy Solt 21d23c
Jeremy Solt 21d23c
	fs_search_tmpfs($1)
Jeremy Solt 21d23c
	manage_files_pattern($1, groupd_tmpfs_t, groupd_tmpfs_t)
Jeremy Solt 538cf9
')
Jeremy Solt 538cf9
Jeremy Solt 538cf9
########################################
Jeremy Solt 538cf9
## <summary>
Jeremy Solt 538cf9
##	Read and write to group shared memory.
Jeremy Solt 538cf9
## </summary>
Jeremy Solt 538cf9
## <param name="domain">
Jeremy Solt 538cf9
##	<summary>
Jeremy Solt 538cf9
##	Domain allowed access.
Jeremy Solt 538cf9
##	</summary>
Jeremy Solt 538cf9
## </param>
Jeremy Solt 538cf9
#
Jeremy Solt 21d23c
interface(`rhcs_rw_groupd_shm',`
Jeremy Solt 538cf9
	gen_require(`
Jeremy Solt 21d23c
		type groupd_t, groupd_tmpfs_t;
Jeremy Solt 538cf9
	')
Jeremy Solt 538cf9
Jeremy Solt 538cf9
	allow $1 groupd_t:shm { rw_shm_perms destroy };
Jeremy Solt 538cf9
Jeremy Solt 538cf9
	fs_search_tmpfs($1)
Jeremy Solt 538cf9
	manage_files_pattern($1, groupd_tmpfs_t, groupd_tmpfs_t)
Jeremy Solt 538cf9
')
Jeremy Solt 538cf9
Dan Walsh 3eaa99
########################################
Dan Walsh 3eaa99
## <summary>
Dan Walsh 3eaa99
##	Read and write to group shared memory.
Dan Walsh 3eaa99
## </summary>
Dan Walsh 3eaa99
## <param name="domain">
Dan Walsh 3eaa99
##	<summary>
Dan Walsh 3eaa99
##	Domain allowed access.
Dan Walsh 3eaa99
##	</summary>
Dan Walsh 3eaa99
## </param>
Dan Walsh 3eaa99
#
Dan Walsh 3eaa99
interface(`rhcs_rw_cluster_shm',`
Dan Walsh 3eaa99
	gen_require(`
Dan Walsh 3eaa99
		attribute cluster_domain;
Dan Walsh 3eaa99
		attribute cluster_tmpfs;
Dan Walsh 3eaa99
	')
Dan Walsh 3eaa99
Dan Walsh 3eaa99
	allow $1 cluster_domain:shm { rw_shm_perms destroy };
Dan Walsh 3eaa99
Dan Walsh 3eaa99
	fs_search_tmpfs($1)
Dan Walsh 3eaa99
	manage_files_pattern($1, cluster_tmpfs, cluster_tmpfs)
Dan Walsh 3eaa99
')
Dan Walsh 3eaa99
Dan Walsh 3eaa99
####################################
Dan Walsh 3eaa99
## <summary>
Dan Walsh 3eaa99
##      Read and write access to cluster domains semaphores.
Dan Walsh 3eaa99
## </summary>
Dan Walsh 3eaa99
## <param name="domain">
Dan Walsh 3eaa99
##      <summary>
Dan Walsh 3eaa99
##      Domain allowed access.
Dan Walsh 3eaa99
##      </summary>
Dan Walsh 3eaa99
## </param>
Dan Walsh 3eaa99
#
Dan Walsh 3eaa99
interface(`rhcs_rw_cluster_semaphores',`
Dan Walsh 3eaa99
        gen_require(`
Dan Walsh 5537e5
		attribute cluster_domain;
Dan Walsh 3eaa99
        ')
Dan Walsh 3eaa99
Dan Walsh 3eaa99
        allow $1 cluster_domain:sem { rw_sem_perms destroy };
Dan Walsh 3eaa99
')
Dan Walsh 3eaa99
Dan Walsh 3eaa99
####################################
Dan Walsh 3eaa99
## <summary>
Dan Walsh 3eaa99
##  Connect to cluster domains over a unix domain
Dan Walsh 3eaa99
##  stream socket.
Dan Walsh 3eaa99
## </summary>
Dan Walsh 3eaa99
## <param name="domain">
Dan Walsh 3eaa99
##  <summary>
Dan Walsh 3eaa99
##  Domain allowed access.
Dan Walsh 3eaa99
##  </summary>
Dan Walsh 3eaa99
## </param>
Dan Walsh 3eaa99
#
Dan Walsh 3eaa99
interface(`rhcs_stream_connect_cluster',`
Dan Walsh 3eaa99
    gen_require(`
Dan Walsh 3eaa99
        attribute cluster_domain;
Dan Walsh 3eaa99
        attribute cluster_pid;
Dan Walsh 3eaa99
    ')
Dan Walsh 3eaa99
Dan Walsh 3eaa99
    files_search_pids($1)
Dan Walsh 3eaa99
    stream_connect_pattern($1, cluster_pid, cluster_pid, cluster_domain)
Dan Walsh 3eaa99
')
Dan Walsh 3eaa99
Jeremy Solt 538cf9
######################################
Jeremy Solt 538cf9
## <summary>
Jeremy Solt 538cf9
##	Execute a domain transition to run qdiskd.
Jeremy Solt 538cf9
## </summary>
Jeremy Solt 538cf9
## <param name="domain">
Jeremy Solt 538cf9
##	<summary>
Dominick Grift 288845
##	Domain allowed to transition.
Jeremy Solt 538cf9
##	</summary>
Jeremy Solt 538cf9
## </param>
Jeremy Solt 538cf9
#
Jeremy Solt 21d23c
interface(`rhcs_domtrans_qdiskd',`
Jeremy Solt 538cf9
	gen_require(`
Jeremy Solt 538cf9
		type qdiskd_t, qdiskd_exec_t;
Jeremy Solt 538cf9
	')
Jeremy Solt 538cf9
Jeremy Solt 538cf9
	corecmd_search_bin($1)
Jeremy Solt 538cf9
	domtrans_pattern($1, qdiskd_exec_t, qdiskd_t)
Jeremy Solt 538cf9
')
Dan Walsh 3eaa99
Dan Walsh 3eaa99
########################################
Dan Walsh 3eaa99
## <summary>
Dan Walsh 3eaa99
##	Allow domain to read qdiskd tmpfs files
Dan Walsh 3eaa99
## </summary>
Dan Walsh 3eaa99
## <param name="domain">
Dan Walsh 3eaa99
##	<summary>
Dan Walsh 3eaa99
##	Domain allowed access.
Dan Walsh 3eaa99
##	</summary>
Dan Walsh 3eaa99
## </param>
Dan Walsh 3eaa99
#
Dan Walsh 3eaa99
interface(`rhcs_read_qdiskd_tmpfs_files',`
Dan Walsh 3eaa99
	gen_require(`
Dan Walsh 3eaa99
		type qdiskd_tmpfs_t;
Dan Walsh 3eaa99
	')
Dan Walsh 3eaa99
Dan Walsh 3eaa99
	allow $1 qdiskd_tmpfs_t:file read_file_perms;
Dan Walsh 3eaa99
')