Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Dec 2000 17:13:34 -0500
From:      Will Andrews <will@physics.purdue.edu>
To:        Chris Faulhaber <jedgar@fxp.org>
Cc:        freebsd-audit@FreeBSD.ORG
Subject:   Re: mktemp(1) usage
Message-ID:  <20001209171334.J671@puck.firepipe.net>
In-Reply-To: <20001209150853.A57045@peitho.fxp.org>; from jedgar@fxp.org on Sat, Dec 09, 2000 at 03:08:54PM -0500
References:  <20001209150853.A57045@peitho.fxp.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Dec 09, 2000 at 03:08:54PM -0500, Chris Faulhaber wrote:
> Would it be more appropriate for scripts such as periodic(8) to
> call mktemp(1) using the -t flag.  In addition to using TMPDIR,
> this allows the use of the system's _PATH_TMP instead of
> hardcoding /tmp.

Maybe that method doesn't use a random enough number to avoid file
races?

-- 
wca


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?20001209171334.J671>