diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2020-01-14 14:59:55 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-16 22:21:31 +0000 |
commit | 7126431cc3512e3d7f55300c561339c87283b605 (patch) | |
tree | 816d98e0714dc59b618744e43f6b143f7f067f13 /meta/recipes-extended/ltp/ltp/0001-syscall-rt_sigtimedwait01-Fix-wrong-sigset-length-fo.patch | |
parent | 5273df4e142b230636f1b90d0e48986c178472d6 (diff) | |
download | openembedded-core-contrib-7126431cc3512e3d7f55300c561339c87283b605.tar.gz |
ltp: update to 20190930
Drop a big pile of backports.
Add a patch to address absent string formatting error.
Additional fixing of builds with musl.
timers group has been merged upstream into syscalls.
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/ltp/ltp/0001-syscall-rt_sigtimedwait01-Fix-wrong-sigset-length-fo.patch')
-rw-r--r-- | meta/recipes-extended/ltp/ltp/0001-syscall-rt_sigtimedwait01-Fix-wrong-sigset-length-fo.patch | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/meta/recipes-extended/ltp/ltp/0001-syscall-rt_sigtimedwait01-Fix-wrong-sigset-length-fo.patch b/meta/recipes-extended/ltp/ltp/0001-syscall-rt_sigtimedwait01-Fix-wrong-sigset-length-fo.patch deleted file mode 100644 index 0e56c08255..0000000000 --- a/meta/recipes-extended/ltp/ltp/0001-syscall-rt_sigtimedwait01-Fix-wrong-sigset-length-fo.patch +++ /dev/null @@ -1,46 +0,0 @@ -From a5046625eaeed2d3fba456c3ba84c6c141c2ad7c Mon Sep 17 00:00:00 2001 -From: He Zhe <zhe.he@windriver.com> -Date: Thu, 29 Aug 2019 21:09:46 +0800 -Subject: [PATCH] syscall/rt_sigtimedwait01: Fix wrong sigset length for MIPS - -rt_sigtimedwait01 fails as follow on MIPS arches -rt_sigtimedwait01 1 TFAIL : .../sigwaitinfo01.c:58: test_empty_set -(.../sigwaitinfo01.c: 148): Unexpected failure: -TEST_ERRNO=EINVAL(22): Invalid argument - -As this case purposely bypasses glibc, it should align with the size of kernel -definition of sigset_t which is different from other arches. -https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/mips/include/uapi/asm/signal.h#n15 - -This patch turns to use _NSIG which is always right for all arches. - -Upstream-Status: Backport [a5046625eaeed2d3fba456c3ba84c6c141c2ad7c] - -Suggested-by: Jan Stancek <jstancek@redhat.com> -Acked-by: Jan Stancek <jstancek@redhat.com> -Acked-by: Cyril Hrubis <chrubis@suse.cz> -Signed-off-by: He Zhe <zhe.he@windriver.com> -Signed-off-by: Petr Vorel <pvorel@suse.cz> ---- - testcases/kernel/syscalls/sigwaitinfo/sigwaitinfo01.c | 5 ++--- - 1 file changed, 2 insertions(+), 3 deletions(-) - -diff --git a/testcases/kernel/syscalls/sigwaitinfo/sigwaitinfo01.c b/testcases/kernel/syscalls/sigwaitinfo/sigwaitinfo01.c -index 5a32ce1..6a30c27 100644 ---- a/testcases/kernel/syscalls/sigwaitinfo/sigwaitinfo01.c -+++ b/testcases/kernel/syscalls/sigwaitinfo/sigwaitinfo01.c -@@ -128,9 +128,8 @@ static int my_sigtimedwait(const sigset_t * set, siginfo_t * info, - static int my_rt_sigtimedwait(const sigset_t * set, siginfo_t * info, - struct timespec *timeout) - { -- -- /* The last argument is (number_of_signals)/(bits_per_byte), which are 64 and 8, resp. */ -- return ltp_syscall(__NR_rt_sigtimedwait, set, info, timeout, 8); -+ /* _NSIG is always the right number of bits of signal map for all arches */ -+ return ltp_syscall(__NR_rt_sigtimedwait, set, info, timeout, _NSIG/8); - } - #endif - --- -2.7.4 - |