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: I35e9d0c3f110df5fcbb44ab70c86609d55814595 Signed-off-by:Kees Cook <keescook@chromium.org> Reviewed-by:
Oleg Nesterov <oleg@redhat.com> Reviewed-by:
Andy Lutomirski <luto@amacapital.net> Git-commit: 9d0ff694bc22fb458acb763811a677696c60725b Git-repo: https://www.codeaurora.org/cgit/external/gigabyte/kernel/msm Signed-off-by:
Ravi Kumar Siddojigari <rsiddoji@codeaurora.org>
Loading
Please register or sign in to comment