commit | 3bcbe59d479b6f87829cab4f68246fff88448e08 | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Wed May 21 15:23:46 2014 -0700 |
committer | chrmhoffmann <chrmhoffmann@gmail.com> | Sat Nov 18 11:50:04 2017 +0100 |
tree | 0aeb1684d9f922e25bc9d76bb75dd698be945054 | |
parent | 9dc4ce316701e2e2a7ae12320167626e14173c5a [diff] |
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 <keescook@chromium.org> Reviewed-by: Oleg Nesterov <oleg@redhat.com> Reviewed-by: Andy Lutomirski <luto@amacapital.net> Conflicts: fs/exec.c include/linux/sched.h kernel/sys.c