1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-08 17:19:20 +00:00
Files
poky/meta/recipes-extended
Hongzhi.Song 8bea6f81d0 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>
2018-10-16 20:35:43 +01:00
..
2018-05-29 21:07:17 +01:00
2018-09-27 23:41:41 +01:00
2018-07-24 11:52:26 +01:00
2018-06-15 17:56:24 +01:00
2018-06-18 11:07:57 +01:00
2018-07-15 16:16:16 +01:00
2018-09-20 05:41:32 -07:00
2018-08-08 10:51:59 +01:00
2018-05-29 21:07:15 +01:00
2018-07-26 13:16:40 +01:00
2018-05-04 13:28:01 +01:00
2018-05-04 13:28:02 +01:00
2018-10-11 23:06:35 +01:00
2018-09-21 18:45:47 -07:00
2018-05-09 10:47:50 +01:00
2018-09-10 12:13:06 +01:00
2018-07-26 13:16:40 +01:00
2018-10-16 20:35:43 +01:00
2018-05-04 13:28:01 +01:00
2018-06-18 11:07:57 +01:00
2018-08-24 07:53:14 +01:00
2018-06-27 13:55:21 +01:00
2018-05-15 10:56:49 +01:00
2018-07-15 16:16:16 +01:00
2018-07-15 16:16:16 +01:00
2018-05-29 21:07:17 +01:00
2018-07-30 12:44:35 +01:00
2018-06-27 13:55:21 +01:00
2018-07-24 11:52:26 +01:00
2018-05-04 13:28:05 +01:00
2018-05-15 10:56:49 +01:00
2018-05-15 10:56:49 +01:00
2018-09-20 05:41:32 -07:00
2018-05-29 21:07:14 +01:00
2018-06-18 11:07:57 +01:00
2018-07-24 11:52:26 +01:00