Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp11760lqa; Fri, 26 Apr 2024 12:37:23 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVloyHL2DwhuqB+uusPQnoGgNI8qDXjhOGF0rRj+SPrgOPkxZB89VnCCkb5AqI0c4KK7pKc0p6QFliBSJsXLYtDNDwKt/7jfdRN2xavTA== X-Google-Smtp-Source: AGHT+IFmgm9M+1CyTzzmprtPpAqIwXi60Hx2ggUgbRFS0jo5CzBPeMLFaL+2DhknoR5R851iHl7+ X-Received: by 2002:ac8:59d6:0:b0:434:f74a:b526 with SMTP id f22-20020ac859d6000000b00434f74ab526mr3095564qtf.65.1714160242810; Fri, 26 Apr 2024 12:37:22 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714160242; cv=pass; d=google.com; s=arc-20160816; b=FwUViT94V7WEkhgsJYnDuBJLSBHNoOcAin4ja3H66UHDx9/gP02qA8W2Q9mNRi6ggD 2T1BL/AoxKZnkQ7cMr6HOFTo6ZbBKCO//jLehgT5zoTQzJQb5TFU8+wKf/ziB1hoKeOi Tq2NjBYGDq4O70OZiBSuESwZmNX1W0iiSsBfprVpJCsejPcYMdHztlc77HIEtcXOcu3Q xsSkTozC30NnJvhRuCudW6DR2z1MUK9Xct3sJC3EKRGbcbd0PKefd1cvVJEA6qNqx/3c pAkWgyeaqmPfewyVNcGqzb+yEwwZ2tXhu74RSY5s5nSyQjLq2v92Xeih8qxD7L22cyP9 YrQg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=l4IeH0YroB0TFNDLHoRPFGcdQLBo1LHITCuFo2PzMNI=; fh=Rsa19GGQ1z+XQshOQQIOYGVpe1ytmF8rfkynS+hu6V0=; b=zRGu8NDOOjCoib4nixxoej11n5Mk9YLqPGITHbBwneooF1XLxiHdosVy7ksO3j9TUx hfQ14EHlrdAj3Gi0nKTgQMR7zvDyVZHTOmblyIphuffP1oKUYylVa4rQm3Pej1WvsEhg omPMcUPK/yVso0MBwVuoo6TjLvw5YCcQTEzkL6nTQw31nN6cWkxEIva2ZHkbZm1YRMTo I6/z8Im4jqCtfbd7kcofSMvBCJBHnnl36AqAuTFPZEfhnCM1HUl5hJNrLiejk2iuRWRe z43IIXosoXhL3kbiVpicDlWKWdIj88B+OOfUpnIV+zEoH5kaEGX38+arSd9es11M9qk6 JDhw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=gR1GUEJe; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-160619-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160619-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id o7-20020ac87c47000000b0043a16776075si7532369qtv.483.2024.04.26.12.37.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 12:37:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-160619-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=gR1GUEJe; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-160619-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160619-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 892271C212C2 for ; Fri, 26 Apr 2024 19:37:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7E03E1CFA9; Fri, 26 Apr 2024 19:37:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="gR1GUEJe" Received: from mail-pl1-f179.google.com (mail-pl1-f179.google.com [209.85.214.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 68D001BC40 for ; Fri, 26 Apr 2024 19:37:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.179 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714160236; cv=none; b=FCy7D6uj304dCMM377jxCpoTYEcRr1sE80JgLIPCcgDrzQO5LV6xoamX05aUgDnjqfEoAugKP5yXd67crgIgyH+AadI5fuIIa+xOOOtJJSXnRh78mnlZJSLcrv+N/yuus+vqRwKlpx/ly6ZgMD3dDM69HbzA9ZpZhVWUlExOAZo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714160236; c=relaxed/simple; bh=jb5PLg88KFivJkM3TAlFHS8u5PRzC/KTy4qpFDBoxVo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=JcMwE4wnMZzmMJRswHs8cBNikrlzDDcX+tSFt3oAZI6XC4QvoDRD9cvnz/KFvxRJL/d4WCSGKR4GYgLVyIoXw6B8LHL/0BQAgpKWt6xj/cTXAuDJMCIiTwzYZFYwO8TljaGF72by+UJMJg2+W5FywVOf5Kys2Sp0HKY6r2WJ8rc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=gR1GUEJe; arc=none smtp.client-ip=209.85.214.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-pl1-f179.google.com with SMTP id d9443c01a7336-1e4266673bbso22393135ad.2 for ; Fri, 26 Apr 2024 12:37:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1714160235; x=1714765035; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=l4IeH0YroB0TFNDLHoRPFGcdQLBo1LHITCuFo2PzMNI=; b=gR1GUEJeB2qqxxHt3svmKsHNK8UGZAZodmITNtqq9kO4JUJIjJL8wiaqPMTtgBqkaU bjcowit1/ZrVA9KDFqf4gdWzJTqXSO7IkKdvaR9hLwAUcdjliDTd36wFVw5lxo1QWU+I H1bvB6h+Qr4rievQIgNrNn4jkHUqzlzA0wPnw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714160235; x=1714765035; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=l4IeH0YroB0TFNDLHoRPFGcdQLBo1LHITCuFo2PzMNI=; b=xJbwDVE5jBcjJbn4oLtYjnWb3kASjeAywzxXPQ/Mzys7etaT9y1h7j/FfhM/NxD4X+ lB2fRxZEsyWhcYYCEKlc0G1+43ZeT20/S5O7Q/UtjKTTWUBGWLRItfqMuv5RLf62+V1c Mf8tXdB2kE6qynoK4VzdRwjMEao14biOhcyUMM9uIiWSElezx0GTGHDw0v35iXd2vvVf L2GXxhJnofy7V1Zud4X5LUvbnom0dYdk57XH6dT517QOR3/E040tqfrq/Psf3dpH5aom U7FZtViBeY+wqDLs3FLPuia+0g1g3CiegvSiGINdeGh1xgYWMY7hFS3CgOHxff3JQbe1 0whA== X-Forwarded-Encrypted: i=1; AJvYcCXdnwIt0VySWvH6g/bzABceszEx9GhzXd5lzgfKQkkUv2jrY7OHgRVHT1mrMaLUH8cUe8GJcFGhnAiSOvMAnah56o9eeNgXPXTKU9u0 X-Gm-Message-State: AOJu0YzwJdExu38guVa1EQNfCzd/5/uihPLqQ2h4ynj9P1k794S6Tn6G QAvX+idFRipv+gGM1VIrhfjN8wkUIfPWNgD86K+0gGh1kt6b7zD2nMoxnrzUoA== X-Received: by 2002:a17:903:1110:b0:1e0:b562:b229 with SMTP id n16-20020a170903111000b001e0b562b229mr4328820plh.47.1714160234763; Fri, 26 Apr 2024 12:37:14 -0700 (PDT) Received: from www.outflux.net ([198.0.35.241]) by smtp.gmail.com with ESMTPSA id im23-20020a170902bb1700b001eb0e9e14b0sm1536384plb.207.2024.04.26.12.37.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 12:37:14 -0700 (PDT) Date: Fri, 26 Apr 2024 12:37:13 -0700 From: Kees Cook To: =?iso-8859-1?Q?Micka=EBl_Sala=FCn?= Cc: Christian Brauner , Jakub Kicinski , Mark Brown , Shengyu Li , Shuah Khan , "David S . Miller" , =?iso-8859-1?Q?G=FCnther?= Noack , Will Drewry , kernel test robot , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Shuah Khan Subject: Re: [PATCH v1 1/5] selftests/pidfd: Fix config for pidfd_setns_test Message-ID: <202404261236.EDA64763@keescook> References: <20240426172252.1862930-1-mic@digikod.net> <20240426172252.1862930-2-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=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20240426172252.1862930-2-mic@digikod.net> On Fri, Apr 26, 2024 at 07:22:48PM +0200, Micka?l Sala?n wrote: > 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 Ah, UML continues to be a bit weird. :) Reviewed-by: Kees Cook -- Kees Cook