[PATCH] alpha/sparc: fix arg count for rt_sigaction

Mike Frysinger vapier at gentoo.org
Sat Aug 9 13:21:37 UTC 2014


Both these arches have a rt_sigaction syscall that takes 5 args, not 4.

* linux/alpha/syscallent.h (rt_sigaction): Change nargs to 5.
* linux/sparc/syscallent.h (rt_sigaction): Change nargs to 5.
---
 linux/alpha/syscallent.h | 2 +-
 linux/sparc/syscallent.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/linux/alpha/syscallent.h b/linux/alpha/syscallent.h
index 701b8fb..581475c 100644
--- a/linux/alpha/syscallent.h
+++ b/linux/alpha/syscallent.h
@@ -378,7 +378,7 @@
 	{ 4,	TD,	sys_pread,		"pread"			}, /* 349 */
 	{ 4,	TD,	sys_pwrite,		"pwrite"		}, /* 350 */
 	{ 0,	TS,	sys_rt_sigreturn,	"rt_sigreturn"		}, /* 351 */
-	{ 4,	TS,	sys_rt_sigaction,	"rt_sigaction"		}, /* 352 */
+	{ 5,	TS,	sys_rt_sigaction,	"rt_sigaction"		}, /* 352 */
 	{ 4,	TS,	sys_rt_sigprocmask,	"rt_sigprocmask"	}, /* 353 */
 	{ 2,	TS,	sys_rt_sigpending,	"rt_sigpending"		}, /* 354 */
 	{ 4,	TS,	sys_rt_sigtimedwait,	"rt_sigtimedwait"	}, /* 355 */
diff --git a/linux/sparc/syscallent.h b/linux/sparc/syscallent.h
index 0c5ab46..e62e4e1 100644
--- a/linux/sparc/syscallent.h
+++ b/linux/sparc/syscallent.h
@@ -100,7 +100,7 @@
 	{ 3,	TN,	sys_accept,	"accept" },		/* 99 */
 	{ 2,	0,	sys_getpriority,"getpriority" },	/* 100 */
 	{ 0,	TS,	sys_rt_sigreturn,"rt_sigreturn" },	/* 101 */
-	{ 4,	TS,	sys_rt_sigaction,"rt_sigaction" },	/* 102 */
+	{ 5,	TS,	sys_rt_sigaction,"rt_sigaction" },	/* 102 */
 	{ 4,	TS,	sys_rt_sigprocmask,"rt_sigprocmask" },	/* 103 */
 	{ 2,	TS,	sys_rt_sigpending,"rt_sigpending" },	/* 104 */
 	{ 4,	TS,	sys_rt_sigtimedwait,"rt_sigtimedwait" },/* 105 */
-- 
2.0.0





More information about the Strace-devel mailing list