| commit | 5eab130238adb0adc6100dbba713082c19794dbf | [log] [tgz] |
|---|---|---|
| author | Kees Cook <keescook@chromium.org> | Wed May 21 15:23:46 2014 -0700 |
| committer | flintman <flintman@flintmancomputers.com> | Mon Apr 27 08:04:54 2015 -0400 |
| tree | e4c0af7539ca574904595f40c2344602116b2160 | |
| parent | d7a4f76933fc2be05f2837f46045039c9d187d45 [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. Change-Id: I4e764b1b1eb5296a3f7e498a89cfdd6624796c87 Signed-off-by: Kees Cook <keescook@chromium.org> Reviewed-by: Oleg Nesterov <oleg@redhat.com> Reviewed-by: Andy Lutomirski <luto@amacapital.net>