lkml.org 
[lkml]   [2006]   [Oct]   [6]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateThu, 05 Oct 2006 21:34:13 -0700
FromJeremy Fitzhardinge <>
SubjectRe: 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/

\
 
 \ /
  Last update: 2006-10-06 06:37    [from the cache]
©2003-2008