Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp1170997lqo; Sat, 11 May 2024 10:15:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXPxBzWdL0PJiuP81Gk6h1zm/9QK/MHZcmKxhm7RooIpsBDQpuA2XDmbOn35Z6GxQPc4Xy/gz1FVeNOVlNq+avlHZpCbLoFc2nbamt6Og== X-Google-Smtp-Source: AGHT+IHRwh49Ic7b5LdwPIgaKXjSAuM7G24aFnDV66K6heamiKpXIWPW+BQoqqkZGC0+bP0SP6um X-Received: by 2002:a17:906:22cc:b0:a59:c319:f1e3 with SMTP id a640c23a62f3a-a5a2d53ae7emr364227466b.12.1715447742049; Sat, 11 May 2024 10:15:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715447742; cv=pass; d=google.com; s=arc-20160816; b=PxWmw5P3R+cId+i3qhfsCpqnXuuw2EgYlzZMPDej1UbHkun8ZhSON/JefqrjbZwahb duY1QN2dHpq6im7e/yX5Fj0l8lvkv06SwWZu7qN4yDJ91KZlY3f+DTP+OQ9peD5mf8Yr a7RakXkd/RNMGUqjrFxFHxwiIe4YTzEH/JKmi9nq3J4C22vfmZbeHds0hM3L8W8TvGbG Pu/jrMgv/y9cDH2VobNs1b+XxRPpTrcQmZweKG9g+c5k5lr0Cx+o3m0xDm8Fl+SL5vjU PxQcor4Qj102aJAy+UGNjNegglHyDHW3/xJPJHwnVfP2sQ9ZSE0ol78Xabj9HJ+S2w7U 7OVA== 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=aciEDm7ED3PMn/nZ1hHix2LICxSlOq8YgWQVQXDH4y0=; fh=h2xHIZSGiUwuZyladnT9pE6uX086qy42ByZk41PjzSs=; b=v4GMZOBwOQpj4ta6/Z0csd8Yo883YMgtd+i0QOMjkYFxqHLDBbohjq/FuOHsbQlpIi lfOk0s7x8dovSbBXIVH9RgDqc5nGHjEc0uwVmb5JML6QoFdvtMhltInqK8CIIRHDZSkF Hojx/xnUQT0O/AZj6TNcg9zNCGvK3J26TOEGlzbskcH6+PPnSfhc2f0SOQmqkcV2Vahf HZdiOxjKvRnMwrxlQcOunldHLC30Dfm5AtLNdFsCQwA7sHfW0OgCcmhVD96vllxAZ1YZ nwoJ1Oa6IS/KCu0Iiursv1bAEHO7HAgjF8TAbJL8M7nGzhFuQs6CIREH4JYnHkTb6zOM PXQQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@digikod.net header.s=20191114 header.b=JusrSq8Y; arc=pass (i=1 spf=pass spfdomain=digikod.net dkim=pass dkdomain=digikod.net); spf=pass (google.com: domain of linux-kernel+bounces-176655-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176655-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17c2c67csi328214166b.1017.2024.05.11.10.15.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 May 2024 10:15:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-176655-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@digikod.net header.s=20191114 header.b=JusrSq8Y; arc=pass (i=1 spf=pass spfdomain=digikod.net dkim=pass dkdomain=digikod.net); spf=pass (google.com: domain of linux-kernel+bounces-176655-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176655-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 C41B11F21CE8 for ; Sat, 11 May 2024 17:15:41 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3B19320B20; Sat, 11 May 2024 17:15:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=digikod.net header.i=@digikod.net header.b="JusrSq8Y" Received: from smtp-8fa9.mail.infomaniak.ch (smtp-8fa9.mail.infomaniak.ch [83.166.143.169]) (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 993141AAD7 for ; Sat, 11 May 2024 17:14:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=83.166.143.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715447704; cv=none; b=hHs2ow7sschrbgI7r32wm0oVWouzFK0J7ZEkJUqUD9nT1uBmVfzFJAyPGMpZNuEC9nGnLKnaxBqFgTyxWxFzYnWL8O8M5xZc3NxxQowzgLJ5nCcuyzaBkwbIAB9cHKymbynv5OsuRCht/RCRBTIDZDiWTiNaCB/cvJsxVR7za/Y= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715447704; c=relaxed/simple; bh=d/W4W0Zv8fV+tSobXMhDdAmNiF9r2yWNLjwjMl+IgTA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=HEM+2s5NqDWfpQ6pfDgi19SG9kJy0yGSHuT9cuvwRFJbJIfTF9DxilfgfxFXeoHvKywNkEj9jS5UtCdvwS02++VlN17AxgJv+j5uMHFjk4wCaZvv1c7+6rtQI9RthdCfUOWw4CU5gKc2mwWvTwW2LpaXCVV2IPTwNWbYhCcmCjA= 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=JusrSq8Y; arc=none smtp.client-ip=83.166.143.169 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 4VcC6h1LvTzd9l; Sat, 11 May 2024 19:14:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=digikod.net; s=20191114; t=1715447692; bh=aciEDm7ED3PMn/nZ1hHix2LICxSlOq8YgWQVQXDH4y0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JusrSq8YSd/qEeiRRne+aMzC/jKwJxqRNfmeO37ySk7OypbGg45Ctq33glczlKAGC 57WcEn6jfK6vwfb3RsWe+vwvsuQFk63d7ljhllqZeSAG9NSHeuj6qhAoXvTHJvDSeb Kgzh5BRqUWqp9UYaW5QoS94Z6fDxM2LlgUysgUCA= Received: from unknown by smtp-4-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4VcC6g3mprzTBS; Sat, 11 May 2024 19:14:51 +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 v7 01/10] selftests/pidfd: Fix config for pidfd_setns_test Date: Sat, 11 May 2024 19:14:36 +0200 Message-ID: <20240511171445.904356-2-mic@digikod.net> In-Reply-To: <20240511171445.904356-1-mic@digikod.net> References: <20240511171445.904356-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/20240511171445.904356-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