diff --git a/wm.if b/wm.if index 2799ee4..25b702d 100644 --- a/wm.if +++ b/wm.if @@ -69,8 +69,8 @@ template(`wm_role_template',` auth_use_nsswitch($1_wm_t) optional_policy(` - dbus_system_bus_client($1_wm_t) dbus_spec_session_bus_client($1, $1_wm_t) + dbus_system_bus_client($1_wm_t) optional_policy(` wm_dbus_chat($1, $3) diff --git a/wm.te b/wm.te index 5552b21..7c7f7fa 100644 --- a/wm.te +++ b/wm.te @@ -1,4 +1,4 @@ -policy_module(wm, 1.2.4) +policy_module(wm, 1.2.5) ######################################## # @@ -8,7 +8,6 @@ policy_module(wm, 1.2.4) attribute wm_domain; type wm_exec_t; -application_executable_file(wm_exec_t) ######################################## # @@ -18,6 +17,7 @@ application_executable_file(wm_exec_t) allow wm_domain self:fifo_file rw_fifo_file_perms; allow wm_domain self:process getsched; allow wm_domain self:shm create_shm_perms; +allow wm_domain self:unix_dgram_socket create_socket_perms; kernel_read_system_state(wm_domain)