f8b9fb9391
This patch adds a new interface to the cpufreqselector module to allow dbus chat. It then uses such interface to allow dbus chat with system_dbusd_t and xdm_t. This patch also adds some other permissions needed to run cpufreqselector.
23 lines
564 B
Plaintext
23 lines
564 B
Plaintext
## <summary>Command-line CPU frequency settings.</summary>
|
|
|
|
########################################
|
|
## <summary>
|
|
## Send and receive messages from
|
|
## cpufreq-selector over dbus.
|
|
## </summary>
|
|
## <param name="domain">
|
|
## <summary>
|
|
## Domain allowed access.
|
|
## </summary>
|
|
## </param>
|
|
#
|
|
interface(`cpufreqselector_dbus_chat',`
|
|
gen_require(`
|
|
type cpufreqselector_t;
|
|
class dbus send_msg;
|
|
')
|
|
|
|
allow $1 cpufreqselector_t:dbus send_msg;
|
|
allow cpufreqselector_t $1:dbus send_msg;
|
|
')
|