Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1776232rwl; Sun, 26 Mar 2023 08:55:14 -0700 (PDT) X-Google-Smtp-Source: AKy350Z4wR6ywbpqCIGT1FiUHHoh7jiT+O4+vfsknFWBO0QZM9BDlcvqW7rA/40ozJ6KmDVLMIrJ X-Received: by 2002:a50:fb11:0:b0:4fb:5291:13bb with SMTP id d17-20020a50fb11000000b004fb529113bbmr10305137edq.39.1679846114246; Sun, 26 Mar 2023 08:55:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679846114; cv=none; d=google.com; s=arc-20160816; b=d3+hyjRoHFH5+Si+K6N0Ue3lTmnp8UGE8cbastdPDYmvwCezMgEPiGmCAA6eohNaTX FU2DW5ByfMrKkvng9CS2IBg6QVeQNa+hz6Ed+NT/JdPXz6kVc7dtGx8iN8v7dHQhj4Ie dj5TUcmKCdE89SaZMV9jNh2qXvUmRYnavebhrnavmcnhzsK+df2x53gQvjomA2TSMhnh TAqGBn6H1GJfVA70VJNuQEG4DyecI+5w0qeKStZzCwFqedw9jBSJRct/wgQP5Xj9mKwc mZ5B/aXCW1LeUc7S82kQE7RqrWI6Den0Cb1UjELFhjla8CUcYj911buZ+A50XnFvD+7A 82QQ== 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:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=Ax5T8pJ3io42DV3J+gS1PerAZt9KdukiU27ZwDrhVu0=; b=RaTzFI1q0OlByRRQx8QlYDnQdx1l6eXVCsXf0GIl+kACvuEwj/rNMaFk8d2r7FHV2n dEVq5gMcll3CmtgAUCtmokJmJq5r4wrLmz6/nE6MOBqkIKPAr1cTsZ8s0A9SGyd4w6d5 DDzovZmy3FaYGFyNx4lSShJtKTRHF7gSwQ/shHyHMCLdIecmppV4XY3IbhQ8ES+UgL4Y mMX9GlXipJNTf0WLrIpIputUaVksKLfEzwqWt0R4YWqBTmChgbDFbqTb/KEBPzqSLpJm 8grFWoA5JAZCucFnafJJz8XFWKLWxEfsMnCSEtArFKllVcpAPky/MHjMXDH11RmlfFGb d79A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=YC5uzTFS; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k17-20020aa7d8d1000000b00501d70c10bbsi16668066eds.72.2023.03.26.08.54.50; Sun, 26 Mar 2023 08:55:14 -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=@kernel.org header.s=k20201202 header.b=YC5uzTFS; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231822AbjCZPqB (ORCPT + 99 others); Sun, 26 Mar 2023 11:46:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39590 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229483AbjCZPqA (ORCPT ); Sun, 26 Mar 2023 11:46:00 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C8A277284 for ; Sun, 26 Mar 2023 08:45:58 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 7DF8BB80C73 for ; Sun, 26 Mar 2023 15:45:57 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 10D05C433D2; Sun, 26 Mar 2023 15:45:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1679845556; bh=t0pBaVbRCosgS5MaUeIK83gEMEWZnIjnMM5Dh/mispI=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=YC5uzTFSVg8GLFP1LF3xdWZ67v5JgVbVjOjiP9y27/ho65/BcymbyQTLZeibrTBKM 7uX2IFWZhWlJlhVMWryEEZXG5M/Yzu8IVjAdoZHt3nkQrjSW+OvVTAqriY7fpkoOX5 RlvQa+HrbDfnncwGJLKXwpVcWJWD9BbZjKRLDHNYIKDY4YfUxMDyWOsLtEllvKaSjL UXFHE9d0uGUGr7L+h5UYXiDxYbo08c8SDkyuUZTT85eAdlpmbvG0/rF2tqE+ruQolu 6zSgYGPoEYFS4NE40jZK1daz7l0sp6nv7mhK+T99trJ6J0NHTUJ3xWVqlbL2UEp56M dxK5odDift4vQ== Received: by paulmck-ThinkPad-P72.home (Postfix, from userid 1000) id 920891540474; Sun, 26 Mar 2023 08:45:55 -0700 (PDT) Date: Sun, 26 Mar 2023 08:45:55 -0700 From: "Paul E. McKenney" To: Willy Tarreau Cc: linux@weissschuh.net, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/8] tools/nolibc: add support for stack protector Message-ID: Reply-To: paulmck@kernel.org References: <20230325154516.7995-1-w@1wt.eu> <0d9bbc94-7ea2-4bc5-8523-29b100c0f1a1@paulmck-laptop> <35a26245-0171-44b0-8072-325576768f91@paulmck-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-5.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, 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 05:28:44PM +0200, Willy Tarreau wrote: > On Sun, Mar 26, 2023 at 08:26:32AM -0700, Paul E. McKenney wrote: > > On Sun, Mar 26, 2023 at 05:17:33PM +0200, Willy Tarreau wrote: > > > 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. > > > > Ah, I knew I was forgetting something! > > > > I am retrying the test after rebasing Thomas's latest series directly > > on top of the rest of the nolibc patches. > > > > In the meantime, the kernel died as shown below. > > Ah "great", that's a good reason. I predicted that one day this test > would detect a kernel bug, we're here now ;-) Glad I could "help"! Timers. Huh. ;-) Checking v6.2, though the rebase is a bit messy, so I won't be all that confident in the results. Thanx, Paul