From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Brauner Subject: Re: [PATCH v3 1/2] pidfd: show pids for nested pid namespaces in fdinfo Date: Fri, 11 Oct 2019 15:17:01 +0200 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 Return-path: Content-Disposition: inline In-Reply-To: <20191011122323.7770-1-ckellner@redhat.com> Sender: linux-kernel-owner@vger.kernel.org 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" List-Id: linux-api@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