Received: by 2002:a05:6a10:8a4d:0:0:0:0 with SMTP id dn13csp1266256pxb; Fri, 13 Aug 2021 19:02:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFGsIIQK058M7UAm9W3zKGjkgxpxazQSikOmbVjnwMRTiyjApBfC6Rn6nBSSlS0g4PbkTe X-Received: by 2002:a02:4e04:: with SMTP id r4mr4893298jaa.99.1628906545070; Fri, 13 Aug 2021 19:02:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628906545; cv=none; d=google.com; s=arc-20160816; b=BidmxwZRcPfC1qZGJ03+M+dknYnd+zUpUiMbcLpoB7jE3iIlg0Ivv/ktwRoPIk3xCf SjdF0ssJoaY45srGY7XBebsmwMhWl+9YwxLWnqV6QWU/RBbXDdVmtgxYBfJAdNtSpnpm phhqy5RAuthbfHlE02hpn+idpFy6k3whzOtbCmJ6r3zG5HzyufPgmWLfWqZHIyAw25E1 9qovPMxh3zc8TioTF3ij73TeHusYdtpAO3RShIhWaMWS9OhEQWRoGzf3YDV7WQVgNoh/ xZo0fshYuMhxCqXV/IlTUhqywmgjEh/1Ue+fcsGqWtMjRIwggc4FXL71XllRxFaYcldy IL+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=2F3rL+xpjUhzxxEENXXRaAMoRxLqEFycJ+kuyG//Dlw=; b=n7QiWvRqpQN0ARyyNsVt11c+aSO5Akpk4Kl4F/vhm0nK9RkKlghIAh0mZKJ5oIdYSk ig1i4ntloLTiPfAbvPHB11WLyu/Wf8uZ27xiLzn1ui3c1jQtYP9VJr/b198K5+nk33lL SDjVwY5ND7Iv9hp9xDTzLYnfZfL7u4Vg4i9/dbNq23nILUI8qMvv1g/HcW6CCCsH68yZ Fx6ODLu82y8cG/pgsa48jbN1Qx48oF4+LP2s5Muw7YN6BnmVw4w7iTbXRWHCzBOHKpUy UUZ9k3+UkuWf8FVmF7/Yu9i6qZb6ilpnak5XFQBPm9sMG2WvrEMenHUmZgYMMqxqVTL3 cDXA== ARC-Authentication-Results: i=1; mx.google.com; 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 t16si3765797iov.17.2021.08.13.19.02.02; Fri, 13 Aug 2021 19:02:25 -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; 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 S236284AbhHNCAz (ORCPT + 99 others); Fri, 13 Aug 2021 22:00:55 -0400 Received: from zeniv-ca.linux.org.uk ([142.44.231.140]:54794 "EHLO zeniv-ca.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236264AbhHNCAz (ORCPT ); Fri, 13 Aug 2021 22:00:55 -0400 Received: from viro by zeniv-ca.linux.org.uk with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1mEivT-00BTTv-HW; Sat, 14 Aug 2021 01:57:31 +0000 Date: Sat, 14 Aug 2021 01:57:31 +0000 From: Al Viro To: Linus Torvalds Cc: Andy Lutomirski , "Eric W. Biederman" , David Laight , David Hildenbrand , Linux Kernel Mailing List , Andrew Morton , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Alexey Dobriyan , Steven Rostedt , "Peter Zijlstra (Intel)" , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Petr Mladek , Sergey Senozhatsky , Andy Shevchenko , Rasmus Villemoes , Kees Cook , Greg Ungerer , Geert Uytterhoeven , Mike Rapoport , Vlastimil Babka , Vincenzo Frascino , Chinwen Chang , Michel Lespinasse , 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 , Collin Fijalkovich , Michal Hocko , Miklos Szeredi , Chengguang Xu , Christian =?iso-8859-1?Q?K=F6nig?= , "linux-unionfs@vger.kernel.org" , Linux API , the arch/x86 maintainers , "" , Linux-MM , Florian Weimer , Michael Kerrisk Subject: Re: [PATCH v1 0/7] Remove in-tree usage of MAP_DENYWRITE Message-ID: References: <60db2e61-6b00-44fa-b718-e4361fcc238c@www.fastmail.com> <87lf56bllc.fsf@disp2133> <87eeay8pqx.fsf@disp2133> <5b0d7c1e73ca43ef9ce6665fec6c4d7e@AcuMS.aculab.com> <87h7ft2j68.fsf@disp2133> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: Al Viro Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Aug 13, 2021 at 02:58:57PM -1000, Linus Torvalds wrote: > On Fri, Aug 13, 2021 at 2:54 PM Linus Torvalds > wrote: > > > > And nobody really complained when we weakened it, so maybe removing it > > entirely might be acceptable. > > I guess we could just try it and see... Worst comes to worst, we'll > have to put it back, but at least we'd know what crazy thing still > wants it.. Umm... I'll need to go back and look through the thread, but I'm fairly sure that there used to be suckers that did replacement of binary that way (try to write, count on exclusion with execve while it's being written to) instead of using rename. Install scripts of weird crap and stuff like that...