Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp2357018lqo; Mon, 13 May 2024 16:29:42 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW9m6S32NVuTg6wUL8cORSVWVgz/SsW2SoGHTemHKkNcLhly7DCJ2bhqytOYZa/Y4CWFRW9mTPfUq1IyccB6C2Oc5Qmu/k/yHhwwy0tiw== X-Google-Smtp-Source: AGHT+IGM95jBPXpl2kU0b7YVM3Q3W2aEJuNxvbA0CrBgt1sU0TINjPb3m/kXsegUae/7tSpr8ylq X-Received: by 2002:a05:6a20:914f:b0:1a8:2cd1:e493 with SMTP id adf61e73a8af0-1afde1c576amr17108773637.29.1715642982158; Mon, 13 May 2024 16:29:42 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715642982; cv=pass; d=google.com; s=arc-20160816; b=ppE1OYyLx64BKQJxIaXrF+IIIATJQFQVCS8vp3y5dbzaJM43ZNSaIJcRkaX2ToX9Oo sygKfLQNFJzFat6QCleaZcSCxC/9IIwUFOAiS5T8T2GB7K7ZiovMpBp4pQci7RQWl5+3 fc4y3yIp7YFwdzdJ15SCsJBh/NY/O1aO11uUXeiAS+cPlBYEjMlScow1sHqn3F8JOJim uRz8qBU2XybXwHvox+8ZfjuZ94Oj9TdfXW6gav4wpxwmFDedJGPdjaL7rkLsHskYGmNB jDjAaKccoPaufDj+uH50fHJpBNkkm+Ht/Ub9ltTwlBT3dQJ+kBBR+mcCpUpl2i87B7Ws 8+Fw== 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=Alp79KUasntAH1xAOt+qh9t4wrzIhrRSX97PEjrZLDc=; fh=KQ6Rr2h2FRv1jCDCyOD7n01bHRKBoPOTj+UINGlegbY=; b=V709Q7TP1drBsYSis29VtqqQIfO2TH4Q7tRa5MGZwZSEQAuIgErnhN9OxRfQLM1hDj vOCCsicierJT9k2x7YXh9UMQlSQALm5NFMrlCUTndBPjEneRfFJrkuyD5WSXmD8QyPJs 6l+FTqEdFP77EQ4ELqhr0x2+EsxyYam5xFtcsKw+GHP93HEdVZv+jlIhI9Ga492Z3hIX LAlLd2X6BKUhoBGdXjyzNbxxz5O8x0iehk999h7ZhnuTtSyZAccBl12UA7Bz74mxfYs+ 1ZpzcI0yMXSTgzFprnTX7+3VfoPG0iBJz1GCOXRlfT1JrmKnJ4QGki+0/k67hO3LSCmk rxdg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Iwklbf9+; 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-178175-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178175-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-63412e1f2dasi9933981a12.771.2024.05.13.16.29.41 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 16:29:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-178175-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Iwklbf9+; 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-178175-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-178175-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 2B9B9B22F8A for ; Mon, 13 May 2024 23:28:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3DBFC8564F; Mon, 13 May 2024 23:28:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="Iwklbf9+" Received: from mail-pg1-f178.google.com (mail-pg1-f178.google.com [209.85.215.178]) (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 1864B85284 for ; Mon, 13 May 2024 23:28:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715642908; cv=none; b=uX8yVQ3C6u21ej1jpUHpYJxfkkrkdAT8g6cFRXD44aY63mY1s72Cn9o4UDWm0Aj0sWe1VBT9nGMwjYi7cQFYlZrGI82ncKJTjhn1d5oms7nc+g4P+jxei8xngtw+XyUzOxQTOamnx1liWu8ECNIuOXkA49hRzugDFVYd7oMn2LA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715642908; c=relaxed/simple; bh=FK/pOlv8p257iH5M65SUDFW31ZwENP3sUAncbWrb2UM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Yv2RWZrwbvPjNimFNEpcJkBhyqVCP+78jPa5TQ1Af9T2e4r+iH3hT8/53vgvztpNPa1zulhfGOBVei6YdiQNv3D/mxp7WgMnavCbhUhCQrrn7ehdk10TI9tftENGwRDg/8n7cqx/SmJQoWAELGzS8a33HLqPSdf68MbV8w2C4zM= 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=Iwklbf9+; arc=none smtp.client-ip=209.85.215.178 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-pg1-f178.google.com with SMTP id 41be03b00d2f7-6333b2551ebso3330450a12.0 for ; Mon, 13 May 2024 16:28:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1715642906; x=1716247706; 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=Alp79KUasntAH1xAOt+qh9t4wrzIhrRSX97PEjrZLDc=; b=Iwklbf9+elmKMIJNZC5JlY5Dgm8Sqo6bOGVL2h+cjBGV0hwkHTOwKHWMQ7LrW92oh6 tX2cKiKifvFY+PnDbBdRlieMj3r2qJvtX035ZGqUfppuwZBfw3dpexgQf0lpdxrOc2xi RXXuAOI6iSl+rSmIv//TvYamEErrIk2FtK+ms= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1715642906; x=1716247706; 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=Alp79KUasntAH1xAOt+qh9t4wrzIhrRSX97PEjrZLDc=; b=r0WcwK/erTj7+9ESU34ndBkgmJh6epSIHfa9vz8bHmUuOzmpzEvVqLC/+7NEbdcI6t qmbsQOpCxe0AFwFkbOaWzu206evO646BQ+HvS1ZjTO8hJmMcSVtASU2troa56odOYoFQ lGoNPFCDB48xI2assmMZSk3c6PWjWq/v11I/wNcwnNmL9X/UpYwd/LDvYiW3ANdGuMsJ Y9Y3RR95eRThpsXUV4WAWnk1vKCHbA7EZOhZ/pXfcfGECOcmn72uqBIoCzsK4iCIjx1B Lxm6+lasMUgyoKEB7ocgVsSaCkFGOoTof2mQwdPespqtKskKZK3qaqZcbDO5wYtIi3EG Ku9A== X-Forwarded-Encrypted: i=1; AJvYcCW3ZXFUjkTRaE5yAVIF7HaegtB7v1iVT5Wk80sf/cbN+BfpTOVzXPzxV4Ij/4XLo19VE9gMr6RU0UDqHJ5iFjUHpoqSlbcjxH855aQm X-Gm-Message-State: AOJu0YzW/DTPx2pXDpg62YDeQW5bcxDzM01qI4jdFNw87DDiWxVJwQ5p +jGHEsJWeKnIZZtWQaXy5e1kmG0e415HGtZnRPQcFEl4zE30A65D+ZdbKTHJTg== X-Received: by 2002:a17:90a:bf08:b0:2b2:7c65:f050 with SMTP id 98e67ed59e1d1-2b65effb9d4mr20481677a91.0.1715642906269; Mon, 13 May 2024 16:28:26 -0700 (PDT) Received: from www.outflux.net ([198.0.35.241]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2b62863cd9dsm10304270a91.12.2024.05.13.16.28.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 May 2024 16:28:25 -0700 (PDT) Date: Mon, 13 May 2024 16:28:25 -0700 From: Kees Cook To: Masahiro Yamada Cc: linux-kbuild@vger.kernel.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, Andrey Ryabinin , Alexander Potapenko , Andrey Konovalov , Dmitry Vyukov , Vincenzo Frascino , Marco Elver , Josh Poimboeuf , Peter Zijlstra , Peter Oberparleiter , Roberto Sassu , Johannes Berg , kasan-dev@googlegroups.com, linux-hardening@vger.kernel.org Subject: Re: [PATCH 0/3] kbuild: remove many tool coverage variables Message-ID: <202405131626.D61F8228@keescook> References: <20240506133544.2861555-1-masahiroy@kernel.org> <202405131136.73E766AA8@keescook> 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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Tue, May 14, 2024 at 07:39:31AM +0900, Masahiro Yamada wrote: > On Tue, May 14, 2024 at 3:48 AM Kees Cook wrote: > > I am worried about the use of "guess" and "most", though. :) Before, we > > had some clear opt-out situations, and now it's more of a side-effect. I > > think this is okay, but I'd really like to know more about your testing. > > - defconfig for arc, hexagon, loongarch, microblaze, sh, xtensa > - allmodconfig for the other architectures > > (IIRC, allmodconfig failed for the first case, for reasons unrelated > to this patch set, so I used defconfig instead. > I do not remember what errors I observed) > > I checked the diff of .*.cmd files. Ah-ha, perfect! Thanks. :) > > Did you find any cases where you found that instrumentation was _removed_ > > where not expected? > > See the commit log of 1/3. Okay, thanks. I wasn't sure if that was the complete set or just part of the "most" bit. :) Thanks! I think this should all be fine. I'm not aware of anything melting down yet from these changes being in -next, so: Reviewed-by: Kees Cook -- Kees Cook