2009-09-15 13:53:24 +00:00
|
|
|
## <summary>Realtime scheduling for user processes.</summary>
|
|
|
|
|
|
|
|
########################################
|
|
|
|
## <summary>
|
|
|
|
## Execute a domain transition to run rtkit_daemon.
|
|
|
|
## </summary>
|
|
|
|
## <param name="domain">
|
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
2010-09-20 17:40:18 +00:00
|
|
|
## <summary>
|
2009-09-15 13:53:24 +00:00
|
|
|
## Domain allowed to transition.
|
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
Whitespace, newline and tab fixes.
2010-09-20 17:40:18 +00:00
|
|
|
## </summary>
|
2009-09-15 13:53:24 +00:00
|
|
|
## </param>
|
|
|
|
#
|
|
|
|
interface(`rtkit_daemon_domtrans',`
|
|
|
|
gen_require(`
|
|
|
|
type rtkit_daemon_t, rtkit_daemon_exec_t;
|
|
|
|
')
|
|
|
|
|
|
|
|
domtrans_pattern($1, rtkit_daemon_exec_t, rtkit_daemon_t)
|
|
|
|
')
|
|
|
|
|
|
|
|
########################################
|
|
|
|
## <summary>
|
|
|
|
## Send and receive messages from
|
|
|
|
## rtkit_daemon over dbus.
|
|
|
|
## </summary>
|
|
|
|
## <param name="domain">
|
|
|
|
## <summary>
|
|
|
|
## Domain allowed access.
|
|
|
|
## </summary>
|
|
|
|
## </param>
|
|
|
|
#
|
|
|
|
interface(`rtkit_daemon_dbus_chat',`
|
|
|
|
gen_require(`
|
|
|
|
type rtkit_daemon_t;
|
|
|
|
class dbus send_msg;
|
|
|
|
')
|
|
|
|
|
|
|
|
allow $1 rtkit_daemon_t:dbus send_msg;
|
|
|
|
allow rtkit_daemon_t $1:dbus send_msg;
|
|
|
|
')
|
2010-03-19 18:28:27 +00:00
|
|
|
|
2010-08-26 13:41:21 +00:00
|
|
|
########################################
|
|
|
|
## <summary>
|
|
|
|
## Do not audit send and receive messages from
|
|
|
|
## rtkit_daemon over dbus.
|
|
|
|
## </summary>
|
|
|
|
## <param name="domain">
|
|
|
|
## <summary>
|
|
|
|
## Domain allowed access.
|
|
|
|
## </summary>
|
|
|
|
## </param>
|
|
|
|
#
|
|
|
|
interface(`rtkit_daemon_dontaudit_dbus_chat',`
|
|
|
|
gen_require(`
|
|
|
|
type rtkit_daemon_t;
|
|
|
|
class dbus send_msg;
|
|
|
|
')
|
|
|
|
|
|
|
|
dontaudit $1 rtkit_daemon_t:dbus send_msg;
|
|
|
|
dontaudit rtkit_daemon_t $1:dbus send_msg;
|
|
|
|
')
|
|
|
|
|
2010-03-19 18:28:27 +00:00
|
|
|
########################################
|
|
|
|
## <summary>
|
|
|
|
## Allow rtkit to control scheduling for your process
|
|
|
|
## </summary>
|
|
|
|
## <param name="domain">
|
|
|
|
## <summary>
|
|
|
|
## Domain allowed access.
|
|
|
|
## </summary>
|
|
|
|
## </param>
|
|
|
|
#
|
2010-03-22 13:54:58 +00:00
|
|
|
interface(`rtkit_scheduled',`
|
2010-03-19 18:28:27 +00:00
|
|
|
gen_require(`
|
|
|
|
type rtkit_daemon_t;
|
|
|
|
')
|
|
|
|
|
|
|
|
ps_process_pattern(rtkit_daemon_t, $1)
|
|
|
|
allow rtkit_daemon_t $1:process { getsched setsched };
|
|
|
|
rtkit_daemon_dbus_chat($1)
|
|
|
|
')
|