Shared ia32 syscall table
cover 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
Quoted 3 lines · Chuck Ebbert
This patch series updates i386 and
x86_64so they share the same ia32 syscall table. UML already uses the i386 table and is updated to use the new shared table as well.
That's wrong for x86-64. The IA32 syscall table needs to point to compat_* version of syscalls, while the native IA32 table uses sys_* directly.
-Andi