Re: [PATCH v3 1/2] pidfd: show pids for nested pid namespaces in fdinfo
From: Christian Brauner
Date: Fri Oct 11 2019 - 09:17:07 EST
On Fri, Oct 11, 2019 at 02:23:20PM +0200, Christian Kellner wrote:
> From: Christian Kellner <christian@xxxxxxxxxx>
>
> 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 <christian@xxxxxxxxxx>
Reviewed-by: Christian Brauner <christian.brauner@xxxxxxxxxx>
If I hear no technical objections I'll pick this up targeting the 5.5
merge window.
Thanks!
Christian