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 00:27:10 +0100 |
commit | cbc026227fb9bafe71665a673104272e191bdef9 (patch) | |
tree | 637d0f080cbcbf9a06097778bbcf8209b240f9e6 /scripts/lib/checklayer/context.py | |
parent | 51638edaa00befaed58e2def255d46ae44d9234f (diff) | |
download | openembedded-core-cbc026227fb9bafe71665a673104272e191bdef9.tar.gz openembedded-core-cbc026227fb9bafe71665a673104272e191bdef9.tar.bz2 openembedded-core-cbc026227fb9bafe71665a673104272e191bdef9.zip |
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.
Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'scripts/lib/checklayer/context.py')
0 files changed, 0 insertions, 0 deletions