diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-04-05 06:24:28 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-04-05 06:24:28 +0000 |
commit | acc7757312fe1a7a69448047d1dbea2ef1c31cde (patch) | |
tree | 7cfedf980c887571183922c5d54bfb5c24661ed7 /libbb/module_syscalls.c | |
parent | a2a978ae23e267c24eb7b11662afdcc9ea47e789 (diff) | |
download | busybox-acc7757312fe1a7a69448047d1dbea2ef1c31cde.tar.gz |
*** empty log message ***
Diffstat (limited to 'libbb/module_syscalls.c')
-rw-r--r-- | libbb/module_syscalls.c | 30 |
1 files changed, 27 insertions, 3 deletions
diff --git a/libbb/module_syscalls.c b/libbb/module_syscalls.c index d0c1a36d4..87662ff21 100644 --- a/libbb/module_syscalls.c +++ b/libbb/module_syscalls.c @@ -31,9 +31,33 @@ #include <asm/unistd.h> #include "libbb.h" -#define __NR_new_sys_init_module __NR_init_module -_syscall2(int, new_sys_init_module, const char *, name, - const struct new_module *, info); + +struct old_module_ref +{ + unsigned long module; /* kernel addresses */ + unsigned long next; +}; + +struct old_module_symbol +{ + unsigned long addr; + unsigned long name; +}; + +struct old_symbol_table +{ + int size; /* total, including string table!!! */ + int n_symbols; + int n_refs; + struct old_module_symbol symbol[0]; /* actual size defined by n_symbols */ + struct old_module_ref ref[0]; /* actual size defined by n_refs */ +}; + +struct old_mod_routines +{ + unsigned long init; + unsigned long cleanup; +}; #define __NR_old_sys_init_module __NR_init_module _syscall5(int, old_sys_init_module, const char *, name, char *, code, |