* [ptxdist] [PATCH] xwayland: follow GLOBAL_SELINUX
@ 2026-11-21 9:13 Ladislav Michl
0 siblings, 0 replies; only message in thread
From: Ladislav Michl @ 2026-11-21 9:13 UTC (permalink / raw)
To: ptxdist
From: Ladislav Michl <ladis@triops.cz>
Build the XSELinux extension when the global option is set. It needs
both libselinux and libaudit.
Signed-off-by: Ladislav Michl <ladis@triops.cz>
---
rules/xwayland.in | 2 ++
rules/xwayland.make | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/rules/xwayland.in b/rules/xwayland.in
index c2b0de95b..d2c2ba232 100644
--- a/rules/xwayland.in
+++ b/rules/xwayland.in
@@ -26,6 +26,8 @@ menuconfig XWAYLAND
select XORG_LIB_XV if XWAYLAND_EXT_XV
select XORG_LIB_XRES if XWAYLAND_EXT_XRES
select XORG_APP_XKBCOMP if RUNTIME
+ select LIBSELINUX if GLOBAL_SELINUX
+ select AUDIT if GLOBAL_SELINUX
if XWAYLAND
diff --git a/rules/xwayland.make b/rules/xwayland.make
index bf6a8019e..b89bdf1ca 100644
--- a/rules/xwayland.make
+++ b/rules/xwayland.make
@@ -79,7 +79,7 @@ XWAYLAND_CONF_OPT := \
-Dxkb_dir=/usr/share/X11/xkb \
-Dxkb_output_dir= \
-Dxres=$(call ptx/truefalse, PTXCONF_XWAYLAND_EXT_XRES) \
- -Dxselinux=false \
+ -Dxselinux=$(call ptx/truefalse, PTXCONF_GLOBAL_SELINUX) \
-Dxv=$(call ptx/truefalse, PTXCONF_XWAYLAND_EXT_XV) \
-Dxvfb=false \
-Dxwayland-path= \
--
2.47.3
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-21 9:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-21 9:13 [ptxdist] [PATCH] xwayland: follow GLOBAL_SELINUX Ladislav Michl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox