]> granicus.if.org Git - strace/commitdiff
ia64: fix decoding of getresuid/getresgid/setresgid
authorMike Frysinger <vapier@gentoo.org>
Thu, 26 Feb 2015 07:25:27 +0000 (02:25 -0500)
committerDmitry V. Levin <ldv@altlinux.org>
Thu, 26 Feb 2015 20:02:03 +0000 (20:02 +0000)
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

index 24bcd75125df8da8edb3c4cbc85b8f5e1ed26493..158724bf1d79f9b039f8a8bb0cb10032630f4d35 100644 (file)
 [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"               },