]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
parisc: use correct compat recv/recvfrom syscalls
authorArnd Bergmann <arnd@arndb.de>
Wed, 19 Jun 2024 12:27:55 +0000 (14:27 +0200)
committerArnd Bergmann <arnd@arndb.de>
Tue, 25 Jun 2024 13:57:25 +0000 (15:57 +0200)
Johannes missed parisc back when he introduced the compat version
of these syscalls, so receiving cmsg messages that require a compat
conversion is still broken.

Use the correct calls like the other architectures do.

Fixes: 1dacc76d0014 ("net/compat/wext: send different messages to compat tasks")
Acked-by: Helge Deller <deller@gmx.de>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/parisc/kernel/syscalls/syscall.tbl

index b13c21373974c859cd23c1864e0879d140b1d24f..39e67fab751508121f11fd5dcdd604f670f3be7f 100644 (file)
 95     common  fchown                  sys_fchown
 96     common  getpriority             sys_getpriority
 97     common  setpriority             sys_setpriority
-98     common  recv                    sys_recv
+98     common  recv                    sys_recv                        compat_sys_recv
 99     common  statfs                  sys_statfs                      compat_sys_statfs
 100    common  fstatfs                 sys_fstatfs                     compat_sys_fstatfs
 101    common  stat64                  sys_stat64
 120    common  clone                   sys_clone_wrapper
 121    common  setdomainname           sys_setdomainname
 122    common  sendfile                sys_sendfile                    compat_sys_sendfile
-123    common  recvfrom                sys_recvfrom
+123    common  recvfrom                sys_recvfrom                    compat_sys_recvfrom
 124    32      adjtimex                sys_adjtimex_time32
 124    64      adjtimex                sys_adjtimex
 125    common  mprotect                sys_mprotect