lkml.org 
[lkml]   [2014]   [Sep]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 1/3] sched: fix confusing PFA_NO_NEW_PRIVS constant
On Wed, Sep 24, 2014 at 09:22:18AM -0400, Tejun Heo wrote:
> On Tue, Sep 23, 2014 at 03:44:19PM +0800, Zefan Li wrote:
> > From: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
> >
> > 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 <peterz@infradead.org>
> > Cc: Ingo Molnar <mingo@kernel.org>
> > Cc: Miao Xie <miaox@cn.fujitsu.com>
> > Cc: Kees Cook <keescook@chromium.org>
> > Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
> > Acked-by: Kees Cook <keescook@chromium.org>
> > [ lizf: slightly modified subject and changelog ]
> > Signed-off-by: Zefan Li <lizefan@huawei.com>
>
> Applied 1-3 to cgroup/for-3.17-fixes w/ the typo spotted by davidr
> fixed.

Reverted due to build failure. Will wait for a refreshed version. :(

Thanks.

--
tejun


\
 
 \ /
  Last update: 2014-09-24 16:01    [W:0.118 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site