libcap: upgrade 2.69 -> 2.70
PATCH 1/1 libcap: upgrade 2.69 -> 2.70
Release notes for 2.70
* setcap changes to make it harder to set invalid file capabilities
* Lots of documentation fixes
* Fix c89 compilation syntax for the C code in the libraries
* libpam has deprecated providing the _pam_overwrite() function, so use memset() instead
---
...ATTR_NAME_CAPS-is-defined-when-it-is-use.patch | 15 +++++++++------
...bcap-Raise-the-size-of-arrays-containing.patch | 5 ++---
...0002-tests-do-not-run-target-executables.patch | 3 +--
.../libcap/{libcap_2.69.bb => libcap_2.70.bb} | 2 +-
4 files changed, 13 insertions(+), 12 deletions(-)
rename meta/recipes-support/libcap/{libcap_2.69.bb => libcap_2.70.bb} (96%)meta/recipes-support/libcap/files/0001-ensure-the-XATTR_NAME_CAPS-is-defined-when-it-is-use.patch +9 -6
@@ -1,4 +1,10 @@ -Ensure the XATTR_NAME_CAPS is defined when it is used +From 2261f47bac78aa77934ca03980ed54d1d86116b9 Mon Sep 17 00:00:00 2001 +From: Roy Li <[email protected]> +Date: Thu, 23 Jun 2016 16:26:43 +0800 +Subject: [PATCH] Ensure the XATTR_NAME_CAPS is defined when it is used +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit Upstream-Status: Pending
@@ -15,10 +21,10 @@ Signed-off-by: Roy Li <[email protected]> 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcap/cap_file.c b/libcap/cap_file.c -index 40756ea..e27ca80 100644 +index 0bc07f7..37bc34e 100644 --- a/libcap/cap_file.c +++ b/libcap/cap_file.c -@@ -25,7 +25,7 @@ extern int fremovexattr(int, const char *); +@@ -44,7 +44,7 @@ extern int fremovexattr(int, const char *); #include "libcap.h"
@@ -27,6 +33,3 @@ index 40756ea..e27ca80 100644 #if VFS_CAP_U32 != __CAP_BLKS # error VFS representation of capabilities is not the same size as kernel --- -2.8.1 -
meta/recipes-support/libcap/files/0001-nativesdk-libcap-Raise-the-size-of-arrays-containing.patch +2 -3
@@ -1,4 +1,4 @@ -From 709aa8e156415215b0bb034d05b2aa2f44be044e Mon Sep 17 00:00:00 2001 +From fcb0166c5e991fcf62797b19bea39983214289cb Mon Sep 17 00:00:00 2001 From: Hongxu Jia <[email protected]> Date: Thu, 14 Oct 2021 15:57:36 +0800 Subject: [PATCH] nativesdk-libcap: Raise the size of arrays containing dl
@@ -14,13 +14,12 @@ the strings in a certain path. Upstream-Status: Inappropriate [SDK specific] Signed-off-by: Hongxu Jia <[email protected]> - --- libcap/execable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcap/execable.h b/libcap/execable.h -index fee17b4..5bb0c55 100644 +index 7a2d247..682e0ee 100644 --- a/libcap/execable.h +++ b/libcap/execable.h @@ -23,7 +23,7 @@
meta/recipes-support/libcap/files/0002-tests-do-not-run-target-executables.patch +1 -2
@@ -1,11 +1,10 @@ -From 10212b6d4e8843feffbeab5336342d97f3a46bb2 Mon Sep 17 00:00:00 2001 +From a3368b38abfb703e730fc5462f42cc5d177d864d Mon Sep 17 00:00:00 2001 From: Alexander Kanavin <[email protected]> Date: Fri, 20 Dec 2019 16:54:05 +0100 Subject: [PATCH] tests: do not run target executables Upstream-Status: Inappropriate [oe-core specific] Signed-off-by: Alexander Kanavin <[email protected]> - --- tests/Makefile | 2 -- 1 file changed, 2 deletions(-)
meta/recipes-support/libcap/libcap_2.70.bb renamed from meta/recipes-support/libcap/libcap_2.69.bb +1 -1
@@ -19,7 +19,7 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/libs/security/linux-privs/${BPN}2/${BPN}-${ SRC_URI:append:class-nativesdk = " \ file://0001-nativesdk-libcap-Raise-the-size-of-arrays-containing.patch \ " -SRC_URI[sha256sum] = "f311f8f3dad84699d0566d1d6f7ec943a9298b28f714cae3c931dfd57492d7eb" +SRC_URI[sha256sum] = "23a6ef8aadaf1e3e875f633bb2d116cfef8952dba7bc7c569b13458e1952b30f" UPSTREAM_CHECK_URI = "https://www.kernel.org/pub/linux/libs/security/linux-privs/${BPN}2/"
Signature · 1 line
2.25.1
PATCH 1/1 ltp: upgrade 20240129 -> 20240524
ChangeLog:
https://github.com/linux-test-project/ltp/releases/tag/20240524
Drop backport patches.
---
...001-Remove-OOM-tests-from-runtest-mm.patch | 9 ++--
...rio_groups-default-remove-connectors.patch | 34 ------------
...-Use-time_t-instead-of-long-for-type.patch | 54 -------------------
.../ltp/{ltp_20240129.bb => ltp_20240524.bb} | 4 +-
4 files changed, 4 insertions(+), 97 deletions(-)
delete mode 100644 meta/recipes-extended/ltp/ltp/0001-scenario_groups-default-remove-connectors.patch
delete mode 100644 meta/recipes-extended/ltp/ltp/0001-sched_stress-Use-time_t-instead-of-long-for-type.patch
rename meta/recipes-extended/ltp/{ltp_20240129.bb => ltp_20240524.bb} (96%)meta/recipes-extended/ltp/ltp/0001-Remove-OOM-tests-from-runtest-mm.patch +3 -6
@@ -1,4 +1,4 @@ -From e87c2ad1e16cdbd62ba71b2ace3270503decaa56 Mon Sep 17 00:00:00 2001 +From 768159aa53257d247645a12518778f50b8fdf578 Mon Sep 17 00:00:00 2001 From: "Mingde (Matthew) Zeng" <[email protected]> Date: Wed, 29 Jul 2020 08:47:09 -0400 Subject: [PATCH] Remove OOM tests from runtest/mm
@@ -14,10 +14,10 @@ Signed-off-by: Petr Vorel <[email protected]> 1 file changed, 6 deletions(-) diff --git a/runtest/mm b/runtest/mm -index d859b331c..3c2962f44 100644 +index 6a8cd0b9d..8ce3f4416 100644 --- a/runtest/mm +++ b/runtest/mm -@@ -74,12 +74,6 @@ ksm07 ksm07 +@@ -76,12 +76,6 @@ ksm07 ksm07 cpuset01 cpuset01
@@ -30,6 +30,3 @@ index d859b331c..3c2962f44 100644 swapping01 swapping01 -i 5 thp01 thp01 -I 120 --- -2.43.0 -
meta/recipes-extended/ltp/ltp/0001-scenario_groups-default-remove-connectors.patch deleted +0 -34
@@ -1,34 +0,0 @@ -From 14c710cae38aa96bd8d681e891b6a1d691f99988 Mon Sep 17 00:00:00 2001 -From: Xiangyu Chen <[email protected]> -Date: Thu, 14 Mar 2024 09:47:10 +0800 -Subject: [PATCH] scenario_groups/default: remove connectors - -runtest/connectors was removed in 9b642d89c, thus update scenario_groups/default. - -Fixes: 9b642d89c ("runtest: Merge runtest/connectors to kernel_misc") -Closes: https://github.com/linux-test-project/ltp/pull/1144 - -Upstream-Status: Backport from -[https://github.com/linux-test-project/ltp/commit/14c710ca] - -Reviewed-by: Petr Vorel <[email protected]> -Signed-off-by: Xiangyu Chen <[email protected]> ---- - scenario_groups/default | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/scenario_groups/default b/scenario_groups/default -index f17b2061a..ec77d8fb8 100644 ---- a/scenario_groups/default -+++ b/scenario_groups/default -@@ -16,7 +16,6 @@ controllers - filecaps - cap_bounds - fcntl-locktests --connectors - power_management_tests - hugetlb - commands --- -2.34.1 -
meta/recipes-extended/ltp/ltp/0001-sched_stress-Use-time_t-instead-of-long-for-type.patch deleted +0 -54
54 lines not on this page · raw message
meta/recipes-extended/ltp/ltp_20240524.bb renamed from meta/recipes-extended/ltp/ltp_20240129.bb +1 -3
@@ -24,12 +24,10 @@ TUNE_CCARGS:remove:x86-64 = "-mfpmath=sse" CFLAGS:append:powerpc64 = " -D__SANE_USERSPACE_TYPES__" CFLAGS:append:mipsarchn64 = " -D__SANE_USERSPACE_TYPES__" -SRCREV = "68737d20556d37364c95776044b1119c0912a36a" +SRCREV = "8f21ebba42216dbb7e8d44c23b4a977d6823f7a1" SRC_URI = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=https \ file://0001-Remove-OOM-tests-from-runtest-mm.patch \ - file://0001-scenario_groups-default-remove-connectors.patch \ - file://0001-sched_stress-Use-time_t-instead-of-long-for-type.patch \ " S = "${WORKDIR}/git"
Signature · 1 line
2.25.1
Re: [OE-core] [PATCH] ltp: upgrade 20240129 -> 20240524
fails to build on riscv64 see
https://errors.yoctoproject.org/Errors/Details/785948/
Quoted 180 lines · Yi Zhao via lists.openembedded.org
ChangeLog:
https://github.com/linux-test-project/ltp/releases/tag/20240524Drop backport patches.
Signed-off-by Yi Zhao <[email protected]>--- ...001-Remove-OOM-tests-from-runtest-mm.patch | 9 ++-- ...rio_groups-default-remove-connectors.patch | 34 ------------ ...-Use-time_t-instead-of-long-for-type.patch | 54 ------------------- .../ltp/{ltp_20240129.bb => ltp_20240524.bb} | 4 +- 4 files changed, 4 insertions(+), 97 deletions(-) delete mode 100644 meta/recipes-extended/ltp/ltp/0001-scenario_groups-default-remove-connectors.patch delete mode 100644 meta/recipes-extended/ltp/ltp/0001-sched_stress-Use-time_t-instead-of-long-for-type.patch rename meta/recipes-extended/ltp/{ltp_20240129.bb => ltp_20240524.bb} (96%)meta/recipes-extended/ltp/ltp/0001-Remove-OOM-tests-from-runtest-mm.patch +3
-6@@ -1,4 +1,4 @@ -From e87c2ad1e16cdbd62ba71b2ace3270503decaa56 Mon Sep 17 00:00:00 2001 +From 768159aa53257d247645a12518778f50b8fdf578 Mon Sep 17 00:00:00 2001 From: "Mingde (Matthew) Zeng" <[email protected]> Date: Wed, 29 Jul 2020 08:47:09 -0400 Subject: [PATCH] Remove OOM tests from runtest/mm@@ -14,10 +14,10 @@ Signed-off-by: Petr Vorel <[email protected]> 1 file changed, 6 deletions(-) diff --git a/runtest/mm b/runtest/mm -index d859b331c..3c2962f44 100644 +index 6a8cd0b9d..8ce3f4416 100644 --- a/runtest/mm +++ b/runtest/mm -@@ -74,12 +74,6 @@ ksm07 ksm07 +@@ -76,12 +76,6 @@ ksm07 ksm07 cpuset01 cpuset01@@ -30,6 +30,3 @@ index d859b331c..3c2962f44 100644 swapping01 swapping01 -i 5 thp01 thp01 -I 120 --- -2.43.0 -meta/recipes-extended/ltp/ltp/0001-scenario_groups-default-remove-connectors.patch deleted +0
-34@@ -1,34 +0,0 @@ -From 14c710cae38aa96bd8d681e891b6a1d691f99988 Mon Sep 17 00:00:00 2001 -From: Xiangyu Chen <[email protected]> -Date: Thu, 14 Mar 2024 09:47:10 +0800 -Subject: [PATCH] scenario_groups/default: remove connectors - -runtest/connectors was removed in 9b642d89c, thus update scenario_groups/default. - -Fixes: 9b642d89c ("runtest: Merge runtest/connectors to kernel_misc") -Closes: https://github.com/linux-test-project/ltp/pull/1144 - -Upstream-Status: Backport from -[https://github.com/linux-test-project/ltp/commit/14c710ca] - -Reviewed-by: Petr Vorel <[email protected]> -Signed-off-by: Xiangyu Chen <[email protected]> ---- - scenario_groups/default | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/scenario_groups/default b/scenario_groups/default -index f17b2061a..ec77d8fb8 100644 ---- a/scenario_groups/default -+++ b/scenario_groups/default -@@ -16,7 +16,6 @@ controllers - filecaps - cap_bounds - fcntl-locktests --connectors - power_management_tests - hugetlb - commands --- -2.34.1 -meta/recipes-extended/ltp/ltp/0001-sched_stress-Use-time_t-instead-of-long-for-type.patch deleted +0
-54@@ -1,54 +0,0 @@ -From 74074f9a71c876d6e95c2d72702888dd2fabc761 Mon Sep 17 00:00:00 2001 -From: Khem Raj <[email protected]> -Date: Mon, 6 May 2024 11:43:20 -0700 -Subject: [PATCH] sched_stress: Use time_t instead of long for type - -This ensures it works across different architectures -Fixes - -| sched_driver.c:744:43: error: passing argument 1 of 'ctime' from incompatible pointer type [-Wincompatible-pointer-types] -| 744 | printf("\nend time = %s\n", ctime(&end_time)); -| | ^~~~~~~~~ - -With gcc-14 - -Upstream-Status: Backport [https://github.com/linux-test-project/ltp/commit/0a682f1af42d8d261202821be580fe26d17ee9b7] -Signed-off-by: Khem Raj <[email protected]> ---- - testcases/kernel/sched/sched_stress/sched_driver.c | 6 +++--- - 1 file changed, 3 insertions(+), 3 deletions(-) - -diff --git a/testcases/kernel/sched/sched_stress/sched_driver.c b/testcases/kernel/sched/sched_stress/sched_driver.c -index 61573d788..5b8c187fe 100644 ---- a/testcases/kernel/sched/sched_stress/sched_driver.c -+++ b/testcases/kernel/sched/sched_stress/sched_driver.c -@@ -136,7 +136,7 @@ int debug = 0; - /* - * Function prototypes - */ --void startup(long); -+void startup(time_t); - int start_testcase(char *, char *, char *, char *, char *, char *); - int process_slots_in_use(); - int available_user_process_slots(); -@@ -251,7 +251,7 @@ int main(int argc, char **argv) - * information to the screen and . It also initializes the * - * process id list and other global variables. * - *-----------------------------------------------------------------------*/ --void startup(long start_time) -+void startup(time_t start_time) - { - char tempbuffer[50]; /* temporary buffer to hold names */ - -@@ -734,7 +734,7 @@ void kill_short_term_testcases() - void finishup(start_time) - long start_time; /* starting time to calculate elapsed time */ - { -- long end_time; /* time when program finished */ -+ time_t end_time; /* time when program finished */ - - /* - * Get the end time and calculate elapsed time; write all this out --- -2.45.0 -meta/recipes-extended/ltp/ltp_20240524.bb renamed from meta/recipes-extended/ltp/ltp_20240129.bb +1
-4@@ -24,12 +24,10 @@ TUNE_CCARGS:remove:x86-64 = "-mfpmath=sse" CFLAGS:append:powerpc64 = " -D__SANE_USERSPACE_TYPES__" CFLAGS:append:mipsarchn64 = " -D__SANE_USERSPACE_TYPES__" -SRCREV = "68737d20556d37364c95776044b1119c0912a36a" +SRCREV = "8f21ebba42216dbb7e8d44c23b4a977d6823f7a1" SRC_URI = "git://github.com/linux-test-project/ltp.git;branch=master;protocol=https \ file://0001-Remove-OOM-tests-from-runtest-mm.patch \ - file://0001-scenario_groups-default-remove-connectors.patch \ - file://0001-sched_stress-Use-time_t-instead-of-long-for-type.patch \ " S = "${WORKDIR}/git" --2.25.1
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#200245): https://lists.openembedded.org/g/openembedded-core/message/200245
Mute This Topic: https://lists.openembedded.org/mt/106459042/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-