From owner-cvs-all Wed Sep 26 1:52:40 2001 Delivered-To: cvs-all@freebsd.org Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by hub.freebsd.org (Postfix) with ESMTP id 390FB37B401; Wed, 26 Sep 2001 01:52:30 -0700 (PDT) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.11.2/8.11.2) id f8Q8opP41364; Wed, 26 Sep 2001 11:50:51 +0300 (EEST) (envelope-from ru) Date: Wed, 26 Sep 2001 11:50:51 +0300 From: Ruslan Ermilov To: Sheldon Hearn Cc: Giorgos Keramidas , Matt Dillon , 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> References: <20010926055625.A21817@hades.hell.gr> <63391.1001491305@axl.seasidesoftware.co.za> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <63391.1001491305@axl.seasidesoftware.co.za>; from sheldonh@starjuice.net on Wed, Sep 26, 2001 at 10:01:45AM +0200 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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