Misc dbus fixes from Russell Coker.

This commit is contained in:
Chris PeBenito 2018-02-15 17:07:08 -05:00
parent 88e821f369
commit b492924414
5 changed files with 25 additions and 5 deletions

@ -1 +1 @@
Subproject commit 5f246ef917fa909f359aec0c561a64513651e8fe
Subproject commit 2791e5c2969733c012ee7e5c3f1da66170cf738d

View File

@ -1,4 +1,4 @@
policy_module(init, 2.4.0)
policy_module(init, 2.4.1)
gen_require(`
class passwd rootok;
@ -488,6 +488,10 @@ optional_policy(`
optional_policy(`
dbus_system_bus_client(init_t)
optional_policy(`
unconfined_dbus_send(init_t)
')
')
optional_policy(`

View File

@ -1,4 +1,4 @@
policy_module(locallogin, 1.17.0)
policy_module(locallogin, 1.17.1)
########################################
#
@ -137,6 +137,7 @@ userdom_create_all_users_keys(local_login_t)
ifdef(`init_systemd',`
auth_manage_faillog(local_login_t)
init_dbus_chat(local_login_t)
systemd_dbus_chat_logind(local_login_t)
systemd_use_logind_fds(local_login_t)
systemd_manage_logind_pid_pipes(local_login_t)

View File

@ -1,4 +1,4 @@
policy_module(systemd, 1.5.0)
policy_module(systemd, 1.5.1)
#########################################
#
@ -308,6 +308,7 @@ systemd_log_parse_environment(systemd_hostnamed_t)
optional_policy(`
dbus_connect_system_bus(systemd_hostnamed_t)
dbus_system_bus_client(systemd_hostnamed_t)
init_dbus_chat(systemd_hostnamed_t)
')
optional_policy(`
@ -450,6 +451,8 @@ userdom_delete_all_user_runtime_files(systemd_logind_t)
userdom_delete_all_user_runtime_named_pipes(systemd_logind_t)
userdom_delete_all_user_runtime_named_sockets(systemd_logind_t)
userdom_delete_all_user_runtime_symlinks(systemd_logind_t)
# user_tmp_t is for the dbus-1 directory
userdom_list_user_tmp(systemd_logind_t)
userdom_manage_user_runtime_dirs(systemd_logind_t)
userdom_manage_user_runtime_root_dirs(systemd_logind_t)
userdom_mounton_user_runtime_dirs(systemd_logind_t)
@ -479,6 +482,10 @@ optional_policy(`
devicekit_dbus_chat_power(systemd_logind_t)
')
optional_policy(`
modemmanager_dbus_chat(systemd_logind_t)
')
optional_policy(`
networkmanager_dbus_chat(systemd_logind_t)
')
@ -749,6 +756,10 @@ optional_policy(`
allow systemd_machined_t systemd_nspawn_t:dbus send_msg;
dbus_system_bus_client(systemd_nspawn_t)
optional_policy(`
unconfined_dbus_send(systemd_machined_t)
')
')
optional_policy(`

View File

@ -1,4 +1,4 @@
policy_module(unconfined, 3.10.0)
policy_module(unconfined, 3.10.1)
########################################
#
@ -115,6 +115,10 @@ optional_policy(`
lvm_run(unconfined_t, unconfined_r)
')
optional_policy(`
modemmanager_dbus_chat(unconfined_t)
')
optional_policy(`
modutils_run(unconfined_t, unconfined_r)
')