mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Ladislav Michl <oss-lists@triops.cz>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] procps: follow GLOBAL_SELINUX
Date: Sat, 21 Nov 2026 10:10:21 +0100	[thread overview]
Message-ID: <awFf_Ys60TRs_0qq@lenoch> (raw)

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




                 reply	other threads:[~2026-11-21  9:10 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=awFf_Ys60TRs_0qq@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