]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/seccomp: check that a zombie leader doesn't affect others
authorAndrei Vagin <avagin@google.com>
Fri, 28 Jun 2024 02:10:14 +0000 (02:10 +0000)
committerKees Cook <kees@kernel.org>
Fri, 28 Jun 2024 16:37:11 +0000 (09:37 -0700)
commitf0c508faea645da58d6ae6b644a1b68020d5a9d2
tree69115548f1a4f1b9fd5aa6f61e8b44eb9802afc9
parent39a73b4aa69aeb1adcf9960710c12842a4092b7a
selftests/seccomp: check that a zombie leader doesn't affect others

Ensure that a dead thread leader doesn't prevent installing new filters
with SECCOMP_FILTER_FLAG_TSYNC from other threads.

Signed-off-by: Andrei Vagin <avagin@google.com>
Link: https://lore.kernel.org/r/20240628021014.231976-5-avagin@google.com
Reviewed-by: Tycho Andersen <tandersen@netflix.com>
Signed-off-by: Kees Cook <kees@kernel.org>
tools/testing/selftests/seccomp/seccomp_bpf.c