selinux-refpolicy/policy/modules/apps/cpufreqselector.if
Guido Trentalancia f8b9fb9391 patch to make cpufreqselector usable with dbus
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.
2011-02-22 11:23:10 -05:00

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;
')