Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1695263lqm; Fri, 3 May 2024 03:58:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWHzY0Yg2bc8ipTbNhHHoB5hXVvE/9wpMzRcJOQYihUYyvn2o39flF7pg0dNS06rrbubstXKGEzfWkDkJL4zTIdPjNywjGpPzOjeIA80Q== X-Google-Smtp-Source: AGHT+IEiwdZ0U7sfyF+wU0p5ADjEhDUaGkgydbhLRbtI3T2XaIHfPnHMDTcdYxbO3QW1X6Rp0k3k X-Received: by 2002:a17:902:650c:b0:1e8:b7fc:7f85 with SMTP id b12-20020a170902650c00b001e8b7fc7f85mr2001550plk.31.1714733932842; Fri, 03 May 2024 03:58:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714733932; cv=pass; d=google.com; s=arc-20160816; b=WtoJ+QTdIIsknT79nUdh46GNdLq9AzGHpCOpz1YGgLQq/56gPNmoH2tWOCYkUMfXRS TwIgtzON5Lx4fVrN35XN7l9O+U+gXNWunaSdWSTsv6jcfis0PrLllPToAIFsqq3yhowq F2PyKHutbmvo6SifdHwYyGmE1t2E3indZTyCtSfv5cTTGi8b5nUI5h/sewEP04xySL8x ST/LrO3Hgq6iWvVggWNtd0bTjA4vp0nfURAzJ7ldKwTPpTI0dFBlUYIbS8Mq6v7qodYM dUNRX5bTOIuKrXJ9F4RBfEZpSgndQ4SR4cvw/G+TvNIfGkYLgF58WGsgI+vySABgCj4D jDvA== 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=0kTilNkDUCuDGgih6WxEVg1VZ0/MKS4uy3o3bSXizII=; fh=pFOGWyS68KwrsEZD3Ll2e7y6RwSNe0VchkTs/n9iysY=; b=wr3ndOTUt/KOlngpdE8h3TvtNmu1ZqVRZbRcqQm3DiK7QrHUyVM8wNl0wItCsPs0qY jxioUQJ1BWVYugGBDLoYlZPmYMCCl8ffqE1v2zV2QRINlhPm7xVkD1sgXkNo6SE5gqFI duLoPJV5Sh1sqePnhrbxnFkmyXZ4rKGuupT9QBdNYr3N6OofI8HxbaGjAWNhQqy+DEn3 0/kl4wozv0PQX2KER4qv29UjEiugOOZqaOs8BoPpqY33arqTjXW3kXx9UywJGY4DKSrf cnFx7BKMSipT4+P6XxiuN5kwRQvMXUZugUBO4kfVkBNOeQjuBP61CiSWACP9DtDNsYJh J7Zg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@digikod.net header.s=20191114 header.b="d/4InT+y"; arc=pass (i=1 spf=pass spfdomain=digikod.net dkim=pass dkdomain=digikod.net); spf=pass (google.com: domain of linux-kernel+bounces-167547-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167547-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id b5-20020a170902d40500b001eb5bc2d9d0si179641ple.218.2024.05.03.03.58.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 03:58:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-167547-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@digikod.net header.s=20191114 header.b="d/4InT+y"; arc=pass (i=1 spf=pass spfdomain=digikod.net dkim=pass dkdomain=digikod.net); spf=pass (google.com: domain of linux-kernel+bounces-167547-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167547-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id BAD3FB208E7 for ; Fri, 3 May 2024 10:58:51 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 52EBD152509; Fri, 3 May 2024 10:58:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=digikod.net header.i=@digikod.net header.b="d/4InT+y" 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 E12941514E9; Fri, 3 May 2024 10:58:33 +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=1714733916; cv=none; b=VWymFmvu50cquyQBtZQFjbCpKzfh7T4Smu+rkMJYmlkNGe1hHC4QLCD+QUkybohrXvmC3I/O0lc2LjOvXdpijqxaVDZAWjzfWHG8FQK8eYCQG60l8iFdVakPe7AAvBWnxA2WVE1rIIDeoSJIq/qib0tdvRM9i36GBqDRqXubIJQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714733916; c=relaxed/simple; bh=pJYnxkAsqjzPHl0RjxP2Yr/dCYSfl1erlD3++NvhZXM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=l9Eg0D6s5ZreUXYWe1gHvfD5lK5sALlD7qpMXAoQ+RDupmvoJapjzlFBxpc0VZREpjMG653F/N46TjsQB+u27nZP/oERPZyEYMZWkPC0WKSd7nUWcDJLVyCnJ+ihZLPMjRJU2cL7Xv27VhYdREpXrcwaHtzHW6nHQBtPRBWK/pg= 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=d/4InT+y; 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-0001.mail.infomaniak.ch (smtp-4-0001.mail.infomaniak.ch [10.7.10.108]) by smtp-4-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4VW78818Vtz9V4; Fri, 3 May 2024 12:58:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=digikod.net; s=20191114; t=1714733912; bh=pJYnxkAsqjzPHl0RjxP2Yr/dCYSfl1erlD3++NvhZXM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=d/4InT+ytRAF+NtlfLolrkH/N2DiHrZXezuRFuqhKsQzWT+EoVK32CD/8vjNqWfmW vNLR7MkULLpOAL3QvIPBK6EQlo8SPEOMdUMadgOgRpYDZjz0YIVfL6jUnLE+28fUn1 nMcJFXvWwcq60xk4gE4xrtSK34EdzXqK17LPL9fE= Received: from unknown by smtp-4-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4VW78744b1zd8n; Fri, 3 May 2024 12:58:31 +0200 (CEST) From: =?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?= To: Christian Brauner , Jakub Kicinski , Kees Cook , Mark Brown , Sean Christopherson , 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 , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, netdev@vger.kernel.org, Shuah Khan Subject: [PATCH v5 01/10] selftests/pidfd: Fix config for pidfd_setns_test Date: Fri, 3 May 2024 12:58:11 +0200 Message-ID: <20240503105820.300927-2-mic@digikod.net> In-Reply-To: <20240503105820.300927-1-mic@digikod.net> References: <20240503105820.300927-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: Shuah Khan Fixes: 2b40c5db73e2 ("selftests/pidfd: add pidfd setns tests") Reviewed-by: Kees Cook Reviewed-by: Christian Brauner Signed-off-by: Mickaël Salaün Link: https://lore.kernel.org/r/20240503105820.300927-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.45.0