Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1749187rwl; Sun, 26 Mar 2023 08:24:20 -0700 (PDT) X-Google-Smtp-Source: AKy350Y/LEtYBQ5cbmBzpdhY6AS30vJMIgw58nyhvDerGi8YzSAwe6iEjeqQhyE17PS2agJ5KD41 X-Received: by 2002:a17:906:5a43:b0:8aa:be5c:b7c5 with SMTP id my3-20020a1709065a4300b008aabe5cb7c5mr9739997ejc.41.1679844260384; Sun, 26 Mar 2023 08:24:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679844260; cv=none; d=google.com; s=arc-20160816; b=WjvINGEn0CZUelZzaRpTrN9qlyC+QKFw3InrAd8Q1dZAo60Plx8QH5CWez2vQM4lkc 0SQtHggD9moOzO/JsFloxSK4ivmJ0eGnbO70abeKcrGL8GFjavqCMzN947l5aJvH5pjT NIIuaWCJ2oX+Gd2SJ4JfWEnQfmxBgsMgc7FGYwtbtrFtajsSrAQjJBRr733Fz2qxvl1h RT5kWwadu434g08RsaIone6ps74cJBORHLHdxj/lynV0fBHs24FFo/Rs51KpJLBgewod PaRa4PBqeo2OdxCqHtp6+SXf07G5wfFRWt6CbuCa/wyPo/sbn1Cz6Mu1PeD1XQEsSLGG 4I0g== 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; bh=w6W/lwog0udKIEQSuNdaX9BOKBTDOM0G3RGfN3nGHRA=; b=eHdA8Q485T5drr5RK5z1FqURdnk1ydrA+TRJ15YTXSnu4xnIQe3SxoNkXsre0B6v9r VUZiHjz1Ie3andPHyYAsgoKORYFo+kLyTCtLpU4WQ9vKl9Riqi9M+/bO7/h5T+TlgBmg Uv1x1K2NpsvS0vbfg1bs9vu2DBhdsVdikBgj1aEcC3aADEJo7VE6paG8vUQ3TUDqOzP9 x8D44V06jZVEuI8pFkkQuUQN7tgySbN3B+awjzXBdrgmwORFNzZIDyKzc/GEmqg8ZauE NHH+F8Wg/Ozc41lJ3mBP2v8UGSRe1KETSEkhl+801DDY+8TFEgbU16bha8r3UwH2NAy+ DybA== ARC-Authentication-Results: i=1; mx.google.com; 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 rh7-20020a17090720e700b0092a212852d2si22613933ejb.896.2023.03.26.08.23.56; Sun, 26 Mar 2023 08:24:20 -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; 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 S232478AbjCZPRo (ORCPT + 99 others); Sun, 26 Mar 2023 11:17:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229665AbjCZPRm (ORCPT ); Sun, 26 Mar 2023 11:17:42 -0400 Received: from 1wt.eu (wtarreau.pck.nerim.net [62.212.114.60]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A2364659C for ; Sun, 26 Mar 2023 08:17:39 -0700 (PDT) Received: (from willy@localhost) by mail.home.local (8.17.1/8.17.1/Submit) id 32QFHXJE010520; Sun, 26 Mar 2023 17:17:33 +0200 Date: Sun, 26 Mar 2023 17:17:33 +0200 From: Willy Tarreau To: "Paul E. McKenney" Cc: linux@weissschuh.net, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/8] tools/nolibc: add support for stack protector Message-ID: References: <20230325154516.7995-1-w@1wt.eu> <0d9bbc94-7ea2-4bc5-8523-29b100c0f1a1@paulmck-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS 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 Sun, Mar 26, 2023 at 08:13:48AM -0700, Paul E. McKenney wrote: > On Sat, Mar 25, 2023 at 09:36:28PM -0700, Paul E. McKenney wrote: > > On Sat, Mar 25, 2023 at 04:45:08PM +0100, Willy Tarreau wrote: > > > Hello Paul, > > > > > > This is essentially Thomas' work so instead of paraphrasing his work, > > > I'm pasting his description below. I've tested his changes on all > > > supported archs, applied a tiny modification with his permission > > > to continue to support passing CFLAGS, and for me this is all fine. > > > In a short summary this adds support for stack protector to i386 and > > > x86_64 in nolibc, and the accompanying test to the selftest program. > > > > > > A new test category was added, "protection", which currently has a > > > single test. Archs that support it will report "OK" there and those > > > that do not will report "SKIPPED", as is already the case for tests > > > that cannot be run. > > > > > > This was applied on top of your dev.2023.03.20a branch. I'm reasonably > > > confident with the nature of the changes, so if your queue for 6.4 is > > > not closed yet, it can be a good target, otherwise 6.5 will be fine as > > > well. > > > > I have applied and pushed it out, thank you both! > > > > We are a little late in the process, but if testing goes well, I can't > > see why this cannot make the v6.4 merge window. > > And "make run-user" says "124 test(s) passed", which looks promising. Indeed! > But "make run" says "0 test(s) passed". > > (They initially both said "0 test(s) passed", but that was because I > forgot to build qemu-x86_64 after an upgrade.) > > Please see below for the full output of "make run". Am I missing > some other package? Hmmm I think that the output of run.out will be needed here. We'll need to understand whether it fails to boot the kernel or to start the executable. Willy