turn off VDSO on glibc side

heroxbd heroxbd@gentoo.org
Wed Jul 3 16:59:00 GMT 2013


Hey Mike,

Mike Frysinger <vapier@gentoo.org> writes:

> there aren't any configure flags or runtime knobs that i know of on
> the glibc side of things.  you could edit elf/dl-support.c and try
> commenting out the parts that handle AT_SYSINFO and AT_SYSINFO_EHDR.

I've pursued this approach. So far a base system was built around the
patched glibc on that vdso-buggy kernel, verifying that it works. Here I
attach a simple (and ugly) patch I used to disable VDSO completely for
completeness.

Thanks a lot!

Benda
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vdso-disable.patch
Type: text/x-diff
Size: 1136 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-help/attachments/20130703/3147939d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-help/attachments/20130703/3147939d/attachment.sig>


More information about the Libc-help mailing list