Re: [PATCH v2] x86: Remove compat vdso support

Linus Torvalds
2014-03-11T15:30:36Z

On Tue, Mar 11, 2014 at 7:53 AM, Andy Lutomirski <luto@amacapital.net> wrote:
>
> I wonder if we can actually detect buggy glibc versions at runtime.

No, don't do that. That way lies madness.

What might be acceptable then is to just keep the old config name, and
if the COMPAT_VDSO config is enabled, you just disable the non-compat
vdso. At least that way, presumably any opensuse people would have
their kernel config continue working.

Then if people have that enabled but didn't need it, you can enable
it at runtime with

echo 1 > /proc/sys/abi/vsyscall32

which presumably would need to be exposed on 32-bit kernels too (it
looks like a x86-64-only thing right now)

The important thing is that we do *not* break user space. Not ever.
Not knowingly.

Linus