blob: e026c6f1e945d8d15b396d122acbc0d371f85bf2 [file] [log] [blame]
Wichert Akkerman76baf7c1999-02-19 00:21:36 +00001/*
2 * Copyright (c) 1993, 1994, 1995 Rick Sladkey <jrs@world.std.com>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright
11 * notice, this list of conditions and the following disclaimer in the
12 * documentation and/or other materials provided with the distribution.
13 * 3. The name of the author may not be used to endorse or promote products
14 * derived from this software without specific prior written permission.
15 *
16 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
17 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
18 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
19 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
20 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
21 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 *
27 * $Id$
28 */
29
30/* still unfinished */
31
32#define sys_sysmp printargs
33#define sys_sginap printargs
34#define sys_sgikopt printargs
35#define sys_sysmips printargs
36#define sys_sigreturn printargs
37#define sys_recvmsg printargs
38#define sys_sendmsg printargs
39#define sys_nfssvc printargs
40#define sys_getfh printargs
41#define sys_async_daemon printargs
42#define sys_exportfs printargs
43#define sys_BSD_getime printargs
44#define sys_sproc printargs
45#define sys_procblk printargs
46#define sys_sprocsp printargs
47#define sys_msync printargs
48#define sys_madvise printargs
49#define sys_pagelock printargs
50#define sys_quotactl printargs
51#define sys_cacheflush printargs
52#define sys_cachectl printargs
53#define sys_nuname printargs
54#define sys_sigpoll printargs
55#define sys_swapctl printargs
56#define sys_sigstack printargs
57#define sys_sigsendset printargs
58#define sys_priocntl printargs
59#define sys_ksigqueue printargs
60#define sys_lwp_sema_wait printargs
61#define sys_memcntl printargs
62#define sys_syscall printargs
63#define sys_clocal printargs
64#define sys_syssun printargs
65#define sys_sysi86 printargs
66#define sys_sysmachine printargs
67#define sys_plock printargs
68#define sys_pathconf printargs
69#define sys_sigtimedwait printargs
70#define sys_ulimit printargs
71#define sys_ptrace printargs
72#define sys_stty printargs
73#define sys_lwp_info printargs
74#define sys_priocntlsys printargs
75#define sys_hrtsys printargs
76#define sys_xenix printargs
77#define sys_statfs printargs
78#define sys_fstatfs printargs
79#define sys_statvfs printargs
80#define sys_fstatvfs printargs
81#define sys_fork1 printargs
82#define sys_sigsendsys printargs
83#define sys_gtty printargs
84#define sys_vtrace printargs
85#define sys_fpathconf printargs
86#define sys_evsys printargs
87#define sys_acct printargs
88#define sys_exec printargs
89#define sys_lwp_sema_post printargs
90#define sys_nfssys printargs
91#define sys_sigaltstack printargs
92#define sys_uadmin printargs
93#define sys_umount printargs
94#define sys_modctl printargs
95#define sys_acancel printargs
96#define sys_async printargs
97#define sys_evtrapret printargs
98#define sys_lwp_create printargs
99#define sys_lwp_exit printargs
100#define sys_lwp_suspend printargs
101#define sys_lwp_continue printargs
102#define sys_lwp_kill printargs
103#define sys_lwp_self printargs
104#define sys_lwp_setprivate printargs
105#define sys_lwp_getprivate printargs
106#define sys_lwp_wait printargs
107#define sys_lwp_mutex_unlock printargs
108#define sys_lwp_mutex_lock printargs
109#define sys_lwp_cond_wait printargs
110#define sys_lwp_cond_signal printargs
111#define sys_lwp_cond_broadcast printargs
112#define sys_llseek printargs
113#define sys_inst_sync printargs
114#define sys_auditsys printargs
115#define sys_processor_bind printargs
116#define sys_processor_info printargs
117#define sys_p_online printargs
118#define sys_sigqueue printargs
119#define sys_clock_gettime printargs
120#define sys_clock_settime printargs
121#define sys_clock_getres printargs
122#define sys_nanosleep printargs
123#define sys_timer_create printargs
124#define sys_timer_delete printargs
125#define sys_timer_settime printargs
126#define sys_timer_gettime printargs
127#define sys_timer_getoverrun printargs
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000128#define sys_msgctl printargs
129#define sys_msgget printargs
130#define sys_msgrcv printargs
131#define sys_msgsnd printargs
132#define sys_shmat printargs
133#define sys_shmctl printargs
134#define sys_shmdt printargs
135#define sys_shmget printargs
136#define sys_semctl printargs
137#define sys_semget printargs
138#define sys_semop printargs
139#define sys_olduname printargs
140#define sys_ustat printargs
141#define sys_fusers printargs
142#define sys_sysfs1 printargs
143#define sys_sysfs2 printargs
144#define sys_sysfs3 printargs
Wichert Akkerman16a03d22000-08-10 02:14:04 +0000145#define sys_xsetsockaddr printargs
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000146
147/* like another call */
148#define sys_lchown sys_chown
149#define sys_setuid sys_close
150#define sys_seteuid sys_close
151#define sys_setgid sys_close
152#define sys_setegid sys_close
153#define sys_vhangup sys_close
154#define sys_fdsync sys_close
Wichert Akkerman8829a551999-06-11 13:18:40 +0000155#define sys_setreuid sys_dup2
156#define sys_setregid sys_dup2
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000157#define sys_sigfillset sys_sigpending
158#define sys_vfork sys_fork
159#define sys_ksigaction sys_sigaction
160#define sys_BSDgetpgrp sys_getpgrp
161#define sys_BSDsetpgrp sys_setpgrp
162#define sys_waitsys sys_waitid
Wichert Akkerman16a03d22000-08-10 02:14:04 +0000163#define sys_sigset sys_signal
164#define sys_sigrelse sys_sighold
165#define sys_sigignore sys_sighold
166#define sys_sigpause sys_sighold
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000167
168/* printargs does the right thing */
169#define sys_sync printargs
170#define sys_profil printargs
171#define sys_yield printargs
172#define sys_pause printargs
173#define sys_sethostid printargs
174
175/* subfunction entry points */
176#define sys_pgrpsys printargs
177#define sys_sigcall printargs
178#define sys_msgsys printargs
179#define sys_shmsys printargs
180#define sys_semsys printargs
181#define sys_utssys printargs
182#define sys_sysfs printargs
183#define sys_spcall printargs
184#define sys_context printargs
Wichert Akkerman8829a551999-06-11 13:18:40 +0000185#define sys_door printargs
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000186
187#if DONE
188#define sys_mount printargs
189#define sys_sysinfo printargs
190#define sys_sysconfig printargs
191#define sys_getpmsg printargs
192#define sys_putpmsg printargs
193#define sys_pread printargs
194#define sys_pwrite printargs
195#define sys_readv printargs
196#define sys_writev printargs
197#define sys_wait printargs
198#define sys_waitid printargs
199#define sys_sigsuspend printargs
200#define sys_getpgrp printargs
201#define sys_setpgrp printargs
202#define sys_getsid printargs
203#define sys_setsid printargs
204#define sys_getpgid printargs
205#define sys_setpgid printargs
206#define sys_getcontext printargs
207#define sys_setcontext printargs
208#define sys_stime printargs
209#define sys_time printargs
210#define sys_nice printargs
211#define sys_times printargs
212#define sys_alarm printargs
213#define sys_xstat printargs
214#define sys_fxstat printargs
215#define sys_lxstat printargs
216#define sys_xmknod printargs
217#define sys_exit printargs
218#define sys_fork printargs
219#define sys_read printargs
220#define sys_write printargs
221#define sys_open printargs
222#define sys_close printargs
223#define sys_creat printargs
224#define sys_link printargs
225#define sys_unlink printargs
226#define sys_chdir printargs
227#define sys_mknod printargs
228#define sys_chmod printargs
229#define sys_chown printargs
230#define sys_brk printargs
231#define sys_stat printargs
232#define sys_lseek printargs
233#define sys_getpid printargs
234#define sys_getuid printargs
235#define sys_fstat printargs
236#define sys_utime printargs
237#define sys_access printargs
238#define sys_kill printargs
239#define sys_dup printargs
240#define sys_pipe printargs
241#define sys_getgid printargs
242#define sys_ioctl printargs
243#define sys_umask printargs
244#define sys_chroot printargs
245#define sys_fcntl printargs
246#define sys_rmdir printargs
247#define sys_mkdir printargs
248#define sys_getdents printargs
249#define sys_getmsg printargs
250#define sys_putmsg printargs
251#define sys_poll printargs
252#define sys_lstat printargs
253#define sys_symlink printargs
254#define sys_readlink printargs
255#define sys_setgroups printargs
256#define sys_getgroups printargs
257#define sys_fchmod printargs
258#define sys_fchown printargs
259#define sys_sigprocmask printargs
260#define sys_sigaction printargs
261#define sys_sigpending printargs
262#define sys_mincore printargs
263#define sys_mmap printargs
264#define sys_mprotect printargs
265#define sys_munmap printargs
266#define sys_vfork printargs
267#define sys_fchdir printargs
268#define sys_setrlimit printargs
269#define sys_getrlimit printargs
270#define sys_rename printargs
271#define sys_uname printargs
272#define sys_adjtime printargs
273#define sys_fchroot printargs
274#define sys_utimes printargs
275#define sys_gettimeofday printargs
276#define sys_getitimer printargs
277#define sys_setitimer printargs
278#endif