On Tue, Jan 11, 2000 at 08:20:54PM +0100, Marcus Sundberg wrote:
> Stephen Frost <sfrost@ns.snowman.net> writes:
>
> > People use the PID to create temp files and whatnot,
> > from what I've seen.
>
> And they do that in order to get a unique number, not a random number.
This is also a really bad idea, because with easily guessable pids you
are opening yourself to /tmp races. This is actually a argument for
random pids (or fixing the programs).
Sean
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:21 EST