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 19:04:02 +0100
commit7a3cfd235b7434df5e9cdcbb5267ae6c618c1726 (patch)
tree95cb97d7d7ed2d74179705eca26ba3b0ca5195f4 /meta/recipes-extended/ltp/ltp_20180515.bb
parent58641400ce51176ea18e09428038c4e8a8ec2cd5 (diff)
downloadpoky-7a3cfd235b7434df5e9cdcbb5267ae6c618c1726.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. (From OE-Core rev: bfd32c0d1c335e9c9cf8340f999e15054917577e) 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 \
53 file://0042-fs-ftest-ftest06.c-Fix-too-small-name-string-and-rel.patch \ 53 file://0042-fs-ftest-ftest06.c-Fix-too-small-name-string-and-rel.patch \
54 file://0043-open-creat-skip-S_ISGID-check-on-files-created-by-no.patch \ 54 file://0043-open-creat-skip-S_ISGID-check-on-files-created-by-no.patch \
55 file://0001-syscalls-fcntl-make-OFD-command-use-fcntl64-syscall-.patch \ 55 file://0001-syscalls-fcntl-make-OFD-command-use-fcntl64-syscall-.patch \
56 file://0001-sigwaitinfo01-recent-glibc-calls-syscall-directly.patch \
56 " 57 "
57 58
58S = "${WORKDIR}/git" 59S = "${WORKDIR}/git"