Received: by 2002:a89:288:0:b0:1f7:eeee:6653 with SMTP id j8csp21193lqh; Mon, 6 May 2024 10:00:24 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW3JaH0fNS/8Id5IgqmHckO08MkXtidpB9xM7t4JHq01G4FqV5Fo0cCxhbppWlXVg15o3Cr8tcbqm7PDDMfAkLT+Lw+hCmh/980W5MRdw== X-Google-Smtp-Source: AGHT+IGoDO7mFMr5fEcYQesTj1mZdLNLD8D3ZL8yV+p7l2FfztKhQM2XRQAKkRSTWV+Oi0hhzHw4 X-Received: by 2002:a17:902:ea0b:b0:1e4:31e9:83ba with SMTP id s11-20020a170902ea0b00b001e431e983bamr12766011plg.1.1715014824090; Mon, 06 May 2024 10:00:24 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715014824; cv=pass; d=google.com; s=arc-20160816; b=IFuFDV+sKPSQvXbwTCWixVRwhWSjkF2Ny8Hdym7xtxSCU1kphSvYCPNt32RqNfVQxh o7qtO4wxJE69SqXAB+73K6PilHnep7A1YY02KgYO5FZR8fUtmL4aNrd8IOOX4ACdTkOw FqTiwYw7jras/4J+LhcWAHMR8EIqH2zoKpmh2WoNTlLpx4zkO7ZrRv8eCilOyV0JDAvm REahClv83NcQa8XRimdJXz/IGae+L1eOYsLDayWLtvAde1WIWfb+5fRm+Zu2E2xETVdG BaC86Ibjx5YIy240LBbNCccM+cZodI1bqX0Pgs5luo8mu8anpj6I5Ovy83eS9au9ne2J EE8Q== 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=7J+71QaRqgO6/z2Y5NGLOc9KCbX+B8PI4e4loTqghvc=; fh=h2xHIZSGiUwuZyladnT9pE6uX086qy42ByZk41PjzSs=; b=d+yy9DBVXeq8qMJyHa0dOlhJtYcQiHZ5jagc9hYcPmEfBfXLgSNwJpPYl98ql55uML 3jjKAqG0xIhneKlzjhQhK2LqI+eLZAtqi7d4XBwpy9qU2wUFgEylVILTgMrb1H1XdijF 0JgBd5uatYayIfoLo6nQRn0zztC1wdy+Dp5u42A16eAIbS7bJUxQJxRYCaktpnhaUBHc VJvhDo1hjNQIgsUrD8VEBMifZd1FFBmuUCu0hmTt+lx+SKBrReulOXz317tn8yPko4Im ZERWoPKhiZOgAb10dM5u1HWVCo7RoKMmcHn3JzD6E+EUxqkPIwzmmRHG1fVbIOwd1ohJ TCzw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@digikod.net header.s=20191114 header.b=u4m10Blc; arc=pass (i=1 spf=pass spfdomain=digikod.net dkim=pass dkdomain=digikod.net); spf=pass (google.com: domain of linux-kernel+bounces-170200-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170200-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id ix13-20020a170902f80d00b001ecb7e62544si8297596plb.437.2024.05.06.10.00.23 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 May 2024 10:00:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-170200-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@digikod.net header.s=20191114 header.b=u4m10Blc; arc=pass (i=1 spf=pass spfdomain=digikod.net dkim=pass dkdomain=digikod.net); spf=pass (google.com: domain of linux-kernel+bounces-170200-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-170200-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 E7417B21977 for ; Mon, 6 May 2024 16:56:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4CE2E158A08; Mon, 6 May 2024 16:55:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=digikod.net header.i=@digikod.net header.b="u4m10Blc" Received: from smtp-42ae.mail.infomaniak.ch (smtp-42ae.mail.infomaniak.ch [84.16.66.174]) (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 A8150156C69 for ; Mon, 6 May 2024 16:55:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=84.16.66.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715014534; cv=none; b=iUHNwpuEJduHHTQe9yKe1kAFImhzKhcEmpXLVKvzxjSDSh1S4vWwVJCg6cZavJPW4lWaKkLL7VsbWP8cQcVAbGV+oetNKJfh+mqa6051chk1INnIb5OW3Ua8ut74bfpSFEkuIWbkvlo5NNtI+YuXukM55eVgUj2avL9iOXFHTG8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715014534; c=relaxed/simple; bh=iBCwj0t4GNIgeQmAIxt4IPx4WRGLjw0mHHhbCHHB17s=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=Uv2p8IY/hnOjLvzz76IL4jViimOs80cwwqwtngHQ+G0BCl9IsaUU2aXdaiymtV8ioI255EPifjIBCBBlj5n6OAYX2uL3SEH/s/cGELChOvGTpJGx85ieVAhnBwcnC0QKzTclDh4dIerFZSvaIaZZJarGeFJnF0H/XIY0YDIj9KM= 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=u4m10Blc; arc=none smtp.client-ip=84.16.66.174 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-3-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4VY6wX46Rwz6XB; Mon, 6 May 2024 18:55:24 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=digikod.net; s=20191114; t=1715014524; bh=iBCwj0t4GNIgeQmAIxt4IPx4WRGLjw0mHHhbCHHB17s=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=u4m10Blc8C6ZITGURDlqr0irNhrm8ywQ/NWd+C3TjuixHq4kek240XNW9Nk8syNJD XV9d7239Qju+yykMu00UMyt5ic0QdfMezWcEzwzV6V1qdey+s2L8+udw70ugSOTnIG nJBZ/vQqqBYOmapQPB2SQiL+cF2IZbUl7JnUKaAc= Received: from unknown by smtp-3-0001.mail.infomaniak.ch (Postfix) with ESMTPA id 4VY6wW5NpmzxYD; Mon, 6 May 2024 18:55:23 +0200 (CEST) From: =?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?= To: Christian Brauner , Greg Kroah-Hartman , Jakub Kicinski , Kees Cook , Linus Torvalds , Mark Brown , Sasha Levin , Sean Christopherson , Shengyu Li , Shuah Khan , Shuah Khan Cc: =?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?= , Bagas Sanjaya , Brendan Higgins , David Gow , "David S . Miller" , Florian Fainelli , =?UTF-8?q?G=C3=BCnther=20Noack?= , Jon Hunter , Ron Economos , Ronald Warsow , 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, stable@vger.kernel.org Subject: [PATCH v6 01/10] selftests/pidfd: Fix config for pidfd_setns_test Date: Mon, 6 May 2024 18:55:09 +0200 Message-ID: <20240506165518.474504-2-mic@digikod.net> In-Reply-To: <20240506165518.474504-1-mic@digikod.net> References: <20240506165518.474504-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/20240506165518.474504-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