lkml.org 
[lkml]   [2016]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: tmpfs returns incorrect data on concurrent pread() and truncate()
    From
    Date
    First of all, thanks for your replies!

    On 02.11.2016 00:51, Hugh Dickins wrote:
    > I don't think that there will be much appetite for changing the
    > kernel's VFS to prevent that. I hope that gocryptfs can provide
    > the serialization that it needs for itself, or otherwise handle
    > those zeroes without crashing.

    Yes, I dropped the nonce sanity check, the MAC will catch the corruption
    anyway.

    Just FYI, xfstests generic/075 discovered this. The test itself does not check
    the data it gets back, which is why it usually passes.

    Best regards,
    Jakob

    \
     
     \ /
      Last update: 2016-11-04 00:45    [W:3.898 / U:0.340 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site