From: Roland McGrath Date: Wed, 3 Aug 2005 11:27:30 +0000 (+0000) Subject: 2005-07-22 James Lentini X-Git-Tag: v4.5.18~339 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7dbfe57c15e243f8044a3ce6e4baafcc750b527b;p=strace 2005-07-22 James Lentini * bjm.c (sys_init_module): Display all three arguments. * linux/syscallent.h: Update argument count. --- diff --git a/bjm.c b/bjm.c index 68a21855..5947a419 100644 --- a/bjm.c +++ b/bjm.c @@ -197,8 +197,9 @@ sys_init_module(tcp) struct tcb *tcp; { if (entering(tcp)) { - printpath(tcp, tcp->u_arg[0]); - tprintf(", %#lx", tcp->u_arg[1]); + tprintf("%#lx, ", tcp->u_arg[0]); + tprintf("%lu, ", tcp->u_arg[1]); + printstr(tcp, tcp->u_arg[2], -1); } return 0; } diff --git a/linux/syscallent.h b/linux/syscallent.h index 8ce66ba7..6c3332c9 100644 --- a/linux/syscallent.h +++ b/linux/syscallent.h @@ -164,7 +164,7 @@ { 3, 0, sys_mprotect, "mprotect" }, /* 125 */ { 3, TS, sys_sigprocmask, "sigprocmask" }, /* 126 */ { 2, 0, sys_create_module, "create_module" }, /* 127 */ - { 2, 0, sys_init_module, "init_module" }, /* 128 */ + { 3, 0, sys_init_module, "init_module" }, /* 128 */ { 1, 0, sys_delete_module, "delete_module" }, /* 129 */ { 1, 0, sys_get_kernel_syms, "get_kernel_syms"}, /* 130 */ { 4, 0, sys_quotactl, "quotactl" }, /* 131 */