lkml.org 
[lkml]   [2003]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: BUG in fs/proc/generic.c:proc_file_read
    Date
    In message <Pine.LNX.4.44.0308072346020.3811-100000@localhost.localdomain> you write:
    > In short:
    > The hack used to be able to read proc files larger than 4k, breaks if the
    > caller does lseek() after read()

    Hmm, my more(1) does this too. What a PITA. less(1) does not.

    I've never noticed it before, though. I certainly didn't notice it
    when I implemented the hack.

    Of course, converting to seq_file is probably the nicest solution
    these days.

    Rusty.
    --
    Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:47    [W:2.528 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site