[Rpm-maint] [PATCH] Use getauxval(3) to read auxv data

Panu Matilainen pmatilai at laiskiainen.org
Tue Jul 2 10:00:19 UTC 2013


On 07/01/2013 03:25 AM, Kirill A. Shutemov wrote:
> From: "Kirill A. Shutemov" <kirill at shutemov.name>
>
> glibc >= 2.16 provides getauxval(): a reliable way to retrieve a value
> from the auxiliary vector. It doesn't rely on /proc filesystem.
>
> Let's switch to it and get rid of /proc dependency.
>
> Signed-off-by: Kirill A. Shutemov <kirill at shutemov.name>

Nice, this has been on my todo list ever since I saw glibc adding 
getauxval(). Renaming the function seems unnecessary but ... shrug.

Applied, thanks for the patch!

	- Panu -


More information about the Rpm-maint mailing list