From owner-cvs-src@FreeBSD.ORG Tue May 17 12:45:09 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC33F16A4CE; Tue, 17 May 2005 12:45:09 +0000 (GMT) Received: from mailout07.sul.t-online.com (mailout07.sul.t-online.com [194.25.134.83]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B5D343D5D; Tue, 17 May 2005 12:45:09 +0000 (GMT) (envelope-from netchild@FreeBSD.org) Received: from fwd17.aul.t-online.de by mailout07.sul.t-online.com with smtp id 1DY1RW-0007hV-00; Tue, 17 May 2005 14:45:02 +0200 Received: from Andro-Beta.Leidinger.net (ZYM7QaZVYeUnoiHY5fY8kzHtzSnTAl390MDtCx0YJFKQg7JLnglIk0@[217.229.222.90]) by fwd17.sul.t-online.de with esmtp id 1DY1RH-0HGELY0; Tue, 17 May 2005 14:44:47 +0200 Received: from localhost (localhost [127.0.0.1])j4HCikdI069517; Tue, 17 May 2005 14:44:46 +0200 (CEST) (envelope-from netchild@FreeBSD.org) Received: from 141.113.101.32 ([141.113.101.32]) by netchild.homeip.net (Horde MIME library) with HTTP for ; Tue, 17 May 2005 14:44:46 +0200 Message-ID: <20050517144446.gibxprydoosokw0k@netchild.homeip.net> X-Priority: 3 (Normal) Date: Tue, 17 May 2005 14:44:46 +0200 From: Alexander Leidinger To: Max Okumoto References: <200505121545.j4CFjENu078768@repoman.freebsd.org> <20050512180743.6z1h22fldwksgw4w@netchild.homeip.net> <42897003.2090005@ucsd.edu> In-Reply-To: <42897003.2090005@ucsd.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.0.3) / FreeBSD-4.11 X-ID: ZYM7QaZVYeUnoiHY5fY8kzHtzSnTAl390MDtCx0YJFKQg7JLnglIk0@t-dialin.net X-TOI-MSGID: fb3dce7d-dcfc-445a-9e78-0cfb8b0033de X-Mailman-Approved-At: Tue, 17 May 2005 13:01:50 +0000 cc: cvs-src@FreeBSD.org cc: harti@freebsd.org Subject: Re: cvs commit: src/usr.bin/make job.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 May 2005 12:45:10 -0000 Max Okumoto wrote: > If I use mkdtemp(), there is a chance that someone with the > same UID could race to build the fifo. Do we care about > races with ourselves? Or am I just being toooo paranoid? :-) Are you sure? mkdtemp() generates a "random" name like mkstemp() does, so the race would have existed already before (but the probability is very low that two make instances generate the same name)... Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 Oh my God! Space aliens! Don't eat me, I have a wife and kids! Eat them. -- Homer Simpson Treehouse of Horror VII