Received: by 2002:ab2:1c04:0:b0:1f7:53ba:1ebe with SMTP id f4csp130346lqg; Fri, 26 Apr 2024 10:35:31 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX2VYum231wIQytWruy3e/ZZgWV2Doq21QJL9ns9ZmPS3kSD+BBbKdYkB9pgxpbMfVbVgnIpu45Ja7CgBWHEFThAtVgvRAyppDyI7D/TQ== X-Google-Smtp-Source: AGHT+IFQvfES9snbnj/JSvLhSIFKjlaifcvn3+YauUtAhkhEAuu89PcUINP7Fz14sqow3HQNpKwF X-Received: by 2002:a17:90b:1889:b0:2af:5b90:c7f9 with SMTP id mn9-20020a17090b188900b002af5b90c7f9mr3176706pjb.4.1714152931619; Fri, 26 Apr 2024 10:35:31 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714152931; cv=pass; d=google.com; s=arc-20160816; b=WNymlqq8YPFv3drYVobWydf0oNoghqmLY/NDQv39+5//TatJWK2KNhM6k8kEn7qFn1 +nsqvPLqQHdBW1Sz9j6tQp9k+44C/UjSawY+EhGs/tfIGnwNO4h1m1+SOvSBeDdCu69N u5v5Vgan9Hzxi8+9Tm9aFkNBGTp9LoPPgKmzJGbXGNBYxK/crSM1dlIgkK0AgMfS/5fU 79IOao4mTJO+/h8oJrTNkWE0FIrFBlOFPiaI7d5xx8iOoJsTFLaisrMd38Eq8GY/AILb BevBoGcM8kdcnyU07wYlJUH0Wyc7/IfFALXbPGwl0xT/d0gKoXd37Zj/8dNFCrhCb5Aq jJlw== 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=ILUxDMoUnbJvesImMOEoFYEfXhd2bcQx8/eiD5arHKI=; fh=T/ngxZ/rchirObc+ozpAMGxUCKvTk1uHXxRS2gfk1OI=; b=CpTsEbd+serE7u6rRozaq+EcAefBsg7xXXWyAFr1GUQK6ENoJlz0OQu1FwEiWEWHPd Vf7IakC6XfEJ22AUqv545Dbv0w7sCu5ilNp8YfCi7NtbNMgVfJgPFkPIR5bB8obMg+qL Y0vqof8QcjjEkRMHfQeNKFn76bA9Y88JPgz0hAPy/gody6LobXxwOuAiMlKhIhHtflZ8 /cl9eRcQQRfxxkFFMJ53r+GKxms4meEYIZOKEfBl0GalpQsqSWDIjaZsadTWpWj5XkTw 8eR5ri0kpnS9LlQLjsJva+Szbv4+eoc6LK7KrpMAqNEffl8TL5eBIRMsNmIy0TqNJILZ tp3g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@digikod.net header.s=20191114 header.b=ybaW9O92; arc=pass (i=1 spf=pass spfdomain=digikod.net dkim=pass dkdomain=digikod.net); spf=pass (google.com: domain of linux-kernel+bounces-160496-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160496-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id x4-20020a17090aca0400b002b0848674absi1202263pjt.9.2024.04.26.10.35.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 10:35:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-160496-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@digikod.net header.s=20191114 header.b=ybaW9O92; arc=pass (i=1 spf=pass spfdomain=digikod.net dkim=pass dkdomain=digikod.net); spf=pass (google.com: domain of linux-kernel+bounces-160496-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160496-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 2F5F2285DED for ; Fri, 26 Apr 2024 17:33:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D5EE616C86A; Fri, 26 Apr 2024 17:30:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=digikod.net header.i=@digikod.net header.b="ybaW9O92" Received: from smtp-190f.mail.infomaniak.ch (smtp-190f.mail.infomaniak.ch [185.125.25.15]) (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 CC1E114B093 for ; Fri, 26 Apr 2024 17:30:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.125.25.15 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714152646; cv=none; b=P1a1fmrmV+XbOTNoXtJIf0kPA40pFz1JXjJ80OqF1LGWWFoDgXyyvj54lRyjJb4B6Hor1rkhJ+uxeo9GaNd8o5WQDzRJVZtuH2fMWt434O0D/Azd/1LKV8Rb5JnPf8lFCXvzzbWF3zzQ3vhEbD0szrcvHrbhxJSvpwTGpw+LnpA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714152646; c=relaxed/simple; bh=XmyroCOnmviDu4Ck4ZtK15VVLAuJClkARAyXC4T8ES0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=LSW/2iCU40YC09isgUjZVqLJnO9PwT83S+EtAtCvGaj8aAtgX1baXyCWAyObWKhcDAj/VmllDNw7Jm8+DpXYEJ9V1aBQVF6460Tjr5QNdG82H70U/OizuCkL5qNTyDMTvhyiD92cwRJkaiiMmn3p8lKYQq0y+oHYlmTHwtWmWRw= 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=ybaW9O92; arc=none smtp.client-ip=185.125.25.15 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 4VR0150jMtz8QN; Fri, 26 Apr 2024 19:23:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=digikod.net; s=20191114; t=1714152184; bh=XmyroCOnmviDu4Ck4ZtK15VVLAuJClkARAyXC4T8ES0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=ybaW9O92jMrO9fZeWdXMslpug+ijbruA5Vzjynavgy5KJICYZsnZePbTVT9ZXpech GUKr96JbQGfadFMuaKTNbNaOlMfD7ZyGpzSElvOCPIj0vzVkJ7TrEihC02+aLSRphb u+SweEFJO0UnezdX/vTvUbf+Zn+cszBf3O2i4Nl4= Received: from unknown by smtp-4-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4VR0141kwvzdNd; Fri, 26 Apr 2024 19:23:04 +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 v1 1/5] selftests/pidfd: Fix config for pidfd_setns_test Date: Fri, 26 Apr 2024 19:22:48 +0200 Message-ID: <20240426172252.1862930-2-mic@digikod.net> In-Reply-To: <20240426172252.1862930-1-mic@digikod.net> References: <20240426172252.1862930-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") Signed-off-by: Mickaël Salaün Link: https://lore.kernel.org/r/20240426172252.1862930-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