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
2017-05-23 17:45:36 +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
2017-12-02 11:25:32 +00:00
2018-02-24 10:31:45 +00: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
2016-11-30 15:48:09 +00:00
2018-06-27 13:55:21 +01:00
2018-05-15 10:56:49 +01:00
2018-02-16 18:05:38 +00:00
2018-07-15 16:16:16 +01:00
2018-07-15 16:16:16 +01:00
2017-11-21 13:06:11 +00:00
2018-05-29 21:07:17 +01:00
2018-01-05 11:55:35 +00: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
2017-11-05 22:33:22 +00: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