diff options
author | Sargun Dhillon <[email protected]> | 2020-06-01 04:25:32 -0700 |
---|---|---|
committer | Kees Cook <[email protected]> | 2020-07-10 16:01:51 -0700 |
commit | 9f87dcf14b82b05ff0e26970439b372ae135de0c (patch) | |
tree | 2662a851bf5bb5829349aebc2af6e36d0a787187 /lib/mpi/mpi-sub-ui.c | |
parent | c818c03b661cd769e035e41673d5543ba2ebda64 (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 <[email protected]>
Acked-by: Christian Brauner <[email protected]>
Reviewed-by: Tycho Andersen <[email protected]>
Cc: Matt Denton <[email protected]>
Cc: Kees Cook <[email protected]>,
Cc: Jann Horn <[email protected]>,
Cc: Robert Sesek <[email protected]>,
Cc: Chris Palmer <[email protected]>
Cc: Christian Brauner <[email protected]>
Cc: Tycho Andersen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions