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 us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (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 A5134C433F5 for ; Wed, 12 Jan 2022 13:51:27 +0000 (UTC) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-126-P7btjhFxPNqwqXRvP-IGWw-1; Wed, 12 Jan 2022 08:51:23 -0500 X-MC-Unique: P7btjhFxPNqwqXRvP-IGWw-1 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 79A1D93921; Wed, 12 Jan 2022 13:51:18 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B62E523784; Wed, 12 Jan 2022 13:51:16 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 756674BB7C; Wed, 12 Jan 2022 13:51:14 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 20C6f1J9007877 for ; Wed, 12 Jan 2022 01:41:01 -0500 Received: by smtp.corp.redhat.com (Postfix) id E587F2166B4D; Wed, 12 Jan 2022 06:41:00 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast04.extmail.prod.ext.rdu2.redhat.com [10.11.55.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E05372166B2F for ; Wed, 12 Jan 2022 06:40:58 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 05A0C1064FAD for ; Wed, 12 Jan 2022 06:40:58 +0000 (UTC) Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com [209.85.208.53]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-221-qw6l_CMWNHSsTSzIiqVRvA-1; Wed, 12 Jan 2022 01:40:55 -0500 X-MC-Unique: qw6l_CMWNHSsTSzIiqVRvA-1 Received: by mail-ed1-f53.google.com with SMTP id w16so5710360edc.11 for ; Tue, 11 Jan 2022 22:40:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=j6hbyKol68wFX5iiymhuEQsHgpNKkmkI3FMm7bj3TOM=; b=HAFk3pqPDOypUo42zUIoqMKFo/jZ7sJwG2PqT8613kDhasIe8HqXNXu5waHI52JGwD ZeUMcrADG4/EQXB4pFHn08FGHp0Fuc87E18FH2rWo4t1637H1rx1lnORDX+3eyB2t5VV hb3xXkQtsrhrOaWlA2P+dFEGSwJlfHiVdSao6ZUUrdTq/m1QkxHPPukeMG+eQ7YzUGF2 3HvdiDCgFMAzmQ+LU68BxNDSo94ldsadAMVZpsAgGGTSWCBFKOOpRgpuaSNP9ljIPUyb AGYv5iELwDnMxCvIC+dahNANv7uxOa2WpXZffGljViiUJjML85cuINzgHVq/Cm8ucu0t vcMQ== X-Gm-Message-State: AOAM531QWJJaBFfqM062pJVgCexAl59cBSqyCTr43teBM+9OnThA8Tb8 UVTuJkLZayiioMldqn4lvhPHwg== X-Google-Smtp-Source: ABdhPJxFACxwQqohWAwzNyIFzdza3Go5zCu+23kAyqd4VttcVfMxPX4biC1GqarDCqok0lezkQ4qEQ== X-Received: by 2002:a50:d6d5:: with SMTP id l21mr7486410edj.69.1641969653736; Tue, 11 Jan 2022 22:40:53 -0800 (PST) Received: from leoy-ThinkPad-X240s ([104.245.96.239]) by smtp.gmail.com with ESMTPSA id ck3sm1892109edb.36.2022.01.11.22.40.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Jan 2022 22:40:53 -0800 (PST) Date: Wed, 12 Jan 2022 14:40:47 +0800 From: Leo Yan To: "David S. Miller" , Jakub Kicinski , Leon Romanovsky , 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@telemann.coda.cs.cmu.edu, linux-audit@redhat.com Subject: Re: [PATCH v2 0/7] pid: Introduce helper task_is_in_root_ns() Message-ID: <20220112064046.GA3316542@leoy-ThinkPad-X240s> References: <20211208083320.472503-1-leo.yan@linaro.org> MIME-Version: 1.0 In-Reply-To: <20211208083320.472503-1-leo.yan@linaro.org> X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-loop: linux-audit@redhat.com X-Mailman-Approved-At: Wed, 12 Jan 2022 08:51:11 -0500 X-BeenThere: linux-audit@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Linux Audit Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=linux-audit-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Disposition: inline Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi David, On Wed, Dec 08, 2021 at 04:33:13PM +0800, Leo Yan wrote: > The kernel uses open code to check if a process is in root PID namespace > or not in several places. > > Suggested by Suzuki, this patch set is to create a helper function > task_is_in_init_pid_ns() to replace open code. > > This patch set has been applied on the mainline kernel and built for > Arm64 kernel with enabling all relevant modules. I'd like sync for how to merging this patch set. Except patch 05/07, all of other patches in this patch set have been received the reviewed or acked tags. So could you pick up this patch set? Furthermore, we have another patch set "coresight: etm: Correct PID tracing for non-root namespace" [1], which is dependent on the current patch set and it has been Acked by Suzuki. I'd like to get opinions from David and CoreSight maintainers Mathieu and Suzuki, should we merge the patch set [1] via David's tree as well to avoid dependency issue, or prefer to merge it via CoreSight tree? If David prefers the prior option, I can resend the patch set [1] with looping David. Thanks, Leo [1] https://lore.kernel.org/lkml/20211213121323.1887180-1-leo.yan@linaro.org/ -- Linux-audit mailing list Linux-audit@redhat.com https://listman.redhat.com/mailman/listinfo/linux-audit