]> granicus.if.org Git - procps-ng/commit
pgrep SID=1 is valid
authorCraig Small <csmall@enc.com.au>
Sat, 9 May 2015 07:53:08 +0000 (17:53 +1000)
committerCraig Small <csmall@enc.com.au>
Sat, 9 May 2015 07:53:08 +0000 (17:53 +1000)
commit34a1194af8825911a87155d0d1ff718a2c101970
tree9a8d8116dec1b585809a897dff0b21d0a4b97ad7
parent4050148a4533e8a79cef0d7dcd0c058d78c48a31
pgrep SID=1 is valid

On most systems the only process with a SID=1 is init
and certainly not a test sleep.  On docker systems this
test program IS on SID=1 and so our "impossible SID" becomes
possible.
testsuite/pgrep.test/pgrep.exp