summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/diffutils/diffutils-3.6/run-ptest
diff options
context:
space:
mode:
authorHongzhi.Song <hongzhi.song@windriver.com>2018-10-15 22:54:19 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-10-16 20:35:43 +0100
commit8bea6f81d0b2f8c415735fbaa12a732e4f261946 (patch)
treea0eece8b5842eab5cc41a84ee80c613575c06074 /meta/recipes-extended/diffutils/diffutils-3.6/run-ptest
parentbfa9068b4013bbd9ea47229d34f39853c973b63f (diff)
downloadpoky-8bea6f81d0b2f8c415735fbaa12a732e4f261946.tar.gz
ltp: modify mmap_24-2 testcase
Mips will return EINVAL instead of ENOMEM as expected if the range [addr + len) exceeds TASK_SIZE. Linux kernel code: arch/mips/mm/mmap.c if (flags & MAP_FIXED) { /* Even MAP_FIXED mappings must reside within TASK_SIZE */ if (TASK_SIZE - len < addr) return -EINVAL; Relax the condition and accept both ENOMEM and EINVAL as expected outcome. (From OE-Core rev: ff1d158fb15f7a8bc7bca542baac6f9873a58f68) Signed-off-by: Hongzhi.Song <hongzhi.song@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/diffutils/diffutils-3.6/run-ptest')
0 files changed, 0 insertions, 0 deletions