From 5052482ed7c25c60a755632a9acd37f88ec98bdc Mon Sep 17 00:00:00 2001 From: Wichert Akkerman Date: Sun, 10 Oct 1999 22:40:07 +0000 Subject: [PATCH] Update Linux module syscalls --- ChangeLog | 5 +++++ bjm.c | 13 ++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 307fe3c5..89cf634a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Oct 11 00:36:25 CEST 1999 Wichert Akkerman + + * Merge patch from Keith Owens to sys_query_module + and sys_delete_module correctly + Wed Oct 6 02:00:33 CEST 1999 Wichert Akkerman * Update cvsbuild to give a better error if autoconf isn't installed diff --git a/bjm.c b/bjm.c index d21ce7cd..347a82dc 100644 --- a/bjm.c +++ b/bjm.c @@ -40,7 +40,7 @@ sys_query_module(tcp) struct tcb *tcp; { - if (entering(tcp)) { + if (exiting(tcp)) { printstr(tcp, tcp->u_arg[0], -1); tprintf(", "); printxval(which, tcp->u_arg[1], "L_???"); @@ -51,5 +51,16 @@ struct tcb *tcp; return 0; } +int +sys_create_module(tcp) +struct tcb *tcp; +{ + if (entering(tcp)) { + printpath(tcp, tcp->u_arg[0]); + tprintf(", %lu", tcp->u_arg[1]); + } + return RVAL_HEX; +} + #endif /* LINUX */