Re: AIX and Interix also do early PID recycling.

2012-07-24 Thread Chet Ramey
On 7/24/12 12:54 PM, Michael Haubenwallner wrote: >> (What >> would you expect bash to do about it in the first place?) It may also >> interest you to know that there are some operating systems that use >> random PID allocation, instead of sequential (OpenBSD for example). > > PID randomisation

Re: AIX and Interix also do early PID recycling.

2012-07-24 Thread Michael Haubenwallner
On 07/24/2012 05:49 PM, Greg Wooledge wrote: > On Tue, Jul 24, 2012 at 05:03:36PM +0200, michael.haubenwall...@salomon.at > wrote: >> Description: >> On AIX (5.3, 6.1, 7.1), as well as on Interix (any version) I do >> encounter >> some race condition in a code similar to: >> i

Re: AIX and Interix also do early PID recycling.

2012-07-24 Thread Greg Wooledge
On Tue, Jul 24, 2012 at 05:03:36PM +0200, michael.haubenwall...@salomon.at wrote: > Description: > On AIX (5.3, 6.1, 7.1), as well as on Interix (any version) I do > encounter > some race condition in a code similar to: > if grep "unwanted" /some/nonexistent/filename >

AIX and Interix also do early PID recycling.

2012-07-24 Thread michael . haubenwallner
Configuration Information [Automatically generated, do not change]: Machine: powerpc OS: aix5.3.0.0 Compiler: powerpc-ibm-aix5.3.0.0-gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='powerpc' -DCONF_OSTYPE='aix5.3.0.0' -DCONF_MACHTYPE='powerpc-ibm-aix5.3.0.0' -DCONF_VENDOR='ibm' -DLOCALE