linux/arch/alpha/kernel
Ivan Kokshaysky 74641f584d alpha: binfmt_aout fix
This fixes the problem introduced by commit 3bfacef412 (get rid of
special-casing the /sbin/loader on alpha): osf/1 ecoff binary segfaults
when binfmt_aout built as module.  That happens because aout binary
handler gets on the top of the binfmt list due to late registration, and
kernel attempts to execute the binary without preparatory work that must
be done by binfmt_loader.

Fixed by changing the registration order of the default binfmt handlers
using list_add_tail() and introducing insert_binfmt() function which
places new handler on the top of the binfmt list.  This might be generally
useful for installing arch-specific frontends for default handlers or just
for overriding them.

Signed-off-by: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
Cc: Al Viro <viro@ZenIV.linux.org.uk>
Cc: Richard Henderson <rth@twiddle.net
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-05-02 15:36:10 -07:00
..
.gitignore
alpha_ksyms.c
asm-offsets.c
binfmt_loader.c alpha: binfmt_aout fix 2009-05-02 15:36:10 -07:00
console.c
core_apecs.c
core_cia.c
core_irongate.c
core_lca.c
core_marvel.c
core_mcpcia.c
core_polaris.c
core_t2.c
core_titan.c
core_tsunami.c
core_wildfire.c
entry.S do_pipe cleanup: drop its last user in arch/alpha/ 2009-03-27 14:43:58 -04:00
err_common.c
err_ev6.c alpha: titan and marvel build fixes 2009-05-02 15:36:10 -07:00
err_ev7.c alpha: titan and marvel build fixes 2009-05-02 15:36:10 -07:00
err_impl.h alpha: titan and marvel build fixes 2009-05-02 15:36:10 -07:00
err_marvel.c alpha: titan and marvel build fixes 2009-05-02 15:36:10 -07:00
err_titan.c alpha: titan and marvel build fixes 2009-05-02 15:36:10 -07:00
es1888.c
gct.c
head.S alpha: convert to use __HEAD and HEAD_TEXT macros. 2009-04-26 09:20:38 -07:00
init_task.c
io.c
irq_alpha.c
irq_i8259.c
irq_impl.h
irq_pyxis.c
irq_srm.c
irq.c
machvec_impl.h
Makefile alpha: binfmt_aout fix 2009-05-02 15:36:10 -07:00
module.c
ns87312.c
osf_sys.c do_pipe cleanup: drop its last user in arch/alpha/ 2009-03-27 14:43:58 -04:00
pci_impl.h
pci_iommu.c alpha: convert u64 to unsigned long long 2009-04-01 08:59:16 -07:00
pci-noop.c
pci-sysfs.c
pci.c alpha: convert u64 to unsigned long long 2009-04-01 08:59:16 -07:00
process.c Simplify copy_thread() 2009-04-02 19:04:51 -07:00
proto.h alpha: titan and marvel build fixes 2009-05-02 15:36:10 -07:00
ptrace.c
setup.c alpha: convert u64 to unsigned long long 2009-04-01 08:59:16 -07:00
signal.c
smc37c93x.c
smc37c669.c alpha: convert u64 to unsigned long long 2009-04-01 08:59:16 -07:00
smp.c
srm_env.c proc 2/2: remove struct proc_dir_entry::owner 2009-03-31 01:14:44 +04:00
srmcons.c
sys_alcor.c
sys_cabriolet.c
sys_dp264.c
sys_eb64p.c
sys_eiger.c
sys_jensen.c alpha: convert u64 to unsigned long long 2009-04-01 08:59:16 -07:00
sys_marvel.c
sys_miata.c
sys_mikasa.c
sys_nautilus.c
sys_noritake.c
sys_rawhide.c
sys_ruffian.c
sys_rx164.c
sys_sable.c alpha: convert u64 to unsigned long long 2009-04-01 08:59:16 -07:00
sys_sio.c
sys_sx164.c
sys_takara.c
sys_titan.c
sys_wildfire.c
systbls.S
time.c
traps.c alpha: convert u64 to unsigned long long 2009-04-01 08:59:16 -07:00
vmlinux.lds.S alpha: convert to use __HEAD and HEAD_TEXT macros. 2009-04-26 09:20:38 -07:00