Re: PID sequences
H. Peter Anvin (hpa@transmeta.com)
24 Feb 1998 02:32:22 GMT
Followup to: <19980223174907.52885@avanticorp.com>
By author: Jim Nance <jlnance@avanticorp.com>
In newsgroup: linux.dev.kernel
>
> Hello all,
> I have been meaning to post this for about a year but I keep
> forgetting :-( I'm waiting on something to finish running, and I
> finally remembered.
>
> I have seen severl posts (over the last couple of years) where
> people complained about either performance or security problems related
> to generating PID numbers for child processes at fork() time. There is
> the assumption that PID numbers increase, skipping over in-use PIDs,
> and then wrap at 32K. I dont think Digital Unix does it this way:
>
All of these assumptions are bad. There are a number of systems which
don't follow this, including AIX.
-hpa
--
PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD 1E DF FE 69 EE 35 BD 74
See http://www.zytor.com/~hpa/ for web page and full PGP public key
I am Bahá'í -- ask me about it or see http://www.bahai.org/
"To love another person is to see the face of God." -- Les Misérables
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu