diff options
author | Christian Brauner <christian.brauner@ubuntu.com> | 2020-06-17 00:48:54 +0200 |
---|---|---|
committer | Christian Brauner <christian.brauner@ubuntu.com> | 2020-06-17 00:48:54 +0200 |
commit | 86f56395feb2b106b125c47e72192e37da5dd088 (patch) | |
tree | a63cde19caa1c5ebe0d436d836bc464f4c25b238 /kernel | |
parent | nsproxy: restore EINVAL for non-namespace file descriptor (diff) | |
download | linux-86f56395feb2b106b125c47e72192e37da5dd088.tar.xz linux-86f56395feb2b106b125c47e72192e37da5dd088.zip |
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: Christian Brauner <christian.brauner@ubuntu.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions