From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D0F54C433F5 for ; Mon, 6 Dec 2021 07:14:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=h9TPHErGphSrbPG7tA/stXOHvThwVcwLlHL1v6dwlQc=; b=WPLDfsk5Y4+ZEX wUgdm4KRTe1Uv+vyOqxZfHOrVOU0WcZQcFN61MuAg6lmRHDLPN6SoWsL5MaqzAZKZhy4GEFasEV0s 1Apq7dK1CpCexUkmO6UmL6Gt3F2gMoFhDZaLkZ9HRGQmfak5r+SjoFcVk+QkpIlZDdKko9i4/I6ds H82r8qa/dMrtwGKzYadPWE3EJI5sTsGkjKSKYD0jgrUEWbYrYJlKrjaP7Cx0p/RAXpXrdn1jQu7vy ReQf4lx3wAXX8MTKr/ZjVG/nP0dz8ESR/gzNHLvD5e5qhAkIASKmKIUVPj7OV7+8sJIp3geygZmsr 2DUW/FLbIe1PG3Qr0IHg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mu8Bb-002kGo-Hw; Mon, 06 Dec 2021 07:13:19 +0000 Received: from ams.source.kernel.org ([145.40.68.75]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mu8BW-002kFs-Ox for linux-arm-kernel@lists.infradead.org; Mon, 06 Dec 2021 07:13:16 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id AC006B80FAE; Mon, 6 Dec 2021 07:13:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D2F96C341C4; Mon, 6 Dec 2021 07:13:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1638774790; bh=RSgUA+v+bp+L38dAAFB/hBDb/dXcbT2mhCOpspbaGnY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=JQBKdVhg15n7HyItHcM093NDs+sQSHY/dxi+0pQy6yJ1VADqQCLwYNAh08nkjNbVH N458Hf/XOKeT83zefnavdTzLG0c/07Ouy4F8YBjGUS45JvJSB6p27i36O+6wrZy5nu JO43hauKfKbVspsI0ER5f4zA9uTD8ympqLnSqM9RlhT61R9gbCQCwIkhlCRT2EFfRG UgWyQsdr0c2xAx4+I1dx8rf8NOO7x/vV6knAuzZ8ms02ZSqtyZDOwZ+vZR+S4f8KRt eM0E78APA9fRMf1Brk+jYifnTF2YnRZzYHPQ6VWpxykCJrp1f0vCyuYqBrmh2BmatQ mwwkOdu5ID3nA== Date: Mon, 6 Dec 2021 09:13:06 +0200 From: Leon Romanovsky To: Leo Yan Cc: "David S. Miller" , Jakub Kicinski , Mathieu Poirier , Suzuki K Poulose , Mike Leach , Alexander Shishkin , Jan Harkes , coda@cs.cmu.edu, Paul Moore , Eric Paris , Balbir Singh , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, coresight@lists.linaro.org, linux-arm-kernel@lists.infradead.org, codalist@coda.cs.cmu.edu, linux-audit@redhat.com Subject: Re: [PATCH v1 1/7] pid: Introduce helper task_is_in_root_ns() Message-ID: References: <20211205145105.57824-1-leo.yan@linaro.org> <20211205145105.57824-2-leo.yan@linaro.org> <20211206070358.GC42658@leoy-ThinkPad-X240s> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20211206070358.GC42658@leoy-ThinkPad-X240s> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211205_231315_782251_5CCD242E X-CRM114-Status: GOOD ( 13.77 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Dec 06, 2021 at 03:03:58PM +0800, Leo Yan wrote: > Hi Leon, > > On Mon, Dec 06, 2021 at 08:49:01AM +0200, Leon Romanovsky wrote: > > On Sun, Dec 05, 2021 at 10:50:59PM +0800, Leo Yan wrote: > > [...] > > > > +static inline bool task_is_in_root_ns(struct task_struct *tsk) > > > > It is bad that this name doesn't reflect PID nature of this namespace. > > Won't it better to name it task_is_in_init_pid_ns()? > > Yes, task_is_in_init_pid_ns() is more clear. > > Will respin for this. Thank you for suggestion! Thanks > > Leo _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel