add back rules that were mistakenly removed

This commit is contained in:
Chris PeBenito 2005-12-05 15:00:29 +00:00
parent 6f81e1d380
commit f525b49ed9
5 changed files with 26 additions and 4 deletions

View File

@ -1,5 +1,5 @@
policy_module(bind,1.0.0) policy_module(bind,1.0.1)
######################################## ########################################
# #
@ -157,6 +157,12 @@ tunable_policy(`named_write_master_zones',`
') ')
optional_policy(`dbus',` optional_policy(`dbus',`
gen_require(`
class dbus send_msg;
')
allow named_t self:dbus send_msg;
init_dbus_chat_script(named_t) init_dbus_chat_script(named_t)
sysnet_dbus_chat_dhcpc(named_t) sysnet_dbus_chat_dhcpc(named_t)

View File

@ -1,5 +1,5 @@
policy_module(hal,1.0.2) policy_module(hal,1.0.3)
######################################## ########################################
# #
@ -142,6 +142,8 @@ optional_policy(`dbus',`
dbus_send_system_bus_msg(hald_t) dbus_send_system_bus_msg(hald_t)
dbus_connect_system_bus(hald_t) dbus_connect_system_bus(hald_t)
init_dbus_chat_script(hald_t)
optional_policy(`networkmanager',` optional_policy(`networkmanager',`
networkmanager_dbus_chat(hald_t) networkmanager_dbus_chat(hald_t)
') ')

View File

@ -1,5 +1,5 @@
policy_module(networkmanager,1.0.0) policy_module(networkmanager,1.0.1)
######################################## ########################################
# #
@ -132,6 +132,12 @@ optional_policy(`consoletype',`
') ')
optional_policy(`dbus',` optional_policy(`dbus',`
gen_require(`
class dbus send_msg;
')
allow NetworkManager_t self:dbus send_msg;
dbus_system_bus_client_template(NetworkManager,NetworkManager_t) dbus_system_bus_client_template(NetworkManager,NetworkManager_t)
dbus_connect_system_bus(NetworkManager_t) dbus_connect_system_bus(NetworkManager_t)
dbus_send_system_bus_msg(NetworkManager_t) dbus_send_system_bus_msg(NetworkManager_t)

View File

@ -1,5 +1,5 @@
policy_module(sysnetwork,1.0.2) policy_module(sysnetwork,1.0.3)
######################################## ########################################
# #
@ -161,6 +161,12 @@ optional_policy(`consoletype',`
') ')
optional_policy(`dbus',` optional_policy(`dbus',`
gen_require(`
class dbus send_msg;
')
allow dhcpc_t self:dbus send_msg;
init_dbus_chat_script(dhcpc_t) init_dbus_chat_script(dhcpc_t)
dbus_system_bus_client_template(dhcpc,dhcpc_t) dbus_system_bus_client_template(dhcpc,dhcpc_t)

View File

@ -145,5 +145,7 @@ ifdef(`targeted_policy',`
ifdef(`use_mcs',` ifdef(`use_mcs',`
rw_dir_create_file(sysadm_su_t, home_dir_type) rw_dir_create_file(sysadm_su_t, home_dir_type)
') ')
allow unconfined_t initrc_t : dbus { send_msg acquire_svc };
allow initrc_t unconfined_t : dbus { send_msg acquire_svc };
') dnl end TODO ') dnl end TODO
') ')