From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2151CC32771 for ; Wed, 21 Sep 2022 07:14:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229774AbiIUHOg convert rfc822-to-8bit (ORCPT ); Wed, 21 Sep 2022 03:14:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229983AbiIUHOa (ORCPT ); Wed, 21 Sep 2022 03:14:30 -0400 Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3AC6882D10 for ; Wed, 21 Sep 2022 00:14:26 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 452E0615C9E8; Wed, 21 Sep 2022 09:14:24 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id uqfChHppESoA; Wed, 21 Sep 2022 09:14:23 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id CD736615C9E5; Wed, 21 Sep 2022 09:14:23 +0200 (CEST) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id sKKJxMACFNv4; Wed, 21 Sep 2022 09:14:23 +0200 (CEST) Received: from lithops.sigma-star.at (lithops.sigma-star.at [195.201.40.130]) by lithops.sigma-star.at (Postfix) with ESMTP id A28C861418B6; Wed, 21 Sep 2022 09:14:23 +0200 (CEST) Date: Wed, 21 Sep 2022 09:14:23 +0200 (CEST) From: Richard Weinberger To: davidgow Cc: anton ivanov , Johannes Berg , Nick Desaulniers , tglx , mingo , dave hansen , torvalds , Brendan Higgins , Daniel Latypov , linux-um , linux-kernel , kunit-dev , x86 , Lukas Straub , Randy Dunlap Message-ID: <290835862.246902.1663744463482.JavaMail.zimbra@nod.at> In-Reply-To: <20220921064855.2841607-1-davidgow@google.com> References: <20220921064855.2841607-1-davidgow@google.com> Subject: Re: [PATCH v2] arch: um: Mark the stack non-executable to fix a binutils warning MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Originating-IP: [195.201.40.130] X-Mailer: Zimbra 8.8.12_GA_3807 (ZimbraWebClient - FF97 (Linux)/8.8.12_GA_3809) Thread-Topic: arch: um: Mark the stack non-executable to fix a binutils warning Thread-Index: yN/1TZSRNS5/MluFQBII4RZMgomCPA== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ----- Ursprüngliche Mail ----- > Von: "davidgow" > > Changes since v1: > http://lists.infradead.org/pipermail/linux-um/2022-August/004234.html > - Pass the -z noexecstack and --no-warn-rwx-segments flags as LDFLAGS, > rather than as CFLAGS via -Wl > - Check that --no-warn-rwx-segments exists with the ld-option function > (Thanks Richard) > - Add Lukas and Randy's tags. Now it passes the test. :) Applied. Thanks, //richard