From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 16 Nov 2026 08:53:38 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1xSrX0-0000KQ-2w for lore@lore.pengutronix.de; Mon, 16 Nov 2026 08:53:38 +0100 Received: from [127.0.0.1] (helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1xSr7j-0000bm-NZ; Mon, 16 Nov 2026 08:27:31 +0100 Received: from mx1.white.stw.pengutronix.de ([185.203.200.13]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1xSr6w-0006IT-5q for ptxdist@pengutronix.de; Mon, 16 Nov 2026 08:26:45 +0100 Received: from h3.cmg1.smtp.forpsi.com (h3.cmg1.smtp.forpsi.com [185.129.138.162]) by mx1.white.stw.pengutronix.de (Postfix) with ESMTPS id 88F9F200668 for ; Mon, 16 Nov 2026 08:26:41 +0100 (CET) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=pengutronix.de; s=20260414; t=1794814001; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:dkim-signature; bh=cGqExZy32CxZiHXbL1YKM2IojZySDoShwwkGlSltRZQ=; b=OtC5YLJ1UOvB3GPUxDePBOe+v9ruih7B+sX/6TjbKgklE3ZulA0OGNh95/Ep98NJOK3110 icPRhdz9FSX+kUdQxMP4LJ0exOl9L7QVuc8ECwStI2iI3DpFrHDiAjRcnqX7I/9kgUS9qx DMkiL7Uznj2dF8K+7qxsgwrT0NzLtUSPQn5TmBSPmC82jtXsZ0UyJ5Uf741zTkijLsAJyd /iyl4quRYdqQ0Z8GCHhscCfYIK5jmNWiLtuZVqt4FaC4VjW22dv5ymjSDj1Ja4PND0aFm/ Jczw+tIXbCB0ndBYIDMS9khFecM5zxQeVlO45qG2r/qaDlffkcHexom3y941vQ== ARC-Seal: i=1; s=20260414; d=pengutronix.de; t=1794814001; a=rsa-sha256; cv=none; b=cK+RsJ6gcb6WC11IVAYjt2/dc/GQsiYNuxulUXm8bVa3uGR62mmARKFrUsN9c0nVaYFqys QbW07QZJBmkKFR//5226E68t/RZXEdTbGewmtVTTgP0JrL1SxcrzS3vXrY3GoR2bzpbtmj C72UCC88bQdkM1QKCzq6RiZ08HFQQE/kETHUYPshuN+lJKqWALH+I/gGgn7R+OtqBdpTxD TyZJ82eUUEuvwsKFC+4PiS3Ukn6xxyHH4XHbK+BR3uof8VdGioAfSvANNBgz/rGXlJBzDJ 2JltVOlRXUzoyo92tFXfg7+ThdAzj60WnJG4vm78MWIBslrgTZc1Zemp3pCk2g== ARC-Authentication-Results: i=1; mx1.white.stw.pengutronix.de; dkim=pass header.d=triops.cz header.s=f2019 header.b=Oa28HXqJ; spf=none (mx1.white.stw.pengutronix.de: domain of oss-lists@triops.cz has no SPF policy when checking 185.129.138.162) smtp.mailfrom=oss-lists@triops.cz; dmarc=none Received: from localhost.localdomain ([91.218.190.200]) by cmgsmtp with ESMTPSA id Sr6ux1qkrkQfeSr6uxJMPw; Mon, 16 Nov 2026 08:26:41 +0100 From: Ladislav Michl To: ptxdist@pengutronix.de Date: Mon, 16 Nov 2026 08:26:20 +0100 Message-ID: <20261116072639.3157459-1-oss-lists@triops.cz> X-Mailer: git-send-email 2.47.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CMAE-Envelope: MS4xfDSEumRrfwgTPXeymRZmaXOW05pDx3rKYxM1P7LVlzDqJHcSevh3c3k7wrggI5deUB7kKMyBURyyX2W/M2LgOgPOrh0muNcEJF+pX+NGPiHd1zu4EvMu 7PRGmp8axEn7Y1Td8rzuxBd72pkJfGz7lQ7781b1ibIP7+qHSSh7vkCEyWFIx6TEFiF4evuUIkGTyV7TbLBWDDGomS1hJoHtGF8= X-Spamd-Result: default: False [-1.60 / 15.00]; BAYES_HAM(-3.00)[100.00%]; MID_CONTAINS_FROM(1.00)[]; R_MISSING_CHARSET(0.50)[]; R_DKIM_ALLOW(-0.20)[triops.cz:s=f2019]; ONCE_RECEIVED(0.20)[]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[triops.cz]; ARC_NA(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_ALL(0.00)[]; DKIM_TRACE(0.00)[triops.cz:+]; RCVD_COUNT_ONE(0.00)[1]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_SIGNED(0.00)[pengutronix.de:s=20260414:i=1]; TO_DN_NONE(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM(-0.00)[-0.993]; ASN(0.00)[asn:24806, ipnet:185.129.136.0/22, country:CZ]; R_SPF_NA(0.00)[no SPF record] X-Rspamd-Action: no action X-Rspamd-Queue-Id: 88F9F200668 X-Rspamd-Server: mx1 X-Stat-Signature: 16mjp34or6wuzxwi8f37g6qzs88i8q4m X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_HELO_PASS autolearn=ham autolearn_force=no version=3.4.2 Subject: [ptxdist] [PATCH v3 00/18] selinux: back at version 3.11 X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false From: Ladislav Michl This serie was originally written for selinux-3.0 in 2019 when all the patches were just version bumps with fixes. Now, once PTXdist dropped most of them after quite some time in staging, every package is first restored by a partial revert of its removal commit, followed by a version bump that does the actual changes. Only the still needed files are restored by each revert. This will hopefully make the serie easier to review and keep a history in tree. Tested on an ARMv7 target with glibc and python 3.13. This is a third attempt, see changelog appended to patches. The main change is the libselinux python wrapper moved into a new package, python3-libselinux. Rebased on current master. Link to v2: https://lore.ptxdist.org/ptxdist/20261031203823.357406-1-oss-lists@triops.cz/ Link to v1: https://lore.ptxdist.org/ptxdist/cover.1792491301.git.ladis@triops.cz/ Ladislav Michl (18): selinux: add common version and URL Revert "python: remove after more than one year in staging" host-swig: version bump 4.0.1 -> 4.5.1 Revert "*libsepol: remove" libsepol: version bump 2.1.8 -> 3.11 Revert "libselinux: remove after more than one year in staging" libselinux: version bump 2.1.12 -> 3.11 python3-libselinux: new package audit: new package Revert "libsemanage: remove after more than one year in staging" libsemanage: version bump 2.1.9 -> 3.11 Revert "checkpolicy: remove after more than one year in staging" checkpolicy: version bump 2.1.11 -> 3.11 Revert "policycoreutils: remove after more than one year in staging" policycoreutils: version bump 2.1.13 -> 3.11 Revert "sepolgen: remove after one year in staging" sepolgen: version bump 1.1.8 -> 3.11 selinux: restore the global option patches/audit-userspace-4.2.1/autogen.sh | 1 + ...PyString_FromString-with-PyUnicode_F.patch | 48 ++++++ patches/libselinux-3.11/series | 4 + rules/at.in | 1 + rules/audit.in | 19 +++ rules/audit.make | 102 +++++++++++++ rules/busybox.in | 1 + rules/casync.in | 1 + rules/checkpolicy.in | 25 ++++ rules/checkpolicy.make | 59 ++++++++ rules/connman.in | 1 + rules/core-selinux.in | 1 - rules/coreutils.in | 1 + rules/dbus.in | 6 +- rules/dbus.make | 2 +- rules/f2fs-tools.in | 1 + rules/gnupg.in | 1 + rules/host-swig.in | 6 + rules/host-swig.make | 48 ++++++ rules/iproute2.in | 1 + rules/iproute2.make | 3 + rules/libselinux.in | 60 ++++++++ rules/libselinux.make | 101 +++++++++++++ rules/libsemanage.in | 24 +++ rules/libsemanage.make | 95 ++++++++++++ rules/libsepol.in | 11 ++ rules/libsepol.make | 60 ++++++++ rules/logrotate.in | 1 + rules/lxc.in | 1 + rules/mtd-utils.in | 1 + rules/openssh.in | 1 + rules/policycoreutils.in | 90 ++++++++++++ rules/policycoreutils.make | 138 ++++++++++++++++++ rules/pre/Rules.make | 6 - rules/pre/selinux.make | 10 ++ rules/python3-libselinux.in | 12 ++ rules/python3-libselinux.make | 66 +++++++++ rules/selinux-python.in | 12 ++ rules/selinux-python.make | 80 ++++++++++ rules/shadow.in | 1 + rules/strongswan.in | 1 + rules/systemd.in | 1 + 42 files changed, 1091 insertions(+), 13 deletions(-) create mode 120000 patches/audit-userspace-4.2.1/autogen.sh create mode 100644 patches/libselinux-3.11/0001-libselinux-Replace-PyString_FromString-with-PyUnicode_F.patch create mode 100644 patches/libselinux-3.11/series create mode 100644 rules/audit.in create mode 100644 rules/audit.make create mode 100644 rules/checkpolicy.in create mode 100644 rules/checkpolicy.make create mode 100644 rules/host-swig.in create mode 100644 rules/host-swig.make create mode 100644 rules/libselinux.in create mode 100644 rules/libselinux.make create mode 100644 rules/libsemanage.in create mode 100644 rules/libsemanage.make create mode 100644 rules/libsepol.in create mode 100644 rules/libsepol.make create mode 100644 rules/policycoreutils.in create mode 100644 rules/policycoreutils.make create mode 100644 rules/pre/selinux.make create mode 100644 rules/python3-libselinux.in create mode 100644 rules/python3-libselinux.make create mode 100644 rules/selinux-python.in create mode 100644 rules/selinux-python.make -- 2.47.3