fix dbus_user_bus_client_template

This commit is contained in:
Chris PeBenito 2006-06-12 16:55:18 +00:00
parent d576ae1183
commit 821f78b28d
2 changed files with 3 additions and 7 deletions

View File

@ -235,8 +235,7 @@ template(`dbus_system_bus_client_template',`
#
template(`dbus_user_bus_client_template',`
gen_require(`
type $1_dbusd_t, $1_dbusd_t;
type $1_dbusd_var_run_t;
type $1_dbusd_t;
class dbus send_msg;
')
@ -247,10 +246,7 @@ template(`dbus_user_bus_client_template',`
allow $2_dbusd_$1_t { $1_dbusd_t self }:dbus send_msg;
# For connecting to the bus
files_search_pids($3)
allow $3 system_dbusd_var_run_t:dir search;
allow $3 system_dbusd_var_run_t:sock_file write;
allow $3 system_dbusd_t:unix_stream_socket connectto;
allow $3 $1_dbusd_t:unix_stream_socket connectto;
')
########################################

View File

@ -1,5 +1,5 @@
policy_module(dbus,1.2.4)
policy_module(dbus,1.2.5)
gen_require(`
class dbus { send_msg acquire_svc };