Chris PeBenito 3f4188
## <summary>X Windows Font Server </summary>
Chris PeBenito 3f4188
Chris PeBenito 3f4188
########################################
Chris PeBenito 3f4188
## <summary>
Chris PeBenito 3f4188
##	Read a X font server named socket.
Chris PeBenito 3f4188
## </summary>
Chris PeBenito 3f4188
## <param name="domain">
Chris PeBenito 3f4188
##	Domain allowed access.
Chris PeBenito 3f4188
## </param>
Chris PeBenito 3f4188
#
Chris PeBenito 3f4188
interface(`xfs_read_socket',`
Chris PeBenito 3f4188
	gen_require(`
Chris PeBenito 3f4188
		type xfs_tmp_t;
Chris PeBenito 3f4188
	')
Chris PeBenito 3f4188
Chris PeBenito 3f4188
	files_search_tmp($1)
Chris PeBenito 3f4188
	allow $1 xfs_tmp_t:dir search;
Chris PeBenito 3f4188
	allow $1 xfs_tmp_t:sock_file { getattr read };
Chris PeBenito 3f4188
')