Messages in this thread | | | From | (Miquel van Smoorenburg) | Subject | Re: RFC/PATCH: Random pid generation | Date | 11 Jan 2000 00:16:11 GMT |
| |
In article <cistron.3.0.6.32.20000110082554.009eca80@pop3.bmlv.gv.at>, Ph. Marek <marek@mail.bmlv.gv.at> wrote: >My patch allows some kind of >modification to the current routing which just >increments the last pid >until a free pid is found. > >Possible are >- last_pid+1 (as before); >- >complete random (entropy pool); >- low and/or high byte randomness added; >- >multiply last_pid with prime, add another prime; >- pseudo-random.
Did you make sure that a recently used PID is not re-used immidiately? Many programs depend on that behaviour.
BTW, the uuencoded part was munged by some email gateway between you and the linux-kernel mailing list server.
Mike. -- The From: and Reply-To: addresses are internal news2mail gateway addresses. Reply to the list or to miquels@cistron.nl (Miquel van Smoorenburg)
- 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/
| |