Re: [PHP-DEV] Two the same pids, possibe? From: Sascha Schumann (sascha <email protected>)
Date: 11/29/00

On Wed, 29 Nov 2000, Hartmut Holzgraefe wrote:

> Wico de Leeuw wrote:
> > "Note that when running as a server module, separate invocations of the
> > script are not guaranteed to have distinct pids."
> >
> > Can somebody explain me how 2 scripts can have the same pid? (Thats how I
> > read it)
>
> ... multithreaded servers ...

    Or process-based servers which handle multiple subsequent
    requests in the same process context (like Apache 1.3). The
    above quote might be rewritten as "Process IDs are not
    unique, thus they are a weak entropy source. We recommened
    against relying on pids in security-dependent contexts."

    - Sascha

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>