Re: RFC/PATCH: Random pid generation (2nd try) - sorry

From: Martin Dalecki (dalecki@cs.net.pl)
Date: Wed Jan 12 2000 - 05:56:44 EST


"Ph. Marek" wrote:
>
> Sorry - message got broken my mailer ...
> -
>
> Hi Linus, hi Alan, hi everybody else not explicitly mentioned,
>
> here's a patch for testing (comments please cc: to me) and
> inclusion for the 2.3 series (if believed to be ok).
>
> Short summary:
> More and more programs (eg CGI-Scripts) use the PID as pseudo-random number.

Woah!!!!!!!!! Ha ha ha ha ha. You saved my day really!
Let me guess those programms are in perl?

> As this isn't really random and easily guessed from the outside (esp. with
> daemons loaded while booting) it's a little bit troublesome.
> My patch allows some kind of modification to the current routing which just
> increments the last pid until a free pid is found.

--
	Marcin Dalecki

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