* [GIT PULL] thread fixes v5.8-rc3
@ 2020-06-24 13:07 Christian Brauner
2020-06-24 21:25 ` pr-tracker-bot
0 siblings, 1 reply; 2+ messages in thread
From: Christian Brauner @ 2020-06-24 13:07 UTC (permalink / raw)
To: Linus Torvalds, Linux Kernel Mailing List
Hey Linus,
This fixes a regression introduced with 303cc571d107 ("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.
/* Testing */
All patches have seen exposure in linux-next and are based on v5.8-rc1.
/* Conflicts */
At the time of creating this pr no merge conflicts were reported.
The following changes since commit b3a9e3b9622ae10064826dccb4f7a52bd88c7407:
Linux 5.8-rc1 (2020-06-14 12:45:04 -0700)
are available in the Git repository at:
git@gitolite.kernel.org:pub/scm/linux/kernel/git/brauner/linux tags/for-linus-2020-06-24
for you to fetch changes up to 86f56395feb2b106b125c47e72192e37da5dd088:
tests: test for setns() EINVAL regression (2020-06-17 00:48:54 +0200)
Please consider pulling these changes from the signed for-linus-2020-06-24 tag.
Thanks!
Christian
----------------------------------------------------------------
for-linus-2020-06-24
----------------------------------------------------------------
Christian Brauner (2):
nsproxy: restore EINVAL for non-namespace file descriptor
tests: test for setns() EINVAL regression
kernel/nsproxy.c | 2 +-
tools/testing/selftests/pidfd/pidfd.h | 5 +++++
tools/testing/selftests/pidfd/pidfd_getfd_test.c | 5 -----
tools/testing/selftests/pidfd/pidfd_setns_test.c | 12 ++++++++++++
4 files changed, 18 insertions(+), 6 deletions(-)
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [GIT PULL] thread fixes v5.8-rc3
2020-06-24 13:07 [GIT PULL] thread fixes v5.8-rc3 Christian Brauner
@ 2020-06-24 21:25 ` pr-tracker-bot
0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2020-06-24 21:25 UTC (permalink / raw)
To: Christian Brauner; +Cc: Linus Torvalds, Linux Kernel Mailing List
The pull request you sent on Wed, 24 Jun 2020 15:07:12 +0200:
> git@gitolite.kernel.org:pub/scm/linux/kernel/git/brauner/linux tags/for-linus-2020-06-24
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/fbb58011fdd9ca2e2f0e329d11085ddf46830c5a
Thank you!
--
Deet-doot-dot, I am a bot.
https://korg.wiki.kernel.org/userdoc/prtracker
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-06-24 21:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-24 13:07 [GIT PULL] thread fixes v5.8-rc3 Christian Brauner
2020-06-24 21:25 ` pr-tracker-bot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).