mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] bubblewrap: follow GLOBAL_SELINUX
@ 2026-11-21  9:08 Ladislav Michl
  0 siblings, 0 replies; only message in thread
From: Ladislav Michl @ 2026-11-21  9:08 UTC (permalink / raw)
  To: ptxdist

From: Ladislav Michl <ladis@triops.cz>

Enable SELinux support when the global option is set instead of always
disabling it.

Signed-off-by: Ladislav Michl <ladis@triops.cz>
---
 rules/bubblewrap.in   | 1 +
 rules/bubblewrap.make | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/rules/bubblewrap.in b/rules/bubblewrap.in
index f0b959a69..c8dd70d57 100644
--- a/rules/bubblewrap.in
+++ b/rules/bubblewrap.in
@@ -4,6 +4,7 @@ config BUBBLEWRAP
 	tristate
 	select HOST_MESON
 	select LIBCAP
+	select LIBSELINUX	if GLOBAL_SELINUX
 	prompt "bubblewrap"
 	help
 	  Low-level unprivileged sandboxing tool
diff --git a/rules/bubblewrap.make b/rules/bubblewrap.make
index 9a9ccdc28..18bc46705 100644
--- a/rules/bubblewrap.make
+++ b/rules/bubblewrap.make
@@ -39,7 +39,7 @@ BUBBLEWRAP_CONF_OPT := \
 	-Dbash_completion=disabled \
 	-Ddebug_logging=false \
 	-Dman=disabled \
-	-Dselinux=disabled \
+	-Dselinux=$(call ptx/endis, PTXCONF_GLOBAL_SELINUX)d \
 	-Dtests=false \
 	-Dzsh_completion=disabled
 
-- 
2.47.3




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-21  9:08 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:08 [ptxdist] [PATCH] bubblewrap: 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