LKML Archive mirror
 help / color / mirror / Atom feed
From: "Mickaël Salaün" <mic@digikod.net>
To: Linus Torvalds <torvalds@linux-foundation.org>,
	Shuah Khan <shuah@kernel.org>,
	Shuah Khan <skhan@linuxfoundation.org>
Cc: "Mickaël Salaün" <mic@digikod.net>,
	"Bagas Sanjaya" <bagasdotme@gmail.com>,
	"Brendan Higgins" <brendanhiggins@google.com>,
	"Christian Brauner" <brauner@kernel.org>,
	"David Gow" <davidgow@google.com>,
	"David S . Miller" <davem@davemloft.net>,
	"Florian Fainelli" <florian.fainelli@broadcom.com>,
	"Greg Kroah-Hartman" <gregkh@linuxfoundation.org>,
	"Günther Noack" <gnoack@google.com>,
	"Jakub Kicinski" <kuba@kernel.org>,
	"Jon Hunter" <jonathanh@nvidia.com>,
	"Kees Cook" <keescook@chromium.org>,
	"Mark Brown" <broonie@kernel.org>, "Ron Economos" <re@w6rz.net>,
	"Ronald Warsow" <rwarsow@gmx.de>,
	"Sasha Levin" <sashal@kernel.org>,
	"Sean Christopherson" <seanjc@google.com>,
	"Shengyu Li" <shengyu.li.evgeny@gmail.com>,
	"Stephen Rothwell" <sfr@canb.auug.org.au>,
	"Will Drewry" <wad@chromium.org>,
	"kernel test robot" <oliver.sang@intel.com>,
	kvm@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-kselftest@vger.kernel.org, netdev@vger.kernel.org
Subject: [GIT PULL] Kselftest fixes for v6.9
Date: Sun, 12 May 2024 12:56:57 +0200	[thread overview]
Message-ID: <20240512105657.931466-1-mic@digikod.net> (raw)

Hi Linus,

Without reply from Shuah, and given the importance of these fixes [1], here is
a PR to fix Kselftest (broken since v6.9-rc1) for at least KVM, pidfd, and
Landlock.  I cannot test against all kselftests though.  This has been in
linux-next since the beginning of this week, and so far only one issue has been
reported [2] and fixed [3].

Feel free to take this PR if you see fit.

Regards,
 Mickaël

[1] https://lore.kernel.org/r/Zjo1xyhjmehsRhZ2@google.com
[2] https://lore.kernel.org/r/202405100339.vfBe0t9C-lkp@intel.com
[3] https://lore.kernel.org/r/20240511171445.904356-1-mic@digikod.net

--
The following changes since commit e67572cd2204894179d89bd7b984072f19313b03:

  Linux 6.9-rc6 (2024-04-28 13:47:24 -0700)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/mic/linux.git tags/kselftest-fix-vfork-2024-05-12

for you to fetch changes up to 323feb3bdb67649bfa5614eb24ec9cb92a60cf33:

  selftests/harness: Handle TEST_F()'s explicit exit codes (2024-05-11 19:18:47 +0200)

----------------------------------------------------------------
Fix Kselftest's vfork() side effects

See https://lore.kernel.org/r/20240511171445.904356-1-mic@digikod.net

----------------------------------------------------------------
Mickaël Salaün (10):
      selftests/pidfd: Fix config for pidfd_setns_test
      selftests/landlock: Fix FS tests when run on a private mount point
      selftests/harness: Fix fixture teardown
      selftests/harness: Fix interleaved scheduling leading to race conditions
      selftests/landlock: Do not allocate memory in fixture data
      selftests/harness: Constify fixture variants
      selftests/pidfd: Fix wrong expectation
      selftests/harness: Share _metadata between forked processes
      selftests/harness: Fix vfork() side effects
      selftests/harness: Handle TEST_F()'s explicit exit codes

 tools/testing/selftests/kselftest_harness.h      | 127 +++++++++++++++++------
 tools/testing/selftests/landlock/fs_test.c       |  83 +++++++++------
 tools/testing/selftests/pidfd/config             |   2 +
 tools/testing/selftests/pidfd/pidfd_setns_test.c |   2 +-
 4 files changed, 147 insertions(+), 67 deletions(-)

             reply	other threads:[~2024-05-12 10:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-12 10:56 Mickaël Salaün [this message]
2024-05-13 17:15 ` [GIT PULL] Kselftest fixes for v6.9 Shuah Khan

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=20240512105657.931466-1-mic@digikod.net \
    --to=mic@digikod.net \
    --cc=bagasdotme@gmail.com \
    --cc=brauner@kernel.org \
    --cc=brendanhiggins@google.com \
    --cc=broonie@kernel.org \
    --cc=davem@davemloft.net \
    --cc=davidgow@google.com \
    --cc=florian.fainelli@broadcom.com \
    --cc=gnoack@google.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=jonathanh@nvidia.com \
    --cc=keescook@chromium.org \
    --cc=kuba@kernel.org \
    --cc=kvm@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=oliver.sang@intel.com \
    --cc=re@w6rz.net \
    --cc=rwarsow@gmx.de \
    --cc=sashal@kernel.org \
    --cc=seanjc@google.com \
    --cc=sfr@canb.auug.org.au \
    --cc=shengyu.li.evgeny@gmail.com \
    --cc=shuah@kernel.org \
    --cc=skhan@linuxfoundation.org \
    --cc=torvalds@linux-foundation.org \
    --cc=wad@chromium.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 read-only IMAP folder(s) and NNTP newsgroup(s).