[PATCH] sh: fix syscall numbering for recv and sendto
Erik Johansson
erik at ejohansson.se
Mon Aug 11 08:26:56 UTC 2014
Hi,
Please find patch below to fix mix up of recv and sendto on sh. See
http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/sh/include/uapi/asm/unistd_32.h
for reference.
// Erik
-- >8 --
Subject: [PATCH] sh: fix syscall numbering for recv and sendto
* linux/sh/syscallent.h: Correct the syscall numbers for recv and sendto as
they were mixed up.
---
linux/sh/syscallent.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/linux/sh/syscallent.h b/linux/sh/syscallent.h
index 75c15f7..7033af1 100644
--- a/linux/sh/syscallent.h
+++ b/linux/sh/syscallent.h
@@ -379,8 +379,8 @@
{ 3, TN, sys_getpeername, "getpeername" }, /* 346 */
{ 4, TN, sys_socketpair, "socketpair" }, /* 347 */
{ 4, TN, sys_send, "send" }, /* 348 */
- { 4, TN, sys_recv, "recv" }, /* 349 */
- { 6, TN, sys_sendto, "sendto" }, /* 350 */
+ { 6, TN, sys_sendto, "sendto" }, /* 349 */
+ { 4, TN, sys_recv, "recv" }, /* 350 */
{ 6, TN, sys_recvfrom, "recvfrom" }, /* 351 */
{ 2, TN, sys_shutdown, "shutdown" }, /* 352 */
{ 5, TN, sys_setsockopt, "setsockopt" }, /* 353 */
--
Erik Johansson
Home Page: http://ejohansson.se/
PGP Key: http://ejohansson.se/erik.asc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20140811/c8f9a2e4/attachment.html>
More information about the Strace-devel
mailing list