Messages in this thread | | | Date | Thu, 05 Oct 2006 21:34:13 -0700 | From | Jeremy Fitzhardinge <> | Subject | Re: Really good idea to allow mmap(0, FIXED)? |
| |
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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |