Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jan 2001 08:28:51 -0500
From:      Chris Faulhaber <jedgar@fxp.org>
To:        Kris Kennaway <kris@FreeBSD.ORG>
Cc:        freebsd-audit@FreeBSD.ORG
Subject:   Re: temp dirs in Makefile.inc1
Message-ID:  <20010113082851.A25433@peitho.fxp.org>
In-Reply-To: <20010112185733.C25168@citusc.usc.edu>; from kris@FreeBSD.ORG on Fri, Jan 12, 2001 at 06:57:33PM -0800
References:  <20010111101813.A76735@peitho.fxp.org> <20010112185733.C25168@citusc.usc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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