Messages in this thread | | | From | Rusty Russell <> | Subject | Re: BUG in fs/proc/generic.c:proc_file_read | Date | Sun, 10 Aug 2003 15:07:42 +1000 |
| |
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/
| |