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