Skip to content

Commit 7948450

Browse files
committed
x86/x32: use time64 versions of sigtimedwait and recvmmsg
x32 has always followed the time64 calling conventions of these syscalls, which required a special hack in compat_get_timespec aka get_old_timespec32 to continue working. Since we now have the time64 syscalls, use those explicitly. Signed-off-by: Arnd Bergmann <arnd@arndb.de>
1 parent 3876ced commit 7948450

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/x86/entry/syscalls/syscall_64.tbl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@
363363
520 x32 execve __x32_compat_sys_execve/ptregs
364364
521 x32 ptrace __x32_compat_sys_ptrace
365365
522 x32 rt_sigpending __x32_compat_sys_rt_sigpending
366-
523 x32 rt_sigtimedwait __x32_compat_sys_rt_sigtimedwait
366+
523 x32 rt_sigtimedwait __x32_compat_sys_rt_sigtimedwait_time64
367367
524 x32 rt_sigqueueinfo __x32_compat_sys_rt_sigqueueinfo
368368
525 x32 sigaltstack __x32_compat_sys_sigaltstack
369369
526 x32 timer_create __x32_compat_sys_timer_create
@@ -377,7 +377,7 @@
377377
534 x32 preadv __x32_compat_sys_preadv64
378378
535 x32 pwritev __x32_compat_sys_pwritev64
379379
536 x32 rt_tgsigqueueinfo __x32_compat_sys_rt_tgsigqueueinfo
380-
537 x32 recvmmsg __x32_compat_sys_recvmmsg
380+
537 x32 recvmmsg __x32_compat_sys_recvmmsg_time64
381381
538 x32 sendmmsg __x32_compat_sys_sendmmsg
382382
539 x32 process_vm_readv __x32_compat_sys_process_vm_readv
383383
540 x32 process_vm_writev __x32_compat_sys_process_vm_writev

0 commit comments

Comments
 (0)