Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp3289510imb; Tue, 5 Mar 2019 05:54:45 -0800 (PST) X-Google-Smtp-Source: APXvYqzVtGL75ZBjplUayUWTMzcFofx0IHlqTn0Pw8SbEElxYpU7c43PajICOnOG+qeg4KU3xs/0 X-Received: by 2002:a17:902:e090:: with SMTP id cb16mr1315143plb.32.1551794085386; Tue, 05 Mar 2019 05:54:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551794085; cv=none; d=google.com; s=arc-20160816; b=rn4q5orbcf1rUfZjOcrfm9GuA+5NOCidVy72FVeeHZTnszBZpNdNS5/m75UtHVuUwC oeBSGTqqd5ltkfdNorRoG6wpgmw7VojO/P/C/5hdHPdD2hiC9qurJZNsHD/dwzb4SYMD xntTybSMS3LvHy1/TPS/n88kQyw+1YL7iPjFmfThkcQ9UM+NTtC8g7Kk5Nu+VCEraicr /dzCYYf39S8IFxBve/dIBcx2aiu4jjlMnaXYsukNfWus+OmF0uLPuX+SFzoCcoqpbwZ3 vq1O2jd0v3syhWL9i9LjH/Vuomj8MF3lRx4ZyyAQI7Yk6CH+p3RKUA+Yly3qpCIqVKoN p5gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=MPzhpscRytauqY0bU3jX+4ZTH08+VsYn8KiNXzLTaiM=; b=fN2/sqKbwAaxOTG+AoLCu2onXOD8qO2oMVteYAkWOXlS3wkH9oMFTLTpdi6IZ3YBH8 XuziOWFm8tYy7Dpq5hjYNvRcw6bjlpeekrPJ73YoyfbjYWZqO/pI0KeSMoMQ1gvYhr6R jPrddrd2rQohOqG9hjJQm4jEgns9M9iI/gvS6zEGIOdRBr3cJxcNyH84oQHogWs+VOYZ kSBea3V/fCBz5USPGfrOCNER06dMXtFHajFCSFX/iT7ozIKPiCYw4pkaxd8aHW/PV/7c LWdjif81cgRqSJ/MZQimh6eTdkdrH7wWrOG2dLJ4dvCzDtnEWA/JI27biutuPgukmKSb YC3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=a3WIi8Vk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cn6si9268136plb.242.2019.03.05.05.54.30; Tue, 05 Mar 2019 05:54:45 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=bombadil.20170209 header.b=a3WIi8Vk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728111AbfCEMW3 (ORCPT + 99 others); Tue, 5 Mar 2019 07:22:29 -0500 Received: from bombadil.infradead.org ([198.137.202.133]:37436 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726150AbfCEMW3 (ORCPT ); Tue, 5 Mar 2019 07:22:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20170209; h=In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=MPzhpscRytauqY0bU3jX+4ZTH08+VsYn8KiNXzLTaiM=; b=a3WIi8Vk7YTP592YxSJko+5QR CUk3vJtDPSlgnu3MFIv27SF9qks7+gzam6nHCfuytMgojFyZG8H9UGkW1ZFE3gAysnJTdVNchTb/O NhiHy4RIqLsUTys+3VvmOs2DQWwOfPOBJf4yyDUCGscVS8nboUFZgecnRxhWZEDNxPY8A1GVR0ERR MGEIXrbUBeRfHITHDhRFUD/QVy33VM4ujnlAkBY/tM7v9tql+i0jSWcL9I5nPYv9GnJqyWAOanNqX eAfueoBCQCJNFcFWu0i9xcJm6d24tV9ueG1LYIz3zPpE/IqGogwc0wzWAAxZGf2GttsP6ZJVektJ+ TfWYLcWxw==; Received: from willy by bombadil.infradead.org with local (Exim 4.90_1 #2 (Red Hat Linux)) id 1h195O-0007q7-Ru; Tue, 05 Mar 2019 12:22:18 +0000 Date: Tue, 5 Mar 2019 04:22:18 -0800 From: Matthew Wilcox To: Borislav Petkov Cc: Jann Horn , Al Viro , Thomas Gleixner , kernel list , linux-fsdevel@vger.kernel.org, the arch/x86 maintainers , Linux API Subject: Re: a.out coredumping: fix or delete? Message-ID: <20190305122218.GD13380@bombadil.infradead.org> References: <20190305091904.GB8256@zn.tnic> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190305091904.GB8256@zn.tnic> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 05, 2019 at 10:19:04AM +0100, Borislav Petkov wrote: > On Sat, Mar 02, 2019 at 12:57:30AM +0100, Jann Horn wrote: > > In theory, Linux can dump cores for a.out binaries. In practice, that > > code is pretty bitrotten and buggy. Does anyone want that code so much > > that they'd like to fix it, or can we just delete it? > > I was asking myself the same question while doing > > 10970e1b4be9 ("x86/a.out: Clear the dump structure initially") > > especially since it is kinda hard to get the toolchain to even create an > a.out executable - your script to create one case-in-point. It's been 25 years since Linux added support for ELF. Can we just delete the a.out support entirely now? According to the Linux-ELF HOWTO, support was added in 1.1.52 (August 1994). It's pretty much necromancy at this point.