Moved the dbus stuff inbetween networkmanager and bind to the bind policy
This commit is contained in:
parent
3df88de0ba
commit
2192d4baa1
@ -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;
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user