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 <>
Cc: Ingo Molnar <>
Cc: Miao Xie <>
Signed-off-by: Tetsuo Handa <>
Acked-by: Kees Cook <>
[ lizf: slightly modified subject and changelog ]
Signed-off-by: Zefan Li <>
Signed-off-by: Tejun Heo <>
1 file changed