lkml.org 
[lkml]   [1998]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: PID sequences
Miguel de Icaza wrote:
> > Always remember, often it is more important to consider not what
> > applications "should" be doing, but rather what on the whole
> > applications and existing code "are" doing.
>
> OpenBSD uses random pid numbers now. If OpenBSD was able to fix their
> userland, so can we.

There is a difference between using random PIDs (which should not
cause a problem) and re-using PIDs. I've seen some shell scripts
which start a child process and then kill it after some time. When
the child exists and the PID has been re-used in the meantime, this
would subtly break. Agreed this is a somewhat broken as it relies
on some time frame before PIDs are re-used but this is safe with
the current aproach.


Michael

--
Michael Marxmeier Marxmeier Software GmbH
E-Mail: mike@msede.com Suedstrasse 58
Voice : +49 202 2431440 42119 Wuppertal, Germany
Fax : +49 202 2431420 http://www.msede.com/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.063 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site