Path: utzoo!attcan!telly!druid!darcy From: darcy@druid.uucp (D'Arcy J.M. Cain) Newsgroups: comp.unix.wizards Subject: Re: Can two processes have the same pid? Summary: Ultrix allows 2 processes with same PID Keywords: duplicate pid, inherited process. Message-ID: <1990Jun10.185853.15235@druid.uucp> Date: 10 Jun 90 18:58:53 GMT References: <1049@umvlsi.ecs.umass.edu> Reply-To: darcy@druid.UUCP (D'Arcy J.M. Cain) Organization: D'Arcy Cain Consulting, West Hill, Ontario Lines: 18 In article <1049@umvlsi.ecs.umass.edu> hegde@umvlsi.ecs.umass.edu (Uday Hegde) writes: > [...] >Doing a "ps" revealed that there was one other process, belonging to >some other user, which had pid 29973 and my process was still around! > [...] >Is this behavior common among UNIX-like systems or is it a bug in ULTRIX? I don't know about ULTRIX but I am sure that if that happens it is a serious bug. The only kernel source I have access to is Minix and that looks at each active PID in the system before assigning a new one to make sure that there is no duplication. -- D'Arcy J.M. Cain (darcy@druid) | Government: D'Arcy Cain Consulting | Organized crime with an attitude West Hill, Ontario, Canada | (416) 281-6094 |