* [ptxdist] [PATCH] psmisc: 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/psmisc.in | 1 +
rules/psmisc.make | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/rules/psmisc.in b/rules/psmisc.in
index 3d3c7a802..b29aea51d 100644
--- a/rules/psmisc.in
+++ b/rules/psmisc.in
@@ -3,6 +3,7 @@
menuconfig PSMISC
tristate
select NCURSES
+ select LIBSELINUX if GLOBAL_SELINUX
prompt "psmisc "
help
utilities that use the proc file system
diff --git a/rules/psmisc.make b/rules/psmisc.make
index 2cb4d15d9..8238a5df3 100644
--- a/rules/psmisc.make
+++ b/rules/psmisc.make
@@ -33,7 +33,7 @@ PSMISC_LICENSE := unknown
PSMISC_CONF_TOOL := autoconf
PSMISC_CONF_OPT := \
$(CROSS_AUTOCONF_USR) \
- --disable-selinux \
+ --$(call ptx/endis, PTXCONF_GLOBAL_SELINUX)-selinux \
--disable-timeout-stat \
$(GLOBAL_IPV6_OPTION) \
--disable-nls \
--
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] psmisc: 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