commit | 9d0ff694bc22fb458acb763811a677696c60725b | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Wed May 21 15:23:46 2014 -0700 |
committer | JP Abgrall <jpa@google.com> | Tue Oct 07 16:42:32 2014 -0700 |
tree | c6101621c0fd2e76c8df01893fe91339fa8d6e43 | |
parent | e985fd474debedb269fba27006eda50d0b6f07ef [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: kernel/sys.c