Chris PeBenito c224d9
## <summary>Framework for facilitating multiple user sessions on desktops.</summary>
Chris PeBenito c224d9
Chris PeBenito c224d9
########################################
Chris PeBenito c224d9
## <summary>
Chris PeBenito c224d9
##	Execute a domain transition to run consolekit.
Chris PeBenito c224d9
## </summary>
Chris PeBenito c224d9
## <param name="domain">
Chris PeBenito c224d9
## <summary>
Chris PeBenito c224d9
##	Domain allowed to transition.
Chris PeBenito c224d9
## </summary>
Chris PeBenito c224d9
## </param>
Chris PeBenito c224d9
#
Chris PeBenito c224d9
interface(`consolekit_domtrans',`
Chris PeBenito c224d9
	gen_require(`
Chris PeBenito c224d9
		type consolekit_t, consolekit_exec_t;
Chris PeBenito c224d9
	')
Chris PeBenito c224d9
Chris PeBenito 0bfccd
	domtrans_pattern($1, consolekit_exec_t, consolekit_t)
Chris PeBenito c224d9
')
Chris PeBenito c224d9
Chris PeBenito c224d9
########################################
Chris PeBenito c224d9
## <summary>
Chris PeBenito c224d9
##	Send and receive messages from
Chris PeBenito c224d9
##	consolekit over dbus.
Chris PeBenito c224d9
## </summary>
Chris PeBenito c224d9
## <param name="domain">
Chris PeBenito c224d9
##	<summary>
Chris PeBenito c224d9
##	Domain allowed access.
Chris PeBenito c224d9
##	</summary>
Chris PeBenito c224d9
## </param>
Chris PeBenito c224d9
#
Chris PeBenito c224d9
interface(`consolekit_dbus_chat',`
Chris PeBenito c224d9
	gen_require(`
Chris PeBenito c224d9
		type consolekit_t;
Chris PeBenito c224d9
		class dbus send_msg;
Chris PeBenito c224d9
	')
Chris PeBenito c224d9
Chris PeBenito c224d9
	allow $1 consolekit_t:dbus send_msg;
Chris PeBenito c224d9
	allow consolekit_t $1:dbus send_msg;
Chris PeBenito c224d9
')