]> www.infradead.org Git - users/jedix/linux-maple.git/commit
sparc: fix compat recv/recvfrom syscalls
authorArnd Bergmann <arnd@arndb.de>
Wed, 19 Jun 2024 10:49:39 +0000 (12:49 +0200)
committerArnd Bergmann <arnd@arndb.de>
Tue, 25 Jun 2024 13:57:25 +0000 (15:57 +0200)
commitd6fbd26fb872ec518d25433a12e8ce8163e20909
tree5e1eea4ad6837f93013f59e2ea56f688e2ff4b08
parentbae6428a9fffb2023191b0723e276cf1377a7c9f
sparc: fix compat recv/recvfrom syscalls

sparc has the wrong compat version of recv() and recvfrom() for both the
direct syscalls and socketcall().

The direct syscalls just need to use the compat version. For socketcall,
the same thing could be done, but it seems better to completely remove
the custom assembler code for it and just use the same implementation that
everyone else has.

Fixes: 1dacc76d0014 ("net/compat/wext: send different messages to compat tasks")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/sparc/kernel/sys32.S
arch/sparc/kernel/syscalls/syscall.tbl