Fix the fact that pte_mkread set _PAGE_RW instead of _PAGE_USER (the logic is
copied from i386 in most place, so it is really as bad as you're thinking).
Thus currently page tables are more permissive than they should.
Such a change may trigger other latent bugs, so be careful with this.
Signed-
On Saturday 10 February 2007 23:21, Jeff Dike wrote:
> On Sat, Feb 10, 2007 at 01:31:20PM +0100, Blaisorblade wrote:
> > libc's printf has an enormous stack usage, so that my_printf is used for
> > direct output instead of printf; if this is ok because it's bootup
> > code,
>
> It is bootup code on