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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux