[PATCH 1/3] Use sys_prctl() decoder for prctl syscall
Dmitry V. Levin
ldv at altlinux.org
Wed Jul 23 21:58:57 UTC 2008
2008-04-19 Dmitry V. Levin <ldv at altlinux.org>
* linux/syscallent.h: Use sys_prctl() decoder for "prctl" syscall.
* linux/alpha/syscallent.h: Likewise.
* linux/arm/syscallent.h: Likewise.
* linux/m68k/syscallent.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/x86_64/syscallent.h: Likewise.
--- a/strace/linux/alpha/syscallent.h
+++ b/strace/linux/alpha/syscallent.h
@@ -376,7 +376,7 @@
{ 5, 0, printargs, "pciconfig_read" }, /* 345 */
{ 5, 0, printargs, "pciconfig_write" }, /* 346 */
{ 5, 0, sys_query_module, "query_module" }, /* 347 */
- { 5, 0, printargs, "prctl" }, /* 348 */
+ { 5, 0, sys_prctl, "prctl" }, /* 348 */
{ 5, TD, sys_pread, "pread" }, /* 349 */
{ 5, TD, sys_pwrite, "pwrite" }, /* 350 */
{ 1, TS, printargs, "rt_sigreturn" }, /* 351 */
--- a/strace/linux/arm/syscallent.h
+++ b/strace/linux/arm/syscallent.h
@@ -200,7 +200,7 @@
{ 3, 0, printargs, "nfsservctl" }, /* 169 */
{ 3, 0, sys_setresgid, "setresgid" }, /* 170 */
{ 3, 0, sys_getresgid, "getresgid" }, /* 171 */
- { 5, 0, printargs, "prctl" }, /* 172 */
+ { 5, 0, sys_prctl, "prctl" }, /* 172 */
{ 1, TS, printargs, "rt_sigreturn" }, /* 173 */
{ 4, TS, sys_rt_sigaction, "rt_sigaction" }, /* 174 */
{ 4, TS, sys_rt_sigprocmask, "rt_sigprocmask"}, /* 175 */
--- a/strace/linux/m68k/syscallent.h
+++ b/strace/linux/m68k/syscallent.h
@@ -200,7 +200,7 @@
{ 3, 0, printargs, "nfsservctl" }, /* 169 */
{ 3, 0, sys_setresgid, "setresgid" }, /* 170 */
{ 3, 0, sys_getresgid, "getresgid" }, /* 171 */
- { 5, 0, printargs, "prctl" }, /* 172 */
+ { 5, 0, sys_prctl, "prctl" }, /* 172 */
{ 1, TS, printargs, "rt_sigreturn" }, /* 173 */
{ 4, TS, sys_rt_sigaction, "rt_sigaction" }, /* 174 */
{ 4, TS, sys_rt_sigprocmask, "rt_sigprocmask"}, /* 175 */
--- a/strace/linux/powerpc/syscallent.h
+++ b/strace/linux/powerpc/syscallent.h
@@ -199,7 +199,7 @@
{ 3, 0, printargs, "nfsservctl" }, /* 168 */
{ 3, 0, sys_setresgid, "setresgid" }, /* 169 */
{ 3, 0, sys_getresgid, "getresgid" }, /* 170 */
- { 5, 0, printargs, "prctl" }, /* 171 */
+ { 5, 0, sys_prctl, "prctl" }, /* 171 */
{ 1, TS, printargs, "rt_sigreturn" }, /* 172 */
{ 4, TS, sys_rt_sigaction, "rt_sigaction" }, /* 173 */
{ 4, TS, sys_rt_sigprocmask, "rt_sigprocmask" }, /* 174 */
--- a/strace/linux/s390/syscallent.h
+++ b/strace/linux/s390/syscallent.h
@@ -200,7 +200,7 @@
{ 3, 0, printargs, "nfsservctl" }, /* 169 */
{ 3, 0, sys_setresgid, "setresgid" }, /* 170 */
{ 3, 0, sys_getresgid, "getresgid" }, /* 171 */
- { 5, 0, printargs, "prctl" }, /* 172 */
+ { 5, 0, sys_prctl, "prctl" }, /* 172 */
{ 1, TS, sys_sigreturn, "rt_sigreturn" }, /* 173 */
{ 4, TS, sys_rt_sigaction, "rt_sigaction" }, /* 174 */
{ 4, TS, sys_rt_sigprocmask, "rt_sigprocmask"}, /* 175 */
--- a/strace/linux/s390x/syscallent.h
+++ b/strace/linux/s390x/syscallent.h
@@ -199,7 +199,7 @@
{ 3, 0, printargs, "nfsservctl" }, /* 169 */
{ -1, 0, printargs, "SYS_170" }, /* 170 */
{ -1, 0, printargs, "SYS_171" }, /* 171 */
- { 5, 0, printargs, "prctl" }, /* 172 */
+ { 5, 0, sys_prctl, "prctl" }, /* 172 */
{ 1, TS, sys_sigreturn, "rt_sigreturn" }, /* 173 */
{ 4, TS, sys_rt_sigaction, "rt_sigaction" }, /* 174 */
{ 4, TS, sys_rt_sigprocmask, "rt_sigprocmask"}, /* 175 */
--- a/strace/linux/sh/syscallent.h
+++ b/strace/linux/sh/syscallent.h
@@ -202,7 +202,7 @@
{ 3, 0, printargs, "nfsservctl" }, /* 169 */
{ 3, 0, sys_setresgid, "setresgid" }, /* 170 */
{ 3, 0, sys_getresgid, "getresgid" }, /* 171 */
- { 5, 0, printargs, "prctl" }, /* 172 */
+ { 5, 0, sys_prctl, "prctl" }, /* 172 */
{ 1, TS, printargs, "rt_sigreturn" }, /* 173 */
{ 4, TS, sys_rt_sigaction, "rt_sigaction" }, /* 174 */
{ 4, TS, sys_rt_sigprocmask, "rt_sigprocmask"}, /* 175 */
--- a/strace/linux/sh64/syscallent.h
+++ b/strace/linux/sh64/syscallent.h
@@ -200,7 +200,7 @@
{ 3, 0, printargs, "nfsservctl" }, /* 169 */
{ 3, 0, sys_setresgid, "setresgid" }, /* 170 */
{ 3, 0, sys_getresgid, "getresgid" }, /* 171 */
- { 5, 0, printargs, "prctl" }, /* 172 */
+ { 5, 0, sys_prctl, "prctl" }, /* 172 */
{ 1, TS, printargs, "rt_sigreturn" }, /* 173 */
{ 4, TS, sys_rt_sigaction, "rt_sigaction" }, /* 174 */
{ 4, TS, sys_rt_sigprocmask, "rt_sigprocmask"}, /* 175 */
--- a/strace/linux/syscallent.h
+++ b/strace/linux/syscallent.h
@@ -200,7 +200,7 @@
{ 3, 0, printargs, "nfsservctl" }, /* 169 */
{ 3, 0, sys_setresgid, "setresgid" }, /* 170 */
{ 3, 0, sys_getresgid, "getresgid" }, /* 171 */
- { 5, 0, printargs, "prctl" }, /* 172 */
+ { 5, 0, sys_prctl, "prctl" }, /* 172 */
{ 1, TS, printargs, "rt_sigreturn" }, /* 173 */
{ 4, TS, sys_rt_sigaction, "rt_sigaction" }, /* 174 */
{ 4, TS, sys_rt_sigprocmask, "rt_sigprocmask"}, /* 175 */
--- a/strace/linux/x86_64/syscallent.h
+++ b/strace/linux/x86_64/syscallent.h
@@ -155,7 +155,7 @@
{ 3, 0, sys_modify_ldt, "modify_ldt" }, /* 154 */
{ 2, TF, sys_pivotroot, "pivot_root" }, /* 155 */
{ 1, 0, sys_sysctl, "_sysctl" }, /* 156 */
- { 5, 0, printargs, "prctl" }, /* 157 */
+ { 5, 0, sys_prctl, "prctl" }, /* 157 */
{ 2, TP, sys_arch_prctl, "arch_prctl" }, /* 158 */
{ 1, 0, sys_adjtimex, "adjtimex" }, /* 159 */
{ 2, 0, sys_setrlimit, "setrlimit" }, /* 160 */
--
ldv
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.strace.io/pipermail/strace-devel/attachments/20080724/d73c8b8e/attachment.bin>
More information about the Strace-devel
mailing list