]> granicus.if.org Git - strace/commitdiff
Update Linux module syscalls
authorWichert Akkerman <wichert@deephackmode.org>
Sun, 10 Oct 1999 22:40:07 +0000 (22:40 +0000)
committerWichert Akkerman <wichert@deephackmode.org>
Sun, 10 Oct 1999 22:40:07 +0000 (22:40 +0000)
ChangeLog
bjm.c

index 307fe3c5dfe3f5bd3969dc44f64fdd8225bffe1c..89cf634aa55b0a19e155c5e5e14476eab68abdae 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Oct 11 00:36:25 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
+
+  * Merge patch from Keith Owens <kaos@ocs.com.au> to sys_query_module
+    and sys_delete_module correctly
+
 Wed Oct  6 02:00:33 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
 
   * Update cvsbuild to give a better error if autoconf isn't installed
diff --git a/bjm.c b/bjm.c
index d21ce7cd4f55d3fe9bbe8086052451d8f2e90a8e..347a82dc4f2b2a4a0f7c5bb563147fae12a58788 100644 (file)
--- 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 */