Remove redundant system dbus permissions with cpufreqselector and incorrect xdm dbus permission.

This commit is contained in:
Chris PeBenito 2011-03-16 08:20:28 -04:00
parent 0419373aa7
commit bdc7622e86
4 changed files with 3 additions and 32 deletions

View File

@ -1,22 +1 @@
## <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;
')

View File

@ -1,4 +1,4 @@
policy_module(cpufreqselector, 1.2.1)
policy_module(cpufreqselector, 1.2.2)
########################################
#

View File

@ -1,4 +1,4 @@
policy_module(dbus, 1.14.2)
policy_module(dbus, 1.14.3)
gen_require(`
class dbus all_dbus_perms;
@ -140,10 +140,6 @@ optional_policy(`
bind_domtrans(system_dbusd_t)
')
optional_policy(`
cpufreqselector_dbus_chat(system_dbusd_t)
')
optional_policy(`
policykit_dbus_chat(system_dbusd_t)
policykit_domtrans_auth(system_dbusd_t)

View File

@ -1,4 +1,4 @@
policy_module(xserver, 3.5.4)
policy_module(xserver, 3.5.5)
gen_require(`
class x_drawable all_x_drawable_perms;
@ -516,10 +516,6 @@ optional_policy(`
consoletype_exec(xdm_t)
')
optional_policy(`
cpufreqselector_dbus_chat(xdm_t)
')
optional_policy(`
# Talk to the console mouse server.
gpm_stream_connect(xdm_t)