sched: fix confusing PFA_NO_NEW_PRIVS constant
Commit 1d4457f99928 ("sched: move no_new_privs into new atomic flags")
defined PFA_NO_NEW_PRIVS as hexadecimal value, but it is confusing
because it is used as bit number. Redefine it as decimal bit number.
Note this changes the bit position of PFA_NOW_NEW_PRIVS from 1 to 0.
Cc: Peter Zijlstra <firstname.lastname@example.org>
Cc: Ingo Molnar <email@example.com>
Cc: Miao Xie <firstname.lastname@example.org>
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Acked-by: Kees Cook <email@example.com>
[ lizf: slightly modified subject and changelog ]
Signed-off-by: Zefan Li <firstname.lastname@example.org>
Signed-off-by: Tejun Heo <email@example.com>
1 file changed