Files
android_kernel_samsung_msm8…/security/apparmor
Kees Cook 23952e2733 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
	include/linux/sched.h
	kernel/sys.c

EDIT: Sumsung/klte tree already had a few changes from the original
patch, so they are ommited/removed from here.

Change-Id: If83d4adaca8920efd278ff4e3d80a024dd079cde
Signed-off-by: Kevin F. Haggerty <haggertk@lineageos.org>
2019-08-05 14:22:39 +02:00
..
…
…
…
…
…
…
…
…
…
…
…
…
…