437 common openat2 sys_openat2
438 common pidfd_getfd sys_pidfd_getfd
439 common faccessat2 sys_faccessat2
+440 common process_madvise sys_process_madvise
#
- # x32-specific system call numbers start at 512 to avoid cache impact
- # for native 64-bit operation. The __x32_compat_sys stubs are created
- # on-the-fly for compat_sys_*() compatibility system calls if X86_X32
- # is defined.
+ # Due to a historical design error, certain syscalls are numbered differently
+ # in x32 as compared to native x86_64. These syscalls have numbers 512-547.
+ # Do not add new syscalls to this range. Numbers 548 and above are available
+ # for non-x32 use.
#
512 x32 rt_sigaction compat_sys_rt_sigaction
513 x32 rt_sigreturn compat_sys_x32_rt_sigreturn