From f5c2e03a211424b177b9f4e465abb9c7f580c2a2 Mon Sep 17 00:00:00 2001 From: "Hongzhi.Song" Date: Tue, 20 Nov 2018 01:42:51 -0800 Subject: 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 Signed-off-by: Richard Purdie --- meta/recipes-extended/ltp/ltp_20180926.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-extended/ltp/ltp_20180926.bb') 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" -- cgit v1.2.3-54-g00ecf