Darwin Chen <[EMAIL PROTECTED]> wrote:

> I found a surprised code after I hacking the kernel with several weeks:
> In linux-2.6.x/fs/binfmt_flat.c: Line 603:  
> textpos = do_mremap(textpos, len, reallen, 
>               MREMAP_FIXED, textpos);
> 
> But, in linux-2.6.x/mm/nommu.c, the code didn't support MREMAP_FIXED flag.
> So, I always get this error.
> 
> Is this a kernel bug? Or how to fixed it?

You need an MMU if you want to implement that - at least for anything other
than new_address == old_address.  So just like for MAP_FIXED, MREMAP_FIXED is
not supported if CONFIG_MMU=n.

David
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to