From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tejun Heo Subject: Re: [PATCH v3 1/3] sched: fix confusing PFA_NO_NEW_PRIVS constant Date: Wed, 24 Sep 2014 09:22:18 -0400 Message-ID: <20140924132218.GC16555@htj.dyndns.org> References: <542124D3.9000007@huawei.com> Mime-Version: 1.0 Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=nd2ifG2tSx+pOSzYk1fKL9Z3iuE5uN88O0/6qb4Aemk=; b=ElcZeE9wi0htvIWBmSYSsxyMAZdKA+TLHuZSjChRvhVNgstxGKFuCVl6fEMXehtzTj eB02bM/NQdUiB0Nx6dYsOERqTRNpideErlU0cYljzJROoDqed45cEoUqjmkBb2d4ZBMd OdlutROAtOH5kuMgr4BlRzLJFKBLAYRDWJwT5AkpFFsZcVP8oFN7srmsprq5siKUa9BK hCQUx74oAf0S3tQmz5WDi08zjjCZEYZpFWJDebhYR0Iim1xp53STRdt5hr5rGacPLBFB 3bXp8UG5vtkDxTFK115yELWnSmEQKaViSBanNROd0yCEBjRcIPBz2E+ZpcqbwKa8Pnyb 3IpA== Content-Disposition: inline In-Reply-To: <542124D3.9000007-hv44wF8Li93QT0dZR+AlfA@public.gmane.org> Sender: cgroups-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Zefan Li Cc: Peter Zijlstra , Ingo Molnar , Kees Cook , Miao Xie , Tetsuo Handa , LKML , Cgroups , David Rientjes On Tue, Sep 23, 2014 at 03:44:19PM +0800, Zefan Li wrote: > From: Tetsuo Handa > > 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 > Cc: Kees Cook > Signed-off-by: Tetsuo Handa > Acked-by: Kees Cook > [ lizf: slightly modified subject and changelog ] > Signed-off-by: Zefan Li Applied 1-3 to cgroup/for-3.17-fixes w/ the typo spotted by davidr fixed. Thanks. -- tejun