• Kees Cook's avatar
    seccomp: Adjust selftests to avoid double-join · 93bd70e3
    Kees Cook authored
    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: default avatarKees Cook <keescook@chromium.org>
    93bd70e3
seccomp_bpf.c 62.1 KB