dummy.h revision fa2c235113f9f310562b09097af5fa466a3158e0
1/*
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: dummy.h,v 1.17 2004/04/16 21:48:44 roland Exp $
29 */
30
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
40
41/* machine-specific */
42#ifndef I386
43#define	sys_modify_ldt		printargs
44#define sys_get_thread_area	printargs
45#define sys_set_thread_area	printargs
46#endif
47
48#define sys_sched_yield		printargs
49#define sys_sched_get_priority_max sys_sched_get_priority_min
50#define sys_sched_rr_get_interval printargs
51
52/* like another call */
53#define	sys_uselib		sys_chdir
54#define	sys_umount		sys_chdir
55#define	sys_swapon		sys_chdir
56#define	sys_swapoff		sys_chdir
57#define	sys_delete_module	sys_chdir
58#define	sys_fchdir		sys_close
59#define	sys_setfsuid		sys_setuid
60#define	sys_setfsgid		sys_setgid
61#define sys_nanosleep		sys_adjtime
62#define	sys_acct		sys_chdir
63#define sys_fdatasync		sys_close
64#define sys_mlock		sys_munmap
65#define sys_munlock		sys_munmap
66#define sys_clock_getres	sys_clock_gettime
67#define sys_mq_unlink		sys_unlink
68
69/* printargs does the right thing */
70#define	sys_setup		printargs
71#define	sys_getpid		printargs
72#define	sys_getuid		printargs
73#define	sys_pause		printargs
74#define	sys_sync		printargs
75#define	sys_getgid		printargs
76#define	sys_geteuid		printargs
77#define	sys_getegid		printargs
78#define	sys_getppid		printargs
79#define	sys_getpgrp		printargs
80#define	sys_setsid		printargs
81#define	sys_vhangup		printargs
82#define	sys_idle		printargs
83#define	sys_getpgid		printargs
84#define sys_munlockall		printargs
85#define sys_timer_getoverrun	printargs
86#define sys_timer_delete	printargs
87
88/* subcall entry points */
89#define	sys_socketcall		printargs
90#define	sys_ipc			printargs
91
92/* unimplemented */
93#define	sys_stty		printargs
94#define	sys_gtty		printargs
95#define	sys_ftime		printargs
96#define	sys_prof		printargs
97#define	sys_phys		printargs
98#define	sys_lock		printargs
99#define	sys_mpx			printargs
100#define	sys_ulimit		printargs
101#define	sys_profil		printargs
102#define	sys_ustat		printargs
103#define	sys_break		printargs
104
105/* deprecated */
106#define	sys_olduname		printargs
107#define	sys_oldolduname		printargs
108
109/* no library support */
110#ifndef HAVE_SENDMSG
111#define sys_sendmsg		printargs
112#define sys_recvmsg		printargs
113#endif
114
115#ifndef SYS_getpmsg
116#define sys_getpmsg		printargs
117#endif
118#ifndef SYS_putpmsg
119#define sys_putpmsg		printargs
120#endif
121
122#ifndef HAVE_STRUCT___OLD_KERNEL_STAT
123#define sys_oldstat		printargs
124#define sys_oldfstat		printargs
125#define sys_oldlstat		printargs
126#endif
127
128#if DONE
129#define sys_oldselect		printargs
130#define	sys_msync		printargs
131#define	sys_flock		printargs
132#define	sys_getdents		printargs
133#define	sys_stime		printargs
134#define	sys_time		printargs
135#define	sys_times		printargs
136#define	sys_mount		printargs
137#define	sys_nice		printargs
138#define	sys_mprotect		printargs
139#define	sys_sigprocmask		printargs
140#define	sys_adjtimex		printargs
141#define	sys_sysinfo		printargs
142#define	sys_ipc			printargs
143#define	sys_setdomainname	printargs
144#define	sys_statfs		printargs
145#define	sys_fstatfs		printargs
146#define	sys_ptrace		printargs
147#define	sys_sigreturn		printargs
148#define	sys_fsync		printargs
149#define	sys_alarm		printargs
150#define	sys_socketcall		printargs
151#define	sys_sigsuspend		printargs
152#define	sys_utime		printargs
153#define	sys_brk			printargs
154#define	sys_mmap		printargs
155#define	sys_munmap		printargs
156#define	sys_select		printargs
157#define	sys_setuid		printargs
158#define	sys_setgid		printargs
159#define	sys_setreuid		printargs
160#define	sys_setregid		printargs
161#define	sys_getgroups		printargs
162#define	sys_setgroups		printargs
163#define	sys_setrlimit		printargs
164#define	sys_getrlimit		printargs
165#define	sys_getrusage		printargs
166#define	sys_getpriority		printargs
167#define	sys_setpriority		printargs
168#define	sys_setpgid		printargs
169#define	sys_access		printargs
170#define	sys_sethostname		printargs
171#define	sys_readdir		printargs
172#define	sys_waitpid		printargs
173#define	sys_wait4		printargs
174#define	sys_execve		printargs
175#define	sys_fork		printargs
176#define	sys_uname		printargs
177#define	sys_pipe		printargs
178#define	sys_siggetmask		printargs
179#define	sys_sigsetmask		printargs
180#define	sys_exit		printargs
181#define	sys_kill		printargs
182#define	sys_signal		printargs
183#define	sys_sigaction		printargs
184#define	sys_sigpending		printargs
185#define	sys_fcntl		printargs
186#define	sys_dup			printargs
187#define	sys_dup2		printargs
188#define	sys_close		printargs
189#define	sys_ioctl		printargs
190#define	sys_read		printargs
191#define	sys_write		printargs
192#define	sys_open		printargs
193#define	sys_creat		printargs
194#define	sys_link		printargs
195#define	sys_unlink		printargs
196#define	sys_chdir		printargs
197#define	sys_mknod		printargs
198#define	sys_chmod		printargs
199#define	sys_chown		printargs
200#define	sys_lseek		printargs
201#define	sys_rename		printargs
202#define	sys_mkdir		printargs
203#define	sys_rmdir		printargs
204#define	sys_umask		printargs
205#define	sys_chroot		printargs
206#define	sys_gettimeofday	printargs
207#define	sys_settimeofday	printargs
208#define	sys_symlink		printargs
209#define	sys_readlink		printargs
210#define	sys_truncate		printargs
211#define	sys_ftruncate		printargs
212#define	sys_fchmod		printargs
213#define	sys_fchown		printargs
214#define	sys_setitimer		printargs
215#define	sys_getitimer		printargs
216#define	sys_stat		printargs
217#define	sys_lstat		printargs
218#define	sys_fstat		printargs
219#define	sys_personality		printargs
220#define sys_poll		printargs
221#define	sys_create_module	printargs
222#define	sys_init_module		printargs
223#define	sys_quotactl		printargs
224#define sys_mlockall		printargs
225#define	sys_reboot		printargs
226#endif
227