diff options
author | kan <kan@FreeBSD.org> | 2010-06-10 17:59:47 +0000 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2010-06-10 17:59:47 +0000 |
commit | 46bba0ff8197340b7456ab1725382d7ed4976fdd (patch) | |
tree | a27f219b4fe9b91b5326d1e4d5543fd788bd3fda /contrib/llvm/unittests/Support/System.cpp | |
parent | e35649401c75190bf4d017b6e4ff7b55c8804f60 (diff) | |
download | FreeBSD-src-46bba0ff8197340b7456ab1725382d7ed4976fdd.zip FreeBSD-src-46bba0ff8197340b7456ab1725382d7ed4976fdd.tar.gz |
Do not require pos parameter to be zero in MAP_ANONYMOUS mmap requests
in Linux emulation layer. Linux seems to only require that pos is
page-aligned, but otherwise ignores it. Default FreeBSD mmap parameter
checking is too strict to allow some Linux binaries to run. tsMuxeR is
one example of such a binary.
Discussed with: jhb
MFC after: 1 week
Diffstat (limited to 'contrib/llvm/unittests/Support/System.cpp')
0 files changed, 0 insertions, 0 deletions