[PATCH v9 10/11] seccomp: allow mode setting across threads

2014-06-27 Thread Kees Cook
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 --- kernel/seccomp.c | 27 +++ 1 file changed,

[PATCH v9 10/11] seccomp: allow mode setting across threads

2014-06-27 Thread Kees Cook
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 keesc...@chromium.org --- kernel/seccomp.c | 27