Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp2222664pxb; Sun, 5 Sep 2021 12:15:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwqSqwd+tog5fU99cqK6wo73jk3bKs/dot+O8s/msgyq5WKa9Ev01l7/v1zm72W/kXwSQBF X-Received: by 2002:a50:9a84:: with SMTP id p4mr10000056edb.189.1630869358477; Sun, 05 Sep 2021 12:15:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630869358; cv=none; d=google.com; s=arc-20160816; b=Z4fL+TEbjp7TyBRNJ6qzW5otY54B86Qv2ZT+IYupZbiGSVnX1SAXdAuxpAoTVur/pt LeHvdOnSBLf3OkGhxqQlfIeduSgWjZyoK71t5uvclsQxoncYe2mNAWcUCaOOnq8bMHlG fUscT34UJC1DuNc9VDnSoM0LUAz6+o/PinScR6JhbCrxn0Na2AN3iB6GMTS3zGR7B2wZ oMYsCJamGZAPz86JWX85V9JuqPB34/dKbNtYDiOt9RjFOWAB//elEcalLyzmo3wpEHLA F325mwY6hk00YNX3Z1+bOPF8COlVfuWhf3Y9ljLoHWBJVWMtUAi4VF+88L+V2LHpjXhN 7e4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:organization :from:references:cc:to:subject:dkim-signature; bh=GBTVYvl6r/DGTmkrkWcHeYmKn9Wnjnzo76ZSWSpnbek=; b=Hu8RaEWJHxv8kGb7RIQx9ZDz37W46kavapyTtX7OoL23HhZMMh3s5O100JUyavuyh9 4pUIlBwcPwBznI9h6BWpKZ9vAyNTwqZMNVD3qdQlJJPZb4dDwEYaKVAMJLBoHVMYeKDN bTrtJI64aaxRqJOO//s+vxbqY5wqnndk+WsUCiAAy3bIz4m/0bIO34sWB7kLh1m8NpWE nWP4rb/AJO/S7P2ZQZwReQtQZDs5ZsGk0ydHD6hWiBpee3FgH+IfmAiCHj6qnD4nEAFt P98yF6+W1OhYv2++YKiS2JkvQPG2Pb+gn5cjzptJcVXKKFcHKuyWnFgfjszxIIXkEniq l4Lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=PeqfpFtO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i25si6226331ejd.625.2021.09.05.12.15.35; Sun, 05 Sep 2021 12:15:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=PeqfpFtO; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238349AbhIETJS (ORCPT + 99 others); Sun, 5 Sep 2021 15:09:18 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:26009 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238410AbhIETI7 (ORCPT ); Sun, 5 Sep 2021 15:08:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1630868873; 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=PeqfpFtOcgYLHpImbilspXx7NNcD9AFdc1+vbYZSW8XLdVNXxdpUyIBE6a8Jd//2ySrAW3 A3Rarm2+FChvFF82fOeq1qd0qcEaGVFxiA7bu3YZinBh2cKjqLW0qR2oAdLuSd4aERoPN5 DrpsC4lYjcWWoLLXHz6HAA10siuMJ7o= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-555-xLSwL4ISOv6esLdIVLc1CQ-1; Sun, 05 Sep 2021 15:07:52 -0400 X-MC-Unique: xLSwL4ISOv6esLdIVLc1CQ-1 Received: by mail-wm1-f70.google.com with SMTP id r4-20020a1c4404000000b002e728beb9fbso2878198wma.9 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=DrVRiE3J7ON3K7uABfRL7nuaH1mPEB4X0O4CiAlKgJM7wn2EI1Z2wzeSWQ3mWcVnsc 9HlPmUqgZxTp5IXxTDDszBZ2Mvo+FuLfXpePLf+OTrLCaU0gH5nSJAzTCZw2YCEkCZR/ oc/vtM/aNwre7MceXYMl5vtJR+m0tJt0DaO14y1rKZ+HOpY6v0f+SMk1+WBCkzdMHIMa 4gQcMmKGp4ORAnidM9QCGld2sqDmpUpk4HIQP00T1ebDBHSp41FrdvZl/Syw07ZNgDun z8L50Svz7HYj6sHkri8Cdt+ihgEhOiNnHQ6UC0tM3SoH204o1C8XGjRCdh+KT42bRIFT y3Jw== X-Gm-Message-State: AOAM530ZL/nGntMC+vE5b888JAakAx4ooohPn5rlf2LZJbiE9j64AbO4 3biC14HK3nwjdLqrI1CWzzKEsOJepqE2I9zzooeHpUmxtG0PJRYTn3ZGl9sxTH/gh2r/Brg2gTW ERXm6rJ2/RI65JJXbk/a/NKYQ X-Received: by 2002:adf:916f:: with SMTP id j102mr9428575wrj.422.1630868871731; Sun, 05 Sep 2021 12:07:51 -0700 (PDT) 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: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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