<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/tools/testing/selftests/pidfd/pidfd_fdinfo_test.c, branch linux-5.7.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.7.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.7.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2019-10-17T13:36:54Z</updated>
<entry>
<title>test: verify fdinfo for pidfd of reaped process</title>
<updated>2019-10-17T13:36:54Z</updated>
<author>
<name>Christian Brauner</name>
</author>
<published>2019-10-17T10:18:29Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=67fc700016b75d6306b65d68edd2e5d76b2b1160'/>
<id>urn:sha1:67fc700016b75d6306b65d68edd2e5d76b2b1160</id>
<content type='text'>
Test that the fdinfo field of a pidfd referring to a dead process
correctly shows Pid: -1 and NSpid: -1.

Cc: Christian Kellner &lt;christian@kellner.me&gt;
Cc: linux-kselftest@vger.kernel.org
Reviewed-by: Christian Kellner &lt;christian@kellner.me&gt;
Signed-off-by: Christian Brauner &lt;christian.brauner@ubuntu.com&gt;
Link: https://lore.kernel.org/r/20191017101832.5985-2-christian.brauner@ubuntu.com
</content>
</entry>
<entry>
<title>pidfd: add tests for NSpid info in fdinfo</title>
<updated>2019-10-15T10:17:11Z</updated>
<author>
<name>Christian Kellner</name>
</author>
<published>2019-10-14T16:20:33Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2def297ec7fbf68cedc48f69e1f600fef13f2e96'/>
<id>urn:sha1:2def297ec7fbf68cedc48f69e1f600fef13f2e96</id>
<content type='text'>
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 &lt;christian@kellner.me&gt;
Acked-by: Christian Brauner &lt;christian.brauner@ubuntu.com&gt;
Link: https://lore.kernel.org/r/20191014162034.2185-2-ckellner@redhat.com
Signed-off-by: Christian Brauner &lt;christian.brauner@ubuntu.com&gt;
</content>
</entry>
</feed>
