RSS | technovelty home | page of ian | ian@wienand.org
I've written about AUXV previously, focusing on one of its most interesting applications -- its role in helping find linux-gate.so.1.
If you're starting your program, you can get the dynamic loader to echo out the AUXV fields with the environment variable LD_SHOW_AUXV, but if your process has started you'll need to pull the values out of /proc/pid/auxv directly.
This is pretty internal stuff for the dynamic loader and is probably only useful if you're writing a debugger or doing some other low-level tricks (such as debugging!). However, should you need to, here is some sample code which does just that. Hopefully it will save someone else some time!
posted at: Fri, 03 Oct 2008 16:08 | in /linux | permalink | add comment (0 others)

This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.