Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2930094rwi; Fri, 21 Oct 2022 09:25:02 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5dfq4/wR2+w0SSS+uf7gbNVSJbBWmbCDsllIgHGgMwAw9v8LFvV/46WXJdyRRJiQBJR0UR X-Received: by 2002:a05:6402:518b:b0:45d:9a19:66d2 with SMTP id q11-20020a056402518b00b0045d9a1966d2mr17876114edd.43.1666369502357; Fri, 21 Oct 2022 09:25:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666369502; cv=none; d=google.com; s=arc-20160816; b=MPZEpy7Q3sjfOoXTQclRkMhzF0q7y7fQWFj44CrzeBfnQSH6cUYZCeNdFefpsxRVsK /vK03hL3R1t7Q/tktO0UimnP4yh5xIoJYmQ2JgmNxiTguIJvUy3Rl5geR9E/RYFV6j2m KbkC9105N09Q196rWrVedbMNKb5OE0ioy5R7XKz2Uu4upmwN/LyBA6eJo9stsEDLYdRz RSQyjN4LD2As7d8uXW1F8hqc1+iOP5zpEsAJ9aHkpDK2Zeb7wxaTM2dYVdXow2unUqCM c35WT9Yryic28u6Lg1++ow/EgWoFsLwPQw5oPOta/mLlepHpyPRKARbSvFIR34AbgfO3 QtsQ== 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=6qxZq7Hd3ML2paI3WmsE1h3hTCDov6ahbHtSJdPhwKs=; b=IQkynzFZGsWmU0VK0WMUTQ/f+9ABm0BVk9lZ/sIss2jCXf9gaC01XoNFoq8yW2j0Fu 3Clwwrr1aJMGoYckvElzkPFi0NTHE3S1hnIlq/BHar+OkGXSW7nj7e2VCl83zI7TVFq3 1nOHRyWhL57qRwNQ7tqqS+Af6EaXl0E3oGPTAhBksbnMS4HpmORbVJPyJT/807f6kXV2 pugPIu1aJa/0Qd+FRNmeSelQYu2PVpLztszF5IpFovHSprjJwPeNR7yKsNcu6KiMHA5M Gl+RWXbOhdT33dcMnU/ZeKC5hjrweTi5mvz2KV0O7ptcDxKtoYmeNL3yZjvwomLauRzx WjJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=C2v0Uub9; 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 sc11-20020a1709078a0b00b007303db545e6si19674282ejc.786.2022.10.21.09.24.34; Fri, 21 Oct 2022 09:25:02 -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=C2v0Uub9; 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 S230235AbiJUQLk (ORCPT + 99 others); Fri, 21 Oct 2022 12:11:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59292 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229810AbiJUQLV (ORCPT ); Fri, 21 Oct 2022 12:11:21 -0400 Received: from mail-pf1-x42e.google.com (mail-pf1-x42e.google.com [IPv6:2607:f8b0:4864:20::42e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEA51402CB for ; Fri, 21 Oct 2022 09:11:20 -0700 (PDT) Received: by mail-pf1-x42e.google.com with SMTP id w189so1545201pfw.4 for ; Fri, 21 Oct 2022 09:11:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=6qxZq7Hd3ML2paI3WmsE1h3hTCDov6ahbHtSJdPhwKs=; b=C2v0Uub9Ezr8SlP+nrocG6g0Z2KUXuTwEzoDkG29zezmx4Mde/3JDKHuwHKaJu7uDn Otgd9ypuhyEkgiGtjvElFZ3fdxC1KNsGN+c+fgFKUmqefOL6jSbOlp8TrhPR7hNiIe39 64sTVpHUxG9UqADv4AXrcaEol5oxKkiDV548o= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to: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=6qxZq7Hd3ML2paI3WmsE1h3hTCDov6ahbHtSJdPhwKs=; b=Xpy/g58SVa2rpiud+7VoTCVXQor3weeaMYnwpmzyEWN9wV0F2vjh5i9C9hmrTOTRp7 hlCo93MtL3iOJK+Va+oYUX0hTWDUVq7cUmLPNIwaZQ4E3BpRFYtiv64Okeb3DxToStJu pbDvSChWjoWwVdQpJC+U7DApUgyW6DGTarnszPHbGsFs0mAll/mWU0upiQMK7Jmt8zj/ l5bIlBEnqlHLM6W6xNcLO7Dp32ETiH6TvZwx+p3Oj6+bQnde0XNy7Pl5IkQcEMpCrp+o MSbbT5o1yk66/BEwAbC0Y7Z4rsC6jBersFBbs+iAHdQuAmENhiTReMCJ7LnomX2QED3X ivAg== X-Gm-Message-State: ACrzQf3NVdW0iedZ4FhA7MswgYbnoa9yLGbECY/SZ9pE3VApn30Y8mVY CJSh3dNYwUte2qUbbiBeWvQSlw== X-Received: by 2002:a63:1508:0:b0:438:eb90:52d1 with SMTP id v8-20020a631508000000b00438eb9052d1mr17177993pgl.252.1666368680316; Fri, 21 Oct 2022 09:11:20 -0700 (PDT) Received: from www.outflux.net (smtp.outflux.net. [198.145.64.163]) by smtp.gmail.com with ESMTPSA id u7-20020a170903124700b0017a1145eec7sm15229227plh.157.2022.10.21.09.11.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Oct 2022 09:11:19 -0700 (PDT) Date: Fri, 21 Oct 2022 09:11:18 -0700 From: Kees Cook To: Miguel Ojeda Cc: Andrey Konovalov , Marco Elver , Arnd Bergmann , Andrew Morton , Kumar Kartikeya Dwivedi , Nick Desaulniers , Nathan Chancellor , Uros Bizjak , Dan Li , Alexander Potapenko , linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/5] compiler-gcc: remove attribute support check for `__no_sanitize_thread__` Message-ID: <202210210911.030D948@keescook> References: <20221021115956.9947-1-ojeda@kernel.org> <20221021115956.9947-3-ojeda@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221021115956.9947-3-ojeda@kernel.org> X-Spam-Status: No, score=-2.3 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,URIBL_BLOCKED autolearn=ham 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, Oct 21, 2022 at 01:59:54PM +0200, Miguel Ojeda wrote: > The attribute was added in GCC 5.1, which matches the minimum GCC version > supported by the kernel. > > Therefore, remove the check. > > Link: https://godbolt.org/z/vbxKejxbx > Signed-off-by: Miguel Ojeda Reviewed-by: Kees Cook -- Kees Cook