| Message ID | 20261202064331.184073-1-dkelaiya@cisco.com |
|---|---|
| Headers | show
Received: from aer-iport-7.cisco.com (aer-iport-7.cisco.com [173.38.203.69]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.30620.1796193827666785693 for <openembedded-core@lists.openembedded.org>; Tue, 01 Dec 2026 22:43:48 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: message contains an insecure body length tag" header.i=@cisco.com header.s=iport01 header.b=JxEcF1yA; spf=pass (domain: cisco.com, ip: 173.38.203.69, mailfrom: dkelaiya@cisco.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cisco.com; i=@cisco.com; l=5387; q=dns/txt; s=iport01; t=1796193827; x=1797403427; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=OtovMQ2ZHWk7cuJMteAoRieqmS2vOp6WzrPgZYhzgXI=; b=JxEcF1yAMT/jkka8rKv25Iwa67jweh9enSU8Kc1ZPzYmfABpPXbI9TNd bvnTvUtZqlTHRJI1IargbhGUq4Vgc6n/HC01GJcDovQ5dzyvmkCfaYpS3 evXn0G14i/KqJqm9YYl/cQcQwr4UX18EbEH0R1JnwDpFLwheVy78wh8k6 jkcuU3sva0GiV740mMUDR8T8Z8tuHswl80OxB1t4K0XGthG9U0UISfVG0 wYLc2XggKIh0fcwjDwSDy/q3kKN2AOC0qNjsTFJsveoG7FNZ7h6dxluQR tJWQ9+TQV3A09+KYH2Lm7BeuGM8B11sZ5Fmr9GpeNuNrygXPveKhGCirW g==; X-CSE-ConnectionGUID: 9VJ4vRxaSqy7HCy5E2BXrg== X-CSE-MsgGUID: 0zXet5K8T+iiJ2z5rJ/zjg== X-IPAS-Result: A0BgAwD2vA9r/9VK/pBaglmDTGBDSQOTWQGCcJFUjFmBfg8BAQEPLhYNBAEBhQWOJQImNAkOAQIEAwIDAQEBAQEBAQEBAQEBCgEBBQEBAQIBBwWBDhOGTw2QFQEEJgsBGAEtMFgERIMCAYJ0AxEGtncbN4F5M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FoqrA/8kGuRNTxUxC05nmesXYht8F4GuAgrQXIwa3O7kPAXC4PTyVKb5ots8peqSEW6 2JlVujBXVRH2IB5g1rHnltIhVte4RQoEFI= IronPort-HdrOrdr: A9a23:fv2s9q35BPWpU3lo85eIAAqjBIQkLtp133Aq2lEZdPWaSKOlfq eV7ZEmPHDP6Qr5NEtMpTniAtjjfZqjz/5ICOAqVN/INjUO01HHEGgN1+ffKkXbak7D398Y87 t8eK5jD9C1J117gcHmpDScKb8bsb26GGTCv5a585+rJjsaDJ1d0w== X-Talos-CUID: 9a23:Wgh3qGxpaIHGuc2TPOhZBgVFJOJ5bEfNxUzJMhCYInc0Zee/eUWfrfY= X-Talos-MUID: 9a23:WXaNigVqrrKS7Nrq/Gf+tDx+aeQ43+evCWJXg8gcmY6WNyMlbg== X-IronPort-Anti-Spam-Filtered: true X-IronPort-AV: E=Sophos;i="6.27,246,1787011200"; d="scan'208";a="64785755" Received: from aer-l-core-12.cisco.com ([144.254.74.213]) by aer-iport-7.cisco.com with ESMTP/TLS/TLS_AES_256_GCM_SHA384; 02 Dec 2026 06:43:43 +0000 Received: from sjc-ads-5675.cisco.com (sjc-ads-5675.cisco.com [10.28.88.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aer-l-core-12.cisco.com (Postfix) with ESMTPS id 749991800023E; Wed, 2 Dec 2026 06:43:43 +0000 (GMT) Received: by sjc-ads-5675.cisco.com (Postfix, from userid 1887444) id 1AB36CC1611; Tue, 1 Dec 2026 22:43:42 -0800 (PST) From: "Darsh Kelaiya -X (dkelaiya - E INFOCHIPS PRIVATE LIMITED at Cisco)" <dkelaiya@cisco.com> To: openembedded-core@lists.openembedded.org Cc: Darsh Kelaiya <dkelaiya@cisco.com> Subject: [OE-core][wrynose][PATCH 0/2] acl: upgrade and restore ptest Date: Tue, 1 Dec 2026 22:43:29 -0800 Message-Id: <20261202064331.184073-1-dkelaiya@cisco.com> X-Mailer: git-send-email 2.35.6 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Outbound-Client-TLS: ANONYMOUS;sjc-ads-5675.cisco.com [10.28.88.189];TLSv1.3;TLS_AES_256_GCM_SHA384;256 X-Outbound-SMTP-Client: 10.28.88.189, sjc-ads-5675.cisco.com X-Outbound-Node: aer-l-core-12.cisco.com List-Id: <openembedded-core.lists.openembedded.org> X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for <openembedded-core@lists.openembedded.org>; Wed, 02 Dec 2026 06:44:00 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/251782 Content-Type: text/plain; charset="utf-8" |
| Series |
acl: upgrade and restore ptest
|
expand
|
From: Darsh Kelaiya <dkelaiya@cisco.com> Upgrade ACL from 2.3.2 to 2.4.0 on Wrynose to address CVE-2026-54369 and CVE-2026-54370. This replaces the earlier three-patch CVE backport series [1] and requests an exception to the stable release policy [6], following the review [2]. The policy limits stable backports to bug and security fixes already applied on master. Features are excluded, and generic recipe upgrades are unlikely to be accepted. An exception needs a strong reason, such as following the preferred upstream approach [6]. ACL 2.4.0 adds APIs and changes CLI behavior, linkage and internal implementation alongside the security fixes. These changes go beyond isolated fix backports and need consideration as part of this exception. The original series adds 5,910 lines, including descriptor-relative APIs, compatibility helpers and a replacement directory walker. It already imports substantial parts of 2.4.0. Using the upstream release avoids maintaining that extensive downstream patch stack and provides a clearer baseline for review and future maintenance. Upstream identifies 2.4.0 as the fixed release and recommends upgrading even older distributions [4]. That recommendation and the extent of the required backport are the grounds for requesting this exception. Changelog and compatibility analysis for 2.3.2 to 2.4.0 [3][4]: - API additions: four new _at functions provide directory-relative ACL operations and control over symlink following. The export list retains existing versioned symbols and adds ACL_1.3. Existing pathname APIs keep their symlink-following behavior, so upgrading alone does not harden callers of those pathname APIs. New declarations can clash with application helpers; the included GNU tar fix addresses that conflict. - CLI behavior: getfacl -R and setfacl -R now visit symlinked directory arguments unless -P is used. With -P, command-line symlinks produce ELOOP instead of being silently skipped. Scripts relying on the old traversal or error behavior may need adjustment. - Restore behavior: setfacl --restore -P enables hardened directory resolution and requires openat2 support. By default, builds with openat2 support warn about restores without -P; scripts that treat stderr output as failure may be affected. Unsupported AT_* fallback paths can require /proc/self/fd, so systems without a mounted /proc may see failures. The stronger restore resolution is opt-in. - Other behavior fixes: invalid numeric UIDs and GIDs are rejected more strictly, errno handling and ACL-read retries change, and restore handles leading whitespace in filenames correctly. Restore --test stops changing permissions. Callers and scripts depending on the former invalid-input, diagnostic or dry-run behavior may observe differences. - Linkage: libacl no longer links directly to libattr. Downstream code using libattr functions must link it explicitly. The recipe retains its attr build dependency for headers. - Internal, test and documentation changes: helper symbols are renamed, the private walker is replaced, and compiler issues and dead code are cleaned up. The walker header remains private. Tests, manuals and German translations are updated; diagnostic text may change. Use the OE-Core master upgrade [5], including the tar 1.35 helper rename needed by the new libacl declarations. Remove the existing UID-lookup and mixed-output test patches, whose fixes are included in 2.4.0. Patch 2 backports the accepted master ptest correction [7]. ACL 2.4.0 renamed its tests from .test to .run, and test lists must be obtained from the generated Makefile. Update the runner and package installation accordingly, retaining the test exclusions from master. This restores actual test execution instead of reporting success with no tests installed. References: [1] https://patchwork.yoctoproject.org/project/oe-core/list/?series=52887&state=* [2] https://lists.openembedded.org/g/openembedded-core/message/250965 [3] https://download.savannah.nongnu.org/releases/acl/acl-2.4.0.tar.gz [4] https://www.openwall.com/lists/oss-security/2026/06/29/1 [5] https://git.openembedded.org/openembedded-core/commit/?id=2830d1319eec866947f4fa4a1ac16e2ea6584be5 [6] https://docs.yoctoproject.org/6.0/ref-manual/release-process.html#stable-release-process [7] https://git.openembedded.org/openembedded-core/commit/?id=ac4adf69751680b1f1d33c61631c76e2cc446e42 Alexander Kanavin (2): acl: upgrade 2.3.2 -> 2.4.0 acl: restore ptest ...0001-Avoid-acl_-prefix-for-functions.patch | 90 +++++++++++++++++++ meta/recipes-extended/tar/tar_1.35.bb | 22 ++--- ...t_uid-fix-memory-wasting-loop-if-use.patch | 49 ---------- ...isc.test-Don-t-mix-stdout-and-stderr.patch | 35 -------- meta/recipes-support/attr/acl/run-ptest | 2 +- .../attr/{acl_2.3.2.bb => acl_2.4.0.bb} | 10 +-- 6 files changed, 106 insertions(+), 102 deletions(-) create mode 100644 meta/recipes-extended/tar/tar/0001-Avoid-acl_-prefix-for-functions.patch delete mode 100644 meta/recipes-support/attr/acl/0001-libmisc-__acl_get_uid-fix-memory-wasting-loop-if-use.patch delete mode 100644 meta/recipes-support/attr/acl/0001-test-misc.test-Don-t-mix-stdout-and-stderr.patch rename meta/recipes-support/attr/{acl_2.3.2.bb => acl_2.4.0.bb} (80%)