From patchwork Tue Apr 6 21:01:34 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabrice Fontaine X-Patchwork-Id: 1463021 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=busybox.net (client-ip=2605:bc80:3010::138; helo=smtp1.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=k1rS8iR4; dkim-atps=neutral Received: from smtp1.osuosl.org (smtp1.osuosl.org [IPv6:2605:bc80:3010::138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4FFKhc04C8z9sRK for ; Wed, 7 Apr 2021 07:01:51 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 8172E84A88; Tue, 6 Apr 2021 21:01:49 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Wb_I8epZx2FI; Tue, 6 Apr 2021 21:01:48 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by smtp1.osuosl.org (Postfix) with ESMTP id A425484A9D; Tue, 6 Apr 2021 21:01:47 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from smtp3.osuosl.org (smtp3.osuosl.org [140.211.166.136]) by ash.osuosl.org (Postfix) with ESMTP id A19C71BF313 for ; Tue, 6 Apr 2021 21:01:46 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp3.osuosl.org (Postfix) with ESMTP id 9113A60BD8 for ; Tue, 6 Apr 2021 21:01:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Authentication-Results: smtp3.osuosl.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from smtp3.osuosl.org ([127.0.0.1]) by localhost (smtp3.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 6ghfOAyELeLP for ; Tue, 6 Apr 2021 21:01:45 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.8.0 Received: from mail-wr1-x435.google.com (mail-wr1-x435.google.com [IPv6:2a00:1450:4864:20::435]) by smtp3.osuosl.org (Postfix) with ESMTPS id 2949C60BD4 for ; Tue, 6 Apr 2021 21:01:45 +0000 (UTC) Received: by mail-wr1-x435.google.com with SMTP id b9so7740708wrs.1 for ; Tue, 06 Apr 2021 14:01:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=c/XzqJyi/TSxVT3NywGWN11Zl4pmaHNMDZJXj5Ed/1I=; b=k1rS8iR4OfBWIXML2trfKakwFkG66AC2+c8BK8e9s7NHX6FUnjfUyS/yCSPATPyp+H 2ox8j3qhRmiC4La64JwDI8173P2VMMPkG8zbpzSkjcwpirESeNQPv05wwxpaPKzkSmpq bOQSBpj6rUnM41rDxd3zEzrV/C3mgWMyTI2M3HIYc4UnYMbhSHxuXAIpz8ak0fmV0m/e lLvCCUZ16KWWKgXbDECkfdYQoeHKrxHTr5r4/N+5tHp8SUqE/IwuPah/5C+DvIQ7W9yw 9wQ2wNnppBBmOvI3wdXWY+R4tA/Q3cVkXFVv1IlLkeQNVdW1RUP4dEMPZ6awmZbabL7e S9ig== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=c/XzqJyi/TSxVT3NywGWN11Zl4pmaHNMDZJXj5Ed/1I=; b=G0tF7NQn2U2Bd4jrxpiFXElFx2TaR3k3GGiZzUBtq7xS1VAQsxsHw2m2F2cIDr9YiI gjhYmBFQ+FzT912pKYPh+/3ZKqY0i0bdEe11463BFf2uU6SZD64dZL7EiJ+MTmQyogYf rJ61HIiqJRWl/qfR/YAZV0o48Rn2QGsNuhRPdJUlBs2lW7D6SjQYu2vDjNxOvezv92M4 pmrMx5Fch9juN1iKq7agrybiXhY9BFbdmtOQlrN8lOEJhYO8g0rs+fx2AhkLfz9s0s+4 lvl45CcBzhlM2UHzeASGn50tcAviA3Sa4/7Ge5skIX4xpLZNGajYe4sYgc21ZBpgp3tp ehPg== X-Gm-Message-State: AOAM530/eWb0bP1ttURmoWR+GRcql9hASCy5L8mH3KkVAI8otvwYDt86 u56FHQ0YW6w5ZQXvCKlZFj6nFWlbMOE= X-Google-Smtp-Source: ABdhPJwoLvhoH60EEdMwBefHrtaixYZdAfj51hqqZnuyLRPSqlJOwJBKruFWFrcAVoOxRVdodp0cmg== X-Received: by 2002:adf:c64a:: with SMTP id u10mr169536wrg.412.1617742903111; Tue, 06 Apr 2021 14:01:43 -0700 (PDT) Received: from kali.home (lfbn-ren-1-1383-171.w86-229.abo.wanadoo.fr. [86.229.230.171]) by smtp.gmail.com with ESMTPSA id o1sm7696693wrw.23.2021.04.06.14.01.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Apr 2021 14:01:42 -0700 (PDT) From: Fabrice Fontaine To: buildroot@buildroot.org Date: Tue, 6 Apr 2021 23:01:34 +0200 Message-Id: <20210406210134.1354363-1-fontaine.fabrice@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 1/1] package/attr: bump to version 2.5.1 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Giulio Benetti , Fabrice Fontaine Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Drop second patch (already in version) Signed-off-by: Fabrice Fontaine --- .../attr/0002-Switch-back-to-syscall.patch | 126 ------------------ package/attr/attr.hash | 2 +- package/attr/attr.mk | 3 +- 3 files changed, 3 insertions(+), 128 deletions(-) delete mode 100644 package/attr/0002-Switch-back-to-syscall.patch diff --git a/package/attr/0002-Switch-back-to-syscall.patch b/package/attr/0002-Switch-back-to-syscall.patch deleted file mode 100644 index de879e23ab..0000000000 --- a/package/attr/0002-Switch-back-to-syscall.patch +++ /dev/null @@ -1,126 +0,0 @@ -From 14adc898a36948267bfe5c63b399996879e94c98 Mon Sep 17 00:00:00 2001 -From: Andreas Gruenbacher -Date: Fri, 17 Aug 2018 14:07:31 +0200 -Subject: Switch back to syscall() - -Switch back to syscall() for the *xattr system calls. The current -mechanism of forwarding those calls to glibc breaks libraries like -libfakeroot (fakeroot) and libasan (the gcc address sanitizer; gcc --fsanitize=address). - -Those libraries provide wrappers for functions defined in other shared -libraries, usually glibc, do their own processing, and forward calls to -the original symbols looke dup via dlsym(RTLD_NEXT, "symbol_name"). In -our case, dlsym returns the libattr_*xattr wrappers. However, when our -wrappers try calling glibc, they end up calling the libfakeroot / -libasan wrappers instead because those override the original symbols => -recursion. - -The libattr_*xattr wrappers will only be used when symbols are looked up -at runtime (dlopen / dlsym). Programs linking against libattr will -directly use the glibc provided symbols. Therefore, the slightly worse -performance of syscall() won't affect any of the "normal" users of -libattr. - -[nicolas.cavallari: with uclibc-ng, the recursion always happen] -Signed-off-by: Nicolas Cavallari ---- - libattr/syscalls.c | 26 ++++++++++++++------------ - 1 file changed, 14 insertions(+), 12 deletions(-) - -diff --git a/libattr/syscalls.c b/libattr/syscalls.c -index 3013aa0..721ad7f 100644 ---- a/libattr/syscalls.c -+++ b/libattr/syscalls.c -@@ -22,6 +22,8 @@ - - #include "config.h" - -+#include -+#include - #include - - #ifdef HAVE_VISIBILITY_ATTRIBUTE -@@ -31,67 +33,67 @@ - int libattr_setxattr(const char *path, const char *name, - void *value, size_t size, int flags) - { -- return setxattr(path, name, value, size, flags); -+ return syscall(__NR_setxattr, path, name, value, size, flags); - } - - int libattr_lsetxattr(const char *path, const char *name, - void *value, size_t size, int flags) - { -- return lsetxattr(path, name, value, size, flags); -+ return syscall(__NR_lsetxattr, path, name, value, size, flags); - } - - int libattr_fsetxattr(int filedes, const char *name, - void *value, size_t size, int flags) - { -- return fsetxattr(filedes, name, value, size, flags); -+ return syscall(__NR_fsetxattr, filedes, name, value, size, flags); - } - - ssize_t libattr_getxattr(const char *path, const char *name, - void *value, size_t size) - { -- return getxattr(path, name, value, size); -+ return syscall(__NR_getxattr, path, name, value, size); - } - - ssize_t libattr_lgetxattr(const char *path, const char *name, - void *value, size_t size) - { -- return lgetxattr(path, name, value, size); -+ return syscall(__NR_lgetxattr, path, name, value, size); - } - - ssize_t libattr_fgetxattr(int filedes, const char *name, - void *value, size_t size) - { -- return fgetxattr(filedes, name, value, size); -+ return syscall(__NR_fgetxattr, filedes, name, value, size); - } - - ssize_t libattr_listxattr(const char *path, char *list, size_t size) - { -- return listxattr(path, list, size); -+ return syscall(__NR_listxattr, path, list, size); - } - - ssize_t libattr_llistxattr(const char *path, char *list, size_t size) - { -- return llistxattr(path, list, size); -+ return syscall(__NR_llistxattr, path, list, size); - } - - ssize_t libattr_flistxattr(int filedes, char *list, size_t size) - { -- return flistxattr(filedes, list, size); -+ return syscall(__NR_flistxattr, filedes, list, size); - } - - int libattr_removexattr(const char *path, const char *name) - { -- return removexattr(path, name); -+ return syscall(__NR_removexattr, path, name); - } - - int libattr_lremovexattr(const char *path, const char *name) - { -- return lremovexattr(path, name); -+ return syscall(__NR_lremovexattr, path, name); - } - - int libattr_fremovexattr(int filedes, const char *name) - { -- return fremovexattr(filedes, name); -+ return syscall(__NR_fremovexattr, filedes, name); - } - - #ifdef HAVE_VISIBILITY_ATTRIBUTE --- -cgit v1.0-41-gc330 - diff --git a/package/attr/attr.hash b/package/attr/attr.hash index ba9f45669f..334a438cae 100644 --- a/package/attr/attr.hash +++ b/package/attr/attr.hash @@ -1,5 +1,5 @@ # Locally calculated after checking pgp signature -sha256 5ead72b358ec709ed00bbf7a9eaef1654baad937c001c044fe8b74c57f5324e7 attr-2.4.48.tar.gz +sha256 db448a626f9313a1a970d636767316a8da32aede70518b8050fa0de7947adc32 attr-2.5.1.tar.xz # Locally calculated sha256 98f318493be6b08bff3cd295791cde06c54e17882a3c74a1ed245eaa02533d52 doc/COPYING diff --git a/package/attr/attr.mk b/package/attr/attr.mk index b6b46453c7..0327497e1e 100644 --- a/package/attr/attr.mk +++ b/package/attr/attr.mk @@ -4,7 +4,8 @@ # ################################################################################ -ATTR_VERSION = 2.4.48 +ATTR_VERSION = 2.5.1 +ATTR_SOURCE = attr-$(ATTR_VERSION).tar.xz ATTR_SITE = http://download.savannah.gnu.org/releases/attr ATTR_LICENSE = GPL-2.0+ (programs), LGPL-2.1+ (libraries) ATTR_LICENSE_FILES = doc/COPYING doc/COPYING.LGPL