summaryrefslogtreecommitdiff
path: root/bjm.c
diff options
context:
space:
mode:
authorWichert Akkerman <wichert@deephackmode.org>1999-10-10 22:40:07 +0000
committerWichert Akkerman <wichert@deephackmode.org>1999-10-10 22:40:07 +0000
commit5052482ed7c25c60a755632a9acd37f88ec98bdc (patch)
tree351edf5dec6ddb64c9555c1b4e75d4806de0d518 /bjm.c
parent15dea97f8a05b2b67f5752137fe93e3cc20db6ec (diff)
downloadstrace-5052482ed7c25c60a755632a9acd37f88ec98bdc.tar.gz
strace-5052482ed7c25c60a755632a9acd37f88ec98bdc.tar.bz2
strace-5052482ed7c25c60a755632a9acd37f88ec98bdc.tar.xz
Update Linux module syscalls
Diffstat (limited to 'bjm.c')
-rw-r--r--bjm.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/bjm.c b/bjm.c
index d21ce7c..347a82d 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 */