diff options
author | Andy Lutomirski <[email protected]> | 2015-10-05 17:48:05 -0700 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2015-10-09 09:41:07 +0200 |
commit | 8169aff611956ed360e3313e8c718f530f58f6cb (patch) | |
tree | afd865482d5cf9ec39800fb06d87f35ef7dfb4c5 /arch/x86/entry/syscall_64.c | |
parent | 2ec67971faccc21ff18878552ccfe4409088c4c8 (diff) |
x86/entry/64/compat: Set up full pt_regs for all compat syscalls
This is conceptually simpler. More importantly, it eliminates
the PTREGSCALL and execve stubs, which were not compatible with
the C ABI. This means that C code can call through the compat
syscall table.
The execve stubs are a bit subtle. They did two things: they
cleared some registers and they forced slow-path return.
Neither is necessary any more: elf_common_init clears the extra
registers and start_thread calls force_iret().
Signed-off-by: Andy Lutomirski <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Brian Gerst <[email protected]>
Cc: Denys Vlasenko <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/f95b7f7dfaacf88a8cae85bb06226cae53769287.1444091584.git.luto@kernel.org
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'arch/x86/entry/syscall_64.c')
0 files changed, 0 insertions, 0 deletions