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

From: Linus Torvalds
Date: Tue Mar 11 2014 - 11:30:43 EST


On Tue, Mar 11, 2014 at 7:53 AM, Andy Lutomirski <luto@xxxxxxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/