commit | b094d55cf868123c776a831ccef148076cdb867d | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Fri Jun 27 15:01:35 2014 -0700 |
committer | Giulio Cervera <giulio.cervera@cyanogenmod.org> | Tue Sep 22 14:16:41 2015 +0200 |
tree | dc40d2824f246ebb3debdb457b2c716d5956d581 | |
parent | 710884338da3763a11f70d8d3b5874066503f709 [diff] |
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. Signed-off-by: Kees Cook <keescook@chromium.org> Reviewed-by: Oleg Nesterov <oleg@redhat.com> Reviewed-by: Andy Lutomirski <luto@amacapital.net> Conflicts: kernel/seccomp.c