diff options
author | Elliott Hughes <enh@google.com> | 2018-02-07 12:44:45 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2018-03-05 17:20:12 -0800 |
commit | 71ba5899ae5857a6510f0fa05039dccee73bcc6a (patch) | |
tree | 9d34769766ce10c95ecb32bc5ec25949007a0048 /tests/spawn_test.cpp | |
parent | 0a8d5f3eb8f4087b307f237943a19ae36b094ced (diff) |
Rewrite system(3) to use posix_spawn(3).
We saw crashes from pthread_exit+debuggerd on LP32
(https://issuetracker.google.com/72291624), and it seems like the
equivalent problem should exist with system(3). I fixed posix_spawn(3)
as part of that bug, so the easiest fix is probably to reuse that.
Bug: http://b/72470344
Test: ran tests
Change-Id: I05f838706f2b4a14ac3ee21292833e6c8579b0d4
Diffstat (limited to 'tests/spawn_test.cpp')
-rw-r--r-- | tests/spawn_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/spawn_test.cpp b/tests/spawn_test.cpp index 84df16d58..86175f927 100644 --- a/tests/spawn_test.cpp +++ b/tests/spawn_test.cpp @@ -20,7 +20,7 @@ #include <fcntl.h> #include <gtest/gtest.h> -#include "ScopedSignalHandler.h" +#include "SignalUtils.h" #include "utils.h" #include <android-base/file.h> |