selftest/seccomp: add a new test for the sync mode of seccomp_user_notify
authorAndrei Vagin <avagin@google.com>
Wed, 8 Mar 2023 07:32:00 +0000 (23:32 -0800)
committerKees Cook <keescook@chromium.org>
Mon, 17 Jul 2023 23:08:08 +0000 (16:08 -0700)
commit8feae5adec17ec190118ad84da84a6ad9fa3e30b
treec38ecca1d6873335c0a93207508ffc46443042f3
parent48a1084a8b7423642b5f17ca6202f6f277c5392b
selftest/seccomp: add a new test for the sync mode of seccomp_user_notify

Test output:
 #  RUN           global.user_notification_sync ...
 #            OK  global.user_notification_sync
 ok 51 global.user_notification_sync

Signed-off-by: Andrei Vagin <avagin@google.com>
Acked-by: "Peter Zijlstra (Intel)" <peterz@infradead.org>
Link: https://lore.kernel.org/r/20230308073201.3102738-6-avagin@google.com
Signed-off-by: Kees Cook <keescook@chromium.org>
tools/testing/selftests/seccomp/seccomp_bpf.c