Chris PeBenito ed7015
## <summary>Realtime scheduling for user processes.</summary>
Chris PeBenito ed7015
Chris PeBenito ed7015
########################################
Chris PeBenito ed7015
## <summary>
Chris PeBenito ed7015
##	Execute a domain transition to run rtkit_daemon.
Chris PeBenito ed7015
## </summary>
Chris PeBenito ed7015
## <param name="domain">
Chris PeBenito ed7015
## <summary>
Chris PeBenito ed7015
##	Domain allowed to transition.
Chris PeBenito ed7015
## </summary>
Chris PeBenito ed7015
## </param>
Chris PeBenito ed7015
#
Chris PeBenito ed7015
interface(`rtkit_daemon_domtrans',`
Chris PeBenito ed7015
	gen_require(`
Chris PeBenito ed7015
		type rtkit_daemon_t, rtkit_daemon_exec_t;
Chris PeBenito ed7015
	')
Chris PeBenito ed7015
Chris PeBenito ed7015
	domtrans_pattern($1, rtkit_daemon_exec_t, rtkit_daemon_t)
Chris PeBenito ed7015
')
Chris PeBenito ed7015
Chris PeBenito ed7015
########################################
Chris PeBenito ed7015
## <summary>
Chris PeBenito ed7015
##	Send and receive messages from
Chris PeBenito ed7015
##	rtkit_daemon over dbus.
Chris PeBenito ed7015
## </summary>
Chris PeBenito ed7015
## <param name="domain">
Chris PeBenito ed7015
##	<summary>
Chris PeBenito ed7015
##	Domain allowed access.
Chris PeBenito ed7015
##	</summary>
Chris PeBenito ed7015
## </param>
Chris PeBenito ed7015
#
Chris PeBenito ed7015
interface(`rtkit_daemon_dbus_chat',`
Chris PeBenito ed7015
	gen_require(`
Chris PeBenito ed7015
		type rtkit_daemon_t;
Chris PeBenito ed7015
		class dbus send_msg;
Chris PeBenito ed7015
	')
Chris PeBenito ed7015
Chris PeBenito ed7015
	allow $1 rtkit_daemon_t:dbus send_msg;
Chris PeBenito ed7015
	allow rtkit_daemon_t $1:dbus send_msg;
Chris PeBenito ed7015
')