[lkml]   [2003]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: BUG in fs/proc/generic.c:proc_file_read
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.

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
More majordomo info at
Please read the FAQ at

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