[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <p73y7n6goey.fsf@bingen.suse.de>
Date: 10 Feb 2007 13:58:13 +0100
From: Andi Kleen <ak@...e.de>
To: Parag Warudkar <parag.warudkar@...il.com>
Cc: akpm@...ux-foundation.org, linux-kernel@...r.kernel.org,
joerg@...rops.han.de, dsd@...too.org, paulus@...ba.org,
benh@...nel.crashing.org, lethal@...ux-sh.org
Subject: Re: [PATCH] Make aout executables work again
Parag Warudkar <parag.warudkar@...il.com> writes:
> This a reworked, replacement version of
> x86-fix-vdso-mapping-for-aout-executables-* series of patches in -mm.
>
> 1) Define arch_setup_additional_pages() as weak in linux/interp.h
> 2) Include linux/interp.h in appropriate places
> 3) Conditionally call arch_setup_additional_pages() from binfmt_*.c if
> the arch defines it
> 4) EXPORT_SYMBOL_GPL(arch_setup_additional_pages) for all x86{64},
> powerpc, sh - binfmt_aout can be built as module
> 5) Get rid of ARCH_HAS_SETUP_ADDITIONAL_PAGES from various places
> 6) For x86_64 - define and export arch_setup_additional_pages as a
> wrapper over syscall32_setup_pages, call it from ia32_aout.c
>
> Fully tested on x86. (Compile, boot and run the aout binary at
> http://ftp.funet.fi/pub/Linux/bin/as86.tar.Z). Other arches - changes
> are minimal but still I'll appreciate if someone tests them.
I already fixed this in a different way -- just use the stack
trampoline on a.out
Can you double check
ftp://ftp.firstfloor.org/pub/ak/x86_64/quilt/patches/aout-no-vdso
works for you?
-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists