• Andrew Morton's avatar
    [PATCH] sendfile calls lock_verify_area with wrong parameters · cd118432
    Andrew Morton authored
    From: Manfred Spraul <manfred@colorfullife.com>
    
    sendfile supports reading from a given start offset for in_file, like
    pread.  But for the locks_verify_area call, in_file->f_pos is always used,
    even if a start offset is used.  Result: wrong area is checked for
    mandatory locks.
    cd118432
read_write.c 13.8 KB