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 X-Spam-Level: X-Spam-Status: No, score=-11.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 49024C433EF for ; Sun, 5 Sep 2021 19:07:57 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id C850761108 for ; Sun, 5 Sep 2021 19:07:56 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org C850761108 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id C0D836B0071; Sun, 5 Sep 2021 15:07:55 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B95CB900002; Sun, 5 Sep 2021 15:07:55 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id A35486B0073; Sun, 5 Sep 2021 15:07:55 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0020.hostedemail.com [216.40.44.20]) by kanga.kvack.org (Postfix) with ESMTP id 9026F6B0071 for ; Sun, 5 Sep 2021 15:07:55 -0400 (EDT) Received: from smtpin10.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 383B78249980 for ; Sun, 5 Sep 2021 19:07:55 +0000 (UTC) X-FDA: 78554454510.10.5A96D1E Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by imf01.hostedemail.com (Postfix) with ESMTP id C241F5048F0D for ; Sun, 5 Sep 2021 19:07:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1630868874; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GBTVYvl6r/DGTmkrkWcHeYmKn9Wnjnzo76ZSWSpnbek=; b=DzfLsnZ/I0qwKmbI3/47aGIvEaUuMxwHRpADRwVVMH4IleKQbRGM0rWZ87jg7a0x/IYBGg c7HXSbPxRDSnQyd8WLVQzCMq+kvWegrda9fe5wPCCyyLdhhSOu7RcQRh6d1U9g9XikWJY2 ZMLvq/jWtukVVitB0P4r965Q6+YwI14= Received: from mail-wm1-f72.google.com (mail-wm1-f72.google.com [209.85.128.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-203-h-7UnadCPiSfQ5FUSi0nyQ-1; Sun, 05 Sep 2021 15:07:53 -0400 X-MC-Unique: h-7UnadCPiSfQ5FUSi0nyQ-1 Received: by mail-wm1-f72.google.com with SMTP id s197-20020a1ca9ce000000b002e72ba822dcso2885942wme.6 for ; Sun, 05 Sep 2021 12:07:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=GBTVYvl6r/DGTmkrkWcHeYmKn9Wnjnzo76ZSWSpnbek=; b=ZgyMZc252tgRPfPHAB9qfTUVWEKFUBx6ZEIHdgDb29QykZealFGZAHUh4aJgO85uyX +xvH/0KVASfFCjJPfG41ZpiV72iChkvOTVophRa42ToXIJMncZ4YWzJwshbf7aaHKmvU 9kJP1Ip78H3cIoEms30Xc1R4c6zN/taR86QCFElyTHBpmJ8iafml3fh8OUZGupetaJW8 nJmztOO2MTFFgo4AY6KEcoP+50kY2BteaaiTdaX2BtOLdg91EUZWjdzZEIkgXsSMGD+c 17/Pmskww0TZsmTS2gZ71XkENWYUpjjg96XsZITK4rLl7giicHuzNkOUxBeNhooZ8B1F 3qzQ== X-Gm-Message-State: AOAM530tV83VGc3KZ8Uv0xU5gPcSoVOgu/JUKsipSZFvIX3bF0dnfz6A Jw2qlOqBJW6fuTnIRjTe3PUtP1e6NlQd1B+qR8iOUYBd3DHSzlet+plwr8uoG8eyd3zHtRP13z6 U6jGhVjWQL/Nv7uCQSCjxXYDqsU6kpm8urbAZA7v1y7Fk8M3yxctVUZDHiJY= X-Received: by 2002:adf:916f:: with SMTP id j102mr9428618wrj.422.1630868871836; Sun, 05 Sep 2021 12:07:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJKpXpbX8Zx9j1c0iF75tnA3gLF7m6WMhftI7dZFfieFpkJUATagtI6L+4VC8O/dknnYxpxg== X-Received: by 2002:adf:916f:: with SMTP id j102mr9428550wrj.422.1630868871507; Sun, 05 Sep 2021 12:07:51 -0700 (PDT) Received: from [192.168.3.132] (p5b0c6f04.dip0.t-ipconnect.de. [91.12.111.4]) by smtp.gmail.com with ESMTPSA id i20sm5300193wml.37.2021.09.05.12.07.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 05 Sep 2021 12:07:51 -0700 (PDT) Subject: Re: [PATCH v2 1/7] binfmt: don't use MAP_DENYWRITE when loading shared libraries via uselib() To: Linus Torvalds , Guenter Roeck Cc: Linux Kernel Mailing List , Andrew Morton , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Alexander Viro , Alexey Dobriyan , Steven Rostedt , Peter Zijlstra , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Petr Mladek , Sergey Senozhatsky , Andy Shevchenko , Rasmus Villemoes , Kees Cook , "Eric W. Biederman" , Greg Ungerer , Geert Uytterhoeven , Mike Rapoport , Vlastimil Babka , Vincenzo Frascino , Chinwen Chang , Catalin Marinas , "Matthew Wilcox (Oracle)" , Huang Ying , Jann Horn , Feng Tang , Kevin Brodsky , Michael Ellerman , Shawn Anastasio , Steven Price , Nicholas Piggin , Christian Brauner , Jens Axboe , Gabriel Krisman Bertazi , Peter Xu , Suren Baghdasaryan , Shakeel Butt , Marco Elver , Daniel Jordan , Nicolas Viennot , Thomas Cedeno , Michal Hocko , Miklos Szeredi , Chengguang Xu , =?UTF-8?Q?Christian_K=c3=b6nig?= , Florian Weimer , David Laight , linux-unionfs@vger.kernel.org, Linux API , the arch/x86 maintainers , linux-fsdevel , Linux-MM References: <20210816194840.42769-1-david@redhat.com> <20210816194840.42769-2-david@redhat.com> <20210905153229.GA3019909@roeck-us.net> From: David Hildenbrand Organization: Red Hat Message-ID: <77b36c45-773b-3cb8-fa18-45f0914c3090@redhat.com> Date: Sun, 5 Sep 2021 21:07:48 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Authentication-Results: imf01.hostedemail.com; dkim=pass header.d=redhat.com header.s=mimecast20190719 header.b="DzfLsnZ/"; spf=none (imf01.hostedemail.com: domain of david@redhat.com has no SPF policy when checking 216.205.24.124) smtp.mailfrom=david@redhat.com; dmarc=pass (policy=none) header.from=redhat.com X-Rspamd-Server: rspam02 X-Rspamd-Queue-Id: C241F5048F0D X-Stat-Signature: pe3ta7xj336f311ombiyezh7b1pdd7ja X-HE-Tag: 1630868874-844124 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On 05.09.21 19:17, Linus Torvalds wrote: > On Sun, Sep 5, 2021 at 8:32 AM Guenter Roeck wrote: >> >> Guess someone didn't care compile testing their code. This is now in >> mainline. > > To be fair, a.out is disabled pretty much on all relevant platforms these days. Yes, and it seems like it was disabled in all configs I used. (I did not compile all-yes configs; usually my stuff goes via -mm where it will end up in -next for a while ... this one was special) > > Only alpha and m68k left, I think. > > I applied the obvious patch from Geert. Thanks Linus! -- Thanks, David / dhildenb