diff options
author | Paul Lawrence <paullawrence@google.com> | 2017-03-30 19:42:26 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-03-30 19:42:26 +0000 |
commit | e602290af558cee366ec98e366e0e8460c39534e (patch) | |
tree | ec02e0e29aa1df5271064089d5a3421026458541 | |
parent | be22559413d212b465e4ab685d46201a678eb494 (diff) | |
parent | 9ec051c31fd967c1b0ddcccb7e0cc2bcf61f90ca (diff) | |
download | seccomp-tests-e602290af558cee366ec98e366e0e8460c39534e.tar.gz |
Fix seccomp test on bullhead
am: 9ec051c31f
Change-Id: I0d46900fabc5519217437d9724bfcbf375f8063e
-rw-r--r-- | linux/seccomp_bpf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/seccomp_bpf.c b/linux/seccomp_bpf.c index 6f5b786..949ac25 100644 --- a/linux/seccomp_bpf.c +++ b/linux/seccomp_bpf.c @@ -1803,8 +1803,10 @@ TEST_F(TSYNC, siblings_fail_prctl) /* Ensure diverging sibling failed to call prctl. */ pthread_join(self->sibling[0].tid, &status); EXPECT_EQ(SIBLING_EXIT_FAILURE, (long)status); + self->sibling[0].tid = 0; pthread_join(self->sibling[1].tid, &status); EXPECT_EQ(SIBLING_EXIT_UNKILLED, (long)status); + self->sibling[1].tid = 0; } TEST_F(TSYNC, two_siblings_with_ancestor) |