From owner-freebsd-audit Sat Jan 13 5:28:26 2001 Delivered-To: freebsd-audit@freebsd.org Received: from peitho.fxp.org (peitho.fxp.org [209.26.95.40]) by hub.freebsd.org (Postfix) with ESMTP id E5D5E37B400; Sat, 13 Jan 2001 05:28:08 -0800 (PST) Received: by peitho.fxp.org (Postfix, from userid 1000) id C88DC1360C; Sat, 13 Jan 2001 08:28:51 -0500 (EST) Date: Sat, 13 Jan 2001 08:28:51 -0500 From: Chris Faulhaber To: Kris Kennaway Cc: freebsd-audit@FreeBSD.ORG Subject: Re: temp dirs in Makefile.inc1 Message-ID: <20010113082851.A25433@peitho.fxp.org> Mail-Followup-To: Chris Faulhaber , Kris Kennaway , freebsd-audit@FreeBSD.ORG References: <20010111101813.A76735@peitho.fxp.org> <20010112185733.C25168@citusc.usc.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010112185733.C25168@citusc.usc.edu>; from kris@FreeBSD.ORG on Fri, Jan 12, 2001 at 06:57:33PM -0800 Sender: owner-freebsd-audit@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, Jan 12, 2001 at 06:57:33PM -0800, Kris Kennaway wrote: > On Thu, Jan 11, 2001 at 10:18:13AM -0500, Chris Faulhaber wrote: > > > I submitted a patch to marcel (who did not object) to use mktemp(1) > > for a more secure directory name. However, I wanted to run it by > > -audit before committing... Personally, I have been running with > > this patch on -current for over a month without problems. > > Doesn't it have problems cleaning up the temporary directory once finished? > > It also creates the directory when it's not needed (e.g. for other > make targets) because the creation is done at an earlier point. > > I've been running with this almost identical patch for a few months, > which works, but I don't like the way it does it. > Yeah, guess I overlooked the other targets. Lemme see if I can come up with a better method that doesn't involve creating the dir only when needed. -- Chris D. Faulhaber - jedgar@fxp.org - jedgar@FreeBSD.org -------------------------------------------------------- FreeBSD: The Power To Serve - http://www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-audit" in the body of the message