1
2
3
4
5 #define sys_clone sys_fork
6
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10
11 extern int sys_setup();
12 extern int sys_exit();
13 extern int sys_fork();
14 extern int sys_read();
15 extern int sys_write();
16 extern int sys_open();
17 extern int sys_close();
18 extern int sys_waitpid();
19 extern int sys_creat();
20 extern int sys_link();
21 extern int sys_unlink();
22 extern int sys_execve();
23 extern int sys_chdir();
24 extern int sys_time();
25 extern int sys_mknod();
26 extern int sys_chmod();
27 extern int sys_chown();
28 extern int sys_break();
29 extern int sys_stat();
30 extern int sys_lseek();
31 extern int sys_getpid();
32 extern int sys_mount();
33 extern int sys_umount();
34 extern int sys_setuid();
35 extern int sys_getuid();
36 extern int sys_stime();
37 extern int sys_ptrace();
38 extern int sys_alarm();
39 extern int sys_fstat();
40 extern int sys_pause();
41 extern int sys_utime();
42 extern int sys_stty();
43 extern int sys_gtty();
44 extern int sys_access();
45 extern int sys_nice();
46 extern int sys_ftime();
47 extern int sys_sync();
48 extern int sys_kill();
49 extern int sys_rename();
50 extern int sys_mkdir();
51 extern int sys_rmdir();
52 extern int sys_dup();
53 extern int sys_pipe();
54 extern int sys_times();
55 extern int sys_prof();
56 extern int sys_brk();
57 extern int sys_setgid();
58 extern int sys_getgid();
59 extern int sys_signal();
60 extern int sys_geteuid();
61 extern int sys_getegid();
62 extern int sys_acct();
63 extern int sys_phys();
64 extern int sys_lock();
65 extern int sys_ioctl();
66 extern int sys_fcntl();
67 extern int sys_mpx();
68 extern int sys_setpgid();
69 extern int sys_ulimit();
70 extern int sys_uname();
71 extern int sys_umask();
72 extern int sys_chroot();
73 extern int sys_ustat();
74 extern int sys_dup2();
75 extern int sys_getppid();
76 extern int sys_getpgrp();
77 extern int sys_setsid();
78 extern int sys_sigaction();
79 extern int sys_sgetmask();
80 extern int sys_ssetmask();
81 extern int sys_setreuid();
82 extern int sys_setregid();
83 extern int sys_sigpending();
84 extern int sys_sigsuspend();
85 extern int sys_sethostname();
86 extern int sys_setrlimit();
87 extern int sys_getrlimit();
88 extern int sys_getrusage();
89 extern int sys_gettimeofday();
90 extern int sys_settimeofday();
91 extern int sys_getgroups();
92 extern int sys_setgroups();
93 extern int sys_select();
94 extern int sys_symlink();
95 extern int sys_lstat();
96 extern int sys_readlink();
97 extern int sys_uselib();
98 extern int sys_swapon();
99 extern int sys_reboot();
100 extern int sys_readdir();
101 extern int sys_mmap();
102 extern int sys_munmap();
103 extern int sys_truncate();
104 extern int sys_ftruncate();
105 extern int sys_fchmod();
106 extern int sys_fchown();
107 extern int sys_getpriority();
108 extern int sys_setpriority();
109 extern int sys_profil();
110 extern int sys_statfs();
111 extern int sys_fstatfs();
112 extern int sys_ioperm();
113 extern int sys_socketcall();
114 extern int sys_syslog();
115 extern int sys_getitimer();
116 extern int sys_setitimer();
117 extern int sys_newstat();
118 extern int sys_newlstat();
119 extern int sys_newfstat();
120 extern int sys_newuname();
121 extern int sys_iopl();
122 extern int sys_vhangup();
123 extern int sys_idle();
124 extern int sys_vm86();
125 extern int sys_wait4();
126 extern int sys_swapoff();
127 extern int sys_sysinfo();
128 extern int sys_ipc();
129 extern int sys_fsync();
130 extern int sys_sigreturn();
131 extern int sys_setdomainname();
132 extern int sys_olduname();
133 extern int sys_old_syscall();
134 extern int sys_modify_ldt();
135 extern int sys_adjtimex();
136 extern int sys_mprotect();
137 extern int sys_sigprocmask();
138 extern int sys_create_module();
139 extern int sys_init_module();
140 extern int sys_delete_module();
141 extern int sys_get_kernel_syms();
142 extern int sys_quotactl();
143
144
145
146
147
148 #ifdef notdef
149 #define sys_waitpid sys_old_syscall
150 #define sys_olduname sys_old_syscall
151 #define sys_uname sys_old_syscall
152 #define sys_stat sys_old_syscall
153 #define sys_fstat sys_old_syscall
154 #define sys_lstat sys_old_syscall
155 #define sys_signal sys_old_syscall
156 #define sys_sgetmask sys_old_syscall
157 #define sys_ssetmask sys_old_syscall
158 #endif
159
160
161
162
163
164
165 #define sys_quotactl sys_ni_syscall
166
167 typedef int (*fn_ptr)();
168
169 #ifdef __cplusplus
170 }
171 #endif
172