Re: Fixing gnumachs vm_map

2014-11-09 Thread Samuel Thibault
Samuel Thibault, le Sat 06 Sep 2014 11:39:34 +0200, a écrit : > Justus Winter, le Fri 05 Sep 2014 14:53:52 +0200, a écrit : > > there is a bug affecting vm_map. Contrary to the documentation, > > address is not ignored if anywhere is given, leading to spurious > > KERN_NO_SPACE errors. > > Uh, th

Re: Fixing gnumachs vm_map

2014-09-06 Thread Justus Winter
Quoting Samuel Thibault (2014-09-06 11:39:35) > Justus Winter, le Fri 05 Sep 2014 14:53:52 +0200, a écrit : > > there is a bug affecting vm_map. Contrary to the documentation, > > address is not ignored if anywhere is given, leading to spurious > > KERN_NO_SPACE errors. > > Uh, that's bad indeed.

Re: Fixing gnumachs vm_map

2014-09-06 Thread Samuel Thibault
Justus Winter, le Fri 05 Sep 2014 14:53:52 +0200, a écrit : > there is a bug affecting vm_map. Contrary to the documentation, > address is not ignored if anywhere is given, leading to spurious > KERN_NO_SPACE errors. Uh, that's bad indeed. Apparently most of our source code copes with that by ex

Fixing gnumachs vm_map

2014-09-05 Thread Justus Winter
Hi :) there is a bug affecting vm_map. Contrary to the documentation, address is not ignored if anywhere is given, leading to spurious KERN_NO_SPACE errors. Test case below. I'm not sure the fix is correct, maybe we have to do if (... || start + size > map->max_offset)... or something. Pleas