lkml.org 
[lkml]   [2003]   [Oct]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Who changed /proc/<pid>/ in 2.6.0-test5-bk9?
Date
In article <20031002223550.GB13853@mail.shareable.org>,
Jamie Lokier <jamie@shareable.org> wrote:
>Miquel van Smoorenburg wrote:
>> How about use /proc/self/task/self/fd/%d if /proc/self/task/self
>> exists, /proc/self/fd/%d otherwise ?
>
>/dev/stdin is a symbolic link to /proc/self/fd/0.
>
>open("/dev/stdin", O_RDONLY) should always work, if descriptor 0 is readable.
>
>Maybe you're saying /dev/stdin should be changed to link to
>/proc/self/task/self/fd/0?

You're right, that would not fly. Scrap that idea.

Mike.

-
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:49    [W:0.606 / U:0.216 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site