diff options
author | Christian Brauner <[email protected]> | 2020-06-01 11:50:07 -0700 |
---|---|---|
committer | Kees Cook <[email protected]> | 2020-07-10 16:01:51 -0700 |
commit | 76194c4e830d570d9e369d637bb907591d2b3111 (patch) | |
tree | f309b4a62abc68b2c0d48d27210770e8b345a9cd /lib/mpi/mpi-sub-ui.c | |
parent | 3a15fb6ed92cb32b0a83f406aa4a96f28c9adbc3 (diff) |
seccomp: Lift wait_queue into struct seccomp_filter
Lift the wait_queue from struct notification into struct seccomp_filter.
This is cleaner overall and lets us avoid having to take the notifier
mutex in the future for EPOLLHUP notifications since we need to neither
read nor modify the notifier specific aspects of the seccomp filter. In
the exit path I'd very much like to avoid having to take the notifier mutex
for each filter in the task's filter hierarchy.
Cc: Tycho Andersen <[email protected]>
Cc: Kees Cook <[email protected]>
Cc: Matt Denton <[email protected]>
Cc: Sargun Dhillon <[email protected]>
Cc: Jann Horn <[email protected]>
Cc: Chris Palmer <[email protected]>
Cc: Aleksa Sarai <[email protected]>
Cc: Robert Sesek <[email protected]>
Cc: Jeffrey Vander Stoep <[email protected]>
Cc: Linux Containers <[email protected]>
Signed-off-by: Christian Brauner <[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