lkml.org 
[lkml]   [2008]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: BUG: mmapfile/writev spurious zero bytes (x86_64/not i386, bisected, reproducable)
    On Tue, Jun 17, 2008 at 02:24:39PM -0700, Linus Torvalds wrote:

    > The whole *and*only* reason for copy_to/from_user() existing AT ALL is
    > exactly the fact that the source or destination access can fault.

    Erm... The reason for copy_to_user() existing is that dereferencing
    a user-supplied address in the kernel does not have to access any
    memory reachable in user mode, regardless of any faults. WTF are you
    guys talking about?


    \
     
     \ /
      Last update: 2008-06-17 23:39    [W:0.019 / U:0.412 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site