diff options
author | Paul Lawrence <paullawrence@google.com> | 2017-03-30 19:47:56 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-03-30 19:47:56 +0000 |
commit | 8d80b6d592c39966c056630363802a06954e18f0 (patch) | |
tree | ec02e0e29aa1df5271064089d5a3421026458541 | |
parent | a30806fac718829c9744b6675e6583cbf2eaf5b4 (diff) | |
parent | 2f185185b491c6ddb7e45eb5cc827b484597dd37 (diff) | |
download | seccomp-tests-8d80b6d592c39966c056630363802a06954e18f0.tar.gz |
Fix seccomp test on bullhead am: 9ec051c31f am: e602290af5 am: 4ff932db9f
am: 2f185185b4
Change-Id: I1fa838c7dcf5b40c0a5c83d77803df24f97ce400
-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) |