Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp905916ybp; Fri, 11 Oct 2019 06:17:45 -0700 (PDT) X-Google-Smtp-Source: APXvYqxS48PoGnEoit/tgw9XiHHPCp1Dsj/LLRpU+Dp5PSdjL+nK82i+or0hd3Zd7G6fg80IunOB X-Received: by 2002:a50:afa1:: with SMTP id h30mr13451586edd.126.1570799864879; Fri, 11 Oct 2019 06:17:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570799864; cv=none; d=google.com; s=arc-20160816; b=AQruUSXwI7znE6JMHuDm89+E8jvexwn/gXMbAMOsqcA3OpyuTJMgBJEhsa/+ZFIQBE uabrtlNzZt5aezw/IEzXdKH9djaWc46m6jj5uiwp8A5owp3ZNxj0azxDImS6NgcUFwSE 2vj0MGJ0/ntLQX+gvQlusp6UzDLFg64PkdpF7xK/9huikJjtQt5VusZiOUpng/rFRMGl iBwLMfoBEWpaCXI7xEQXxMhclUksGMVU0f7ft7RY8ZMnvLya3/eS/jYrLys9fx7kLHTn RMjdca0zH1qlBQNi0a+/l2GnKp5+2kLoQQ3zbQogPBl4/bYj4Sd9/zKDnZaxvxqunAG0 YApw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=5nQCqs30duXWwtQKFECOjrjvXTNN9epSV72PMFLFFq4=; b=OcN/142qdPysSwu4rjkMqzofHla6QBUjnQaHxSOA5xaYtwRtBTkiDB98CVth1vZQBB idbPpbqHXWL6gK5lgJ41yANGJZfD4zcIqhSgEp+Q2PtGoUWoaSzvOSRJnvXEbol5bXpZ Y1BKn0AWn4/axftsTsWU55rWLqCgQ7cSIjjzob6R1nAGGfI2+NfQFg5PIDI1QKN5p/CY LnlpCdTsG+3U4iFdHtG1ovjDUW8lsXSkARXSci6h7nUcK2Qjsi0jlcDxyYjPZ3B+oX2i SblkVFQPtTIwYTF4+t+0nQg7EKuOAuLJgtYBCiAAVt2B2Falx2CKzt0MAD3bDauwEo0l KDRQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j7si5133528ejv.225.2019.10.11.06.17.20; Fri, 11 Oct 2019 06:17:44 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728279AbfJKNRF (ORCPT + 99 others); Fri, 11 Oct 2019 09:17:05 -0400 Received: from youngberry.canonical.com ([91.189.89.112]:41426 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727950AbfJKNRF (ORCPT ); Fri, 11 Oct 2019 09:17:05 -0400 Received: from v22018046084765073.goodsrv.de ([185.183.158.195] helo=wittgenstein) by youngberry.canonical.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1iIun0-0000d2-W0; Fri, 11 Oct 2019 13:17:03 +0000 Date: Fri, 11 Oct 2019 15:17:01 +0200 From: Christian Brauner To: Christian Kellner Cc: linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, Christian Kellner , Andrew Morton , "Peter Zijlstra (Intel)" , Ingo Molnar , Michal Hocko , Thomas Gleixner , Elena Reshetova , Roman Gushchin , Andrea Arcangeli , Al Viro , Aleksa Sarai , "Dmitry V. Levin" Subject: Re: [PATCH v3 1/2] pidfd: show pids for nested pid namespaces in fdinfo Message-ID: <20191011131659.pqzmrh2527l2oz7b@wittgenstein> References: <20191009160532.20674-1-ckellner@redhat.com> <20191011122323.7770-1-ckellner@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20191011122323.7770-1-ckellner@redhat.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 11, 2019 at 02:23:20PM +0200, Christian Kellner wrote: > From: Christian Kellner > > The fdinfo file for a process file descriptor already contains the > pid of the process in the callers namespaces. Additionally, if pid > namespaces are configured, show the process ids of the process in > all nested namespaces in the same format as in the procfs status > file, i.e. "NSPid:\t%d\%d...". This allows the easy identification > of the processes in nested namespaces. > > Signed-off-by: Christian Kellner Reviewed-by: Christian Brauner If I hear no technical objections I'll pick this up targeting the 5.5 merge window. Thanks! Christian