diff options
-rw-r--r-- | meta/recipes-support/libcap/files/0001-ensure-the-XATTR_NAME_CAPS-is-defined-when-it-is-use.patch | 15 | ||||
-rw-r--r-- | meta/recipes-support/libcap/files/0001-nativesdk-libcap-Raise-the-size-of-arrays-containing.patch | 5 | ||||
-rw-r--r-- | meta/recipes-support/libcap/files/0002-tests-do-not-run-target-executables.patch | 3 | ||||
-rw-r--r-- | meta/recipes-support/libcap/libcap_2.70.bb (renamed from meta/recipes-support/libcap/libcap_2.69.bb) | 2 |
4 files changed, 13 insertions, 12 deletions
diff --git a/meta/recipes-support/libcap/files/0001-ensure-the-XATTR_NAME_CAPS-is-defined-when-it-is-use.patch b/meta/recipes-support/libcap/files/0001-ensure-the-XATTR_NAME_CAPS-is-defined-when-it-is-use.patch index 05c771ac10..e77d0c8c51 100644 --- a/meta/recipes-support/libcap/files/0001-ensure-the-XATTR_NAME_CAPS-is-defined-when-it-is-use.patch +++ b/meta/recipes-support/libcap/files/0001-ensure-the-XATTR_NAME_CAPS-is-defined-when-it-is-use.patch | |||
@@ -1,4 +1,10 @@ | |||
1 | Ensure the XATTR_NAME_CAPS is defined when it is used | 1 | From 2261f47bac78aa77934ca03980ed54d1d86116b9 Mon Sep 17 00:00:00 2001 |
2 | From: Roy Li <rongqing.li@windriver.com> | ||
3 | Date: Thu, 23 Jun 2016 16:26:43 +0800 | ||
4 | Subject: [PATCH] Ensure the XATTR_NAME_CAPS is defined when it is used | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
2 | 8 | ||
3 | Upstream-Status: Pending | 9 | Upstream-Status: Pending |
4 | 10 | ||
@@ -15,10 +21,10 @@ Signed-off-by: Roy Li <rongqing.li@windriver.com> | |||
15 | 1 file changed, 1 insertion(+), 1 deletion(-) | 21 | 1 file changed, 1 insertion(+), 1 deletion(-) |
16 | 22 | ||
17 | diff --git a/libcap/cap_file.c b/libcap/cap_file.c | 23 | diff --git a/libcap/cap_file.c b/libcap/cap_file.c |
18 | index 40756ea..e27ca80 100644 | 24 | index 0bc07f7..37bc34e 100644 |
19 | --- a/libcap/cap_file.c | 25 | --- a/libcap/cap_file.c |
20 | +++ b/libcap/cap_file.c | 26 | +++ b/libcap/cap_file.c |
21 | @@ -25,7 +25,7 @@ extern int fremovexattr(int, const char *); | 27 | @@ -44,7 +44,7 @@ extern int fremovexattr(int, const char *); |
22 | 28 | ||
23 | #include "libcap.h" | 29 | #include "libcap.h" |
24 | 30 | ||
@@ -27,6 +33,3 @@ index 40756ea..e27ca80 100644 | |||
27 | 33 | ||
28 | #if VFS_CAP_U32 != __CAP_BLKS | 34 | #if VFS_CAP_U32 != __CAP_BLKS |
29 | # error VFS representation of capabilities is not the same size as kernel | 35 | # error VFS representation of capabilities is not the same size as kernel |
30 | -- | ||
31 | 2.8.1 | ||
32 | |||
diff --git a/meta/recipes-support/libcap/files/0001-nativesdk-libcap-Raise-the-size-of-arrays-containing.patch b/meta/recipes-support/libcap/files/0001-nativesdk-libcap-Raise-the-size-of-arrays-containing.patch index 2ac1e6e560..ecbdd22099 100644 --- a/meta/recipes-support/libcap/files/0001-nativesdk-libcap-Raise-the-size-of-arrays-containing.patch +++ b/meta/recipes-support/libcap/files/0001-nativesdk-libcap-Raise-the-size-of-arrays-containing.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 709aa8e156415215b0bb034d05b2aa2f44be044e Mon Sep 17 00:00:00 2001 | 1 | From fcb0166c5e991fcf62797b19bea39983214289cb Mon Sep 17 00:00:00 2001 |
2 | From: Hongxu Jia <hongxu.jia@windriver.com> | 2 | From: Hongxu Jia <hongxu.jia@windriver.com> |
3 | Date: Thu, 14 Oct 2021 15:57:36 +0800 | 3 | Date: Thu, 14 Oct 2021 15:57:36 +0800 |
4 | Subject: [PATCH] nativesdk-libcap: Raise the size of arrays containing dl | 4 | Subject: [PATCH] nativesdk-libcap: Raise the size of arrays containing dl |
@@ -14,13 +14,12 @@ the strings in a certain path. | |||
14 | Upstream-Status: Inappropriate [SDK specific] | 14 | Upstream-Status: Inappropriate [SDK specific] |
15 | 15 | ||
16 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | 16 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> |
17 | |||
18 | --- | 17 | --- |
19 | libcap/execable.h | 2 +- | 18 | libcap/execable.h | 2 +- |
20 | 1 file changed, 1 insertion(+), 1 deletion(-) | 19 | 1 file changed, 1 insertion(+), 1 deletion(-) |
21 | 20 | ||
22 | diff --git a/libcap/execable.h b/libcap/execable.h | 21 | diff --git a/libcap/execable.h b/libcap/execable.h |
23 | index fee17b4..5bb0c55 100644 | 22 | index 7a2d247..682e0ee 100644 |
24 | --- a/libcap/execable.h | 23 | --- a/libcap/execable.h |
25 | +++ b/libcap/execable.h | 24 | +++ b/libcap/execable.h |
26 | @@ -23,7 +23,7 @@ | 25 | @@ -23,7 +23,7 @@ |
diff --git a/meta/recipes-support/libcap/files/0002-tests-do-not-run-target-executables.patch b/meta/recipes-support/libcap/files/0002-tests-do-not-run-target-executables.patch index 20346cf2fb..31f27e914f 100644 --- a/meta/recipes-support/libcap/files/0002-tests-do-not-run-target-executables.patch +++ b/meta/recipes-support/libcap/files/0002-tests-do-not-run-target-executables.patch | |||
@@ -1,11 +1,10 @@ | |||
1 | From 10212b6d4e8843feffbeab5336342d97f3a46bb2 Mon Sep 17 00:00:00 2001 | 1 | From a3368b38abfb703e730fc5462f42cc5d177d864d Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Fri, 20 Dec 2019 16:54:05 +0100 | 3 | Date: Fri, 20 Dec 2019 16:54:05 +0100 |
4 | Subject: [PATCH] tests: do not run target executables | 4 | Subject: [PATCH] tests: do not run target executables |
5 | 5 | ||
6 | Upstream-Status: Inappropriate [oe-core specific] | 6 | Upstream-Status: Inappropriate [oe-core specific] |
7 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | 7 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
8 | |||
9 | --- | 8 | --- |
10 | tests/Makefile | 2 -- | 9 | tests/Makefile | 2 -- |
11 | 1 file changed, 2 deletions(-) | 10 | 1 file changed, 2 deletions(-) |
diff --git a/meta/recipes-support/libcap/libcap_2.69.bb b/meta/recipes-support/libcap/libcap_2.70.bb index 92fa766d37..6e2fd728e2 100644 --- a/meta/recipes-support/libcap/libcap_2.69.bb +++ b/meta/recipes-support/libcap/libcap_2.70.bb | |||
@@ -19,7 +19,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/libs/security/linux-privs/${BPN}2/${BPN}-${ | |||
19 | SRC_URI:append:class-nativesdk = " \ | 19 | SRC_URI:append:class-nativesdk = " \ |
20 | file://0001-nativesdk-libcap-Raise-the-size-of-arrays-containing.patch \ | 20 | file://0001-nativesdk-libcap-Raise-the-size-of-arrays-containing.patch \ |
21 | " | 21 | " |
22 | SRC_URI[sha256sum] = "f311f8f3dad84699d0566d1d6f7ec943a9298b28f714cae3c931dfd57492d7eb" | 22 | SRC_URI[sha256sum] = "23a6ef8aadaf1e3e875f633bb2d116cfef8952dba7bc7c569b13458e1952b30f" |
23 | 23 | ||
24 | UPSTREAM_CHECK_URI = "https://www.kernel.org/pub/linux/libs/security/linux-privs/${BPN}2/" | 24 | UPSTREAM_CHECK_URI = "https://www.kernel.org/pub/linux/libs/security/linux-privs/${BPN}2/" |
25 | 25 | ||