Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp1464158lqo; Sun, 12 May 2024 03:57:26 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXbBuF6K6U1r6YYHOqZ/Kxe9+qdQ2na0LaFGbXi+XwxB3uatkQzwuyJbEStRA+epCgQLlcYI4+88Sl8HA3HWT0bbrpcG2+xPa/K5h+G0Q== X-Google-Smtp-Source: AGHT+IFMmnLaYGApzVhMMJEtdzhe57qlIgAQ9c6Re4dq/RZsypAbg5QfWLm41Z+XnUAkubxMic2l X-Received: by 2002:a05:6214:5c0a:b0:6a0:a76b:e216 with SMTP id 6a1803df08f44-6a168142ecfmr80533946d6.13.1715511446474; Sun, 12 May 2024 03:57:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715511446; cv=pass; d=google.com; s=arc-20160816; b=JsRusBpJWBJTjdaZfoDV6Xk99K4GbiRMqkoHx8gna49nPRchGH30KyGtv6Fb4USzkC PNQpTvrpkK5G4MrucdrAxTpnXGOf7IzFT/KLw2f3IXx+q7avXP1VatD2a0/8WyS0EwNQ qQVcJ5QmiIvKGUDiKxFcOYRpgiSkSKhIxFPmw9mKEVW6ncbfGBgZxoo6FqMPiydCh+cO WAoscYTlrkd+4fkWkcVGXeKmIYfVSjpsVYjH7M95O4K1GQ+nvxaJCByS6LnnQJ3KV+y4 A7nkQhuqI2T5Lb3wTDAnXOpFqVcua8goeCha1bYYrF/41VK5K6LvrwM9OWvoD3Q/+DG/ K8pg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=EF6C0AxPKx3Rr03GQ/CspouJVXujlSY9SWJekRRc0Os=; fh=DN18o/G2GE03F3c16QjGd/LEfLC3v3qnDK7ryWB4aIg=; b=nLLUojSS2/lV8zTE65rOPFzYMQSEB50i69X4ppDA3cTWf+P4bQ4wA9imUzj72tflSb CEqZUeU9aMVZiKgxkp+KgabkR/3sBes2To7UAiDZXvEHPWWsx3lq+AdDkAV5Lt312TrB y9JBWB20oE2bu/XtAwJDVpzi0gu6Zl7uch4Y+ihXi69mJleOzhhJ/tbjVSPu/63QTtUC vznVl6V1U3vQROKxfmJ976clVV/xKCBL9Auq7jqfW1+jNt65FpO9f135PaIw3I5NZWHl olHD0O7XR7QLjwKGqidUzD+AGrQ4sLrYmgZ5jcEewfDG5ZMOVqDSr/f6CAB21vrzUd06 y2cA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@digikod.net header.s=20191114 header.b=n6YJ3OFJ; arc=pass (i=1 spf=pass spfdomain=digikod.net dkim=pass dkdomain=digikod.net); spf=pass (google.com: domain of linux-kernel+bounces-176855-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176855-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6a15f2ee1e8si77533326d6.480.2024.05.12.03.57.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 May 2024 03:57:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-176855-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@digikod.net header.s=20191114 header.b=n6YJ3OFJ; arc=pass (i=1 spf=pass spfdomain=digikod.net dkim=pass dkdomain=digikod.net); spf=pass (google.com: domain of linux-kernel+bounces-176855-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176855-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 171A61C2093E for ; Sun, 12 May 2024 10:57:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E4DB4208CB; Sun, 12 May 2024 10:57:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=digikod.net header.i=@digikod.net header.b="n6YJ3OFJ" Received: from smtp-190b.mail.infomaniak.ch (smtp-190b.mail.infomaniak.ch [185.125.25.11]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 101B91CD11 for ; Sun, 12 May 2024 10:57:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.125.25.11 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715511436; cv=none; b=m6O7a77fTJfBaUODG5857papRwbSjXBn9UNGr3mf1qESlEfM4jlwSg1amQOJ5gdSzkwyheEXbnS+cYZ3LpjD8my4LCGcJX4pPOI4VgPjQ+BWEYvuijjzfhl9QPGX7CFje+mcqvwrm6JnitTPIeUbkx64hQ0M5MGj1CUuFpP0llQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715511436; c=relaxed/simple; bh=6K4mWNvEVxf0D2mRiXc39TcNks2VNhZHAk+y2vumSe4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type; b=a+7ApqDPTMfyaTKnk9agVVrCXLAASiiRop95qZ5xjc6OTKGkrSLRT/34NCtBo49BPJHiWQUATsBcGZ2EBQyRwGbuyiGj/1PnQJbWiG1Mqp3YTDKONnHpdKD2Z1gGgcl2dzF0qzzWcwXgSV1p0IZKmJXiFgnSFS59K7Fd3ggH6Vo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=digikod.net; spf=pass smtp.mailfrom=digikod.net; dkim=pass (1024-bit key) header.d=digikod.net header.i=@digikod.net header.b=n6YJ3OFJ; arc=none smtp.client-ip=185.125.25.11 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=digikod.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=digikod.net Received: from smtp-3-0001.mail.infomaniak.ch (smtp-3-0001.mail.infomaniak.ch [10.4.36.108]) by smtp-4-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4VcfhN47xpz8FW; Sun, 12 May 2024 12:57:08 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=digikod.net; s=20191114; t=1715511428; bh=EF6C0AxPKx3Rr03GQ/CspouJVXujlSY9SWJekRRc0Os=; h=From:To:Cc:Subject:Date:From; b=n6YJ3OFJwTnXQvwJ4HS013+4irGRMaBZALgIxTdqhZjQePQHEvGh4GwBQBsm65kk/ ap/bEUMY6n1Nyn70uRmzx2TbxXSNTkJbgvt2haeKKIvfzh0qApCIGV29D3VF98GW+/ OipiXDgU0T5SGRmmDfU/JgUzw54SgpPWuYfoI8FE= Received: from unknown by smtp-3-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4VcfhL1ln1zKlP; Sun, 12 May 2024 12:57:06 +0200 (CEST) From: =?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?= To: Linus Torvalds , Shuah Khan , Shuah Khan Cc: =?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?= , Bagas Sanjaya , Brendan Higgins , Christian Brauner , David Gow , "David S . Miller" , Florian Fainelli , Greg Kroah-Hartman , =?UTF-8?q?G=C3=BCnther=20Noack?= , Jakub Kicinski , Jon Hunter , Kees Cook , Mark Brown , Ron Economos , Ronald Warsow , Sasha Levin , Sean Christopherson , Shengyu Li , Stephen Rothwell , Will Drewry , kernel test robot , 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 Message-ID: <20240512105657.931466-1-mic@digikod.net> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Infomaniak-Routing: alpha 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(-)