aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorChristian Kellner <[email protected]>2019-10-14 18:20:33 +0200
committerChristian Brauner <[email protected]>2019-10-15 12:17:11 +0200
commit2def297ec7fbf68cedc48f69e1f600fef13f2e96 (patch)
tree673199126d81b80b5703030622716ed26d955e30 /net/switchdev/switchdev.c
parent15d42eb26bdee47c0278fbdab4198577bc6a97b5 (diff)
pidfd: add tests for NSpid info in fdinfo
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 <[email protected]> Acked-by: Christian Brauner <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions