* [ptxdist] [PATCH] procps: follow GLOBAL_SELINUX
@ 2026-11-21 9:10 Ladislav Michl
0 siblings, 0 replies; only message in thread
From: Ladislav Michl @ 2026-11-21 9:10 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/procps.in | 1 +
rules/procps.make | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/rules/procps.in b/rules/procps.in
index fc0acb12d..0cd641a29 100644
--- a/rules/procps.in
+++ b/rules/procps.in
@@ -7,6 +7,7 @@ menuconfig PROCPS
select NCURSES if PROCPS_USES_NCURSES
select PROCPS_USES_NCURSES if PROCPS_SLABTOP || PROCPS_TOP || PROCPS_WATCH
select SYSTEMD if PROCPS_WITH_SYSTEMD
+ select LIBSELINUX if GLOBAL_SELINUX
help
Contains a set of system utilities that provide information out of the
pseudo-filesystem most commonly located at /proc. The programs generally
diff --git a/rules/procps.make b/rules/procps.make
index f6f10da68..0f201ee81 100644
--- a/rules/procps.make
+++ b/rules/procps.make
@@ -47,7 +47,7 @@ PROCPS_CONF_OPT := \
--disable-rpath \
--disable-watch8bit \
--disable-colorwatch \
- --disable-libselinux \
+ --$(call ptx/endis, PTXCONF_GLOBAL_SELINUX)-libselinux \
--disable-harden-flags \
--$(call ptx/endis, PTXCONF_PROCPS_PIDOF)-pidof \
--$(call ptx/endis, PTXCONF_PROCPS_PIDWAIT)-pidwait \
--
2.47.3
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-21 9:10 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:10 [ptxdist] [PATCH] procps: 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