summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/ltp/ltp_20180515.bb
diff options
context:
space:
mode:
authorHongzhi.Song <hongzhi.song@windriver.com>2018-10-07 20:31:51 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-10-09 12:02:41 +0100
commitbfd32c0d1c335e9c9cf8340f999e15054917577e (patch)
tree386921a6c32c99a08b3e3a80f376be1aa2965c9b /meta/recipes-extended/ltp/ltp_20180515.bb
parentdd644ee9991e953474d41dbbf713a7e33b4c9141 (diff)
downloadopenembedded-core-contrib-bfd32c0d1c335e9c9cf8340f999e15054917577e.tar.gz
ltp: recent glibc calls syscall directly
The case of sigwaitinfo related to sigwaitinfo API failed. glibc commit 8b0e795aaa44 ("Simplify Linux sig{timed}wait{info} implementations") changed sigwaitinfo to call sigtimedwait, which calls rt_sigtimedwait syscall directly. So, an invalid pointer no longer crashes child process and test reports failure. Fix it by accepting either crash or EFAULT. Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/ltp/ltp_20180515.bb')
-rw-r--r--meta/recipes-extended/ltp/ltp_20180515.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-extended/ltp/ltp_20180515.bb b/meta/recipes-extended/ltp/ltp_20180515.bb
index ce86f7f14b..ba0e6a60b4 100644
--- a/meta/recipes-extended/ltp/ltp_20180515.bb
+++ b/meta/recipes-extended/ltp/ltp_20180515.bb
@@ -53,6 +53,7 @@ SRC_URI = "git://github.com/linux-test-project/ltp.git \
file://0042-fs-ftest-ftest06.c-Fix-too-small-name-string-and-rel.patch \
file://0043-open-creat-skip-S_ISGID-check-on-files-created-by-no.patch \
file://0001-syscalls-fcntl-make-OFD-command-use-fcntl64-syscall-.patch \
+ file://0001-sigwaitinfo01-recent-glibc-calls-syscall-directly.patch \
"
S = "${WORKDIR}/git"