[lkml]   [2008]   [Jun]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: BUG: mmapfile/writev spurious zero bytes (x86_64/not i386, bisected, reproducable)
    Linus Torvalds wrote:
    > On Tue, 17 Jun 2008, Linus Torvalds wrote:
    >> I don't think that code is reasonably salvageable. Damn.
    > Hmm. Something like this *may* salvage it.
    > Untested, so far (I'll reboot and test soon enough), but even if it fixes
    > things, it's not really very good.

    If that fixes anything:
    - The caller is broken because it shouldn't pass a faulting source to copy_to_user()
    - And you broken copy_from_user error reporting which shares the same code


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