lkml.org 
[lkml]   [1998]   [Oct]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Linux 2.1.125 doesn't dump core on SIGSEGV
Date
> On Tue, Oct 20, 1998 at 02:38:55PM +0100, David Woodhouse wrote:
> > How about providing a new flag to open(2) which tells it not to
> > follow links?
>
> Because the VFS doesn't support this - and it still doesn't help in
> the hard link instance.
>
> I've yet to here why stat then a sanity check won't work.

A stat is non atomic. Even an open and lstat is non atomic on NFS. Doing
local locking helps but you don't want to let lusers single thread the VFS
at while when we are targetting 64 processors...

To wear a linus impersonator hat
O_NOFOLLOW is the generic solution to that and a pile of other link handling
problems

Alan


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