On Mon, Oct 14, 2019 at 06:20:33PM +0200, Christian Kellner wrote:
From: Christian Kellner christian@kellner.me
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@kellner.me
That looks reasonable to me.
Acked-by: Christian Brauner christian.brauner@ubuntu.com