[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Proper interface for finding the ELF auxilary vector
On Wed, Feb 15, 2012 at 12:07:08AM +0100, Joerg Sonnenberger wrote:
> Hi all,
> attached patch adds a new function _dlauxinfo() to obtain a pointer to
> the ELF auxilary vector.
This looks good (though I don't know if there are alternative solutions).
> The function returns void * to allow changing the vector.
Do we want to consider backward compatibility issues here, or just mandate
that no newer libc may ever be installed without a newer ld.elf_so?
Is it possible for __init_libc to check for the presence of the symbol
before calling it without a serious startup slowdonw?
I wonder if we should pass in a version number (or size value) to identify
the requested version - we surely want old libc to work with newer ld.elf_so.
void *_dlauxinfo(unsigned version)
Or we could restrict ourselfs to only upward compatible changes.
Main Index |
Thread Index |