Re: RFC/PATCH: Random pid generation

From: Helge Hafting (helgehaf@idb.hist.no)
Date: Tue Jan 11 2000 - 04:07:40 EST


> Short summary:
> More and more programs (eg
> CGI-Scripts) use the PID as pseudo-random number.
> As this isn't really
> random and easily guessed from the outside (esp. with
> daemons loaded while
> booting) it's a little bit troublesome.

Seems to me these programs needs fixing then!

You usually don't need a pseudo-random generator
at all, because you can get better random numbers
from /dev/random (or /dev/urandom) anyway.

If you really need a seed for a repeatable
pseudo-random generator, consider pulling the seed from
/dev/random.

Helge Hafting

-
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:17 EST