Chris PeBenito eac818
## <summary>SELinux troubleshooting service</summary>
Chris PeBenito 6b19be
Chris PeBenito 6b19be
########################################
Chris PeBenito 6b19be
## <summary>
Chris PeBenito 6b19be
##	Connect to setroubleshootd over an unix stream socket.
Chris PeBenito 6b19be
## </summary>
Chris PeBenito 6b19be
## <param name="domain">
Chris PeBenito 6b19be
##	<summary>
Chris PeBenito 6b19be
##	Domain allowed access.
Chris PeBenito 6b19be
##	</summary>
Chris PeBenito 6b19be
## </param>
Chris PeBenito 6b19be
#
Chris PeBenito 6b19be
interface(`setroubleshoot_stream_connect',`
Chris PeBenito 6b19be
	gen_require(`
Chris PeBenito 6b19be
		type setroubleshootd_t, setroubleshoot_var_run_t;
Chris PeBenito 6b19be
	')
Chris PeBenito 6b19be
Chris PeBenito 6b19be
	files_search_pids($1)
Chris PeBenito 6b19be
	allow $1 setroubleshoot_var_run_t:sock_file write;
Chris PeBenito 6b19be
	allow $1 setroubleshootd_t:unix_stream_socket connectto;
Chris PeBenito 6b19be
')