Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp3951829rwb; Mon, 16 Jan 2023 15:48:26 -0800 (PST) X-Google-Smtp-Source: AMrXdXtjpbrEgGtbt5L7CM3IS5OOFpw+QUITIXmNFEyNxSiIqgcLBScj3glQr4rf2KDSnDQIULQG X-Received: by 2002:a17:906:2787:b0:86e:bbdf:95b8 with SMTP id j7-20020a170906278700b0086ebbdf95b8mr788810ejc.46.1673912905809; Mon, 16 Jan 2023 15:48:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673912905; cv=none; d=google.com; s=arc-20160816; b=jR+LzZANF5beh/9iKUgok+FLymv0ItysVjzFUUQiJJsPemYFZF5gf4UDEDElKblMiQ YYHVBkuKk9gwI4ZSGoGzYlO3N6vkMEHfY8DI7B9gR3u7tC8jc2xGVZAxU1IiaiCKIBDy NLmbvYqrpeyszP07o4WhLog4ZfYWnXR/FuPyJjDMRmbMyIZFmS3Cgg9g3pPKWaFTPDpM 9PzPx2RWn6G9MTz3eMtDW5JGdQpAN/TPcPmVrjl3Njz80HJLBYcpdQZ6p/wHLf8dvBWf rh/5PnNMVzXNZY61VjLn2CrRO7QXTO3PtiljlVkZhqSeyQh0vlT/vaqk9jv3CBTEG/92 ov/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=0IEpt49/65E0wGkbn3RYoaG0iQiOmclklQOb+UN4RXU=; b=QnJQd5ltGRHhCcVky/GdMo8QdMUbQVicZIUY2rei4FrCwKLeyHwdxWn1XuJQdPGP45 gAvV47z0uw4vvBTD3Bxxlits3jxkEFyALZfhpVcXjLZnidH1be4lAfI13XVCY2q1vF6x wolp1fsCrH8NyvtOmL1XXUUQ3hHprLrP5UBo8QByJAAg9baFfqgMY5jNy4XMHcL4AzRL CA5HHoq8SwuwXttzM9g6/fPaGqNvcF4HF0Ui7H5u02yY0I8Q1NiVB9le4++23GcYAm6s HQ61zK1KvbCJ5mSnnIrJwcoBn9aUnXwO92QyJG19JiaLyeNfNdOgI5fL1SQqCsK9OAHW x7fg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@pefoley.com header.s=google header.b=kVs7w+0I; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id nd15-20020a170907628f00b007da4fe085desi33761788ejc.157.2023.01.16.15.48.14; Mon, 16 Jan 2023 15:48:25 -0800 (PST) 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=@pefoley.com header.s=google header.b=kVs7w+0I; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235145AbjAPWuW (ORCPT + 49 others); Mon, 16 Jan 2023 17:50:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34918 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234061AbjAPWtr (ORCPT ); Mon, 16 Jan 2023 17:49:47 -0500 Received: from mail-ua1-x929.google.com (mail-ua1-x929.google.com [IPv6:2607:f8b0:4864:20::929]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B5B625E26 for ; Mon, 16 Jan 2023 14:49:46 -0800 (PST) Received: by mail-ua1-x929.google.com with SMTP id b18so982175uan.11 for ; Mon, 16 Jan 2023 14:49:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pefoley.com; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=0IEpt49/65E0wGkbn3RYoaG0iQiOmclklQOb+UN4RXU=; b=kVs7w+0I28gjlBzuI/gIhfx+so8q2yysPSVzIWrNOGS9rqKYUMOU/8QVCBdFk3JBoW LqofLbwAC8DQpo0ItS0cDQNjxA/Q9qrX0YNuFVBWfUEM7PhL3HvxR1zdwzXLI1Sjxqhl uCPTIlucAzxhKmTP666Nh90oD+1B7ndvd1tjg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0IEpt49/65E0wGkbn3RYoaG0iQiOmclklQOb+UN4RXU=; b=DTB2wbp8ZGsaz2WXwl2Aoo4gnHhzqMQILLz33Btu/9aTLwmnPOsc4gx6De6ujnY+rI 5MnSlojouPTz8mm6td/JBJtPM9OITt42xFVzT6SpNc2yL0H4vztEDZ26kI+jwG/E36Tn 7uZCT22JtTnwPz+qQqBOXE5o79yWshuXdPbq2mTx023Pf34B9U28OkhBXBojY4ysAohr fGD9es+FVHJPRs6gn3lq/g4do6kHIay3MM9HCyL3Q0sQVA4hRRQQUYFf/jdd0XijbLLd C+RJXH8xNr2KxHMPOKQNcve916+tPW7xwfI7dzmYRlEY004+yNvpr6Vij20gQkPQf1g0 cn/g== X-Gm-Message-State: AFqh2kqWI3wM4n+Umzrng5OuyGz53Fu6j1XDgVvaE2kyidYVk4t+pdDc te8KykyD4GJBicIMzokw7qnrdKBrHNP/i88Elp/ijw== X-Received: by 2002:a9f:37c5:0:b0:60a:bb33:8267 with SMTP id q63-20020a9f37c5000000b0060abb338267mr48403uaq.47.1673909385284; Mon, 16 Jan 2023 14:49:45 -0800 (PST) MIME-Version: 1.0 References: <20230114-bpf-v1-1-f836695a8b62@pefoley.com> <194f38f2dc7d521375e5a660baaf1be31536be9a.camel@gmail.com> In-Reply-To: <194f38f2dc7d521375e5a660baaf1be31536be9a.camel@gmail.com> From: Peter Foley Date: Mon, 16 Jan 2023 14:49:34 -0800 Message-ID: Subject: Re: [PATCH] tools: bpf: Disable stack protector To: Eduard Zingerman Cc: Quentin Monnet , Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Nathan Chancellor , Nick Desaulniers , Tom Rix , bpf@vger.kernel.org, linux-kernel@vger.kernel.org, llvm@lists.linux.dev Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS 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 Mon, Jan 16, 2023 at 4:59 AM Eduard Zingerman wrote: > > A bit tangential, but since BPF LLVM backend does not support the > stack protector (should it?) there is also an option to adjust LLVM > to avoid this instrumentation, WDYT? > That would probably be worth doing, yes. But given that won't help already released versions of clang, it should probably happen in addition to this patch.