This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to get ELF auxiliary vector address outside of main(), not using **argv nor **envp?


On Mon, Apr 27, 2009 at 5:02 AM, Igor Zhbanov <izh1979@gmail.com> wrote:
> But what if constructor of another library (which was called before
> my) calls setenv()?

Set the priority of your constructor such that it executes first.

A robust solution to your problem may be difficult to achieve.

Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]