This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: turn off VDSO on glibc side


On 07/03/2013 01:18 PM, Mike Frysinger wrote:
> On Wednesday 03 July 2013 12:58:06 heroxbd wrote:
>> Mike Frysinger 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.
> 
> i'm not sure there's a way to generalize this, and i don't think this is a 
> patch i want to carry in Gentoo's glibc build.  i don't have a good answer 
> short of "upgrade your kernel".  sucks either way.

A runtime tunable might get you part of the way but it would
be disabled for AT_SECURE. Would that help?

I'll add this to the list of things users want to control.

Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]