[PATCH 0/4] Export AT_HWCAP from libc.

Roland McGrath roland@hack.frob.com
Sat Mar 17 02:51:00 GMT 2012


> Anyways, the closest thing Solaris has to what you mention is a
> "long __getauxval(int type)" interface.

If that's a general-purpose auxv-scanning interface, then that sounds like
it might be the really useful thing to export instead.  We could still have
it special-case AT_HWCAP (and perhaps a few others) to report the cached
values we already have internally rather than actually scan.


Thanks,
Roland



More information about the Libc-alpha mailing list