]> git.baikalelectronics.ru Git - kernel.git/commit
Merge tag 'for-linus-2020-06-24' of git://git.kernel.org/pub/scm/linux/kernel/git...
authorLinus Torvalds <torvalds@linux-foundation.org>
Wed, 24 Jun 2020 21:19:45 +0000 (14:19 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 24 Jun 2020 21:19:45 +0000 (14:19 -0700)
commitc5b6945f03167d657840946fbb21dc2c20bb5206
treed7676fe1dccba822166a83ac9f693491ecbe6190
parent515b5de83feb0a5db6b1df1d6bf737179711471b
parentfd1b3df8e209bdffc5f787f073c0dc133493bf72
Merge tag 'for-linus-2020-06-24' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux

Pull thread fix from Christian Brauner:
 "This fixes a regression introduced with ec703aee4bf9 ("nsproxy: attach
  to namespaces via pidfds").

  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 namespace file.

  Fix this by continuing to report EINVAL and add a regression test"

* tag 'for-linus-2020-06-24' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux:
  tests: test for setns() EINVAL regression
  nsproxy: restore EINVAL for non-namespace file descriptor