From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752072AbaIYCR1 (ORCPT ); Wed, 24 Sep 2014 22:17:27 -0400 Received: from mail-qg0-f51.google.com ([209.85.192.51]:45853 "EHLO mail-qg0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751875AbaIYCR0 (ORCPT ); Wed, 24 Sep 2014 22:17:26 -0400 Date: Wed, 24 Sep 2014 22:17:21 -0400 From: Tejun Heo To: Zefan Li Cc: LKML , Cgroups , Peter Zijlstra , Ingo Molnar , Miao Xie , Kees Cook , Tetsuo Handa , David Rientjes Subject: Re: [PATCH v4 1/3] sched: fix confusing PFA_NO_NEW_PRIVS constant Message-ID: <20140925021721.GA5530@mtj.dyndns.org> References: <54237281.5020308@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <54237281.5020308@huawei.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 25, 2014 at 09:40:17AM +0800, Zefan Li wrote: > 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 Applied to cgroup/for-3.17-fixes. Thanks. -- tejun