+Thu Jul 15 23:00:32 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
+
+ * Merge patch from Maciej W. Rozycki <macro@ds2.pg.gda.pl>:
+ + Correctly implement fix sys_createmodule (Linux)
+ + Add limited handlig of sys_initmodule (Linux)
+
Tue Jul 13 17:07:50 CEST 1999 Wichert Akkerman <wakkerma@debian.org>
* Add configure-test for sys/reg.h and use that
#define sys_iopl printargs
#define sys_vm86old printargs
#define sys_modify_ldt printargs
-#define sys_init_module printargs
#define sys_get_kernel_syms printargs
#define sys_quotactl printargs
#define sys_bdflush printargs
#define sys_swapon sys_chdir
#define sys_swapoff sys_chdir
#define sys_clone sys_fork
-#define sys_create_module sys_sethostname
#define sys_delete_module sys_chdir
#define sys_fchdir sys_close
#define sys_setfsuid sys_setuid
#define sys_fstat printargs
#define sys_personality printargs
#define sys_poll printargs
+#define sys_create_module printargs
+#define sys_init_module printargs
#endif
}
#endif
+#ifdef LINUX
+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;
+}
+
+int
+sys_init_module(tcp)
+struct tcb *tcp;
+{
+ if (entering(tcp)) {
+ printpath(tcp, tcp->u_arg[0]);
+ tprintf(", %#lx", tcp->u_arg[1]);
+ }
+ return 0;
+}
+#endif