From patchwork Tue Jun 30 05:52:30 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: auh@yoctoproject.org X-Patchwork-Id: 91329 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8A4C2C43602 for ; Tue, 30 Jun 2026 05:52:36 +0000 (UTC) Received: from a27-191.smtp-out.us-west-2.amazonses.com (a27-191.smtp-out.us-west-2.amazonses.com [54.240.27.191]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.15163.1782798751403633914 for ; Mon, 29 Jun 2026 22:52:31 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@yoctoproject.org header.s=lvjh2tk576v2ro5mi6k4dt3mc6wpqbky header.b=s9QsbTYZ; dkim=pass header.i=@amazonses.com header.s=hsbnp7p3ensaochzwyq5wwmceodymuwv header.b=aInIXfzS; spf=pass (domain: us-west-2.amazonses.com, ip: 54.240.27.191, mailfrom: 0101019f171611bf-2b784629-e21d-46be-9d5b-db8a15a9aa85-000000@us-west-2.amazonses.com) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=lvjh2tk576v2ro5mi6k4dt3mc6wpqbky; d=yoctoproject.org; t=1782798750; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date; bh=ARIHAiVb5Z45hQt+TSrdCHtckfM7WG58Lfn/KswGBm8=; b=s9QsbTYZmb9Gb6gYoQ1uEmwjxkjbKV1MDIrkoAJ/mg9W8zo2NlU1DF4hlfPkPViU EsGrhIAyrKLEwUY9OHpcq+33WVMDbU+W6dW3Ur6R6c99YLPtD0zX4TEjHpBnaDi9LDF 7u1rckP2ussqwOgPF+ZBt7qmVPTFJuDNKiizrQbA= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=hsbnp7p3ensaochzwyq5wwmceodymuwv; d=amazonses.com; t=1782798750; h=Content-Type:MIME-Version:From:To:Cc:Subject:Message-Id:Date:Feedback-ID; bh=ARIHAiVb5Z45hQt+TSrdCHtckfM7WG58Lfn/KswGBm8=; b=aInIXfzSl/wj0yPhSZqmP+4/rwJfipzCGYNHYX+YJWU1si2a98ZsP/3nL63tEvwZ itmNa4n/OfzLB31J/qAwVhCmK/iCAthglqo4Fx2+zuKEn2OdGv73fQqJ6O4KFMN3rDF ESVw+bOedBEIt3kZDxIRWJbAeGRdP3/LJuqEt9MQ= MIME-Version: 1.0 From: auh@yoctoproject.org To: Chen Qi Cc: openembedded-core@lists.openembedded.org Subject: [AUH] acl: upgrading to 2.4.0 SUCCEEDED Message-ID: <0101019f171611bf-2b784629-e21d-46be-9d5b-db8a15a9aa85-000000@us-west-2.amazonses.com> Date: Tue, 30 Jun 2026 05:52:30 +0000 Feedback-ID: ::1.us-west-2.9np3MYPs3fEaOBysGKSlUD4KtcmPijcmS9Az2Hwf7iQ=:AmazonSES X-SES-Outgoing: 2026.06.30-54.240.27.191 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Tue, 30 Jun 2026 05:52:36 -0000 X-Groupsio-URL: https://lists.openembedded.org/g/openembedded-core/message/239847 Hello, this email is a notification from the Auto Upgrade Helper that the automatic attempt to upgrade the recipe(s) *acl* to *2.4.0* has Succeeded. Next steps: - apply the patch: git am 0001-acl-upgrade-2.3.2-2.4.0.patch - check the changes to upstream patches and summarize them in the commit message, - compile an image that contains the package - perform some basic sanity tests - amend the patch and sign it off: git commit -s --reset-author --amend - send it to the appropriate mailing list Alternatively, if you believe the recipe should not be upgraded at this time, you can fill RECIPE_NO_UPDATE_REASON in respective recipe file so that automatic upgrades would no longer be attempted. Please review the attached files for further information and build/update failures. Any problem please file a bug at https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler Regards, The Upgrade Helper -- >8 -- From 051007f02197165c795e372c8732437f7166840e Mon Sep 17 00:00:00 2001 From: Upgrade Helper Date: Tue, 30 Jun 2026 05:48:53 +0000 Subject: [PATCH] acl: upgrade 2.3.2 -> 2.4.0 --- ...t_uid-fix-memory-wasting-loop-if-use.patch | 49 ------------------- ...isc.test-Don-t-mix-stdout-and-stderr.patch | 35 ------------- .../attr/{acl_2.3.2.bb => acl_2.4.0.bb} | 4 +- 3 files changed, 1 insertion(+), 87 deletions(-) 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} (90%) diff --git a/meta/recipes-support/attr/acl/0001-libmisc-__acl_get_uid-fix-memory-wasting-loop-if-use.patch b/meta/recipes-support/attr/acl/0001-libmisc-__acl_get_uid-fix-memory-wasting-loop-if-use.patch deleted file mode 100644 index 5052bdaa2f..0000000000 --- a/meta/recipes-support/attr/acl/0001-libmisc-__acl_get_uid-fix-memory-wasting-loop-if-use.patch +++ /dev/null @@ -1,49 +0,0 @@ -From 56abe432b65801f31277fb9a3bca0f9e31502315 Mon Sep 17 00:00:00 2001 -From: Matthias Gerstner -Date: Thu, 25 Apr 2024 12:43:49 +0200 -Subject: [PATCH] libmisc: __acl_get_uid(): fix memory wasting loop if user - does not exist - -I noticed that `acl_from_text()` unexpectedly returns ENOMEM for invalid -user names. The reason for this is a missing break statement in the for -loop in `__acl_get_uid()`, which causes the loop to act as if ERANGE was -returned from `getpwnam_r()`, thereby exponentially increasing the -buffer size to (in my case) multiple gigabytes, until `grow_buffer()` -reports ENOMEM, which terminates the `__acl_get_uid()` function. - -This is a pretty costly "no such user" lookup that can disturb a -process's heap memory management, but can also cause a process to fail -e.g. if it is multithreaded and other threads encounter an ENOMEM, -before `__acl_get_uid()` frees the gigantic heap buffer and returns. -The allocated memory isn't actually used. Therefore on Linux it should -not affect other processes by default, due to its overcommit memory -and lazy memory allocation strategy. - -Fix this by properly terminating the for loop on any conditions except -an ERANGE error being reported. The same break statement correctly -exists in `__acl_get_gid()` already. - -Fixes: 3737f00 ("use thread-safe getpwnam_r and getgrnam_r") -Signed-off-by: Andreas Gruenbacher - -Upstream-Status: Backport -Signed-off-by: Ross Burton ---- - libmisc/uid_gid_lookup.c | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/libmisc/uid_gid_lookup.c b/libmisc/uid_gid_lookup.c -index a4f21f6..74baab4 100644 ---- a/libmisc/uid_gid_lookup.c -+++ b/libmisc/uid_gid_lookup.c -@@ -91,6 +91,7 @@ __acl_get_uid(const char *token, uid_t *uid_p) - if (err == ERANGE) - continue; - errno = err ? err : EINVAL; -+ break; - } - free(buffer); - return result ? 0 : -1; --- -2.43.0 - diff --git a/meta/recipes-support/attr/acl/0001-test-misc.test-Don-t-mix-stdout-and-stderr.patch b/meta/recipes-support/attr/acl/0001-test-misc.test-Don-t-mix-stdout-and-stderr.patch deleted file mode 100644 index 5aa3f3224c..0000000000 --- a/meta/recipes-support/attr/acl/0001-test-misc.test-Don-t-mix-stdout-and-stderr.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 47f8039ec9bd08b629775c8e788d11e41fa95f14 Mon Sep 17 00:00:00 2001 -From: Andreas Gruenbacher -Date: Mon, 24 Mar 2025 21:14:09 +0100 -Subject: [PATCH] test/misc.test: Don't mix stdout and stderr - -In different environments, we may not get the stdout and stderr output -in the order the run script expects, so check both separately. - -Fixes: https://savannah.nongnu.org/bugs/?66944 -Signed-off-by: Andreas Gruenbacher - -Upstream-Status: Backport -Signed-off-by: Ross Burton ---- - test/misc.test | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/test/misc.test b/test/misc.test -index 06b3136..57c02e5 100644 ---- a/test/misc.test -+++ b/test/misc.test -@@ -440,8 +440,9 @@ Dangling symlink test https://savannah.nongnu.org/bugs/?28131 - > other::r-x - > - $ setfacl -R -m u:bin:rw d -- $ getfacl -RL d -+ $ getfacl -RL d > /dev/null - > getfacl: d/b: No such file or directory -+ $ getfacl -RL d 2> /dev/null - > # file: d - > # owner: %TUSER - > # group: %TGROUP --- -2.43.0 - diff --git a/meta/recipes-support/attr/acl_2.3.2.bb b/meta/recipes-support/attr/acl_2.4.0.bb similarity index 90% rename from meta/recipes-support/attr/acl_2.3.2.bb rename to meta/recipes-support/attr/acl_2.4.0.bb index a405cc2692..ef9ee492a0 100644 --- a/meta/recipes-support/attr/acl_2.3.2.bb +++ b/meta/recipes-support/attr/acl_2.4.0.bb @@ -16,11 +16,9 @@ LIC_FILES_CHKSUM = "file://doc/COPYING;md5=c781d70ed2b4d48995b790403217a249 \ DEPENDS = "attr" SRC_URI = "${SAVANNAH_GNU_MIRROR}/acl/${BP}.tar.gz \ - file://0001-libmisc-__acl_get_uid-fix-memory-wasting-loop-if-use.patch \ - file://0001-test-misc.test-Don-t-mix-stdout-and-stderr.patch \ file://run-ptest \ " -SRC_URI[sha256sum] = "5f2bdbad629707aa7d85c623f994aa8a1d2dec55a73de5205bac0bf6058a2f7c" +SRC_URI[sha256sum] = "73c853c3d44e1f693e5a96a986f1bd19d3d0dac2c7d453e796177774bc4e5f6a" inherit autotools gettext ptest