1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 12:29:55 +00:00

libcap: upgrade 2.54 -> 2.59

(From OE-Core rev: da4b08a95523b44e1893a3cf42083dd459d1f6a6)

Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2021-10-19 17:34:14 +02:00
committed by Richard Purdie
parent b7c5da9e9e
commit da18999915
3 changed files with 8 additions and 10 deletions
@@ -1,4 +1,4 @@
From 794cebc5732908636f22a1d9843fed3ae664899a Mon Sep 17 00:00:00 2001 From 75843ed8238523776683a8660621d74c06597f11 Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com> From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Thu, 14 Oct 2021 15:57:36 +0800 Date: Thu, 14 Oct 2021 15:57:36 +0800
Subject: [PATCH] nativesdk-libcap: Raise the size of arrays containing dl Subject: [PATCH] nativesdk-libcap: Raise the size of arrays containing dl
@@ -14,6 +14,7 @@ the strings in a certain path.
Upstream-Status: Inappropriate [SDK specific] Upstream-Status: Inappropriate [SDK specific]
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
--- ---
libcap/execable.h | 2 +- libcap/execable.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-) 1 file changed, 1 insertion(+), 1 deletion(-)
@@ -31,6 +32,3 @@ index 0bcc5d4..6e2a080 100644
SHARED_LOADER ; SHARED_LOADER ;
static void __execable_parse_args(int *argc_p, char ***argv_p) static void __execable_parse_args(int *argc_p, char ***argv_p)
--
2.27.0
@@ -1,4 +1,4 @@
From cc97f84469ee7b266977a20d9cfa63c52f821384 Mon Sep 17 00:00:00 2001 From 10212b6d4e8843feffbeab5336342d97f3a46bb2 Mon Sep 17 00:00:00 2001
From: Alexander Kanavin <alex.kanavin@gmail.com> From: Alexander Kanavin <alex.kanavin@gmail.com>
Date: Fri, 20 Dec 2019 16:54:05 +0100 Date: Fri, 20 Dec 2019 16:54:05 +0100
Subject: [PATCH] tests: do not run target executables Subject: [PATCH] tests: do not run target executables
@@ -11,20 +11,20 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
1 file changed, 2 deletions(-) 1 file changed, 2 deletions(-)
diff --git a/tests/Makefile b/tests/Makefile diff --git a/tests/Makefile b/tests/Makefile
index d9ed248..2864f77 100644 index ecb7d1b..8950c73 100644
--- a/tests/Makefile --- a/tests/Makefile
+++ b/tests/Makefile +++ b/tests/Makefile
@@ -63,13 +63,11 @@ endif @@ -61,13 +61,11 @@ endif
# unprivileged # unprivileged
run_psx_test: psx_test run_psx_test: psx_test
- ./psx_test - ./psx_test
psx_test: psx_test.c $(DEPS) psx_test: psx_test.c $(DEPS)
$(CC) $(CFLAGS) $(CPPFLAGS) $< -o $@ $(LINKEXTRA) $(LIBPSXLIB) $(LDFLAGS) $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $< -o $@ $(LINKEXTRA) $(LIBPSXLIB)
run_libcap_psx_test: libcap_psx_test run_libcap_psx_test: libcap_psx_test
- ./libcap_psx_test - ./libcap_psx_test
libcap_psx_test: libcap_psx_test.c $(DEPS) libcap_psx_test: libcap_psx_test.c $(DEPS)
$(CC) $(CFLAGS) $(CPPFLAGS) $< -o $@ $(LINKEXTRA) $(LIBCAPLIB) $(LIBPSXLIB) $(LDFLAGS) $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $< -o $@ $(LINKEXTRA) $(LIBCAPLIB) $(LIBPSXLIB)
@@ -16,7 +16,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/libs/security/linux-privs/${BPN}2/${BPN}-${
SRC_URI:append:class-nativesdk = " \ SRC_URI:append:class-nativesdk = " \
file://0001-nativesdk-libcap-Raise-the-size-of-arrays-containing.patch \ file://0001-nativesdk-libcap-Raise-the-size-of-arrays-containing.patch \
" "
SRC_URI[sha256sum] = "5091b24247999fd7a5e62bd9ac8bc761cda29f9baa0d1a2ca6a46f13891b4f0f" SRC_URI[sha256sum] = "49f64ae40b113e53cbc161e22af7094e3bb4a0611fa33ef5a4257b011779f034"
UPSTREAM_CHECK_URI = "https://www.kernel.org/pub/linux/libs/security/linux-privs/${BPN}2/" UPSTREAM_CHECK_URI = "https://www.kernel.org/pub/linux/libs/security/linux-privs/${BPN}2/"