diff options
author | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-04-05 06:24:28 +0000 |
---|---|---|
committer | andersen <andersen@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2001-04-05 06:24:28 +0000 |
commit | 111c26ee10c5c59e06ca98b09b9f7c2bd40f41b1 (patch) | |
tree | 7cfedf980c887571183922c5d54bfb5c24661ed7 /libbb | |
parent | 8f39b677c8122e8e5bf3f9806224bc9f097dfd5b (diff) | |
download | busybox-w32-111c26ee10c5c59e06ca98b09b9f7c2bd40f41b1.tar.gz busybox-w32-111c26ee10c5c59e06ca98b09b9f7c2bd40f41b1.tar.bz2 busybox-w32-111c26ee10c5c59e06ca98b09b9f7c2bd40f41b1.zip |
*** empty log message ***
git-svn-id: svn://busybox.net/trunk/busybox@2253 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb')
-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 @@ | |||
31 | #include <asm/unistd.h> | 31 | #include <asm/unistd.h> |
32 | #include "libbb.h" | 32 | #include "libbb.h" |
33 | 33 | ||
34 | #define __NR_new_sys_init_module __NR_init_module | 34 | |
35 | _syscall2(int, new_sys_init_module, const char *, name, | 35 | struct old_module_ref |
36 | const struct new_module *, info); | 36 | { |
37 | unsigned long module; /* kernel addresses */ | ||
38 | unsigned long next; | ||
39 | }; | ||
40 | |||
41 | struct old_module_symbol | ||
42 | { | ||
43 | unsigned long addr; | ||
44 | unsigned long name; | ||
45 | }; | ||
46 | |||
47 | struct old_symbol_table | ||
48 | { | ||
49 | int size; /* total, including string table!!! */ | ||
50 | int n_symbols; | ||
51 | int n_refs; | ||
52 | struct old_module_symbol symbol[0]; /* actual size defined by n_symbols */ | ||
53 | struct old_module_ref ref[0]; /* actual size defined by n_refs */ | ||
54 | }; | ||
55 | |||
56 | struct old_mod_routines | ||
57 | { | ||
58 | unsigned long init; | ||
59 | unsigned long cleanup; | ||
60 | }; | ||
37 | 61 | ||
38 | #define __NR_old_sys_init_module __NR_init_module | 62 | #define __NR_old_sys_init_module __NR_init_module |
39 | _syscall5(int, old_sys_init_module, const char *, name, char *, code, | 63 | _syscall5(int, old_sys_init_module, const char *, name, char *, code, |