Skip to content

x86: IA32 emulation cleanups

Brian Gerst lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5x86: Remove compat_ni_syscall()arch/x86/ia32/Makefile arch/x86/ia32/nosyscall.c arch/x86/ia32/syscall_ia32.c+3 -100 replies
2/5x86: Merge native and compat 32-bit syscall tablesarch/x86/ia32/Makefile arch/x86/ia32/syscall_ia32.c arch/x86/kernel/Makefile +1 more+13 -300 replies
3/5x86: Remove sys32_vm86_warningarch/x86/ia32/sys_ia32.c arch/x86/syscalls/syscall_32.tbl+2 -160 replies
4/5x86: Use generic compat audit codearch/x86/Kconfig arch/x86/ia32/Makefile arch/x86/ia32/audit.c +3 more+3 -1344 replies
5/5x86: Clean up ia32/Makefilearch/x86/ia32/Makefile+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] x86: IA32 emulation cleanups

This series cleans up some files in the 32-bit emulation code, by merging with the native 32-bit code, or in the case of the syscall audit, using the generic compat code that was recently added.

Brian Gerst (5):
x86: Remove compat_ni_syscall()
x86: Merge native and compat 32-bit syscall tables
x86: Remove sys32_vm86_warning
x86: Use generic compat audit code
x86: Clean up ia32/Makefile

 arch/x86/Kconfig                 |  5 +--
 arch/x86/ia32/Makefile           |  6 +--
 arch/x86/ia32/audit.c            | 43 ---------------------
 arch/x86/ia32/nosyscall.c        |  7 ----
 arch/x86/ia32/sys_ia32.c         | 14 -------
 arch/x86/ia32/syscall_ia32.c     | 25 ------------
 arch/x86/include/asm/unistd32.h  |  2 +
 arch/x86/kernel/Makefile         |  3 +-
 arch/x86/kernel/audit_64.c       | 82 ----------------------------------------
 arch/x86/kernel/syscall_32.c     | 16 ++++++--
 arch/x86/syscalls/syscall_32.tbl |  4 +-
 11 files changed, 19 insertions(+), 188 deletions(-)
 delete mode 100644 arch/x86/ia32/audit.c
 delete mode 100644 arch/x86/ia32/nosyscall.c
 delete mode 100644 arch/x86/ia32/syscall_ia32.c
 create mode 100644 arch/x86/include/asm/unistd32.h
 delete mode 100644 arch/x86/kernel/audit_64.c
Signature · 1 line
2.1.0