From: Kees Cook Date: Fri, 27 Jun 2014 22:01:35 +0000 (-0700) Subject: seccomp: allow mode setting across threads X-Git-Tag: cleanup-for-v3.18~110^2~14^2~1 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ba2530cc06eb4aee4f1f754f43d781e8a12ee09;p=pandora-kernel.git 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 Reviewed-by: Oleg Nesterov Reviewed-by: Andy Lutomirski --- Reading git-diff-tree failed