pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [patch] Re: lang/mono/ ... error: too few arguments to function 'mremap'



In message <20070808135617.7b92a0bc@zelz27>
        on Wed, 8 Aug 2007 13:56:17 +0200,
        Matthias Drochner <m.drochner%googlemail.com@localhost> wrote:
> While the patch makes it compile, the result will not
> work as expected because the semantics of the "flags"
> are different in Linux and NetBSD.
Hmmm,

> In Linux there is a "MAYMOVE" bit which explicitely
> allows the start address to change. In NetBSD, this
> is default behaviour. So there is even the danger that
> NetBSD changes the address for an application which
> does not allow that (and does not check).
Is it better to disable using mremap(2) on NetBSD?

-- 
Takahiro Kambe <taca%back-street.net@localhost>



Home | Main Index | Thread Index | Old Index