From mboxrd@z Thu Jan 1 00:00:00 1970 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="gR1GUEJe" 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-Google-Smtp-Source: AGHT+IEdDLK5hHuncyfOLsbtdyyDI2/N+rHj0WFpxqPN9FloJ88AQRsDewsELQepbziT+8O/qCo4jQ== 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