Moved the dbus stuff inbetween networkmanager and bind to the bind policy

This commit is contained in:
Don Miner 2005-10-24 23:14:39 +00:00
parent 3df88de0ba
commit 2192d4baa1
2 changed files with 9 additions and 3 deletions

View File

@ -276,6 +276,15 @@ optional_policy(`networkmanager.te',`
type NetworkManager_t;
')
optional_policy(`dbus.te',`
gen_require(`
class dbus send_msg;
')
allow NetworkManager_t named_t:dbus send_msg;
allow named_t NetworkManager_t:dbus send_msg;
')
bind_domtrans(NetworkManager_t)
allow NetworkManager_t named_zone_t:dir search;

View File

@ -170,9 +170,6 @@ optional_policy(`dbus.te',`
allow NetworkManager_t apmd_t:dbus send_msg;
allow apmd_t NetworkManager_t:dbus send_msg;
allow NetworkManager_t named_t:dbus send_msg;
allow named_t NetworkManager_t:dbus send_msg;
dbus_system_bus_client_template(NetworkManager,NetworkManager_t)
dbus_connect_system_bus(NetworkManager_t)
dbus_send_system_bus_msg(NetworkManager_t)