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:48:18 +0000 |
commit | e45948d4be14c14eff0a5c8c8597a7523f2edff1 (patch) | |
tree | c91bba3a43b9142ad1a9a4af3e07bd65a92ea4dc /meta/recipes-extended/ltp/ltp_20180926.bb | |
parent | 6ad99f3eabe359d5be98d63d4781063b63c83eea (diff) | |
download | openembedded-core-contrib-e45948d4be14c14eff0a5c8c8597a7523f2edff1.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.
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 \ file://0001-netns_helper.sh-use-ping-6-when-ping6-is-not-avaliab.patch \ file://0001-open_posix_testsuite-mmap24-2-Relax-condition-a-bit.patch \ file://0001-statx-fix-compile-errors.patch \ + file://0001-setrlimit05-Use-another-method-to-get-bad-address.patch \ " S = "${WORKDIR}/git" |