Skip to content
Unverified Commit 86f56395 authored by Christian Brauner's avatar Christian Brauner
Browse files

tests: test for setns() EINVAL regression



Verify that setns() reports EINVAL when an fd is passed that refers to an
open file but the file is not a file descriptor useable to interact with
namespaces.

Cc: Jan Stancek <jstancek@redhat.com>
Cc: Cyril Hrubis <chrubis@suse.cz>
Link: https://lore.kernel.org/lkml/20200615085836.GR12456@shao2-debian
Signed-off-by: default avatarChristian Brauner <christian.brauner@ubuntu.com>
parent e571d4ee
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment