blob: 616e86ae25437c2b03f7d0e7059d2e41e18145f0 [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
John Hughesbdf48f52001-03-06 15:08:09 +000061#define sys_lwp_sema_trywait printargs
Wichert Akkerman76baf7c1999-02-19 00:21:36 +000062#define sys_memcntl printargs
63#define sys_syscall printargs
64#define sys_clocal printargs
65#define sys_syssun printargs
66#define sys_sysi86 printargs
67#define sys_sysmachine printargs
68#define sys_plock printargs
69#define sys_pathconf printargs
70#define sys_sigtimedwait printargs
71#define sys_ulimit printargs
72#define sys_ptrace printargs
73#define sys_stty printargs
74#define sys_lwp_info printargs
75#define sys_priocntlsys printargs
76#define sys_hrtsys printargs
77#define sys_xenix printargs
78#define sys_statfs printargs
79#define sys_fstatfs printargs
80#define sys_statvfs printargs
81#define sys_fstatvfs printargs
Wichert Akkerman76baf7c1999-02-19 00:21:36 +000082#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
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000112#define sys_inst_sync printargs
113#define sys_auditsys printargs
114#define sys_processor_bind printargs
115#define sys_processor_info printargs
116#define sys_p_online printargs
117#define sys_sigqueue printargs
118#define sys_clock_gettime printargs
119#define sys_clock_settime printargs
120#define sys_clock_getres printargs
121#define sys_nanosleep printargs
122#define sys_timer_create printargs
123#define sys_timer_delete printargs
124#define sys_timer_settime printargs
125#define sys_timer_gettime printargs
126#define sys_timer_getoverrun printargs
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000127#define sys_msgctl printargs
128#define sys_msgget printargs
129#define sys_msgrcv printargs
130#define sys_msgsnd printargs
131#define sys_shmat printargs
132#define sys_shmctl printargs
133#define sys_shmdt printargs
134#define sys_shmget printargs
135#define sys_semctl printargs
136#define sys_semget printargs
137#define sys_semop printargs
138#define sys_olduname printargs
139#define sys_ustat printargs
140#define sys_fusers printargs
141#define sys_sysfs1 printargs
142#define sys_sysfs2 printargs
143#define sys_sysfs3 printargs
John Hughes8ba4b3f2001-03-06 10:19:26 +0000144#define sys_keyctl printargs
145#define sys_secsys printargs
146#define sys_filepriv printargs
147#define sys_procpriv printargs
148#define sys_devstat printargs
149#define sys_fdevstat printargs
150#define sys_flvlfile printargs
151#define sys_lvlfile printargs
152#define sys_lvlequal printargs
153#define sys_lvlproc printargs
154#define sys_lvlipc printargs
155#define sys_auditevt printargs
156#define sys_auditctl printargs
157#define sys_auditdmp printargs
158#define sys_auditlog printargs
159#define sys_auditbuf printargs
160#define sys_lvldom printargs
161#define sys_lvlvfs printargs
162#define sys_mkmld printargs
163#define sys_mldmode printargs
164#define sys_secadvise printargs
165#define sys_online printargs
166#define sys_lwpinfo printargs
167#define sys_lwpprivate printargs
168#define sys_processor_exbind printargs
169#define sys_prepblock printargs
170#define sys_block printargs
171#define sys_rdblock printargs
172#define sys_unblock printargs
173#define sys_cancelblock printargs
174#define sys_lwpkill printargs
175#define sys_sigwait printargs
176#define sys_modload printargs
177#define sys_moduload printargs
178#define sys_modpath printargs
179#define sys_modstat printargs
180#define sys_modadm printargs
181#define sys_lwpsuspend printargs
182#define sys_lwpcontinue printargs
183#define sys_priocntllst printargs
184#define sys_lwp_sema_trywait printargs
Wichert Akkerman16a03d22000-08-10 02:14:04 +0000185#define sys_xsetsockaddr printargs
John Hughes8ba4b3f2001-03-06 10:19:26 +0000186#define sys_dshmsys printargs
187#define sys_invlpg printargs
188#define sys_rfork1 printargs
189#define sys_rforkall printargs
190#define sys_rexecve printargs
191#define sys_migrate printargs
192#define sys_kill3 printargs
193#define sys_ssisys printargs
194#define sys_xbindresvport printargs
John Hughesbdf48f52001-03-06 15:08:09 +0000195#define sys_lwp_sema_trywait printargs
196#define sys_tsolsys printargs
197#ifndef HAVE_SYS_ACL_H
198#define sys_acl printargs
199#define sys_facl printargs
200#define sys_aclipc printargs
201#endif
202#define sys_install_utrap printargs
203#define sys_signotify printargs
204#define sys_schedctl printargs
205#define sys_pset printargs
206#define sys_resolvepath printargs
207#define sys_signotifywait printargs
208#define sys_lwp_sigredirect printargs
209#define sys_lwp_alarm printargs
210#define sys_rpcsys printargs
211#define sys_sockconfig printargs
212#define sys_ntp_gettime printargs
213#define sys_ntp_adjtime printargs
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000214
215/* like another call */
216#define sys_lchown sys_chown
217#define sys_setuid sys_close
218#define sys_seteuid sys_close
219#define sys_setgid sys_close
220#define sys_setegid sys_close
221#define sys_vhangup sys_close
222#define sys_fdsync sys_close
Wichert Akkerman8829a551999-06-11 13:18:40 +0000223#define sys_setreuid sys_dup2
224#define sys_setregid sys_dup2
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000225#define sys_sigfillset sys_sigpending
226#define sys_vfork sys_fork
227#define sys_ksigaction sys_sigaction
228#define sys_BSDgetpgrp sys_getpgrp
229#define sys_BSDsetpgrp sys_setpgrp
230#define sys_waitsys sys_waitid
Wichert Akkerman16a03d22000-08-10 02:14:04 +0000231#define sys_sigset sys_signal
232#define sys_sigrelse sys_sighold
233#define sys_sigignore sys_sighold
234#define sys_sigpause sys_sighold
John Hughes8ba4b3f2001-03-06 10:19:26 +0000235#define sys_sleep sys_alarm
236#define sys_fork1 sys_fork
237#define sys_forkall sys_fork
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000238
John Hughesbdf48f52001-03-06 15:08:09 +0000239/* aio */
240#define sys_aionotify printargs
241#define sys_aioinit printargs
242#define sys_aiostart printargs
243#define sys_aiolio printargs
244#define sys_aiosuspend printargs
245#define sys_aioerror printargs
246#define sys_aioliowait printargs
247#define sys_aioaread printargs
248#define sys_aioawrite printargs
249#define sys_aiolio64 printargs
250#define sys_aiosuspend64 printargs
251#define sys_aioerror64 printargs
252#define sys_aioliowait64 printargs
253#define sys_aioaread64 printargs
254#define sys_aioaread64 printargs
255#define sys_aioawrite64 printargs
256#define sys_aiocancel64 printargs
257#define sys_aiofsync printargs
258
259/* the various 64-bit file stuff */
260#if !_LFS64_LARGEFILE
261/* we've implemented these */
262#define sys_getdents64 printargs
263#define sys_mmap64 printargs
264#define sys_stat64 printargs
265#define sys_lstat64 printargs
266#define sys_fstat64 printargs
267#define sys_setrlimit64 printargs
268#define sys_getrlimit64 printargs
269#define sys_pread64 printargs
270#define sys_pwrite64 printargs
John Hughes96f51472001-03-06 16:50:41 +0000271#define sys_ftruncate64 printargs
272#define sys_truncate64 printargs
John Hughes9dec06c2001-03-07 14:47:19 +0000273#define sys_lseek64 printargs
John Hughesbdf48f52001-03-06 15:08:09 +0000274#endif
275
276/* unimplemented 64-bit stuff */
277#define sys_statvfs64 printargs
278#define sys_fstatvfs64 printargs
John Hughesbdf48f52001-03-06 15:08:09 +0000279
280/* like another call */
281#define sys_creat64 sys_creat
282#define sys_open64 sys_open
283#define sys_llseek sys_lseek64
284
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000285/* printargs does the right thing */
286#define sys_sync printargs
287#define sys_profil printargs
288#define sys_yield printargs
289#define sys_pause printargs
290#define sys_sethostid printargs
291
292/* subfunction entry points */
293#define sys_pgrpsys printargs
294#define sys_sigcall printargs
295#define sys_msgsys printargs
296#define sys_shmsys printargs
297#define sys_semsys printargs
298#define sys_utssys printargs
299#define sys_sysfs printargs
300#define sys_spcall printargs
301#define sys_context printargs
Wichert Akkerman8829a551999-06-11 13:18:40 +0000302#define sys_door printargs
John Hughesbdf48f52001-03-06 15:08:09 +0000303#define sys_kaio printargs
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000304
305#if DONE
306#define sys_mount printargs
307#define sys_sysinfo printargs
308#define sys_sysconfig printargs
309#define sys_getpmsg printargs
310#define sys_putpmsg printargs
311#define sys_pread printargs
312#define sys_pwrite printargs
313#define sys_readv printargs
314#define sys_writev printargs
315#define sys_wait printargs
316#define sys_waitid printargs
317#define sys_sigsuspend printargs
318#define sys_getpgrp printargs
319#define sys_setpgrp printargs
320#define sys_getsid printargs
321#define sys_setsid printargs
322#define sys_getpgid printargs
323#define sys_setpgid printargs
324#define sys_getcontext printargs
325#define sys_setcontext printargs
326#define sys_stime printargs
327#define sys_time printargs
328#define sys_nice printargs
329#define sys_times printargs
330#define sys_alarm printargs
331#define sys_xstat printargs
332#define sys_fxstat printargs
333#define sys_lxstat printargs
334#define sys_xmknod printargs
335#define sys_exit printargs
336#define sys_fork printargs
337#define sys_read printargs
338#define sys_write printargs
339#define sys_open printargs
340#define sys_close printargs
341#define sys_creat printargs
342#define sys_link printargs
343#define sys_unlink printargs
344#define sys_chdir printargs
345#define sys_mknod printargs
346#define sys_chmod printargs
347#define sys_chown printargs
348#define sys_brk printargs
349#define sys_stat printargs
350#define sys_lseek printargs
351#define sys_getpid printargs
352#define sys_getuid printargs
353#define sys_fstat printargs
354#define sys_utime printargs
355#define sys_access printargs
356#define sys_kill printargs
357#define sys_dup printargs
358#define sys_pipe printargs
359#define sys_getgid printargs
360#define sys_ioctl printargs
361#define sys_umask printargs
362#define sys_chroot printargs
363#define sys_fcntl printargs
364#define sys_rmdir printargs
365#define sys_mkdir printargs
366#define sys_getdents printargs
367#define sys_getmsg printargs
368#define sys_putmsg printargs
369#define sys_poll printargs
370#define sys_lstat printargs
371#define sys_symlink printargs
372#define sys_readlink printargs
373#define sys_setgroups printargs
374#define sys_getgroups printargs
375#define sys_fchmod printargs
376#define sys_fchown printargs
377#define sys_sigprocmask printargs
378#define sys_sigaction printargs
379#define sys_sigpending printargs
380#define sys_mincore printargs
381#define sys_mmap printargs
382#define sys_mprotect printargs
383#define sys_munmap printargs
384#define sys_vfork printargs
385#define sys_fchdir printargs
386#define sys_setrlimit printargs
387#define sys_getrlimit printargs
388#define sys_rename printargs
389#define sys_uname printargs
390#define sys_adjtime printargs
391#define sys_fchroot printargs
392#define sys_utimes printargs
393#define sys_gettimeofday printargs
394#define sys_getitimer printargs
395#define sys_setitimer printargs
John Hughes8ba4b3f2001-03-06 10:19:26 +0000396#define sys_settimeofday printargs
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000397#endif