diff options
| author | Dengke Du <dengke.du@windriver.com> | 2018-09-12 16:55:56 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-09-13 07:42:28 +0100 |
| commit | 37be2ed7a94363b94cde413341a3795c9754994a (patch) | |
| tree | f657f138bca22acceadd4a8429952b447f491926 /scripts/oepydevshell-internal.py | |
| parent | 821711bf2edc3d2eb5a695653ff5d439f43520be (diff) | |
| download | poky-37be2ed7a94363b94cde413341a3795c9754994a.tar.gz | |
ltp: fix mmap15 failed on qemumips64
Actually, this is not a bug, mmap15 only run on 64bit system.
On qemumips64, mmap15 return EINVAL, x86-64 and arm64 return
ENOMEM. This is because mips system check the addr that passed
to the syscall mmap15:
https://github.com/torvalds/linux/blob/master/arch/mips/mm/mmap.c#L71
If the addr larger than (TASK_SIZE - page_size), mips think it is invalid.
(From OE-Core rev: cbc026227fb9bafe71665a673104272e191bdef9)
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/oepydevshell-internal.py')
0 files changed, 0 insertions, 0 deletions
