Re: Execve() again

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Brian Blietz <bblietz@xxxxxxxxxxx> writes:

> I am assuming I need to modify execve() to do this, or
> can this be done otherwise?

I'm not entirely clear on what you are doing or why you are doing it,
but I think the place you want to make this change would be the
dynamic linker.  Unless you specifically need this modification to
work in statically linked binaries, it will be a lot easier to work
with the dynamic linker, which is a userland program, than with
execve, which is a kernel system call.

This kind of thing would normally be done using a dynamic reloc, not a
symbol table entry.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux