lkml.org 
[lkml]   [1999]   [Jun]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC] Subtle race in dup2() and permissions on /proc/<pid>/fd/<n>


On Fri, 25 Jun 1999, Peter Benie wrote:

> Alexander Viro writes ("[RFC] Subtle race in dup2() and permissions on /proc/<pid>/fd/<n>"):
> >
> > 3. Why on the earth are we playing with permissions on
> > /proc/<pid>/fd/<n> *symlinks*? Is there anybody objecting to making those
> > beasts rwxrwxrwx as any other symlink?
>
> Yes. They look like symlinks, but the behaviour is closer to that of
> hard links, and the permissions do mean something. Keep them as they are.

*Only* if you are doing lstat() on them. Everything else doesn't care.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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