2 * Copyright (c) 1993 Branko Lankester <branko@hacktic.nl>
3 * Copyright (c) 1993, 1994, 1995 Rick Sladkey <jrs@world.std.com>
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer.
11 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the
13 * documentation and/or other materials provided with the distribution.
14 * 3. The name of the author may not be used to endorse or promote products
15 * derived from this software without specific prior written permission.
17 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
18 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
19 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
20 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
21 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
22 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 /* still unfinished */
32 #define sys_ioperm printargs
33 #define sys_syslog printargs
34 #define sys_iopl printargs
35 #define sys_vm86old printargs
36 #define sys_get_kernel_syms printargs
37 #define sys_bdflush printargs
38 #define sys_sysfs printargs
39 #define sys_afs_syscall printargs
41 /* machine-specific */
43 #define sys_modify_ldt printargs
44 #define sys_get_thread_area printargs
45 #define sys_set_thread_area printargs
48 #define sys_sched_setparam printargs
49 #define sys_sched_getparam printargs
50 #define sys_sched_setscheduler printargs
51 #define sys_sched_getscheduler printargs
52 #define sys_sched_yield printargs
53 #define sys_sched_get_priority_max printargs
54 #define sys_sched_get_priority_min printargs
55 #define sys_sched_rr_get_interval printargs
57 /* like another call */
58 #define sys_uselib sys_chdir
59 #define sys_umount sys_chdir
60 #define sys_swapon sys_chdir
61 #define sys_swapoff sys_chdir
62 #define sys_delete_module sys_chdir
63 #define sys_fchdir sys_close
64 #define sys_setfsuid sys_setuid
65 #define sys_setfsgid sys_setgid
66 #define sys_nanosleep sys_adjtime
67 #define sys_acct sys_chdir
68 #define sys_fdatasync sys_close
69 #define sys_mlock sys_munmap
70 #define sys_munlock sys_munmap
71 #define sys_clock_getres sys_clock_gettime
73 /* printargs does the right thing */
74 #define sys_setup printargs
75 #define sys_getpid printargs
76 #define sys_getuid printargs
77 #define sys_pause printargs
78 #define sys_sync printargs
79 #define sys_getgid printargs
80 #define sys_geteuid printargs
81 #define sys_getegid printargs
82 #define sys_getppid printargs
83 #define sys_getpgrp printargs
84 #define sys_setsid printargs
85 #define sys_vhangup printargs
86 #define sys_idle printargs
87 #define sys_getpgid printargs
88 #define sys_munlockall printargs
89 #define sys_timer_getoverrun printargs
90 #define sys_timer_delete printargs
92 /* subcall entry points */
93 #define sys_socketcall printargs
94 #define sys_ipc printargs
97 #define sys_stty printargs
98 #define sys_gtty printargs
99 #define sys_ftime printargs
100 #define sys_prof printargs
101 #define sys_phys printargs
102 #define sys_lock printargs
103 #define sys_mpx printargs
104 #define sys_ulimit printargs
105 #define sys_profil printargs
106 #define sys_ustat printargs
107 #define sys_break printargs
110 #define sys_olduname printargs
111 #define sys_oldolduname printargs
113 /* no library support */
115 #define sys_sendmsg printargs
116 #define sys_recvmsg printargs
120 #define sys_getpmsg printargs
123 #define sys_putpmsg printargs
126 #ifndef HAVE_STRUCT___OLD_KERNEL_STAT
127 #define sys_oldstat printargs
128 #define sys_oldfstat printargs
129 #define sys_oldlstat printargs
133 #define sys_oldselect printargs
134 #define sys_msync printargs
135 #define sys_flock printargs
136 #define sys_getdents printargs
137 #define sys_stime printargs
138 #define sys_time printargs
139 #define sys_times printargs
140 #define sys_mount printargs
141 #define sys_nice printargs
142 #define sys_mprotect printargs
143 #define sys_sigprocmask printargs
144 #define sys_adjtimex printargs
145 #define sys_sysinfo printargs
146 #define sys_ipc printargs
147 #define sys_setdomainname printargs
148 #define sys_statfs printargs
149 #define sys_fstatfs printargs
150 #define sys_ptrace printargs
151 #define sys_sigreturn printargs
152 #define sys_fsync printargs
153 #define sys_alarm printargs
154 #define sys_socketcall printargs
155 #define sys_sigsuspend printargs
156 #define sys_utime printargs
157 #define sys_brk printargs
158 #define sys_mmap printargs
159 #define sys_munmap printargs
160 #define sys_select printargs
161 #define sys_setuid printargs
162 #define sys_setgid printargs
163 #define sys_setreuid printargs
164 #define sys_setregid printargs
165 #define sys_getgroups printargs
166 #define sys_setgroups printargs
167 #define sys_setrlimit printargs
168 #define sys_getrlimit printargs
169 #define sys_getrusage printargs
170 #define sys_getpriority printargs
171 #define sys_setpriority printargs
172 #define sys_setpgid printargs
173 #define sys_access printargs
174 #define sys_sethostname printargs
175 #define sys_readdir printargs
176 #define sys_waitpid printargs
177 #define sys_wait4 printargs
178 #define sys_execve printargs
179 #define sys_fork printargs
180 #define sys_uname printargs
181 #define sys_pipe printargs
182 #define sys_siggetmask printargs
183 #define sys_sigsetmask printargs
184 #define sys_exit printargs
185 #define sys_kill printargs
186 #define sys_signal printargs
187 #define sys_sigaction printargs
188 #define sys_sigpending printargs
189 #define sys_fcntl printargs
190 #define sys_dup printargs
191 #define sys_dup2 printargs
192 #define sys_close printargs
193 #define sys_ioctl printargs
194 #define sys_read printargs
195 #define sys_write printargs
196 #define sys_open printargs
197 #define sys_creat printargs
198 #define sys_link printargs
199 #define sys_unlink printargs
200 #define sys_chdir printargs
201 #define sys_mknod printargs
202 #define sys_chmod printargs
203 #define sys_chown printargs
204 #define sys_lseek printargs
205 #define sys_rename printargs
206 #define sys_mkdir printargs
207 #define sys_rmdir printargs
208 #define sys_umask printargs
209 #define sys_chroot printargs
210 #define sys_gettimeofday printargs
211 #define sys_settimeofday printargs
212 #define sys_symlink printargs
213 #define sys_readlink printargs
214 #define sys_truncate printargs
215 #define sys_ftruncate printargs
216 #define sys_fchmod printargs
217 #define sys_fchown printargs
218 #define sys_setitimer printargs
219 #define sys_getitimer printargs
220 #define sys_stat printargs
221 #define sys_lstat printargs
222 #define sys_fstat printargs
223 #define sys_personality printargs
224 #define sys_poll printargs
225 #define sys_create_module printargs
226 #define sys_init_module printargs
227 #define sys_quotactl printargs
228 #define sys_mlockall printargs
229 #define sys_reboot printargs