From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=3.0 tests=AWL,BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS, UNPARSEABLE_RELAY shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id 1DB381F4B4 for ; Fri, 9 Oct 2020 10:44:40 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id DB21A12090B; Fri, 9 Oct 2020 19:43:59 +0900 (JST) Received: from xtrwkhkc.outbound-mail.sendgrid.net (xtrwkhkc.outbound-mail.sendgrid.net [167.89.16.28]) by neon.ruby-lang.org (Postfix) with ESMTPS id 7108D120868 for ; Fri, 9 Oct 2020 19:43:55 +0900 (JST) Received: by filterdrecv-p3mdw1-6685f47d68-9kn8s with SMTP id filterdrecv-p3mdw1-6685f47d68-9kn8s-18-5F803F0D-23 2020-10-09 10:44:29.287596965 +0000 UTC m=+130105.313536603 Received: from herokuapp.com (unknown) by geopod-ismtpd-5-4 (SG) with ESMTP id d0TrMQIWS8iV8wL8MTZJhg for ; Fri, 09 Oct 2020 10:44:29.201 +0000 (UTC) Date: Fri, 09 Oct 2020 10:44:29 +0000 (UTC) From: v.ondruch@tiscali.cz Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 76213 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 16762 X-Redmine-Issue-Author: vo.x X-Redmine-Sender: vo.x X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: =?us-ascii?Q?mWhqNvD1xlBozk4zn6CTHlnSPHlTKkyHJdiOH=2FzC52hnwcHsDOUDj=2FNM1DzwaL?= =?us-ascii?Q?YGynzSQjWCVy7N6ow80je4ilb=2FlU15P3LtVPEoX?= =?us-ascii?Q?DR8WW5hCuA0ryBJzYwyKpI+Br7s5f6pSc0neNXe?= =?us-ascii?Q?G=2FZnUkLwyCe7xa2ofhB1uNolOkB9nx3fsDQCP5z?= =?us-ascii?Q?CoMxr+LjgJlADP9zu+vBGa4NqqXLPlyos5a1YDU?= =?us-ascii?Q?+aDiCZow2iY6r5HQA=3D?= To: ruby-core@ruby-lang.org X-Entity-ID: b/2+PoftWZ6GuOu3b0IycA== X-ML-Name: ruby-core X-Mail-Count: 100347 Subject: [ruby-core:100347] [Ruby master Bug#16762] Ruby is not properly fortified on armv7hl X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #16762 has been updated by vo.x (Vit Ondruch). I'd still love to see this fixed. ---------------------------------------- Bug #16762: Ruby is not properly fortified on armv7hl https://bugs.ruby-lang.org/issues/16762#change-87959 * Author: vo.x (Vit Ondruch) * Status: Open * Priority: Normal * ruby -v: ruby 2.8.0dev (2020-04-03 master 810d66f3e7) [armv7hl-linux] * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN ---------------------------------------- The issue is similar to #15335 and the fix is also similar: ~~~ diff --git a/coroutine/arm32/Context.S b/coroutine/arm32/Context.S index b66db29622..596284b5cf 100644 --- a/coroutine/arm32/Context.S +++ b/coroutine/arm32/Context.S @@ -24,3 +24,7 @@ coroutine_transfer: # Restore callee state (8 registers program counter) pop {r4-r11,pc} + +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif ~~~ It seems to be introduced by https://github.com/ruby/ruby/pull/2995 -- https://bugs.ruby-lang.org/