[PATCH] ia64: fix decoding of getresuid/getresgid/setresgid

Mike Frysinger vapier at gentoo.org
Thu Feb 26 07:25:27 UTC 2015


Looks like the similarity of these names caused confusion when generating
the syscall table.  getresgid was wired to the wrong output while the other
two were wired up to printargs instead of the real printer.

* linux/ia64/syscallent.h: Connect getresuid to sys_getresuid, getresgid to
sys_getresgid, and setresgid to sys_setresgid.
---
 linux/ia64/syscallent.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/linux/ia64/syscallent.h b/linux/ia64/syscallent.h
index d44071f..5ef176e 100644
--- a/linux/ia64/syscallent.h
+++ b/linux/ia64/syscallent.h
@@ -289,10 +289,10 @@
 [1070] = { 2,	TD,		sys_dup2,			"dup2"			},
 [1071] = { 2,	0,		sys_setreuid,			"setreuid"		},
 [1072] = { 2,	0,		sys_setregid,			"setregid"		},
-[1073] = { 3,	0,		printargs,			"getresuid"		},
+[1073] = { 3,	0,		sys_getresuid,			"getresuid"		},
 [1074] = { 3,	0,		sys_setresuid,			"setresuid"		},
-[1075] = { 3,	0,		sys_getresuid,			"getresgid"		},
-[1076] = { 3,	0,		printargs,			"setresgid"		},
+[1075] = { 3,	0,		sys_getresgid,			"getresgid"		},
+[1076] = { 3,	0,		sys_setresgid,			"setresgid"		},
 [1077] = { 2,	0,		sys_getgroups,			"getgroups"		},
 [1078] = { 2,	0,		sys_setgroups,			"setgroups"		},
 [1079] = { 1,	0,		sys_getpgid,			"getpgid"		},
-- 
2.3.0





More information about the Strace-devel mailing list