1
2
3
4
5
6
7
8
9
10 #include <linux/autoconf.h>
11 #include <linux/kernel.h>
12 #include <linux/fs.h>
13 #include <linux/sched.h>
14 #include <linux/mm.h>
15 #include <linux/malloc.h>
16 #include <linux/ptrace.h>
17 #include <linux/sys.h>
18 #include <linux/utsname.h>
19 #include <linux/interrupt.h>
20 #include <linux/ioport.h>
21 #include <linux/timer.h>
22 #include <linux/binfmts.h>
23 #include <linux/personality.h>
24 #include <linux/module.h>
25 #include <linux/termios.h>
26 #include <linux/tqueue.h>
27 #include <linux/serial.h>
28 #ifdef CONFIG_INET
29 #include <linux/netdevice.h>
30 #endif
31
32 #include <asm/irq.h>
33
34 extern void *sys_call_table;
35
36
37 #define X(name) { (void *) &name, "_" #name }
38
39 #ifdef CONFIG_FTAPE
40 extern char * ftape_big_buffer;
41 extern void (*do_floppy)(void);
42 #endif
43
44 extern int request_dma(unsigned int dmanr, char * deviceID);
45 extern void free_dma(unsigned int dmanr);
46
47 extern int do_execve(char * filename, char ** argv, char ** envp,
48 struct pt_regs * regs);
49 extern int do_signal(unsigned long oldmask, struct pt_regs * regs);
50
51 extern void (* iABI_hook)(struct pt_regs * regs);
52
53 struct symbol_table symbol_table = { 0, 0, 0,
54 {
55
56 X(rename_module_symbol),
57
58
59 X(EISA_bus),
60 X(wp_works_ok),
61
62
63 X(verify_area),
64 X(do_mmap),
65 X(do_munmap),
66 X(zeromap_page_range),
67 X(unmap_page_range),
68 X(insert_vm_struct),
69 X(merge_segments),
70
71
72 X(__get_free_pages),
73 X(free_pages),
74 X(kmalloc),
75 X(kfree_s),
76 X(vmalloc),
77 X(vfree),
78
79
80 X(getname),
81 X(putname),
82 X(__iget),
83 X(iput),
84 X(namei),
85 X(lnamei),
86 X(open_namei),
87
88
89 X(register_chrdev),
90 X(unregister_chrdev),
91 X(register_blkdev),
92 X(unregister_blkdev),
93
94
95 X(register_serial),
96 X(unregister_serial),
97
98
99 X(register_filesystem),
100 X(unregister_filesystem),
101
102
103 X(register_binfmt),
104 X(unregister_binfmt),
105
106
107 X(lookup_exec_domain),
108 X(register_exec_domain),
109 X(unregister_exec_domain),
110
111
112 X(request_irq),
113 X(free_irq),
114 X(enable_irq),
115 X(disable_irq),
116 X(bh_active),
117 X(bh_mask),
118 X(add_timer),
119 X(del_timer),
120
121
122 X(request_dma),
123 X(free_dma),
124
125
126 X(wake_up),
127 X(wake_up_interruptible),
128 X(sleep_on),
129 X(interruptible_sleep_on),
130 X(schedule),
131 X(current),
132 X(jiffies),
133 X(xtime),
134
135
136 X(panic),
137 X(printk),
138 X(sprintf),
139 X(vsprintf),
140 X(system_utsname),
141 X(sys_call_table),
142
143
144 X(do_signal),
145 X(send_sig),
146
147
148 X(change_ldt),
149 X(copy_strings),
150 X(create_tables),
151 X(do_execve),
152 X(flush_old_exec),
153 X(open_inode),
154 X(read_exec),
155
156
157 X(si_meminfo),
158
159 #ifdef CONFIG_FTAPE
160
161 X(ftape_big_buffer),
162 X(do_floppy),
163 #endif
164 #ifdef CONFIG_INET
165
166 X(register_netdev),
167 X(unregister_netdev),
168 X(ether_setup),
169 X(alloc_skb),
170 X(kfree_skb),
171 X(dev_kfree_skb),
172 X(snarf_region),
173 X(netif_rx),
174 X(dev_rint),
175 X(dev_tint),
176 X(irq2dev_map),
177 #endif
178
179
180
181
182
183 { NULL, NULL }
184 },
185 { { NULL, NULL } }
186 };
187
188
189
190