From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adolf Belka To: development@lists.ipfire.org Subject: [PATCH] libcap: Update to version 2.72 Date: Tue, 19 Nov 2024 22:10:55 +0100 Message-ID: <20241119211106.2194373-7-adolf.belka@ipfire.org> In-Reply-To: <20241119211106.2194373-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1219240262749223842==" List-Id: --===============1219240262749223842== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable - Update from version 2.70 to 2.72 - Update of rootfile - Changelog 2.72 ERRATA: Failed to support more modern Linux architectures including arm64. Fi= x provided by Xi Ruoyao. This specific release is devoted to a wholesale rewrite of libpsx to op= erate on native Linux threads (aka LWP =3D Light Weight Processes). Given the potential for misbehavior, we're isolating this release to = that change. Should some issue(s) arise, and folk need to roll back, this will= hopefully make downstream packagers' lives a bit easier: skip this release altoge= ther. This addresses LCAP-CR-23-102 (SEVERITY) NONE from the libcap-2.69 se= curity audit. This addresses Bug 217476. This addresses C++ std::thread libpsx support. This addresses Bug 218= 607 reported by Vini Ipsmaker. Included a test case for this: contrib/bug218607/ This now allows the PSX mechanism to apply to threads launched by loa= ded .so plugins. This addresses Bug 219174 reported by Stas Sergeev. Included a test case for this: tests/b219174.c The rewrite has significantly reduced the need for any odd linking of= the -lpsx library. Namely, if code makes use of the psx_syscall*() functions, there is no need for anything other than -lpsx on the link line. Updated a whole lot of documentation that warned folk about the -wrap=3Dpthread_create linking need not being needed any more. (Bug 219= 456) Linking -lcap and -lpsx still requires some extra care. Updated cap_get_proc(3) manual page to explain. Was unable to figure out how to work around the pre-go1.16.* bug rela= ted to cgo and interrupt handling while thread exit with the rewritten libpsx code. Decided to abandon full support for earlier versions of Go. Explanation is Bug 219478 which points to old Go bug. Transitioned key used for signing Go package tags to use the 0D23D34C577B08C4082CFD76430C5CFF993116B1 key. Very tiny documentation change for the cap package to try again to get = a runnable example to show up on the pkg.go.dev website. 2.71 Reduce the need for CAP_SETPCAP in IAB setting to the specific instance= s in which the kernel requires it. This addresses Bug 219169 reported by Christopher Head. Resolve subtle libpsx linker flag issue related to -Bsymbolic-functions= . This addresses Bug 219169 reported by Stas Sergeev. Add new GPG signing key. At this stage, none of the older keys have been retired. This addresses Bug 218860 requested by David Runge at Arch Linux. K= ey details: $ gpg --fingerprint 0D23D34C577B08C4082CFD76430C5CFF993116B1 pub ed25519 2024-10-26 [SC] 0D23 D34C 577B 08C4 082C FD76 430C 5CFF 9931 16B1 uid [ultimate] Andrew G. Morgan (2024+ libcap signing key) sub cv25519 2024-10-26 [E] Expand use of various $(xFLAGS) to building simple binaries in the buil= d tree. Requested by Pierre-Cl=C3=A9ment Tosi. Numerous documentation updates and clarifications. Added a programming example to the cap package documentation. Exploring= how to embed viewer runnable content in the automatically generated online pkg.go.d= ev documentation. Work around a longstanding glibc segfault annoyance for in-build-tree t= esting. Signed-off-by: Adolf Belka --- config/rootfiles/common/libcap | 4 ++-- lfs/libcap | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/rootfiles/common/libcap b/config/rootfiles/common/libcap index ea90c7564..82754304e 100644 --- a/config/rootfiles/common/libcap +++ b/config/rootfiles/common/libcap @@ -6,10 +6,10 @@ sbin/setcap #usr/include/sys/psx_syscall.h #usr/lib/libcap.so usr/lib/libcap.so.2 -usr/lib/libcap.so.2.70 +usr/lib/libcap.so.2.72 #usr/lib/libpsx.so #usr/lib/libpsx.so.2 -usr/lib/libpsx.so.2.70 +usr/lib/libpsx.so.2.72 #usr/lib/pkgconfig/libcap.pc #usr/lib/pkgconfig/libpsx.pc #usr/lib/security diff --git a/lfs/libcap b/lfs/libcap index 51e32f9c6..c4a50b2c7 100644 --- a/lfs/libcap +++ b/lfs/libcap @@ -24,7 +24,7 @@ =20 include Config =20 -VER =3D 2.70 +VER =3D 2.72 =20 THISAPP =3D libcap-$(VER) DL_FILE =3D $(THISAPP).tar.xz @@ -40,7 +40,7 @@ objects =3D $(DL_FILE) =20 $(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) =20 -$(DL_FILE)_BLAKE2 =3D 77b72acee53032117ea481e3380d1b497f9264b6193b9523542508= c7c3e46070248ca4ed910d35809ce6e52caa60cbb31edb125c47221627eeda35c61bd0914b +$(DL_FILE)_BLAKE2 =3D 2c854fd9a714ab1daae3831829b4b7a890a0894953ba88ae1e1902= 74e7fc635275ce4bf2c668b390ba8196248cb1f953fafb3a9af3907e688c1ab40774f7c6e0 =20 install : $(TARGET) =20 --=20 2.47.0 --===============1219240262749223842==--