Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2650125rwd; Wed, 17 May 2023 12:26:46 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7vrRhNBgny1UO4f0X737Yu9VLsIJOaIUdeWnESXjkrHDJvXascdgkjSfEPcwIK73JCj1BS X-Received: by 2002:a05:6a00:1943:b0:63d:3981:313d with SMTP id s3-20020a056a00194300b0063d3981313dmr984846pfk.10.1684351606401; Wed, 17 May 2023 12:26:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684351606; cv=none; d=google.com; s=arc-20160816; b=oJ4/Eee7yFkvRK9aEcQSBlAMUZ8p6K9opaokCnUaM1DzKBmNm7fhUt9fELX63qQgSQ FxLppZUEHpatuP8RmzXoH21Nh5n2MSoVuTdTLfWLRB9f6Nt4Kw0FN/mb2HXlLpq/+4Xv Reu+hPCbJoZNLK9UMhl8oeUbEsUfwMvhTlN3cJ80hP/mI+cUC4+WaoAUEKkBoWoh+O1X gRNSveMarHKPGQWXSdaLogvgr4B2T988m0RvHmgx9OVN3shWpPHSyWmW9wElyqYGorVh E4jsul8xf3pE81DVfDx/cVN64V7vI3V3sA4Ad8Sw2ky/bx32vjLuvD9SIgnV8y2RgFIi XlqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=5cQTCNheYZl+3yNBMCx3sHGYTeFIvig1PSLkqmRnl24=; b=VonH1Q9E5mQP8AsI43O3MmzIACJPTMznsOiQjmu1LnYOt0QWSSyvShgtKtnw5JcpY8 d8l7VXIPiqDgeqO3nBgpxpECJz0YRWD+lRnGvsjFh1OBX0F/qibGncAAhe+OVwNBCRzX 7P+rylHG7sWl7L0FFOfZiW38025GtdXb7L59J0t5WekmQjyFF87SA9PiD+QyLm+KkIEu j+e/HRFwsDr5nOYWdVwop3Uj5/Y9IEilW05FYkjiwMptYXOJWOAWg50QDE9canhBBGjN 0Ge6xp1jR5Tp3QbwwQbBEv1aDvEpw3PjZkgqhPh8KpbrC/jDbhHE6vgPdrt97Tg9CB/+ dCKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="c4/xIh+T"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id c66-20020a621c45000000b006462446f478si22829025pfc.11.2023.05.17.12.26.34; Wed, 17 May 2023 12:26:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b="c4/xIh+T"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S229641AbjEQTCd (ORCPT + 99 others); Wed, 17 May 2023 15:02:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52198 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229530AbjEQTCc (ORCPT ); Wed, 17 May 2023 15:02:32 -0400 Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CE2486AD for ; Wed, 17 May 2023 12:02:31 -0700 (PDT) Received: by mail-pf1-x42a.google.com with SMTP id d2e1a72fcca58-6434e263962so895059b3a.2 for ; Wed, 17 May 2023 12:02:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1684350151; x=1686942151; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=5cQTCNheYZl+3yNBMCx3sHGYTeFIvig1PSLkqmRnl24=; b=c4/xIh+TlUQipA53k5weP//Y9ntGrUcZcfCaC+Ro3CgAcfELru1Fwua2gzPbAkTxBJ nJorT+TlzvlTJgfhob/eVzwHf/+d4pEhgSfC8n0AozlqfZY7nYbsoc6CK9P+UzlhNQfq 9l7QcA3K8bd9/EbKP8kNalAroP5gS6/wxxs8k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684350151; x=1686942151; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=5cQTCNheYZl+3yNBMCx3sHGYTeFIvig1PSLkqmRnl24=; b=G6XiyV9C3bPWlKHEpdORlw4XK4py9iDOZo5Ja8GZbjcuErgxZXI+SeG3dK1V0Myfo+ mJ5gFsQa0PYztErMyTQxtFFIXew1+gXYZpD5rF3MUWjOHcQ8AorfoDVAxd0796HBV2R/ NaFtmSmrYUqWllE4BlIasYx+TplV7vKKRKPhl3JZTCn89gZlyM8XlC/cWLUoFSwtwp0Q iXHs9JgkkXLgBOntqznZya00tYN3pJIGoPj1mxC42rWIh/itm0SKaYATrRMWRK61VGFr kO2z9BRkINf0IjoSsS/sy/TgHV6ZEzAvQIxRvnJ7CG0+bobn/UdI4zQTDy69n/Y5lGwP S8DA== X-Gm-Message-State: AC+VfDyJ+w/mQeaV99kAVt/QvL+UqSqTeNNz+JTRqayEihG15VF0oiS8 eMnopCBcbXYGeiaFRKvgEQiPaw== X-Received: by 2002:a05:6a20:4389:b0:105:6e1d:5605 with SMTP id i9-20020a056a20438900b001056e1d5605mr15348701pzl.62.1684350151063; Wed, 17 May 2023 12:02:31 -0700 (PDT) Received: from www.outflux.net (198-0-35-241-static.hfc.comcastbusiness.net. [198.0.35.241]) by smtp.gmail.com with ESMTPSA id k3-20020aa790c3000000b0063d46ec5777sm15521703pfk.158.2023.05.17.12.02.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 May 2023 12:02:30 -0700 (PDT) From: Kees Cook To: ndesaulniers@google.com, masahiroy@kernel.org Cc: Kees Cook , linux-kbuild@vger.kernel.org, nathan@kernel.org, linux-hardening@vger.kernel.org, jpoimboe@kernel.org, llvm@lists.linux.dev, mbenes@suse.cz, linux-kernel@vger.kernel.org, trix@redhat.com, peterz@infradead.org Subject: Re: [PATCH] ubsan: remove cc-option test for UBSAN_TRAP Date: Wed, 17 May 2023 12:02:25 -0700 Message-Id: <168435014337.2056649.7592777028793700479.b4-ty@chromium.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230407215406.768464-1-ndesaulniers@google.com> References: <20230407215406.768464-1-ndesaulniers@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 7 Apr 2023 14:54:06 -0700, Nick Desaulniers wrote: > -fsanitize-undefined-trap-on-error has been supported since GCC 5.1 and > Clang 3.2. The minimum supported version of these according to > Documentation/process/changes.rst is 5.1 and 11.0.0 respectively. Drop > this cc-option check. > > Applied to for-next/hardening, thanks! [1/1] ubsan: remove cc-option test for UBSAN_TRAP https://git.kernel.org/kees/c/08e4044243a6 -- Kees Cook