Fix security_SandboxLinuxUnittests with glibc 2.27

glibc 2.27 changed the implementation of the "raise" system call
to block all signals and call getpid/gettid, and then finally call raise.
This implementation breaks our test, so we use 'kill' instead.

BUG=chromium:896903
TEST=sandbox_linux_unittests passes on host with glibc 2.23 and glibc 2.27.

Change-Id: I4a037989cddb29d7dff2741f3abd03947feef8b2
Reviewed-on: https://chromium-review.googlesource.com/c/1294845
Reviewed-by: Robert Sesek <rsesek@chromium.org>
Commit-Queue: Yunlian Jiang <yunlian@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#602129}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 76af09195e66f80dd60b9c4e356c4bf8aa2c8567
1 file changed