Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1412954lqm; Thu, 2 May 2024 14:09:51 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV6fJluSna1MCz+eq7A9Nb/8BARlPtPj7g22/sMutpsnipJgToAC3XMbklLq8a4Tr+KdsMHULnpuG6ZjuxLnC+CflqAwv1Jhq0Y8PZ92g== X-Google-Smtp-Source: AGHT+IE4X6+wfPxOEKi9OhuVnSTph7jRNt0lGua7wSGnlSENowv8+j4Ri6XL/JH0DS21EhXq6A++ X-Received: by 2002:a17:90a:b318:b0:2a5:4e39:6a8 with SMTP id d24-20020a17090ab31800b002a54e3906a8mr1055295pjr.33.1714684191281; Thu, 02 May 2024 14:09:51 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714684191; cv=pass; d=google.com; s=arc-20160816; b=SR6Uy7AkE3pYocEU+7FNjSrrwVEvj0qjfXSc/gxMWxTOXtZaP3YlhSkyRprRQscSNh ZihCatHqQ6L0nOB6iGYoUOAUAiXjtbEjV6xWwO4TjfEPpfH0134TGRfipHsBnVLq9w2y QqHSeNyUHPYeLv/wzVoYxs+OoTwVRX43eAWynDYtpH4/Zo3tLCYVWmjven/4VlSk+QNU FAC5m+ln4074oU6CwFnOxkHBHNbgFWJz9mxvUi2E4l2Ti72lDZg1cUF8Tc+EiNjOW0ES VuoXf/oVImel+49ilGxLpM6FfGtff6lJLcSXx7wJxXLyZ4WzamGOrfNS49jCG9Ktfmnl uTBQ== 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=E7ZS3X7sHtIMtLIPMcS7Rt/ZK00hHrsIltY6V+S4BE4=; fh=DyJwEPHty4QZ77xuwgmyonrTSVvlIRI2bkR/2kTqG9Q=; b=BUdFPlp2vYQHproVCgumh99UGxcdo3zc/xQOTYgm8kjrjV+qvyepNUd/wMnxh3hXbX +tgZaThYqH+rBYltQ5rb42jpjz/yCLI6cmmv/HvYW04y8TuJB+nPN7CPTFP1NOx5FQcm W4pDGQKjlaamWeBf2i4FmgTVQLZPbBHkKtowg8jcwBLxNtMJ7ag/W5xyIk8NCVbKF7Df GnEjE0B9IvVKEZE2kQ4rWrnOBxPW0MQHgto+fDOUgLapaqH68F0bE7aRLHoF0aCcPry/ jmefUUiC2ad/4kINxdLsUQIBtrJmAU6MFSNGrlocZHCPk1spMdJqFiGq+T6ccxuplk1L kN/Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@digikod.net header.s=20191114 header.b=D918GByc; arc=pass (i=1 spf=pass spfdomain=digikod.net dkim=pass dkdomain=digikod.net); spf=pass (google.com: domain of linux-kernel+bounces-166912-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166912-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id mi2-20020a17090b4b4200b002b2674a96dbsi1820925pjb.94.2024.05.02.14.09.51 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 14:09:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-166912-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@digikod.net header.s=20191114 header.b=D918GByc; arc=pass (i=1 spf=pass spfdomain=digikod.net dkim=pass dkdomain=digikod.net); spf=pass (google.com: domain of linux-kernel+bounces-166912-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166912-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 sv.mirrors.kernel.org (Postfix) with ESMTPS id E5455283926 for ; Thu, 2 May 2024 21:09:50 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 93294181337; Thu, 2 May 2024 21:09:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=digikod.net header.i=@digikod.net header.b="D918GByc" 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 7EBEA180A81 for ; Thu, 2 May 2024 21:09:38 +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=1714684180; cv=none; b=fAX6RrqXNu8KUKcPgw9OTTafdWrPptVudBvA+ie+hBS1LnLS/yc4e2sujTBjei7ILoGQNe8HXCIwFsSgjjfxrq64/6bojTMPiPVszqWt0S5VKwanpnDnnm0bB7P7DxT04hD8XBi15jLkS858pCMcTXgLmem/ZmCc7XjPg5yZSZ8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714684180; c=relaxed/simple; bh=H21Z2fTU/3Zi7Aj9M2B1LpFUqah0CIukLyC68VTbJtg=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=fUk1pFs616m1vqzd+cGa2CBVmP+YaKhGmj+qQHCzZ4RnDzDBrnJt2yMkEQBGLQtuJEIid6wNU5Pmi5bi2m9fsTZktj+DPDNUtahqXE7pmvLjxa0LIL+o8RsX/uJ6b1WCHiUS7wAPn6VOlBf6Qy89WV1uKsK9HXyMBhxfvW4BP10= 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=D918GByc; 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 4VVmlh5gpMzMV0; Thu, 2 May 2024 23:09:36 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=digikod.net; s=20191114; t=1714684176; bh=H21Z2fTU/3Zi7Aj9M2B1LpFUqah0CIukLyC68VTbJtg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=D918GBycTCdRpdNtcRw290HDcN9+EsGCyrdTCt5CX2/A53BZ4sPZq+eGthQjwv06U HGYBCnSJDSRkLKMENWjQ56urmulaSzs7jm9r1p63kgEJrV5QpRmCDd1RPfKiOfu9hj l2y6L2cOa1LONUYumuUA3BwQeEsXF+LDYZdN2Fvs= Received: from unknown by smtp-4-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4VVmlb1bcXzHKq; Thu, 2 May 2024 23:09: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, Shuah Khan Subject: [PATCH v4 01/10] selftests/pidfd: Fix config for pidfd_setns_test Date: Thu, 2 May 2024 23:09:17 +0200 Message-ID: <20240502210926.145539-2-mic@digikod.net> In-Reply-To: <20240502210926.145539-1-mic@digikod.net> References: <20240502210926.145539-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/20240502210926.145539-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