LWN.net Logo

getauxval() and the auxiliary vector

getauxval() and the auxiliary vector

Posted Nov 13, 2012 11:09 UTC (Tue) by oak (guest, #2786)
In reply to: getauxval() and the auxiliary vector by BenHutchings
Parent article: getauxval() and the auxiliary vector

Nice. Yet another way for programs to find out on what kind of a platform they're running at runtime.

(If everything would use it instead of reading the /proc/self/auxv file directly, it would be nice, now it just means that tools like SB2 and user-space Qemu have yet another thing they need to catch & override, but at least this new method is easier to override.)


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds