lkml.org 
[lkml]   [2014]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH v2] x86: Remove compat vdso support
Looking forward, would it be reasonable to have an extensible set of
flags that live in the ELF interpreter's headers somewhere that
indicate compatibility hacks that the program in question doesn't
need? There are at least two things I can think of:

- no_compat_vdso32: indicates an interpreter that can load a modern
non-prelinked vdso
- no_vsyscall64: indicates that the libc will not attempt to call
into the vsyscall page on x86_64.

I'm sure that there are more. Think PT_GNU_STACK but for more than
just the stack.

If we do something like this, there should probably be a prctl or
similar that can change some of the flags at runtime, too.


\
 
 \ /
  Last update: 2014-03-11 18:41    [W:0.158 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site