Re: New vsyscall emulation breaks JITs

From: H. Peter Anvin
Date: Fri Aug 05 2011 - 16:37:12 EST


On 08/05/2011 01:26 PM, Andi Kleen wrote:
>> I have to say I believe that trying to JIT the vdso or vsyscall pages is
>> extremely dubious at best. They are fundamentally different from normal
>> user space in that the kernel can muck with them any time, without
>> notifying userspace about it. The other aspect of this is that this is
>> about the legacy vsyscall page, which we're trying to get rid of, partly
>> because of security problems.
>
> There's clear evidence now you can't: it's used even by new binaries.

time() is not supported by vdso; this is a problem. Getting rid of it
is a long-term thing.

-hpa

--
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/