aboutsummaryrefslogtreecommitdiff
path: root/kernel/exit.c
diff options
context:
space:
mode:
authorSargun Dhillon2020-06-01 04:25:32 -0700
committerKees Cook2020-07-10 16:01:51 -0700
commit9f87dcf14b82b05ff0e26970439b372ae135de0c (patch)
tree2662a851bf5bb5829349aebc2af6e36d0a787187 /kernel/exit.c
parentc818c03b661cd769e035e41673d5543ba2ebda64 (diff)
seccomp: Add find_notification helper
This adds a helper which can iterate through a seccomp_filter to find a notification matching an ID. It removes several replicated chunks of code. Signed-off-by: Sargun Dhillon <sargun@sargun.me> Acked-by: Christian Brauner <christian.brauner@ubuntu.com> Reviewed-by: Tycho Andersen <tycho@tycho.ws> Cc: Matt Denton <mpdenton@google.com> Cc: Kees Cook <keescook@google.com>, Cc: Jann Horn <jannh@google.com>, Cc: Robert Sesek <rsesek@google.com>, Cc: Chris Palmer <palmer@google.com> Cc: Christian Brauner <christian.brauner@ubuntu.com> Cc: Tycho Andersen <tycho@tycho.ws> Link: https://lore.kernel.org/r/20200601112532.150158-1-sargun@sargun.me Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'kernel/exit.c')
0 files changed, 0 insertions, 0 deletions