diff options
author | 2022-05-03 01:09:58 -0700 | |
---|---|---|
committer | 2022-05-03 14:20:49 -0700 | |
commit | 3b96a9c522b2ee267fa1f46943ebc5d9cdd7b3dc (patch) | |
tree | 0fd5a8e629e0bcbeb5ff0428a6e4d0c42f4fa3d8 /include/uapi/linux/devlink.h | |
parent | selftests/seccomp: Refactor get_proc_stat to split out file reading code (diff) | |
download | linux-dev-3b96a9c522b2ee267fa1f46943ebc5d9cdd7b3dc.tar.xz linux-dev-3b96a9c522b2ee267fa1f46943ebc5d9cdd7b3dc.zip |
selftests/seccomp: Add test for wait killable notifier
This verifies that if a filter is set up with the wait killable feature
that it obeys the semantics that non-fatal signals are ignored during
a notification after the notification is received.
Cases tested:
* Non-fatal signal prior to receive
* Non-fatal signal during receive
* Fatal signal after receive
The normal signal handling is tested in user_notification_signal. That
behaviour remains unchanged.
On an unsupported kernel, these tests will immediately bail as it relies
on a new seccomp flag.
Signed-off-by: Sargun Dhillon <sargun@sargun.me>
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20220503080958.20220-4-sargun@sargun.me
Diffstat (limited to 'include/uapi/linux/devlink.h')
0 files changed, 0 insertions, 0 deletions