[libFuzzer] Use PID to send signals rather than process name.
authorMatt Morehouse <mascasa@google.com>
Thu, 16 May 2019 01:32:39 +0000 (01:32 +0000)
committerMatt Morehouse <mascasa@google.com>
Thu, 16 May 2019 01:32:39 +0000 (01:32 +0000)
commitab10de8bab27cbaf43ecc88606475c56d56fdb75
treef5f50cf5bc22e9f45576939ac7e9b74eecee0ca6
parent29ff0f25196a9feb5b4516a145075d9aa36dd183
[libFuzzer] Use PID to send signals rather than process name.

pkill reads the process name as a pattern, not a raw name.  This means
that if the process name contains + or other regex characters, pkill
fails.

llvm-svn: 360835
compiler-rt/test/fuzzer/fork-sigusr.test
compiler-rt/test/fuzzer/merge-sigusr.test