Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1343499lqa; Mon, 29 Apr 2024 06:10:11 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUrNiuKDxno7F1LIvq3bCQcnAS091OkgGgxy1d7yrzuW/1868PmrCut7adcs+NlFipB+JggTbiCJlJMuV++mRf+9qLMKwatkT1XiyOabw== X-Google-Smtp-Source: AGHT+IGBzOF7s1iu09eiMadVPHXRIpTppAGGoBt2zeEveY2bZFEsWaROGoOhdkKmxjHWd9fWzFn3 X-Received: by 2002:a17:906:2544:b0:a58:9485:3156 with SMTP id j4-20020a170906254400b00a5894853156mr7048353ejb.50.1714396211309; Mon, 29 Apr 2024 06:10:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714396211; cv=pass; d=google.com; s=arc-20160816; b=w4ZC1+xInKX3oyIxegooaBttfwX3DJuMVSE/SnhdX7raBvLZ6gl81zOPKSP4Hf5uHy GXTKvw/h5diRLkoD/I7uVb/oFkLIh8lVAc4jjiy/sjU+rviCLFNXQqMhA4h2sSOQQyHP rMjOMsJyMn3DcDEsc3q5VVwLLb3oZ4jUyiHv/gUrtJBe5oDCe41HjwEXItr7TdBzodTm j6Z1/mOCUojzBXA8q5vQqD7WrPiQ+CdhUEBkHv2KhXzrHpNpPCyPQBYOKbummPnM6cI+ ujQ4qyaCVWn3K7t4Yqvj6XOayez6mfWoGF6FszbQjHwv2eXxRRZAy2AL+q3urPLQn1zA fQbA== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=Z7zwGwo3Qw30rpTytxAU7IS5qx1pf418CYrZFs3ujXA=; fh=T/ngxZ/rchirObc+ozpAMGxUCKvTk1uHXxRS2gfk1OI=; b=I1hg8DwLsYKO1O+Va8knzTGXKusah263dxUz2/Ibjaosco5KM77MvcjzP+lLsqbJEK MTsV5PmYwrUvGo01YvA1dTKSyIvQB/DRSkNi5DP/F5akk1KKrgV9b8KbrA74JvGGJuOG sZx/Qp47JD5GC59a/9oU+HzlqPuOomdd4w6cNE7/15figYvqyJZDvskVtSWr4Cj1RkG5 YRydH9ZWtcLaXHaOAofXps7hPnvZdNQgvcfDzzrTNTYIg/mh8JqNdUGbWS1+9um7XGMW knq+urc2BLoSR8H9hHnIP6fkAyuJmVhCGkLlADBgLdNFeb099iXKpiaS+jb0e7vnb7DP 6umg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@digikod.net header.s=20191114 header.b=Oa1NumE3; arc=pass (i=1 spf=pass spfdomain=digikod.net dkim=pass dkdomain=digikod.net); spf=pass (google.com: domain of linux-kernel+bounces-162331-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162331-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id f6-20020a1709062c4600b00a58d60c0732si3758823ejh.88.2024.04.29.06.10.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 06:10:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-162331-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@digikod.net header.s=20191114 header.b=Oa1NumE3; arc=pass (i=1 spf=pass spfdomain=digikod.net dkim=pass dkdomain=digikod.net); spf=pass (google.com: domain of linux-kernel+bounces-162331-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162331-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 06EEB1F21272 for ; Mon, 29 Apr 2024 13:10:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 63A6F71727; Mon, 29 Apr 2024 13:09:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=digikod.net header.i=@digikod.net header.b="Oa1NumE3" 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 7885D53807 for ; Mon, 29 Apr 2024 13:09:46 +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=1714396189; cv=none; b=Rqw2nB2W6wVOakP2tUVQLvyxLhnJkbaMt+bQQrakI1ZbehwZJbWhFhVPRHqzotKkGXy2rs5V3K5gFrJun6DHVMv3c76MEiVCfJTFI4RrSSANTKml3oeeeIeEAFMHCQlcoHozZlM3mFcRNek4BuggDb7iI9NIOuXJLF2sIAT4zRs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714396189; c=relaxed/simple; bh=jU/EetW3hME+8bN/y9Bc1UJ0jwLikMjBwMhwVsjcUPs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=stoinDMrnWca8lG193JsRPtdok7XvS1EATrkuq7Mh88TxnHWtpFpHn5pOenFvvD/TEjPgSu/sQi73WrRsx5erqrd9VIlMYaoNvI+e+onQgw0+5MWh1fDENwRrXzmweVgG9DUisSrS0gdiszpNOrXD09bS8y7JP3UUf3PgJRLl0s= 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=Oa1NumE3; 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-4-0000.mail.infomaniak.ch (smtp-4-0000.mail.infomaniak.ch [10.7.10.107]) by smtp-4-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4VSkFG6Nm1zD1p; Mon, 29 Apr 2024 15:09:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=digikod.net; s=20191114; t=1714396178; bh=jU/EetW3hME+8bN/y9Bc1UJ0jwLikMjBwMhwVsjcUPs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Oa1NumE3f0vHUhyXi3UuuMQJFN7lKI+CIfr0LYUX/MBskFe/uAgctxDHzS2jrRVJJ +N0VoBP9u/lneyCoYVZBnoCkGCRGLKG/DRtwdDJ6L0WEUx/fJvHo22Dbzvu59HRXzg ZmzTCCynzf66jEVrK1ovYuGp6u3fes5th2lGgX84= Received: from unknown by smtp-4-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4VSkFG2zc1zKXB; Mon, 29 Apr 2024 15:09:38 +0200 (CEST) From: =?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?= To: Christian Brauner , Jakub Kicinski , Kees Cook , Mark Brown , Shengyu Li , Shuah Khan Cc: =?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?= , "David S . Miller" , =?UTF-8?q?G=C3=BCnther=20Noack?= , Will Drewry , kernel test robot , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Shuah Khan Subject: [PATCH v2 1/9] selftests/pidfd: Fix config for pidfd_setns_test Date: Mon, 29 Apr 2024 15:09:23 +0200 Message-ID: <20240429130931.2394118-2-mic@digikod.net> In-Reply-To: <20240429130931.2394118-1-mic@digikod.net> References: <20240429130931.2394118-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 Required by switch_timens() to open /proc/self/ns/time_for_children. CONFIG_GENERIC_VDSO_TIME_NS is not available on UML, so pidfd_setns_test cannot be run successfully on this architecture. Cc: Christian Brauner Cc: Shuah Khan Fixes: 2b40c5db73e2 ("selftests/pidfd: add pidfd setns tests") Reviewed-by: Kees Cook Signed-off-by: Mickaël Salaün Link: https://lore.kernel.org/r/20240429130931.2394118-2-mic@digikod.net --- tools/testing/selftests/pidfd/config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/testing/selftests/pidfd/config b/tools/testing/selftests/pidfd/config index f6f2965e17af..6133524710f7 100644 --- a/tools/testing/selftests/pidfd/config +++ b/tools/testing/selftests/pidfd/config @@ -3,5 +3,7 @@ CONFIG_IPC_NS=y CONFIG_USER_NS=y CONFIG_PID_NS=y CONFIG_NET_NS=y +CONFIG_TIME_NS=y +CONFIG_GENERIC_VDSO_TIME_NS=y CONFIG_CGROUPS=y CONFIG_CHECKPOINT_RESTORE=y -- 2.44.0