]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
There are some Linux binaries that expect the system to obey the "addr"
authorEdward Tomasz Napierala <trasz@FreeBSD.org>
Sun, 19 Feb 2017 17:17:06 +0000 (17:17 +0000)
committerEdward Tomasz Napierala <trasz@FreeBSD.org>
Sun, 19 Feb 2017 17:17:06 +0000 (17:17 +0000)
commitc6d57d307353774889976a6f89f01a402146349d
treed8647114d2b8547fb1ab7584001258cf961402e9
parent6f03f3d85c7345a1baf4c4e8a03d27688d38ed4f
There are some Linux binaries that expect the system to obey the "addr"
parameter to mmap(2), even if MAP_FIXED is not explicitly specified.
Android ART is one example.  Implement bug compatibility for this case
in linuxulator.

Reviewed by: dchagin@
MFC after: 2 weeks
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D9373
sys/compat/linux/linux_mmap.c