]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
There are some Linux binaries that expect the system to obey the "addr"
authortrasz <trasz@FreeBSD.org>
Sun, 19 Feb 2017 17:17:06 +0000 (17:17 +0000)
committertrasz <trasz@FreeBSD.org>
Sun, 19 Feb 2017 17:17:06 +0000 (17:17 +0000)
commitd6f65ff5291b84761946f4a40b4ca56d03603331
treed8647114d2b8547fb1ab7584001258cf961402e9
parentb1c4c437593e1be9d1e39b09eafb769e708763ac
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