Re: [LINUX:3853] Yine sorun

Murat Arslan (arslanm@gate.marketweb.net.tr)
Thu, 23 Jul 1998 11:29:06 +0300 (EEST)


On Wed, 22 Jul 1998, A.Gurcan Ozturk wrote:

> [prometheus:~#]dir
> Unable to load interpreter
> Unable to load interpreter
> Unable to load interpreter
> Unable to load interpreter
> Unable to load interpreter
> Unable to load interpreter
> Unable to load interpreter
> Unable to load interpreter
> Unable to load interpreter
> Unable to load interpreter
> Unable to load interpreter
> Unable to load interpreter
> Unable to load interpreter
> Unable to load interpreter
> Segmentation fault

/usr/src/linux/fs/binfmt_elf.c:361:

static inline int
do_load_elf_binary(struct linux_binprm *bprm, struct pt_regs *regs) {
...

565: /* Now we do a little grungy work by mmaping the ELF image into
the correct location in memory. At this point, we assume that
the image should be loaded at fixed address, not at a variable
address. */
...
631: iput(interpreter_inode);
kfree(elf_interpreter);

if (elf_entry == ~0UL) {
printk("Unable to load interpreter\n");
kfree(elf_phdata);
send_sig(SIGSEGV, current, 0);
return 0;
}

..

MakinanIz gorunduGu uzere, ELF binarynizi hafIzaya atamamIS, once
makinanIzIn swap'ini arttIrIn, oLursa ek hafIza takIn..
__
Murat Arslan
PGP KeyID : 2047/7E1DE419
For PGPkey: finger arslanm@gate.marketweb.net.tr
Key FPrint: A2B8 99E7 DFC4 C338 2657 7668 5897 5AF3