RE: Why wrapping PIDs is evil [was 32bit]

From: David Schwartz (davids@webmaster.com)
Date: Sun Jan 16 2000 - 19:29:00 EST


> "David Schwartz" <davids@webmaster.com> said:
>
> [...]
>
> > The point here is not that it's possible to do unsafe things but
> > that it's impossible to do safe things. A person or program
> > that wants to
> > kill a particular process has, in principle, no way to do it
> > without fear
> > of killing innocent processes.

> Right. Iff you manage to wrap pids around in a jiffy, and you have the
> right to kill the new process. Not exactly probable in the
> current state of
> things, is it.

        The process may have been running for a long time. The PIDs may have
already wrapped around.

> I agree with you (and Pavel) in an abstract sense, but this has absolutely
> no practical impact AFAIKS.

        I wouldn't go so far as to say "absolutely no practical impact", but I
would say virtually no practical impact. :)

        DS

-
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 : Sun Jan 23 2000 - 21:00:14 EST