Re: [uClinux-dev] bug in order>0 page allocations with !CONFIG_MMU

From: David Howells
Date: Fri Nov 05 2004 - 07:12:57 EST



> > Why is doing this necessary at all? No one should be touching the
> > individual pages of a block allocation. The kernel should defend itself
> > against userspace trying to munmap part of a multipage mmap.
>
> I don't recall right now why we had to do this originally.
> It was absolutely neccessary once, but I don't think we need
> this anymore. At least it runs fine on m68knommu targets now
> without this.

I've just found out what it's necessary for. access_process_vm() as called
from, say, /proc/cmdline.

David
-
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/