]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r208994:
authorkan <kan@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 18 Jun 2010 15:25:57 +0000 (15:25 +0000)
committerkan <kan@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 18 Jun 2010 15:25:57 +0000 (15:25 +0000)
commit5bbd90dba032380292242b4d2089b23f43a9fe72
treecd8cd1df177ab2e6ff4207c9247eff936134dd0f
parent10a85c6323ee743d6c3dbbe117e451986ef388fa
MFC r208994:

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

git-svn-id: svn://svn.freebsd.org/base/stable/8@209304 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/amd64/linux32/linux32_machdep.c
sys/i386/linux/linux_machdep.c