linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christian Brauner <christian.brauner@ubuntu.com>
To: Linus Torvalds <torvalds@linux-foundation.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [GIT PULL] thread fixes v5.8-rc3
Date: Wed, 24 Jun 2020 15:07:12 +0200	[thread overview]
Message-ID: <20200624130712.1080689-1-christian.brauner@ubuntu.com> (raw)

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(-)

             reply	other threads:[~2020-06-24 13:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-24 13:07 Christian Brauner [this message]
2020-06-24 21:25 ` [GIT PULL] thread fixes v5.8-rc3 pr-tracker-bot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200624130712.1080689-1-christian.brauner@ubuntu.com \
    --to=christian.brauner@ubuntu.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).