Update Linux module syscalls

This commit is contained in:
Wichert Akkerman 1999-10-10 22:40:07 +00:00
parent 15dea97f8a
commit 5052482ed7
2 changed files with 17 additions and 1 deletions

View File

@ -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

13
bjm.c
View File

@ -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 */