Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp404522pxb; Thu, 21 Oct 2021 01:44:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxHE6Ndyg+MiG+OiIAu0viOX2roEMi2icWQzQD9WBFy+931QyFFeD/GSOt/yTOcW8Ka+eRu X-Received: by 2002:a17:903:22c6:b0:13f:3e6:8dd4 with SMTP id y6-20020a17090322c600b0013f03e68dd4mr4130278plg.23.1634805840806; Thu, 21 Oct 2021 01:44:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634805840; cv=none; d=google.com; s=arc-20160816; b=mODFDKUkYCbM8MZyImoyKSKlLcfX5xBjH8om8FOms8MZTf5UwIgvqWQ3+j/6iyx8zv 5FnmqpfNXK+mW+CnAcs2U9Qi+pcf21NYMD7rjg7kT6ko+9EcsiVTp2q92MOfeTQjZkAI I7psHkFUxCZbZOzEE5us/fcj+TegXGNgHoh8xn02Qy92ntc7W3Ln3IZw04/cvKeo7cFD Ywa0tpsmiDGuGFis6g08GPNSIiJKIjW+9lbN5FwTgHteIIaus+VNnB8sywEHYYpEiWEE FeSdQ6C4WRRKTL9mevlhIqVABW+Vt0Fcne+kEFS76oOC/jpwavBpbWJqDUYnbyuef20M 0L9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=2szSRJSYc8e5G8aReqvAdlYT615SY5Xyth2O0S9i5EA=; b=cvze1QyGKrVo3tufZYEiqYiBqJ1A2mSLuxiQir558kOVsxm4jMXhGcPJpN6grjHi8i ox5yvPofgYUQ25mSOm9YYl2ohYfPKopPfc2aEE1XRogRcJzr5bZqyrUSGwO4My08vaam meJSdDiciW7w/TdYURDNI1PvcWiOsJ4tRoU0hOkLIAPPEcQV2nu5PstjInlnyV+5r4vS ZWv13Z9oGtyp0pPKx4n9HebR347vkjCFEoSRXi9pAM2OcRTKZDkFyvdVZjpQwgNhWGph 2FZfs4H3YTS3VOFlHG8BzR1sfA7Ao/emNdhXVOZ+C6/J1hWaAI39Asr6lmTFCgwd4I+k FGaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="R/JFIIO7"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j3si6020945pgp.88.2021.10.21.01.43.48; Thu, 21 Oct 2021 01:44:00 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="R/JFIIO7"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230440AbhJUInt (ORCPT + 99 others); Thu, 21 Oct 2021 04:43:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42934 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230385AbhJUIns (ORCPT ); Thu, 21 Oct 2021 04:43:48 -0400 Received: from mail-pf1-x433.google.com (mail-pf1-x433.google.com [IPv6:2607:f8b0:4864:20::433]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 107ADC06161C for ; Thu, 21 Oct 2021 01:41:33 -0700 (PDT) Received: by mail-pf1-x433.google.com with SMTP id o133so5269260pfg.7 for ; Thu, 21 Oct 2021 01:41:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=2szSRJSYc8e5G8aReqvAdlYT615SY5Xyth2O0S9i5EA=; b=R/JFIIO71DC4B8FZT8SFlh35ESr/rDqgqIK6hU47HaqbrWmM/nlRmVrw1TliFJaQGp yiLgscqGcddHyPxF2hDyQyG0PnwyOc/NOGVUOzkeiiki0GFxNvps5YgUTC7bFxHAmz9o RENSzgGLKiClC4kSVQcVmr146m4MfifdzsQ+8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=2szSRJSYc8e5G8aReqvAdlYT615SY5Xyth2O0S9i5EA=; b=VQm/90cGSWcNESlkVQcniL0EAi+uJ1At7uF26Pg5xA6eK2ow4mzb/bs1ZpLx+w7GxL 8fNNIVlL1RwPOXsbDmtj9h2Ko40NyxLvKjjGCcwlb5deFngxvR8hfjAdbfWvBgtWjG4x PR69RA9wEO8Tf1QrB5CmGBz9BQpd0GglIj/TQTaF1JsaX7lbds0VaMWJAFLoZIgJ51gK KKA6ijQSSlwWB3P+YkgwvsRJwBaG4IZ7OrUX+ZR5Hpz3Vq5qsJtnzOwSplNBGlqPUU4p KVtDtcTbfspe3wjdmogvLJbukiZ99af0fkhvmisT/BChL1lSfPfk4brvwvFziKHNZDh+ LSwQ== X-Gm-Message-State: AOAM530x8JSGK1JWOreIqeedAlOjyR2uSGBdoOKl1u2JYt+HwshWVtIl 91wcP1EKxvWbO4N6aC5d++PkiA== X-Received: by 2002:a63:d60a:: with SMTP id q10mr3402711pgg.335.1634805692575; Thu, 21 Oct 2021 01:41:32 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id h13sm4441922pgf.14.2021.10.21.01.41.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Oct 2021 01:41:32 -0700 (PDT) Date: Thu, 21 Oct 2021 01:41:31 -0700 From: Kees Cook To: Miguel Ojeda Cc: Miguel Ojeda , Arnd Bergmann , Nathan Chancellor , Nick Desaulniers , Andrew Morton , Marco Elver , Will Deacon , Arvind Sankar , Masahiro Yamada , llvm@lists.linux.dev, Ard Biesheuvel , Luc Van Oostenryck , linux-kernel , linux-hardening@vger.kernel.org Subject: Re: [PATCH] compiler-gcc.h: Define __SANITIZE_ADDRESS__ under hwaddress sanitizer Message-ID: <202110210140.D42185CAC@keescook> References: <20211020200039.170424-1-keescook@chromium.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 21, 2021 at 12:45:02AM +0200, Miguel Ojeda wrote: > On Wed, Oct 20, 2021 at 10:00 PM Kees Cook wrote: > > > > I'm intending to take this via my overflow series, since that is what introduces > > the compile-test regression tests (which found this legitimate bug). :) > > Not sure if there is a particular reason I was in the `To` field > (please let me know if so), but the patch sounds good to me! Well, I didn't want the "To" to be me, and IIRC, you had sent a review for Arnd's prior version. > Acked-by: Miguel Ojeda Thanks! -- Kees Cook