lkml.org 
[lkml]   [1998]   [Nov]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux 2.1.125 doesn't dump core on SIGSEGV
Chris Wedgwood wrote:
>
> Right now, we don't follow links for O_CREAT|O_EXCL,

That's what we did as well...

> although now
> that O_NOFOLLOW is available, we could arguably allow this and just
> force userspace to use it.

Yes -- I like that idea but I suspect people are depending on the current
behavior...

>
> Initially I chose EACES but later changed it to ELOOP to be
> consistent with FreeBSD if for no other reason (it is somewhat more
> logical too). This is presently the state of 2.1.127.

I found no guidence from the standards so chose EEXIST because that's what gets
returned if any other type of file with the supplied name exists. OTOH, ELOOP at
does clue the caller that there's a symbolic link involved.

Tom
--
Tom Eastep
COMPAQ Computer Corporation
Enterprise Computing Group
Tandem Division
tom.eastep@compaq.com

-
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.045 / U:0.220 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site