lkml.org 
[lkml]   [2006]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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-2014 Jasper Spaans. Advertise on this site