Skip to contentSkip to conversation

wm: gnome-shell SELinux integration

PATCH New Guido Trentalancia 2 participants 2 messages Sep 16, 2017 – Sep 17, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 5/6 wm: gnome-shell SELinux integration

Let the window manager read the general SELinux configuration files.

---
 policy/modules/contrib/wm.te |    4 ++++
 1 file changed, 4 insertions(+)
policy/modules/contrib/wm.te +4 -0
@@ -70,6 +70,10 @@ miscfiles_read_fonts(wm_domain)
 miscfiles_read_generic_certs(wm_domain)
 miscfiles_read_localization(wm_domain)
 
+selinux_get_enforce_mode(wm_domain)
+
+seutil_read_config(wm_domain)
+
 udev_read_pid_files(wm_domain)
 
 # the following is needed by gnome-shell
#1 lore raw

PATCH 5/6 wm: gnome-shell SELinux integration

Quoted 11 lines · Guido Trentalancia via refpolicy

Let the window manager read the general SELinux configuration files.

---
  policy/modules/contrib/wm.te |    4 ++++
  1 file changed, 4 insertions(+)

policy/modules/contrib/wm.te miscfiles_read_fonts(wm_domain) · line 79

Quoted 10 lines
policy/modules/contrib/wm.te +4 -0
@@ -70,6 +70,10 @@ miscfiles_read_fonts(wm_domain)
  miscfiles_read_generic_certs(wm_domain)
  miscfiles_read_localization(wm_domain)
 
+selinux_get_enforce_mode(wm_domain)
+
+seutil_read_config(wm_domain)
+
  udev_read_pid_files(wm_domain)
 
  # the following is needed by gnome-shell

Merged.

Signature · 1 line
Chris PeBenito