lkml.org 
[lkml]   [2010]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: [PATCH 4/6] procfs: Use generic_file_llseek in /proc/vmcore
    Date
    On Tuesday 30 March 2010, Frederic Weisbecker wrote:
    > /proc/vmcore has no llseek and then falls down to use default_llseek.
    > This is racy against read_vmcore() that directly manipulates fpos
    > but it doesn't hold the bkl there so using it in llseek doesn't
    > protect anything.
    >
    > Let's use generic_file_llseek() instead.
    >
    Acked-by: Arnd Bergmann <arnd@arndb.de>


    \
     
     \ /
      Last update: 2010-03-30 12:41    [W:3.700 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site