Re: Linux 2.1.125 doesn't dump core on SIGSEGV

Tom Eastep (eastep@loc1.tandem.com)
Tue, 10 Nov 1998 16:20:17 -0800


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/