Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp2162023pxb; Sun, 5 Sep 2021 10:19:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzJ7am9n0Dm0e9xlNDTJzvC4rK8vXPeuIi5ubObtWHIZaXUkYsKTSaQiLgiLthI2woXuw6Z X-Received: by 2002:a92:640d:: with SMTP id y13mr5825239ilb.184.1630862372456; Sun, 05 Sep 2021 10:19:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630862372; cv=none; d=google.com; s=arc-20160816; b=EU6Kd5s3oMk6P+rvyQXZrsTcHoAOd65IFZjhcLol+BvACfL30dRzK2mC2Y0+LogdSx BjLBKrbJKFdVs8sM650A1VZhlBMaJreaE2l+rR/828AA97TuTDtINHzuYRlnos9KOp0x U/1gAuzmoXG7nvJyr/LO/SzZ8s6snjQAF5C9CofWXB7Nh3uJfJcXjml+U0AzqDtZs6Av sMFEuGJOkpORt37w/WPf+FbTqviico0YH5zqhQ4bXC5JK+RaQYjDkIhUtzwOl2FAj+IA ENki0Qc4g9gJe+y1JyjTV+Dftmv955B17OmtVzBw4268rsHOpEQYiqm2E1EjuDvkw8H8 89GQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=jpxSclMyPpq3hjTkndeLX+vXWq2jAp6AUp9RJSFInpc=; b=HrP/CxrFDtdNox75wpVWmDlp5P7uaOTalv/Wgs78GTDy/v/OO1NZZQTVpqOR6rhEej rh6xKm9P/bTVYOJGVCrDsMxn09no1s5w2IIj3rOorNcQ8cQJGpHEzgRz5vgBPBZWmcYh SXvjGbV1t7UKQquMQbVfDyXgnrHVP+vi3U4MgTTdnGNqxDbCdBpHzGEjjo2tBmSljDhR v0ONYUTQ4716Ay60D/BELlwlKwTYP5cglBqtKdVRRLnAVT6cdzyuzc3h1hPz42qZO1pL 2IzISr/FfnCXLmkvQsSanYtSl3qRxHSFxrBCf59judNMw5pjOvrV5eqM8Ns+xrBJi4MQ Sqig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b="gK/q/jXj"; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w3si5994339jaf.102.2021.09.05.10.19.20; Sun, 05 Sep 2021 10:19:32 -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=@linux-foundation.org header.s=google header.b="gK/q/jXj"; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237465AbhIERSw (ORCPT + 99 others); Sun, 5 Sep 2021 13:18:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59012 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230471AbhIERSu (ORCPT ); Sun, 5 Sep 2021 13:18:50 -0400 Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59C44C061575 for ; Sun, 5 Sep 2021 10:17:47 -0700 (PDT) Received: by mail-lf1-x12d.google.com with SMTP id t19so8610583lfe.13 for ; Sun, 05 Sep 2021 10:17:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jpxSclMyPpq3hjTkndeLX+vXWq2jAp6AUp9RJSFInpc=; b=gK/q/jXjhkCQnjJcvu9HTWv3Xy/cZUkhrGXV+w6Yieir7RJN0wnXBCgrW7qEaTLfMe oYo31t90pvfHuligx33j3D0RxXp6Y2ZbKY0rpcBN0DvbvSQ1EHWrcrgoKint1hxYzqDA HGx76j07IWwevhOJYViS08kEj6stJNiezUr3E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jpxSclMyPpq3hjTkndeLX+vXWq2jAp6AUp9RJSFInpc=; b=Fz1qCQDKE8GalcfAkBfEt/tfoU7/9TZbnNSwxZ4WtHo4o+B2QZPI7c56DiapBzFB92 cpC1o299u5xtkIkE7wiBvu1ZSVJ+V+twGT+JMR/Z6dDYOlhEfcuqCuYi8Enpsrf1kLTT eYfYZxr4H2tMhIE4fZnTUPox6UQYzXGbMdNeJ/fSKmDSrn1oMKrrJEICqcyp2kmgGrw2 hHbanpCdg2puFfhOPMzZlmKBlB56N6L5emxYA58eCgMadbd4JmYQnELvvXIBtw8OPmI0 gPEvCixQbEhH0fb7XVmiFG3L57zg1Kq6s/526+C/Su+oauJadhIrsTYA3Q9vsZ67tTsm ds3Q== X-Gm-Message-State: AOAM530S71uBqegGmQniufBoHG7jvo8sfRIk0AsgeN/YrFsD1U4u2E6x DP2XDGxkCZa91lIps4GdLZw0goQpzlGLEX5o X-Received: by 2002:ac2:4359:: with SMTP id o25mr6771186lfl.106.1630862265331; Sun, 05 Sep 2021 10:17:45 -0700 (PDT) Received: from mail-lj1-f179.google.com (mail-lj1-f179.google.com. [209.85.208.179]) by smtp.gmail.com with ESMTPSA id v16sm710451ljc.138.2021.09.05.10.17.42 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 05 Sep 2021 10:17:43 -0700 (PDT) Received: by mail-lj1-f179.google.com with SMTP id w4so7094483ljh.13 for ; Sun, 05 Sep 2021 10:17:42 -0700 (PDT) X-Received: by 2002:a2e:a7d0:: with SMTP id x16mr7195539ljp.494.1630862262563; Sun, 05 Sep 2021 10:17:42 -0700 (PDT) MIME-Version: 1.0 References: <20210816194840.42769-1-david@redhat.com> <20210816194840.42769-2-david@redhat.com> <20210905153229.GA3019909@roeck-us.net> In-Reply-To: <20210905153229.GA3019909@roeck-us.net> From: Linus Torvalds Date: Sun, 5 Sep 2021 10:17:26 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 1/7] binfmt: don't use MAP_DENYWRITE when loading shared libraries via uselib() To: Guenter Roeck Cc: David Hildenbrand , 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 Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Only alpha and m68k left, I think. I applied the obvious patch from Geert. Linus