Messages in this thread |  | | | From | (Eric W. Biederman) | | Subject | Re: [patch 1/4] fs, proc: Introduce /proc/<pid>/task/<tid>/children entry v8 | | Date | Tue, 24 Jan 2012 00:52:03 -0800 |
| |
Cyrill Gorcunov <gorcunov@gmail.com> writes:
> On Tue, Jan 24, 2012 at 04:07:09PM +0900, KAMEZAWA Hiroyuki wrote: >> > >> > Hmm. But userspace app will get eof, so frankly I don't see >> > a problem here. Or maybe I miss something? >> > >> >> Userspace need to take care of whether there may be"\n" or not even >> if read() returns EOF. >> As an interface, it's BUG to say "\n" will be there if you're lucky!" >> (*) I know script language can handle this but we shouldn't assume that. >> >> How about just remove "\n" at EOF ? I think it's unnecessary. >> > > Sure thing, it's not a problem to remove it completely.
Foolish question. Is there any reason why this is a file instead of being the obvious directory full of symlinks?
Eric
|  |