Subject: Re: compat_solaris
To: None <>
From: Christos Zoulas <>
List: port-sparc64
Date: 02/06/2005 19:06:08
In article <>,
Michael  <> wrote:
>Hash: SHA1
>after digging around a bit more I found where the loader barfs - it's 
>in sys/kern/exec_elf32.c
>it bails because opera's eh->e_shnum is 15850 which is significantly 
>larger than 1024.
>So - what's the purpose of this field in the ELF header? Why bail if 
>it's >1024?
>Sorry, my knowledge of the ELF standard is next to nonexistent.
>have fun

The point is not to have random binaries DOS the kernel by allocating
too much memory. I will make that bigger.