Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2001 11:50:51 +0300
From:      Ruslan Ermilov <ru@FreeBSD.ORG>
To:        Sheldon Hearn <sheldonh@starjuice.net>
Cc:        Giorgos Keramidas <charon@labs.gr>, Matt Dillon <dillon@earth.backplane.com>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: src/bin/cat cat.1 cat.c
Message-ID:  <20010926115051.D29020@sunbay.com>
In-Reply-To: <63391.1001491305@axl.seasidesoftware.co.za>; from sheldonh@starjuice.net on Wed, Sep 26, 2001 at 10:01:45AM %2B0200
References:  <20010926055625.A21817@hades.hell.gr> <63391.1001491305@axl.seasidesoftware.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 26, 2001 at 10:01:45AM +0200, Sheldon Hearn wrote:
> 
> 
> On Wed, 26 Sep 2001 05:56:26 +0300, Giorgos Keramidas wrote:
> 
> > And there is always a possibility of a race condition between a stat() and an
> > open().  So relying on stat() to control what open() and/or connect() will do
> > is kind of dangerous in my book :-/
> 
> I think this argument is pretty irrelevent, one way or the other, since
> a race condition exists either way.
> 
> I think mi came up with the most convincing argument, re future object
> types.
> 
Have you guys (Sheldon and Mikhail) actually looked at the patch?
It doesn't prevent opens of "any other type", only S_ISSOCK objects.


Cheers,
-- 
Ruslan Ermilov		Oracle Developer/DBA,
ru@sunbay.com		Sunbay Software AG,
ru@FreeBSD.org		FreeBSD committer,
+380.652.512.251	Simferopol, Ukraine

http://www.FreeBSD.org	The Power To Serve
http://www.oracle.com	Enabling The Information Age

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010926115051.D29020>