seccomp: allow mode setting across threads
This changes the mode setting helper to allow threads to change the seccomp mode from another thread. We must maintain barriers to keep TIF_SECCOMP synchronized with the rest of the seccomp state. Change-Id: I289b5013928218936ab3bb20844f98cee045a9e5 Signed-off-by:Kees Cook <keescook@chromium.org> Reviewed-by:
Oleg Nesterov <oleg@redhat.com> Reviewed-by:
Andy Lutomirski <luto@amacapital.net> Git-commit: c852ef778224ecf5fe995d74ad96087038778bca Git-repo: https://www.codeaurora.org/cgit/external/gigabyte/kernel/msm Signed-off-by:
Ravi Kumar Siddojigari <rsiddoji@codeaurora.org>
Loading
Please register or sign in to comment