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

From: Jeremy Fitzhardinge
Date: Fri Oct 06 2006 - 00:34:32 EST


David Wagner wrote:
Is this right? Have I correctly understood the issue?

More or less, though a simpler example would be something like:

if (thing->uid == 0)
do_magic();

and if "thing" happens to be in userspace (NULL or otherwise) then the user can control this test. So the answer is that the kernel shouldn't be looking at uninitialized pointers.

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