Re: [PATCH] a.out: Remove the a.out implementation

From: Arnd Bergmann
Date: Tue Sep 27 2022 - 03:53:25 EST


On Tue, Sep 27, 2022, at 12:15 AM, Eric W. Biederman wrote:
> In commit 19e8b701e258 ("a.out: Stop building a.out/osf1 support on
> alpha and m68k") the last users of a.out were disabled.
>
> As nothing has turned up to cause this change to be reverted, let's
> remove the code implementing a.out support as well.
>
> There may be userspace users of the uapi bits left so the uapi
> headers have been left untouched.
>
> Signed-off-by: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx>
> ---
>
> I was reminded that while this code was successfully disabled
> in the kernel we haven't deleted it yet.
>
> Kees can you pick this up.
>
> MAINTAINERS | 1 -
> arch/alpha/include/asm/a.out.h | 16 --
> arch/alpha/kernel/Makefile | 4 -
> arch/alpha/kernel/binfmt_loader.c | 46 ----
> arch/alpha/kernel/osf_sys.c | 30 ---
> arch/arm/configs/badge4_defconfig | 1 -
> arch/arm/configs/corgi_defconfig | 1 -
> arch/arm/configs/ezx_defconfig | 1 -
> arch/arm/configs/footbridge_defconfig | 1 -
> arch/arm/configs/hackkit_defconfig | 1 -
> arch/arm/configs/iop32x_defconfig | 1 -
> arch/arm/configs/jornada720_defconfig | 1 -
> arch/arm/configs/lart_defconfig | 1 -
> arch/arm/configs/neponset_defconfig | 1 -
> arch/arm/configs/netwinder_defconfig | 1 -
> arch/arm/configs/rpc_defconfig | 1 -
> arch/arm/configs/spitz_defconfig | 1 -
> fs/Kconfig.binfmt | 33 ---
> fs/Makefile | 1 -
> fs/binfmt_aout.c | 342 --------------------------
> fs/exec.c | 3 +-
> include/linux/a.out.h | 18 --
> 22 files changed, 1 insertion(+), 505 deletions(-)
> delete mode 100644 arch/alpha/include/asm/a.out.h
> delete mode 100644 arch/alpha/kernel/binfmt_loader.c
> delete mode 100644 fs/binfmt_aout.c
> delete mode 100644 include/linux/a.out.h

For the arm defconfigs:

Acked-by: Arnd Bergmann <arnd@xxxxxxxx>