352249fc05
Add KWin to list of window managers and allow it to mmap wm_tmpfs_t files to avoid a crash. Related audit event: type=AVC msg=audit(04/24/2020 15:39:25.287:679) : avc: denied { map } for pid=1309 comm=kwin_x11 path=/memfd:JSVMStack:/lib/x86_64-linux-gnu/libQt5Qml.so.5 (deleted) dev="tmpfs" ino=45261 scontext=user_u:user_r:user_wm_t:s0 tcontext=user_u:object_r:wm_tmpfs_t:s0 tclass=file permissive=0 Signed-off-by: Topi Miettinen <toiwoton@gmail.com>
7 lines
400 B
Plaintext
7 lines
400 B
Plaintext
/usr/bin/gnome-shell -- gen_context(system_u:object_r:wm_exec_t,s0)
|
|
/usr/bin/openbox -- gen_context(system_u:object_r:wm_exec_t,s0)
|
|
/usr/bin/kwin_((wayland)|(x11)) -- gen_context(system_u:object_r:wm_exec_t,s0)
|
|
/usr/bin/metacity -- gen_context(system_u:object_r:wm_exec_t,s0)
|
|
/usr/bin/mutter -- gen_context(system_u:object_r:wm_exec_t,s0)
|
|
/usr/bin/twm -- gen_context(system_u:object_r:wm_exec_t,s0)
|