Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1583649lqa; Mon, 29 Apr 2024 12:36:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXolLdRYD/X2tG3qXsbCZenmUUHyHg9TRURE6WGwruxpI0V+otGYGC1mph6YEydU64THguEzVKT5xUJOCyEbHF8AFBIvJfNGExwmlVIsQ== X-Google-Smtp-Source: AGHT+IEYBAo0F30RA+zrVZ2/kZMwUKtQ5Sf2yhPwZ8GUiE2sVesgizUBF4r3prbnRK7571KjwtFj X-Received: by 2002:a50:99c7:0:b0:572:3f41:25aa with SMTP id n7-20020a5099c7000000b005723f4125aamr9757667edb.11.1714419414028; Mon, 29 Apr 2024 12:36:54 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714419414; cv=pass; d=google.com; s=arc-20160816; b=xToQq2mqBSYyAG/7j3fWM/lroy4B4kN5NESOVc/ATua9IyaGNWqtHVmxDvOZZzJcI5 2xRa8UwB38/Q20/8MORJ7053cMT59O8aduqpm6qGXBYyB+io0CkEQqgodifCxeVtPz4T zwmc1beSatSsIW40SiY8ByRd6prdOCb9ANvtPe2xLK26/ZcLjnHXbTwOa2Q0GpoDBmrJ QRf+M8KZd6XPBaK71pIxQfFPVs0vwFs1xUOpl3Si4qki2GSxbz+aToi6JZJ/3SGtE4zm zc6GegGvJLCLyo3zN7HmbOLPf8cSLPYxs5f31Nst8WorxxA1hb/bYZmKilYoooXjPPOD DL7w== 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=D/Z+JaS8pETMDnsokyB9N4gXFjPXxS03QAUZWiMecfw=; fh=T/ngxZ/rchirObc+ozpAMGxUCKvTk1uHXxRS2gfk1OI=; b=RqXyxGSZbJaMexrs8T0u2Nny0dpzF0ILGCp1NG7fkEzpwMY+kYz7Bp6Aul6GHK+o9Z dKCcIPjVqsibYAi17+iDkf+7iepVS6p1KdCpGz/ckp9v2hN3KYLaNawa1MmLcDCGSoje S/b/n4G6hVyGu2SCLOsatNY1XTSc1WucjqtDWJgbXx/jFdc4gq3xt//2Vbmr3T9iajV/ bEcpBsLDEagzP5r5iWYsTaZ06oZGFhQU6IONZG3+Q480MNyqv8AxEJwRcggtteyjtWZM fJi88DnZqnpeMwk4yrVW/lQyRaUUExNtWzNJi4SyhK3Ye89Qxup5D2ydzxTYYBr2cnhh JXng==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@digikod.net header.s=20191114 header.b=Am1BAp+L; arc=pass (i=1 spf=pass spfdomain=digikod.net dkim=pass dkdomain=digikod.net); spf=pass (google.com: domain of linux-kernel+bounces-162898-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162898-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 t3-20020a508d43000000b0057294932645si104849edt.602.2024.04.29.12.36.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 12:36:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-162898-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=Am1BAp+L; arc=pass (i=1 spf=pass spfdomain=digikod.net dkim=pass dkdomain=digikod.net); spf=pass (google.com: domain of linux-kernel+bounces-162898-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162898-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 93A061F23283 for ; Mon, 29 Apr 2024 19:19:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5F49513B28A; Mon, 29 Apr 2024 19:19:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=digikod.net header.i=@digikod.net header.b="Am1BAp+L" Received: from smtp-42a8.mail.infomaniak.ch (smtp-42a8.mail.infomaniak.ch [84.16.66.168]) (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 F07A513AA48 for ; Mon, 29 Apr 2024 19:19:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=84.16.66.168 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714418359; cv=none; b=VZ2dWnk2fgMRivrCByx5HaY7owb+56SN4vblbPVSuO3pHk2C98YRycVh20ljiHL6pI26sic97GKOYMCCItjSoHxofeqaMlYq0wj8xAYSHzSiHYQFjAmD6j8Vb2bttRB8jZqE5U4z6gD0hKpBa5T4YJwBeawtEfb9ZzuOKPwS6Bg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714418359; c=relaxed/simple; bh=8zH5TDdNRcNb8ynFUJ7igfj446ezUJo3mZ7XXP6sHRM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=g29vxavnkj0D357nNRWuIEbZAY/saPd0kf/7N+20oGsBMkg6ro+pqNwczq7TQK/uH9XSXEIxRoJwh9Zs0MDGtjM2QIUwskaWHrPcNTqir83JT/M6ZeIWt6e86Ln6XaUYwaYK1jSSStVB0JQkDWbmxe015E0iXxr7gpGFjE0cr3I= 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=Am1BAp+L; arc=none smtp.client-ip=84.16.66.168 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-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4VStRk6FhqzPKS; Mon, 29 Apr 2024 21:19:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=digikod.net; s=20191114; t=1714418354; bh=8zH5TDdNRcNb8ynFUJ7igfj446ezUJo3mZ7XXP6sHRM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Am1BAp+LEgEWLwnTXkpS1w4M7TzJIps8z86ireglFeOYBSkdJg0zAIFpKkukCWr28 4FOezYbR05C7k1FkJS4c6KYnF+NnhnQTajXey9F+eYZTguFs1A50GPN6bbtl1bDS7S nKVjCrPqqp/XItgCEK85gXQG2ZoxJicmqhJyIUe8= Received: from unknown by smtp-4-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4VStRk1hVszYlS; Mon, 29 Apr 2024 21:19:14 +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 v3 1/9] selftests/pidfd: Fix config for pidfd_setns_test Date: Mon, 29 Apr 2024 21:19:03 +0200 Message-ID: <20240429191911.2552580-2-mic@digikod.net> In-Reply-To: <20240429191911.2552580-1-mic@digikod.net> References: <20240429191911.2552580-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/20240429191911.2552580-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