2005-07-22 James Lentini <jlentini@gmail.com>

* bjm.c (sys_init_module): Display all three arguments.
	* linux/syscallent.h: Update argument count.
This commit is contained in:
Roland McGrath 2005-08-03 11:27:30 +00:00
parent e0f6bb05c7
commit 7dbfe57c15
2 changed files with 4 additions and 3 deletions

5
bjm.c
View File

@ -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;
}

View File

@ -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 */