Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp1486371imc; Mon, 11 Mar 2019 15:07:36 -0700 (PDT) X-Google-Smtp-Source: APXvYqxghU+uPMU6bN1nxUTWyeErlwVbQb+ow3cwpbyzRGdGjZcOogdLHit5KbtRsN0gb9uoBMDy X-Received: by 2002:a62:4ec5:: with SMTP id c188mr35496725pfb.230.1552342056035; Mon, 11 Mar 2019 15:07:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552342056; cv=none; d=google.com; s=arc-20160816; b=N8+zeWfOriEhwHJQQ9HihEJMKvR3p9HlaJ5G2uDBgIhgAKD5FqzvniLFkK8sVM6dTw VGGYLsxlORjRBbubeF6JaoJ8yi5vJpI6mBCxV0nsH9t7L6zFNTtHyOrfP1BmnhsTdMM/ GedPqqwrj+PR6SUSjfwkZyiC/n3zt02pTCp0W4SMnx4wcEnPtGLm536E0eQSxgke/tX1 GCvGl24hWZkrS6nh6BhinrmVk09mre+G6fwAKzjSMysWzKQ6BgpHgWinWaxzYQOBYcz1 BMsJRhk0eG8eM46N/gj2OMs3Lv80Musvl2GuydRR2OrUz3NxpT1iSFUGT8jwx6nCOkQv xXMg== 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 :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from; bh=tHdUXGGEPDEKDvPPyw7KOeFdwcgPhzNbb2Nz3srwx60=; b=Ef4fa7wJpMv1DydkI+KZgi+VgtwOaDQhGp7pCz8vN2G1xWS0/qAclN49jvKKR8KzCt 25eTDfpXQEiFb60vhBAFETvPgbelK6Z2nKgzQu1uirKpsYN+6lOZvuDzWksLJzUbWc/P dNTM03OLxtkc5k6GfD8JnePc8BEovFGVX9OiXh6cDBPdZlpuXFW2+J9uXHi3t902b3A9 O+kVnGbwJBaMDsZzcEEb1v9WDoIJlKdWXumKPn8bvMqn5Lw+flfPRgJtKTO/obWldBq6 nhI0onBs/UBIvtGox8kH/WJ4UYCkElUejfBhpFUJYcli2btGNcLc8fhw79bvOp4MFCCy ghGQ== 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 37si3795011ple.250.2019.03.11.15.07.20; Mon, 11 Mar 2019 15:07:36 -0700 (PDT) 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 S1728090AbfCKWGV convert rfc822-to-8bit (ORCPT + 99 others); Mon, 11 Mar 2019 18:06:21 -0400 Received: from unicorn.mansr.com ([81.2.72.234]:37266 "EHLO unicorn.mansr.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727830AbfCKWGV (ORCPT ); Mon, 11 Mar 2019 18:06:21 -0400 Received: by unicorn.mansr.com (Postfix, from userid 51770) id 1697114CEA; Mon, 11 Mar 2019 22:06:19 +0000 (GMT) From: =?iso-8859-1?Q?M=E5ns_Rullg=E5rd?= To: Arnd Bergmann Cc: Linus Torvalds , Matt Turner , Borislav Petkov , Alan Cox , Matthew Wilcox , Jann Horn , Al Viro , Thomas Gleixner , kernel list , linux-fsdevel , "the arch\/x86 maintainers" , Linux API , Andrew Morton , Richard Weinberger , Anton Ivanov , linux-alpha , linux-m68k Subject: Re: [PATCH] x86: Deprecate a.out support References: <20190305091904.GB8256@zn.tnic> <20190305122218.GD13380@bombadil.infradead.org> <20190305134347.4be2449c@alans-desktop> <20190305145717.GD8256@zn.tnic> <20190305173134.GE8256@zn.tnic> <20190305181138.GG8256@zn.tnic> <20190305181808.GH8256@zn.tnic> Date: Mon, 11 Mar 2019 22:06:19 +0000 In-Reply-To: (Arnd Bergmann's message of "Mon, 11 Mar 2019 22:34:26 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Arnd Bergmann writes: > On Mon, Mar 11, 2019 at 8:47 PM M?ns Rullg?rd wrote: >> Linus Torvalds writes: >> > On Mon, Mar 11, 2019 at 11:08 AM M?ns Rullg?rd wrote: >> >> >> >> The latest version I have is 5.1, and that uses ECOFF. >> > >> > ECOFF _is_ a.out as far as Linux is concerned. >> > >> > So Linux basically treats ECOFF as "regular a.out with just some >> > header extensions". >> > >> > We don't have any specific support for ECOFF. >> > >> > I _think_. Again, it's been years and years. >> >> Right, which is why killing a.out entirely would have the unfortunate >> effect of also removing the OSF/1 compatibility on Alpha. >> >> If we are to support Alpha as an architecture at all, it makes sense to >> support the things people actually use it for. >> >> Now, personally I can live without it. I just don't like to see >> features removed without due consideration. > > The main historic use case I've heard of was running Netscape > Navigator on Alpha Linux, before there was an open source version. > Doing this today to connect to the open internet is probably > a bit pointless, but there may be other use cases. Once upon a time, I used it to run Matlab. > Looking at the system call table in the kernel > (arch/alpha/kernel/syscalls/syscall.tbl), we seem to support a > specific subset that was required for a set of applications, and > not much more. Old system calls (osf_old_open, osf_execve, > osf_old_sigaction) are listed but not implemented, and the same > is true for most of the later calls (osf_fuser, osf_sigsendset, > osf_waitid, osf_signal, ...), just the ones in the middle are there. > This would also indicate that it never really worked as a > general-purpose emulation layer but was only there for a specific > set of applications. It works for many applications, though I did have to add a few syscalls myself (yes, I sent patches). > Another data point I have is that osf1 emulation was broken > between linux-4.13 and linux-4.16 without anyone noticing, see > 47669fb6b595 ("alpha: osf_sys.c: fix put_tv32 regression"). That's interesting, but it doesn't mean nobody is using it. I tend to run the LTS branches and switch to a new one only once it seems to have settled a bit, so when 4.16 was released, I was probably still running 4.9. I don't think I'm the only one using this strategy. -- M?ns Rullg?rd