On Mon, Nov 19, 2012 at 01:25:54PM +0100, Thomas Schwinge wrote: > Richard wants to address this problem, but in the mean time, I'm using > the following patch, which makes such a vm_map call return > KERN_INVALID_ARGUMENT, translated to EINVAL for mmap > (hurd/hurd.h:__hurd_fail).
It's actually the only thing to do here. As discussed on IRC, I added another check in vm_map_enter to catch wrong internal calls, and committed the change. -- Richard Braun