From: Ladislav Michl <oss-lists@triops.cz>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] xwayland: follow GLOBAL_SELINUX
Date: Sat, 21 Nov 2026 10:13:32 +0100 [thread overview]
Message-ID: <awFgvPbhQBMRyjVj@lenoch> (raw)
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
reply other threads:[~2026-11-21 9:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=awFgvPbhQBMRyjVj@lenoch \
--to=oss-lists@triops.cz \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox