← Back to team overview

kernel-packages team mailing list archive

[Bug 966472] Re: missing a.out (ZMAGIC) support

 

Hi,
I have identified where the kernel is giving error when trying to load an OMAGIC: lxr.linux.no/#linux+v3.13.5/arch/x86/ia32/ia32_aout.c#L260

It's just after the vm_brk.

Eg. vm_brk(0, 13048);
0 is the txtaddr and 13048 is the size of the sections TEXT and DATA together. The vm_brk() is returning 18446744073709551615, so, the kernel sigkill the current.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/966472

Title:
  missing a.out (ZMAGIC) support

Status in “linux” package in Ubuntu:
  Confirmed

Bug description:
  In order to run old (1994) commercial binaries, one needs a.out (ZMAGIC) support.
  Executables that used to work (a few years ago) now give "cannot execute binary file".
  strace on the invocation shows "ENOEXEC (Exec format error)".
  Inspection of /boot/config-2.6.32-22-generic shows 
  # CONFIG_HAVE_AOUT is not set
  # CONFIG_IA32_AOUT is not set
  Inspection of /lib/modules/2.6.32-22-generic shows no ia32_aout.ko, where I think there used to be such a module.

  So, perhaps the absence of such a module contributes to the non-running of my old executable.
  Recently, perhaps in 2.6.27-11-generic there still was such a module.
  All this is on x86_64 with Ubuntu 10.04.4 LTS. It looks like Ubuntu 11.10 does not have AOUT support either.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/966472/+subscriptions