Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp2984320pxv; Sun, 27 Jun 2021 15:17:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJEQzYuxFezDkS1/jmyEyTe+OY0Ny8BpDdisED1yEzMoMJ+31XfxoHXi5QIRayhqk699oP X-Received: by 2002:aa7:c644:: with SMTP id z4mr28540834edr.204.1624832260079; Sun, 27 Jun 2021 15:17:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624832260; cv=none; d=google.com; s=arc-20160816; b=IT6ooVy8zXYznL1lKlVENBWiuHjvLhuK3smpYXWNl06QFMxHE03VTkRl0IlQjhJfQ5 QHzlVzk08eVtnDpe5Wm3PiWUPrn9myZVIWpA5qYuMl3KgEIZCsH2LTpRJqQDy3KOCd10 7pm9KgjhKC7EMBvuZy/Qtli0vJ0NXNGmn3J3thxsLCGY8TkuOXulHnVP0JhrHcXU6eYT Ol05TjREma6H65nADiXsGDnw9IW9vOnja2jKzyTVrpCzf5Gjc7mvKAs1OMxWY/JwH4q7 yP7S/WUXKx8tOiJfLZMaZQg43n5Fm3opBGmbpkhXH4AhEiyD+VgOjWCIrIxuuvpFyXTd i3zA== 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=2PNZ8PaAwcpC6iVlVxW0aFOC5EPa3SI84/qEhY7dbvI=; b=GUOUy6kmUbaHh/KKbMmMoIKXlILvX+JcE+j8c7d7sudQwawjZPYfK9zNYC3JRQcxUL 3Ar9XmJCstLFB3kmAq1TuVPttRuLwf9PSa+03ZX/gyV2roKqCGy1bL7uxmRq3nAr0yb4 5T/p8ML7A42vj5G2ZezF2TqFZirIB0TS4gmDBbznxz+rBdP37LW9D6pdnN0KbjwmBAQ9 2hyNfPaxLdLSDwU0PkZLB+/eXa6horLZNGMNq3fxzmwdrw2X2vorgliuKoRRWuElmnyO c/ORlf3RTABJnoCSonLFlnGy8ZV6tz6Y/PLXuHrHSwddQR5eKgHXo1Fg99COL5Zbsi19 th7Q== 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 y26si12321508edv.144.2021.06.27.15.17.15; Sun, 27 Jun 2021 15:17:40 -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 S231738AbhF0WQc (ORCPT + 99 others); Sun, 27 Jun 2021 18:16:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231700AbhF0WQc (ORCPT ); Sun, 27 Jun 2021 18:16:32 -0400 Received: from zeniv-ca.linux.org.uk (zeniv-ca.linux.org.uk [IPv6:2607:5300:60:148a::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEA4EC061574; Sun, 27 Jun 2021 15:14:07 -0700 (PDT) Received: from viro by zeniv-ca.linux.org.uk with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1lxd1w-00D2bT-AL; Sun, 27 Jun 2021 22:13:32 +0000 Date: Sun, 27 Jun 2021 22:13:32 +0000 From: Al Viro To: "Eric W. Biederman" Cc: Linus Torvalds , Michael Schmitz , linux-arch , Jens Axboe , Oleg Nesterov , Linux Kernel Mailing List , Richard Henderson , Ivan Kokshaysky , Matt Turner , alpha , Geert Uytterhoeven , linux-m68k , Arnd Bergmann , Ley Foon Tan , Tejun Heo , Kees Cook Subject: Re: [PATCH 0/9] Refactoring exit Message-ID: References: <87a6njf0ia.fsf@disp2133> <87tulpbp19.fsf@disp2133> <87zgvgabw1.fsf@disp2133> <875yy3850g.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 Thu, Jun 24, 2021 at 10:45:23PM +0000, Al Viro wrote: > 13) there's bdflush(1, whatever), which is equivalent to exit(0). > IMO it's long past the time to simply remove the sucker. Incidentally, calling that from ptraced process on alpha leads to the same headache for tracer. _If_ we leave it around, this is another candidate for "hit yourself with that special signal" - both alpha and m68k have that syscall, and IMO adding an asm wrapper for that one is over the top. Said that, we really ought to bury that thing: commit 2f268ee88abb33968501a44368db55c63adaad40 Author: Andrew Morton Date: Sat Dec 14 03:16:29 2002 -0800 [PATCH] deprecate use of bdflush() Patch from Robert Love We can never get rid of it if we do not deprecate it - so do so and print a stern warning to those who still run bdflush daemons. Deprecated for 18.5 years by now - I seriously suspect that we have some contributors younger than that...