Thread (28 messages) 28 messages, 5 authors, 2019-11-13

Re: [PATCH v4 2/2] pidfd: add tests for NSpid info in fdinfo

flat view

From: Christian Brauner <hidden>
Date: 2019-10-15 10:07:51
Also in: linux-kselftest, lkml

On Mon, Oct 14, 2019 at 06:20:33PM +0200, Christian Kellner wrote:
From: Christian Kellner <redacted>

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 <redacted>
That looks reasonable to me.

Acked-by: Christian Brauner <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help