Re: ext2 attribute immutable

Jirka Hanika (HANIKA@ksvi.mff.cuni.cz)
Fri, 5 Apr 1996 15:17:03 +0200 (METDST)


> Testing this with a bash script, I counted the pid up to 32,750 and then did
> 'ps' manually until the pid wrapped. The pid did NOT wrap to 100 or 300, it
> wrapped to '4'... skipping 1,2,3 which were taken.
>
> So in linux, it wraps to 1, but seems to skip in-use pid's (which would
> prevent the attack shown above.)
>
> Using ps further, it seems to skip in use pid's in every assignment (ie not
> just on wrap.)

Of course it skips in-use pid's, but what if I kill -9 1 just before
I wrap the pids? Will it wrap to 1?

*