aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/selftests/nsfs/owner.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2016-09-22tools/testing: add a test to check nsfs ioctl-sAndrey Vagin1-0/+91
There are two new ioctl-s: One ioctl for the user namespace that owns a file descriptor. One ioctl for the parent namespace of a namespace file descriptor. The test checks that these ioctl-s works and that they handle a case when a target namespace is outside of the current process namespace. Signed-off-by: Andrei Vagin <avagin@openvz.org> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>