diff options
author | Hongzhi.Song <hongzhi.song@windriver.com> | 2018-11-20 01:42:51 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-11-21 11:54:14 +0000 |
commit | f5c2e03a211424b177b9f4e465abb9c7f580c2a2 (patch) | |
tree | 59374b916d1c894508e160ba56a49eafddf6bf81 /meta/recipes-extended/ltp/ltp_20180926.bb | |
parent | 707512e90a719d674c04cff06fd39b2d5e91d397 (diff) | |
download | poky-f5c2e03a211424b177b9f4e465abb9c7f580c2a2.tar.gz |
ltp: Use a legal bad address for mips in setrlimit05.c
This testcase fails on mips32. The process is killed by SIGBUS which
is not as expect.
This is because:
((void *)-1) is not a legal bad address which causes the process
killed by SIGBUG on mips.
'tst_get_bad_addr()' returns an address that should works on mips
and other arches.
(From OE-Core rev: e45948d4be14c14eff0a5c8c8597a7523f2edff1)
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_20180926.bb')
-rw-r--r-- | meta/recipes-extended/ltp/ltp_20180926.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-extended/ltp/ltp_20180926.bb b/meta/recipes-extended/ltp/ltp_20180926.bb index 500ca0063d..e471904d8e 100644 --- a/meta/recipes-extended/ltp/ltp_20180926.bb +++ b/meta/recipes-extended/ltp/ltp_20180926.bb | |||
@@ -51,6 +51,7 @@ SRC_URI = "git://github.com/linux-test-project/ltp.git \ | |||
51 | file://0001-netns_helper.sh-use-ping-6-when-ping6-is-not-avaliab.patch \ | 51 | file://0001-netns_helper.sh-use-ping-6-when-ping6-is-not-avaliab.patch \ |
52 | file://0001-open_posix_testsuite-mmap24-2-Relax-condition-a-bit.patch \ | 52 | file://0001-open_posix_testsuite-mmap24-2-Relax-condition-a-bit.patch \ |
53 | file://0001-statx-fix-compile-errors.patch \ | 53 | file://0001-statx-fix-compile-errors.patch \ |
54 | file://0001-setrlimit05-Use-another-method-to-get-bad-address.patch \ | ||
54 | " | 55 | " |
55 | 56 | ||
56 | S = "${WORKDIR}/git" | 57 | S = "${WORKDIR}/git" |