Skip to content

Shared ia32 syscall table

Chuck Ebbert lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest9 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9ia32 syscalls: prepare UML for new tablearch/um/sys-i386/sys_call_table.S+9 -00 replies
2/9ia32 syscalls: rename some i386 syscallsarch/i386/kernel/sys_i386.c arch/i386/kernel/syscall_table.S+4 -40 replies
3/9ia32 syscalls: add new tablearch/i386/kernel/syscall_tbl.S+330 -00 replies
3/9ia32 syscalls: add new tablearch/i386/kernel/syscall_tbl.S+330 -00 replies
4/9ia32 syscalls: switch i386 to new tablearch/i386/kernel/entry.S+2 -10 replies
5/9ia32 syscalls: switch UML to shared tablearch/um/sys-i386/sys_call_table.S+10 -50 replies
6/9ia32 syscalls: rename some x86_64 ia32 syscallsarch/x86_64/ia32/ia32entry.S arch/x86_64/ia32/sys_ia32.c+30 -300 replies
7/9ia32 syscalls: switch x86_64 to new tablearch/x86_64/ia32/ia32entry.S include/asm-x86_64/ia32_unistd.h+50 -20 replies
8/9ia32 syscalls: remove old i386 syscall tablearch/i386/kernel/syscall_table.S+0 -3130 replies
9/9ia32 syscalls: remove old x86_64 syscall tablearch/x86_64/ia32/ia32entry.S+0 -3160 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/9] Shared ia32 syscall table

This patch series updates i386 and x86_64 so they share the same ia32 syscall table. UML already uses the i386 table and is updated to use the new shared table as well.

This series does not convert unistd.h.

Tested by building and booting UML, i386 and x86_64 (x86_64 was booted with 32-bit userspace.)

All three archs should work at all intermediate steps but that was not tested.

00-description
This file.

01_uml_rename_syscalls.patch
Make UML compatible with to-be-renamed i386 syscalls.

02_i386_rename_syscalls.patch
Rename some i386 syscalls so they match x86_64.

03_i386_add_new_table.patch
Create new shared syscall table.

04_i386_shared_syscall.patch
Convert i386 to using new table.

05_uml_shared_syscall.patch
Convert UML to using new table.

06_x86_64_rename_syscalls.patch
Rename some ia32 syscalls to make shared table possible.

07_x86_64_shared_syscall.patch

	Convert x86_64.

08_i386_remove_old_table.patch
Remove old i386 syscall table.

09_x86_64_remove_old_table.patch
Remove old x86_64 syscall table.

Signature · 1 line
Chuck