1 /* 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: dummy2.h,v 1.1.1.1 1999/02/19 00:23:09 wichert Exp $ 28 */ 29 30 /* still unfinished */ 31 32 #define solaris_sysmp printargs 33 #define solaris_sginap printargs 34 #define solaris_sgikopt printargs 35 #define solaris_sysmips printargs 36 #define solaris_sigreturn printargs 37 #define solaris_recvmsg printargs 38 #define solaris_sendmsg printargs 39 #define solaris_nfssvc printargs 40 #define solaris_getfh printargs 41 #define solaris_async_daemon printargs 42 #define solaris_exportfs printargs 43 #define solaris_BSD_getime printargs 44 #define solaris_sproc printargs 45 #define solaris_procblk printargs 46 #define solaris_sprocsp printargs 47 #define solaris_msync printargs 48 #define solaris_madvise printargs 49 #define solaris_pagelock printargs 50 #define solaris_quotactl printargs 51 #define solaris_cacheflush printargs 52 #define solaris_cachectl printargs 53 #define solaris_nuname printargs 54 #define solaris_sigpoll printargs 55 #define solaris_swapctl printargs 56 #define solaris_sigstack printargs 57 #define solaris_sigsendset printargs 58 #define solaris_priocntl printargs 59 #define solaris_ksigqueue printargs 60 #define solaris_lwp_sema_wait printargs 61 #define solaris_memcntl printargs 62 #define solaris_syscall printargs 63 #define solaris_clocal printargs 64 #define solaris_syssun printargs 65 #define solaris_sysi86 printargs 66 #define solaris_sysmachine printargs 67 #define solaris_plock printargs 68 #define solaris_pathconf printargs 69 #define solaris_sigtimedwait printargs 70 #define solaris_ulimit printargs 71 #define solaris_ptrace printargs 72 #define solaris_stty printargs 73 #define solaris_lwp_info printargs 74 #define solaris_priocntlsys printargs 75 #define solaris_hrtsys printargs 76 #define solaris_xenix printargs 77 #define solaris_statfs printargs 78 #define solaris_fstatfs printargs 79 #define solaris_statvfs printargs 80 #define solaris_fstatvfs printargs 81 #define solaris_fork1 printargs 82 #define solaris_sigsendsys printargs 83 #define solaris_gtty printargs 84 #define solaris_vtrace printargs 85 #define solaris_fpathconf printargs 86 #define solaris_evsys printargs 87 #define solaris_acct printargs 88 #define solaris_exec printargs 89 #define solaris_lwp_sema_post printargs 90 #define solaris_nfssys printargs 91 #define solaris_sigaltstack printargs 92 #define solaris_uadmin printargs 93 #define solaris_umount printargs 94 #define solaris_modctl printargs 95 #define solaris_acancel printargs 96 #define solaris_async printargs 97 #define solaris_evtrapret printargs 98 #define solaris_lwp_create printargs 99 #define solaris_lwp_exit printargs 100 #define solaris_lwp_suspend printargs 101 #define solaris_lwp_continue printargs 102 #define solaris_lwp_kill printargs 103 #define solaris_lwp_self printargs 104 #define solaris_lwp_setprivate printargs 105 #define solaris_lwp_getprivate printargs 106 #define solaris_lwp_wait printargs 107 #define solaris_lwp_mutex_unlock printargs 108 #define solaris_lwp_mutex_lock printargs 109 #define solaris_lwp_cond_wait printargs 110 #define solaris_lwp_cond_signal printargs 111 #define solaris_lwp_cond_broadcast printargs 112 #define solaris_llseek printargs 113 #define solaris_inst_sync printargs 114 #define solaris_auditsys printargs 115 #define solaris_processor_bind printargs 116 #define solaris_processor_info printargs 117 #define solaris_p_online printargs 118 #define solaris_sigqueue printargs 119 #define solaris_clock_gettime printargs 120 #define solaris_clock_settime printargs 121 #define solaris_clock_getres printargs 122 #define solaris_nanosleep printargs 123 #define solaris_timer_create printargs 124 #define solaris_timer_delete printargs 125 #define solaris_timer_settime printargs 126 #define solaris_timer_gettime printargs 127 #define solaris_timer_getoverrun printargs 128 #define solaris_signal printargs 129 #define solaris_sigset printargs 130 #define solaris_sighold printargs 131 #define solaris_sigrelse printargs 132 #define solaris_sigignore printargs 133 #define solaris_sigpause printargs 134 #define solaris_msgctl printargs 135 #define solaris_msgget printargs 136 #define solaris_msgrcv printargs 137 #define solaris_msgsnd printargs 138 #define solaris_shmat printargs 139 #define solaris_shmctl printargs 140 #define solaris_shmdt printargs 141 #define solaris_shmget printargs 142 #define solaris_semctl printargs 143 #define solaris_semget printargs 144 #define solaris_semop printargs 145 #define solaris_olduname printargs 146 #define solaris_ustat printargs 147 #define solaris_fusers printargs 148 #define solaris_sysfs1 printargs 149 #define solaris_sysfs2 printargs 150 #define solaris_sysfs3 printargs 151 152 /* like another call */ 153 #define solaris_lchown solaris_chown 154 #define solaris_setuid solaris_close 155 #define solaris_seteuid solaris_close 156 #define solaris_setgid solaris_close 157 #define solaris_setegid solaris_close 158 #define solaris_vhangup solaris_close 159 #define solaris_fdsync solaris_close 160 #define solaris_sigfillset solaris_sigpending 161 #define solaris_vfork solaris_fork 162 #define solaris_ksigaction solaris_sigaction 163 #define solaris_BSDgetpgrp solaris_getpgrp 164 #define solaris_BSDsetpgrp solaris_setpgrp 165 #define solaris_waitsys solaris_waitid 166 167 /* printargs does the right thing */ 168 #define solaris_sync printargs 169 #define solaris_profil printargs 170 #define solaris_yield printargs 171 #define solaris_pause printargs 172 #define solaris_sethostid printargs 173 174 /* subfunction entry points */ 175 #define solaris_pgrpsys printargs 176 #define solaris_sigcall printargs 177 #define solaris_msgsys printargs 178 #define solaris_shmsys printargs 179 #define solaris_semsys printargs 180 #define solaris_utssys printargs 181 #define solaris_sysfs printargs 182 #define solaris_spcall printargs 183 #define solaris_context printargs 184 185 /* same as linux */ 186 #define solaris_exit sys_exit 187 #define solaris_fork sys_fork 188 #define solaris_read sys_read 189 #define solaris_write sys_write 190 #define solaris_close sys_close 191 #define solaris_creat sys_creat 192 #define solaris_link sys_link 193 #define solaris_unlink sys_unlink 194 #define solaris_chdir sys_chdir 195 #define solaris_time sys_time 196 #define solaris_chmod sys_chmod 197 #define solaris_lseek sys_lseek 198 #define solaris_stime sys_stime 199 #define solaris_alarm sys_alarm 200 #define solaris_utime sys_utime 201 #define solaris_access sys_access 202 #define solaris_nice sys_nice 203 #define solaris_dup sys_dup 204 #define solaris_pipe sys_pipe 205 #define solaris_times sys_times 206 #define solaris_execve sys_execve 207 #define solaris_umask sys_umask 208 #define solaris_chroot sys_chroot 209 #define solaris_rmdir sys_rmdir 210 #define solaris_mkdir sys_mkdir 211 #define solaris_getdents sys_getdents 212 #define solaris_poll sys_poll 213 #define solaris_symlink sys_symlink 214 #define solaris_readlink sys_readlink 215 #define solaris_setgroups sys_setgroups 216 #define solaris_getgroups sys_getgroups 217 #define solaris_fchmod sys_fchmod 218 #define solaris_fchown sys_fchown 219 #define solaris_mprotect sys_mprotect 220 #define solaris_munmap sys_munmap 221 #define solaris_readv sys_readv 222 #define solaris_writev sys_writev 223 #define solaris_chown sys_chown 224 #define solaris_rename sys_rename 225 #define solaris_gettimeofday sys_gettimeofday 226 #define solaris_getitimer sys_getitimer 227 #define solaris_setitimer sys_setitimer 228 #define solaris_brk sys_brk 229 #define solaris_mmap sys_mmap 230 #define solaris_getsid sys_getsid 231 #define solaris_setsid sys_setsid 232 #define solaris_getpgid sys_getpgid 233 #define solaris_setpgid sys_setpgid 234 #define solaris_getpgrp sys_getpgrp 235 236 /* These are handled according to current_personality */ 237 #define solaris_xstat sys_xstat 238 #define solaris_fxstat sys_fxstat 239 #define solaris_lxstat sys_lxstat 240 #define solaris_xmknod sys_xmknod 241 #define solaris_stat sys_stat 242 #define solaris_fstat sys_fstat 243 #define solaris_lstat sys_lstat 244 #define solaris_pread sys_pread 245 #define solaris_pwrite sys_pwrite 246 #define solaris_ioctl sys_ioctl 247 #define solaris_mknod sys_mknod 248 249 /* To be done */ 250 #define solaris_mount printargs 251 #define solaris_sysinfo printargs 252 #define solaris_sysconfig printargs 253 #define solaris_getpmsg printargs 254 #define solaris_putpmsg printargs 255 #define solaris_wait printargs 256 #define solaris_waitid printargs 257 #define solaris_sigsuspend printargs 258 #define solaris_setpgrp printargs 259 #define solaris_getcontext printargs 260 #define solaris_setcontext printargs 261 #define solaris_getpid printargs 262 #define solaris_getuid printargs 263 #define solaris_kill printargs 264 #define solaris_getgid printargs 265 #define solaris_fcntl printargs 266 #define solaris_getmsg printargs 267 #define solaris_putmsg printargs 268 #define solaris_sigprocmask printargs 269 #define solaris_sigaction printargs 270 #define solaris_sigpending printargs 271 #define solaris_mincore printargs 272 #define solaris_fchdir printargs 273 #define solaris_setrlimit printargs 274 #define solaris_getrlimit printargs 275 #define solaris_uname printargs 276 #define solaris_adjtime printargs 277 #define solaris_fchroot printargs 278 #define solaris_utimes printargs 279 280 #if DONE 281 #define solaris_open printargs 282 #endif 283