Skip to content
Snippets Groups Projects
Commit e1b1e13d authored by Kees Cook's avatar Kees Cook Committed by Christian Bejram
Browse files

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: default avatarKees Cook <keescook@chromium.org>
Reviewed-by: default avatarOleg Nesterov <oleg@redhat.com>
Reviewed-by: default avatarAndy Lutomirski <luto@amacapital.net>

Conflicts:
	kernel/sys.c

Conflicts:
	kernel/sys.c

Change-Id: Ief9d8a459e7e66bd7e025ed494bc06a8b1dea54d
parent 1a34a9fb
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment