Update sys_createmodule and sys_initmodule
This commit is contained in:
parent
b046b38593
commit
527a80589d
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -35,7 +35,6 @@
|
||||
#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
|
||||
@ -62,7 +61,6 @@
|
||||
#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
|
||||
@ -206,4 +204,6 @@
|
||||
#define sys_fstat printargs
|
||||
#define sys_personality printargs
|
||||
#define sys_poll printargs
|
||||
#define sys_create_module printargs
|
||||
#define sys_init_module printargs
|
||||
#endif
|
||||
|
23
system.c
23
system.c
@ -1589,3 +1589,26 @@ struct tcb *tcp;
|
||||
}
|
||||
#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
|
||||
|
Loading…
Reference in New Issue
Block a user