Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jun 2000 06:08:08 -0400
From:      Garance A Drosihn <drosih@rpi.edu>
To:        current@FreeBSD.ORG
Subject:   Re: mktemp() patch
Message-ID:  <v04210112b567c26d6eae@[128.113.24.47]>
In-Reply-To: <3941842C.DE59BF21@vangelderen.org>
References:   <Pine.BSF.4.21.0006091254540.65295-100000@freefall.freebsd.org> <3941842C.DE59BF21@vangelderen.org>

next in thread | previous in thread | raw e-mail | index | archive | help
>It's probably better to just get rid of the PID and use randomness
>throughout the name than to use 72 characters. 64^6 vs. 2*(72^3) .

I seem to be in the minority on this, but in general I *like* the
idea that the tempfiles include the pid.  It's bad because it makes
it easier for an evil-person to guess what the next tempfile will
be, but it's nice in after-the-fact situations, where there are a
bunch of tempfiles left over, and you're wondering which ones are
related (in the sense of having come from the same process, and
you can then check if the process is still running).

Not a big issue for me, as I doubt I have taken advantage of this
more often than about once every two years, but I thought I would
at least mention it.


---
Garance Alistair Drosehn           =   gad@eclipse.acs.rpi.edu
Senior Systems Programmer          or  drosih@rpi.edu
Rensselaer Polytechnic Institute


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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