Re: [PATCH 30/30] x32: Add x32 VDSO support

From: H. Peter Anvin
Date: Tue Feb 21 2012 - 14:03:47 EST


On 02/21/2012 10:54 AM, Andrew Lutomirski wrote:
>
> uclibc hardcodes a call to the vsyscall gettimeofday implementation in
> its locking primitives, which probably gives terrible performance, but
> that's a separate issue. I think do_emulate_vsyscall should send a
> segfault if called by an x32 task -- there's some security benefit to
> doing so, and there's unlikely to be any downside.
>

The vsyscall page shouldn't be mapped for x32 tasks...

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