Re: Really good idea to allow mmap(0, FIXED)?

From: Alan Cox
Date: Thu Oct 05 2006 - 17:32:29 EST


Ar Iau, 2006-10-05 am 20:59 +0200, ysgrifennodd Michael Buesch:
> Is is really a good idea to allow processes to remap something
> to address 0?

It is very useful indeed. Consider for example dosemu.

> Besides that, I currently don't see a valid reason to mmap address 0.
>
> Comments?

User zero is not neccessarily mapped at kernel zero so your argument
isn't portable either.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/