Re: [PATCH v4 2/2] pidfd: add tests for NSpid info in fdinfo
From: Christian Brauner
Date: Tue Oct 15 2019 - 06:07:51 EST
On Mon, Oct 14, 2019 at 06:20:33PM +0200, Christian Kellner wrote:
> From: Christian Kellner <christian@xxxxxxxxxx>
> Add a test that checks that if pid namespaces are configured the fdinfo
> file of a pidfd contains an NSpid: entry containing the process id in
> the current and additionally all nested namespaces. In the case that
> a pidfd is from a pid namespace not in the same namespace hierarchy as
> the process accessing the fdinfo file, ensure the 'NSpid' shows 0 for
> that pidfd, analogous to the 'Pid' entry.
> Signed-off-by: Christian Kellner <christian@xxxxxxxxxx>
That looks reasonable to me.
Acked-by: Christian Brauner <christian.brauner@xxxxxxxxxx>