Received: by 2002:ac0:aed5:0:0:0:0:0 with SMTP id t21csp3376601imb; Tue, 5 Mar 2019 07:55:01 -0800 (PST) X-Google-Smtp-Source: APXvYqz3VwVIDXhpfn1/wqW+7ps0Nq/c8Snd+rUTv1t3aOC9Wu8el3uIZYePU7d8bbP2epdspRUl X-Received: by 2002:a17:902:930b:: with SMTP id bc11mr1890292plb.101.1551801301504; Tue, 05 Mar 2019 07:55:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551801301; cv=none; d=google.com; s=arc-20160816; b=kfvNd5TfchDdI2Wi57jK9u/k9q2Xpvv1hdDRfqXSte9Qlt7mYQ117lu/QOMSvGnz33 HvLD1VaV22DJkeyju9I86Ojb2j0vQu0K9INPFKyHD8kprx2lqYqz1TrqgneaAkCjYW3D ip7lGTcFTqovpzh5jADecDRwzMU/FP8Rnra0wrEdajy5bXyHr51olqC61X95CSlYpmCW oOfGZJuxDY+3twxT9RHpB3he9ieFhVOXZS3xneBsyYaz8Vf9cGX1a8oj7UxdfsN6Stde d8vfpNj59uud7hMosFqg/pefzTKV52movPm8HJ5d6cYQ9G61UcOmf912VXOB1MwcWHbh W5UA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=v40pABrVl4X0SdQev+ArqZ0x880tHbcZ+OxmTmD6K4E=; b=skV9y/Tc8D7hgh9VBM899AHYfo0bhJ2rA+NYpVZWzrE3pVAdWPCbCAkgiVQaYfhV90 AstHXzOJJc9Tpi+YT4DPPb0Oiv53bnweAh5lXrcKyv/AgECplv9TqGWcUn21qbjXn2ZX wdzP3QsTNBHB/2SnY+5V+azCCSQLFwGNXYuQ3r/KT0CPz6ZnBC8GTgCv1AAH8/t7bBx8 Z7r2Uw9F8hUQSsluiOtR6bjWGeNyvgNp7EN42tT7nEipxvsXL77yJA0qLnlG5nmxndOG iDiIPSmowdQPHjCJPwAvEfD7KOT18b4YgItyJ/ciQE8SlzZ/aVwU+j0JepNkAPFALNzb 12JA== ARC-Authentication-Results: i=1; mx.google.com; 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 v6si3578644pgs.6.2019.03.05.07.54.46; Tue, 05 Mar 2019 07:55:01 -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; 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 S1728330AbfCEPRn convert rfc822-to-8bit (ORCPT + 99 others); Tue, 5 Mar 2019 10:17:43 -0500 Received: from lithops.sigma-star.at ([195.201.40.130]:58116 "EHLO lithops.sigma-star.at" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727114AbfCEPRn (ORCPT ); Tue, 5 Mar 2019 10:17:43 -0500 Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id 93AA5608A395; Tue, 5 Mar 2019 16:17:39 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id weM5cc1tbIqW; Tue, 5 Mar 2019 16:17:38 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by lithops.sigma-star.at (Postfix) with ESMTP id F3CCA608A39B; Tue, 5 Mar 2019 16:17:37 +0100 (CET) Received: from lithops.sigma-star.at ([127.0.0.1]) by localhost (lithops.sigma-star.at [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 1kRNNjbrG4SH; Tue, 5 Mar 2019 16:17:37 +0100 (CET) Received: from blindfold.localnet (089144192209.atnat0001.highway.a1.net [89.144.192.209]) by lithops.sigma-star.at (Postfix) with ESMTPSA id E07F2608A395; Tue, 5 Mar 2019 16:17:36 +0100 (CET) From: Richard Weinberger To: Borislav Petkov Cc: Alan Cox , Matthew Wilcox , Jann Horn , Al Viro , Thomas Gleixner , kernel list , linux-fsdevel@vger.kernel.org, the arch/x86 maintainers , Linux API , Andrew Morton , Linus Torvalds , Anton Ivanov Subject: Re: [PATCH] x86: Deprecate a.out support Date: Tue, 05 Mar 2019 16:17:35 +0100 Message-ID: <9780784.9EOYMQBb1X@blindfold> In-Reply-To: <20190305145717.GD8256@zn.tnic> References: <20190305134347.4be2449c@alans-desktop> <20190305145717.GD8256@zn.tnic> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="iso-8859-1" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Dienstag, 5. M?rz 2019, 15:59:52 CET schrieb Borislav Petkov: > + akpm and Linus. > > On Tue, Mar 05, 2019 at 01:43:47PM +0000, Alan Cox wrote: > > > 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. > > > > In the unlikely event that someone actually has an a.out binary they > > can't live with they can also just write an a.out loader as an ELF > > program entirely in userspace. > > > > I'd vote for giving it the boot unless there are any architectures that > > kept using a.out far longer due to tool chain issues ? > > We can at least deprecate it on x86... > > --- > From: Borislav Petkov > Date: Tue, 5 Mar 2019 15:47:51 +0100 > Subject: [PATCH] x86: Deprecate a.out support > > Linux supports ELF binaries for ~25 years now. a.out coredumping has > bitrotten quite significantly and would need some fixing to get it into > shape again but considering how even the toolchains cannot create a.out > executables in its default configuration, let's deprecate a.out support > and remove it a couple of releases later, instead. > > Signed-off-by: Borislav Petkov > Cc: Al Viro > Cc: Anton Ivanov > Cc: Jann Horn > Cc: > Cc: > Cc: lkml > Cc: Matthew Wilcox > Cc: Richard Weinberger > Cc: Thomas Gleixner > Cc: > --- > arch/x86/Kconfig | 2 +- > arch/x86/um/Kconfig | 1 - > 2 files changed, 1 insertion(+), 2 deletions(-) > > diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig > index 68261430fe6e..ade12ec4224b 100644 > --- a/arch/x86/Kconfig > +++ b/arch/x86/Kconfig > @@ -14,7 +14,6 @@ config X86_32 > select ARCH_WANT_IPC_PARSE_VERSION > select CLKSRC_I8253 > select CLONE_BACKWARDS > - select HAVE_AOUT > select HAVE_GENERIC_DMA_COHERENT > select MODULES_USE_ELF_REL > select OLD_SIGACTION > @@ -2843,6 +2842,7 @@ config IA32_EMULATION > config IA32_AOUT > tristate "IA32 a.out support" > depends on IA32_EMULATION > + depends on BROKEN > ---help--- > Support old a.out binaries in the 32bit emulation. > > diff --git a/arch/x86/um/Kconfig b/arch/x86/um/Kconfig > index f518b4744ff8..494eeb51e4e1 100644 > --- a/arch/x86/um/Kconfig > +++ b/arch/x86/um/Kconfig > @@ -16,7 +16,6 @@ config 64BIT > > config X86_32 > def_bool !64BIT > - select HAVE_AOUT > select ARCH_WANT_IPC_PARSE_VERSION > select MODULES_USE_ELF_REL > select CLONE_BACKWARDS > For UML, Acked-by: Richard Weinberger Thanks, //richard