On Sun, Mar 06, 2016 at 09:36:42AM -0800, Andy Lutomirski wrote: > > ALTERNATIVE "movl TSS_sysenter_sp0(%esp), %esp", "addl $5*4, %esp", > > X86_FEATURE_XENPV > > That might work.
Yap, and as we said on IRC, KALLSYMS can be off - even if it is "if EXPERT" so we need to think of a better way to compute start address and size of entry_SYSENTER_32 and the _compat one. We probably could reuse some of the ELF parsing machinery of relocs.c or so... -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply.