summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorChristian Brauner <christian.brauner@ubuntu.com>2020-06-17 00:33:12 +0200
committerChristian Brauner <christian.brauner@ubuntu.com>2020-06-17 00:33:12 +0200
commite571d4ee334719727f22cce30c4c74471d4ef68a (patch)
treeb245a71e3676874a9623cbe4570dd77dfbb50a98 /tools
parentb3a9e3b9622ae10064826dccb4f7a52bd88c7407 (diff)
downloadlinux-stable-e571d4ee334719727f22cce30c4c74471d4ef68a.tar.gz
linux-stable-e571d4ee334719727f22cce30c4c74471d4ef68a.tar.bz2
linux-stable-e571d4ee334719727f22cce30c4c74471d4ef68a.zip
nsproxy: restore EINVAL for non-namespace file descriptor
The LTP testsuite reported a regression where users would now see EBADF returned instead of EINVAL when an fd was passed that referred to an open file but the file was not a nsfd. Fix this by continuing to report EINVAL. Reported-by: kernel test robot <rong.a.chen@intel.com> Cc: Jan Stancek <jstancek@redhat.com> Cc: Cyril Hrubis <chrubis@suse.cz> Link: https://lore.kernel.org/lkml/20200615085836.GR12456@shao2-debian Fixes: 303cc571d107 ("nsproxy: attach to namespaces via pidfds") Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions