[lkml]   [2012]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 30/30] x32: Add x32 VDSO support
On 02/21/2012 11:29 AM, Andrew Lutomirski wrote:
>> The vsyscall page shouldn't be mapped for x32 tasks...
> How is that possible? It lives in the fixmap and is presumably
> visible from any 64-bit code.
> Admittedly, x32 tasks are probably somewhat difficult to trick into
> calling addresses with high bits set, but it's not necessarily
> impossible.

Fair enough, and it's not necessarily all that hard either.

And it's visible even in a 32-bit task, although a 32-bit task has to
switch into 64-bit mode. Yet another reason the vsyscall page needs to die.

I was having delusions that we could have a task-owned PDT in negative
space, but that would require unsharing the third level, too, which is
just way too messy.


 \ /
  Last update: 2012-02-21 20:39    [W:0.105 / U:19.344 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site