From: Kees Cook Date: Wed, 21 May 2014 22:23:46 +0000 (-0700) Subject: sched: move no_new_privs into new atomic flags X-Git-Tag: omap-for-v3.17/fixes-against-rc2~151^2~14^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d4457f99928a968767f6405b4a1f50845aa15fd;p=pandora-kernel.git sched: move no_new_privs into new atomic flags Since seccomp transitions between threads requires updates to the no_new_privs flag to be atomic, the flag must be part of an atomic flag set. This moves the nnp flag into a separate task field, and introduces accessors. Signed-off-by: Kees Cook Reviewed-by: Oleg Nesterov Reviewed-by: Andy Lutomirski --- Reading git-diff-tree failed