]> 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)
commitd58aef0d9f40d740cae022c0378ec2a2c2b46e57
treed7676fe1dccba822166a83ac9f693491ecbe6190
parentf53092295af0ee70f844b6fa8e259dc7422b3896
parentf154b7f65bc89d2db4fdaec1e177fcdbf3d33f10
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 12c6eb41639f ("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