Re: 2.0.31-pre9 + QNX + NoStackExec weirdness

Nathan Bryant (nathan@nbryan71.dorm.usm.maine.edu)
Wed, 17 Sep 1997 10:22:54 -0400 (EDT)


On Tue, 16 Sep 1997, Andrej Presern wrote:

> Now what I found to be weird here is that when I did this exact
> same command before the reboot (when I couldn't login), I got
> the 'grep dctrl' command in the listing too.. why is that? One
> time I get both commands and the other I get just one? What's
> the trick here?

It's a race condition in the interaction between ps and grep. Sometimes
grep hasn't started until after ps completes; other times it has.

Nathan Bryant
nathan@nbryan71.dorm.usm.maine.edu
nbryan71@mail.caps.maine.edu