commit | 93bd70e3330be45542c455dde11d8dc657ab3044 | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Mon Mar 20 16:41:35 2017 -0700 |
committer | Kees Cook <keescook@chromium.org> | Mon Jun 26 09:22:33 2017 -0700 |
tree | ecf3d715829d8c863d007eb57077346a11127ef5 | |
parent | 131b63515932d18a3b1a60db3958f3c0dd5462bc [diff] |
seccomp: Adjust selftests to avoid double-join While glibc's pthread implementation is rather forgiving about repeat thread joining, Bionic has recently become much more strict. To deal with this, actually track which threads have been successfully joined and kill the rest at teardown. Based on a patch from Paul Lawrence. Cc: Paul Lawrence <paullawrence@google.com> Signed-off-by: Kees Cook <keescook@chromium.org>