blob: ce81649c4457bfa2e5de3d02b5b7a76c846ceb9f [file] [log] [blame]
Wichert Akkerman76baf7c1999-02-19 00:21:36 +00001/*
2 * Copyright (c) 1993 Branko Lankester <branko@hacktic.nl>
3 * Copyright (c) 1993, 1994, 1995 Rick Sladkey <jrs@world.std.com>
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
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.
16 *
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.
27 *
28 * $Id$
29 */
30
31/* still unfinished */
Wichert Akkerman76baf7c1999-02-19 00:21:36 +000032#define sys_ioperm printargs
33#define sys_syslog printargs
34#define sys_iopl printargs
35#define sys_vm86old printargs
Wichert Akkerman76baf7c1999-02-19 00:21:36 +000036#define sys_get_kernel_syms printargs
Wichert Akkerman76baf7c1999-02-19 00:21:36 +000037#define sys_bdflush printargs
38#define sys_sysfs printargs
39#define sys_afs_syscall printargs
40
Roland McGrath67ecd632002-12-15 23:58:21 +000041/* machine-specific */
42#ifndef I386
43#define sys_modify_ldt printargs
Andreas Schwab58743222010-05-28 22:28:51 +020044#ifndef M68K
Roland McGrath67ecd632002-12-15 23:58:21 +000045#define sys_get_thread_area printargs
46#define sys_set_thread_area printargs
47#endif
Andreas Schwab58743222010-05-28 22:28:51 +020048#endif
Roland McGrath67ecd632002-12-15 23:58:21 +000049
Wichert Akkerman76baf7c1999-02-19 00:21:36 +000050#define sys_sched_yield printargs
Roland McGrath279d3782004-03-01 20:27:37 +000051#define sys_sched_get_priority_max sys_sched_get_priority_min
Wichert Akkerman76baf7c1999-02-19 00:21:36 +000052#define sys_sched_rr_get_interval printargs
Wichert Akkerman76baf7c1999-02-19 00:21:36 +000053
54/* like another call */
55#define sys_uselib sys_chdir
56#define sys_umount sys_chdir
57#define sys_swapon sys_chdir
58#define sys_swapoff sys_chdir
Roland McGrath6e261272007-07-05 19:28:35 +000059#define sys_delete_module sys_open
Wichert Akkerman76baf7c1999-02-19 00:21:36 +000060#define sys_fchdir sys_close
61#define sys_setfsuid sys_setuid
62#define sys_setfsgid sys_setgid
Wichert Akkermanc7926982000-04-10 22:22:31 +000063#define sys_acct sys_chdir
64#define sys_fdatasync sys_close
65#define sys_mlock sys_munmap
66#define sys_munlock sys_munmap
Roland McGrath1e356792003-03-30 23:52:28 +000067#define sys_clock_getres sys_clock_gettime
Roland McGrathd4c85eb2004-04-16 21:48:44 +000068#define sys_mq_unlink sys_unlink
Wichert Akkerman76baf7c1999-02-19 00:21:36 +000069
70/* printargs does the right thing */
71#define sys_setup printargs
72#define sys_getpid printargs
73#define sys_getuid printargs
74#define sys_pause printargs
75#define sys_sync printargs
76#define sys_getgid printargs
77#define sys_geteuid printargs
78#define sys_getegid printargs
79#define sys_getppid printargs
80#define sys_getpgrp printargs
81#define sys_setsid printargs
82#define sys_vhangup printargs
83#define sys_idle printargs
84#define sys_getpgid printargs
Wichert Akkermanc7926982000-04-10 22:22:31 +000085#define sys_munlockall printargs
Roland McGrath1e356792003-03-30 23:52:28 +000086#define sys_timer_getoverrun printargs
87#define sys_timer_delete printargs
Wichert Akkerman76baf7c1999-02-19 00:21:36 +000088
89/* subcall entry points */
90#define sys_socketcall printargs
91#define sys_ipc printargs
92
93/* unimplemented */
94#define sys_stty printargs
95#define sys_gtty printargs
96#define sys_ftime printargs
97#define sys_prof printargs
Wichert Akkerman76baf7c1999-02-19 00:21:36 +000098#define sys_phys printargs
99#define sys_lock printargs
100#define sys_mpx printargs
101#define sys_ulimit printargs
102#define sys_profil printargs
103#define sys_ustat printargs
104#define sys_break printargs
105
106/* deprecated */
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000107#define sys_olduname printargs
108#define sys_oldolduname printargs
109
110/* no library support */
111#ifndef HAVE_SENDMSG
112#define sys_sendmsg printargs
113#define sys_recvmsg printargs
114#endif
115
Roland McGrath8bcf3572003-01-24 04:39:46 +0000116#ifndef SYS_getpmsg
117#define sys_getpmsg printargs
118#endif
119#ifndef SYS_putpmsg
120#define sys_putpmsg printargs
121#endif
122
Roland McGrath79db8af2003-06-27 21:20:09 +0000123#ifndef HAVE_STRUCT___OLD_KERNEL_STAT
124#define sys_oldstat printargs
125#define sys_oldfstat printargs
126#define sys_oldlstat printargs
127#endif
128
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000129#if DONE
130#define sys_oldselect printargs
131#define sys_msync printargs
132#define sys_flock printargs
133#define sys_getdents printargs
134#define sys_stime printargs
135#define sys_time printargs
136#define sys_times printargs
137#define sys_mount printargs
138#define sys_nice printargs
139#define sys_mprotect printargs
140#define sys_sigprocmask printargs
141#define sys_adjtimex printargs
142#define sys_sysinfo printargs
143#define sys_ipc printargs
144#define sys_setdomainname printargs
145#define sys_statfs printargs
146#define sys_fstatfs printargs
147#define sys_ptrace printargs
148#define sys_sigreturn printargs
149#define sys_fsync printargs
150#define sys_alarm printargs
151#define sys_socketcall printargs
152#define sys_sigsuspend printargs
153#define sys_utime printargs
154#define sys_brk printargs
155#define sys_mmap printargs
156#define sys_munmap printargs
157#define sys_select printargs
158#define sys_setuid printargs
159#define sys_setgid printargs
160#define sys_setreuid printargs
161#define sys_setregid printargs
162#define sys_getgroups printargs
163#define sys_setgroups printargs
164#define sys_setrlimit printargs
165#define sys_getrlimit printargs
166#define sys_getrusage printargs
167#define sys_getpriority printargs
168#define sys_setpriority printargs
169#define sys_setpgid printargs
170#define sys_access printargs
171#define sys_sethostname printargs
172#define sys_readdir printargs
173#define sys_waitpid printargs
174#define sys_wait4 printargs
175#define sys_execve printargs
176#define sys_fork printargs
177#define sys_uname printargs
178#define sys_pipe printargs
179#define sys_siggetmask printargs
180#define sys_sigsetmask printargs
181#define sys_exit printargs
182#define sys_kill printargs
183#define sys_signal printargs
184#define sys_sigaction printargs
185#define sys_sigpending printargs
186#define sys_fcntl printargs
187#define sys_dup printargs
188#define sys_dup2 printargs
189#define sys_close printargs
190#define sys_ioctl printargs
191#define sys_read printargs
192#define sys_write printargs
193#define sys_open printargs
194#define sys_creat printargs
195#define sys_link printargs
196#define sys_unlink printargs
197#define sys_chdir printargs
198#define sys_mknod printargs
199#define sys_chmod printargs
200#define sys_chown printargs
201#define sys_lseek printargs
202#define sys_rename printargs
203#define sys_mkdir printargs
204#define sys_rmdir printargs
205#define sys_umask printargs
206#define sys_chroot printargs
207#define sys_gettimeofday printargs
208#define sys_settimeofday printargs
209#define sys_symlink printargs
210#define sys_readlink printargs
211#define sys_truncate printargs
212#define sys_ftruncate printargs
213#define sys_fchmod printargs
214#define sys_fchown printargs
215#define sys_setitimer printargs
216#define sys_getitimer printargs
217#define sys_stat printargs
218#define sys_lstat printargs
219#define sys_fstat printargs
220#define sys_personality printargs
221#define sys_poll printargs
Wichert Akkerman527a8051999-07-15 21:11:37 +0000222#define sys_create_module printargs
223#define sys_init_module printargs
Wichert Akkermanc7926982000-04-10 22:22:31 +0000224#define sys_quotactl printargs
225#define sys_mlockall printargs
Wichert Akkerman5ae21ea2000-05-01 01:53:59 +0000226#define sys_reboot printargs
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000227#endif