Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 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$ |
| 29 | */ |
| 30 | |
| 31 | /* still unfinished */ |
Dmitry V. Levin | b9e897d | 2011-10-12 19:03:29 +0000 | [diff] [blame] | 32 | #define sys_add_key printargs |
| 33 | #define sys_get_robust_list printargs |
| 34 | #define sys_fanotify_init printargs |
| 35 | #define sys_fanotify_mark printargs |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 36 | #define sys_ioperm printargs |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 37 | #define sys_iopl printargs |
Dmitry V. Levin | b9e897d | 2011-10-12 19:03:29 +0000 | [diff] [blame] | 38 | #define sys_ioprio_get printargs |
| 39 | #define sys_ioprio_set printargs |
| 40 | #define sys_keyctl printargs |
| 41 | #define sys_kexec_load printargs |
| 42 | #define sys_lookup_dcookie printargs |
| 43 | #define sys_migrate_pages printargs |
| 44 | #define sys_nfsservctl printargs |
| 45 | #define sys_perf_event_open printargs |
| 46 | #define sys_prlimit64 printargs |
| 47 | #define sys_request_key printargs |
| 48 | #define sys_rt_tgsigqueueinfo printargs |
Dmitry V. Levin | 9e38484 | 2011-10-12 16:40:17 +0000 | [diff] [blame] | 49 | #define sys_sched_rr_get_interval printargs |
Dmitry V. Levin | b9e897d | 2011-10-12 19:03:29 +0000 | [diff] [blame] | 50 | #define sys_set_robust_list printargs |
| 51 | #define sys_sync_file_range printargs |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 52 | #define sys_sysfs printargs |
Dmitry V. Levin | 9e38484 | 2011-10-12 16:40:17 +0000 | [diff] [blame] | 53 | #define sys_syslog printargs |
Dmitry V. Levin | b9e897d | 2011-10-12 19:03:29 +0000 | [diff] [blame] | 54 | #define sys_vm86 printargs |
Dmitry V. Levin | 9e38484 | 2011-10-12 16:40:17 +0000 | [diff] [blame] | 55 | #define sys_vm86old printargs |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 56 | |
Roland McGrath | 67ecd63 | 2002-12-15 23:58:21 +0000 | [diff] [blame] | 57 | /* machine-specific */ |
| 58 | #ifndef I386 |
| 59 | #define sys_modify_ldt printargs |
Andreas Schwab | 5874322 | 2010-05-28 22:28:51 +0200 | [diff] [blame] | 60 | #ifndef M68K |
Dmitry V. Levin | 9e38484 | 2011-10-12 16:40:17 +0000 | [diff] [blame] | 61 | #define sys_get_thread_area printargs |
| 62 | #define sys_set_thread_area printargs |
Roland McGrath | 67ecd63 | 2002-12-15 23:58:21 +0000 | [diff] [blame] | 63 | #endif |
Andreas Schwab | 5874322 | 2010-05-28 22:28:51 +0200 | [diff] [blame] | 64 | #endif |
Roland McGrath | 67ecd63 | 2002-12-15 23:58:21 +0000 | [diff] [blame] | 65 | |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 66 | /* like another call */ |
Dmitry V. Levin | 9e38484 | 2011-10-12 16:40:17 +0000 | [diff] [blame] | 67 | #define sys_acct sys_chdir |
| 68 | #define sys_clock_getres sys_clock_gettime |
Roland McGrath | 6e26127 | 2007-07-05 19:28:35 +0000 | [diff] [blame] | 69 | #define sys_delete_module sys_open |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 70 | #define sys_fchdir sys_close |
Dmitry V. Levin | 9e38484 | 2011-10-12 16:40:17 +0000 | [diff] [blame] | 71 | #define sys_fdatasync sys_close |
Dmitry V. Levin | 50a218d | 2011-01-18 17:36:20 +0000 | [diff] [blame] | 72 | #define sys_getegid sys_getuid |
| 73 | #define sys_geteuid sys_getuid |
Dmitry V. Levin | 9e38484 | 2011-10-12 16:40:17 +0000 | [diff] [blame] | 74 | #define sys_getgid sys_getuid |
| 75 | #define sys_mlock sys_munmap |
| 76 | #define sys_mq_unlink sys_unlink |
| 77 | #define sys_munlock sys_munmap |
| 78 | #define sys_sched_get_priority_max sys_sched_get_priority_min |
Dmitry V. Levin | 50a218d | 2011-01-18 17:36:20 +0000 | [diff] [blame] | 79 | #define sys_setfsgid sys_setfsuid |
Dmitry V. Levin | 9e38484 | 2011-10-12 16:40:17 +0000 | [diff] [blame] | 80 | #define sys_swapoff sys_chdir |
| 81 | #define sys_swapon sys_chdir |
| 82 | #define sys_umount sys_chdir |
| 83 | #define sys_uselib sys_chdir |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 84 | |
| 85 | /* printargs does the right thing */ |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 86 | #define sys_getpgid printargs |
Dmitry V. Levin | 9e38484 | 2011-10-12 16:40:17 +0000 | [diff] [blame] | 87 | #define sys_getpgrp printargs |
| 88 | #define sys_getpid printargs |
| 89 | #define sys_getppid printargs |
Dmitry V. Levin | b9e897d | 2011-10-12 19:03:29 +0000 | [diff] [blame] | 90 | #define sys_gettid printargs |
Dmitry V. Levin | 9e38484 | 2011-10-12 16:40:17 +0000 | [diff] [blame] | 91 | #define sys_idle printargs |
Dmitry V. Levin | b9e897d | 2011-10-12 19:03:29 +0000 | [diff] [blame] | 92 | #define sys_inotify_init printargs |
Dmitry V. Levin | 9e38484 | 2011-10-12 16:40:17 +0000 | [diff] [blame] | 93 | #define sys_munlockall printargs |
| 94 | #define sys_pause printargs |
Dmitry V. Levin | b9e897d | 2011-10-12 19:03:29 +0000 | [diff] [blame] | 95 | #define sys_rt_sigreturn printargs |
Dmitry V. Levin | 9e38484 | 2011-10-12 16:40:17 +0000 | [diff] [blame] | 96 | #define sys_sched_yield printargs |
| 97 | #define sys_setsid printargs |
| 98 | #define sys_setup printargs |
Dmitry V. Levin | b9e897d | 2011-10-12 19:03:29 +0000 | [diff] [blame] | 99 | #define sys_set_tid_address printargs |
Dmitry V. Levin | 9e38484 | 2011-10-12 16:40:17 +0000 | [diff] [blame] | 100 | #define sys_sync printargs |
| 101 | #define sys_timer_delete printargs |
| 102 | #define sys_timer_getoverrun printargs |
| 103 | #define sys_vhangup printargs |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 104 | |
| 105 | /* subcall entry points */ |
| 106 | #define sys_socketcall printargs |
| 107 | #define sys_ipc printargs |
| 108 | |
| 109 | /* unimplemented */ |
Dmitry V. Levin | 9e38484 | 2011-10-12 16:40:17 +0000 | [diff] [blame] | 110 | #define sys_afs_syscall printargs |
| 111 | #define sys_break printargs |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 112 | #define sys_ftime printargs |
Dmitry V. Levin | 9e38484 | 2011-10-12 16:40:17 +0000 | [diff] [blame] | 113 | #define sys_get_kernel_syms printargs |
| 114 | #define sys_gtty printargs |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 115 | #define sys_lock printargs |
| 116 | #define sys_mpx printargs |
Dmitry V. Levin | 9e38484 | 2011-10-12 16:40:17 +0000 | [diff] [blame] | 117 | #define sys_phys printargs |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 118 | #define sys_profil printargs |
Dmitry V. Levin | 9e38484 | 2011-10-12 16:40:17 +0000 | [diff] [blame] | 119 | #define sys_prof printargs |
Dmitry V. Levin | b9e897d | 2011-10-12 19:03:29 +0000 | [diff] [blame] | 120 | #define sys_security printargs |
Dmitry V. Levin | 9e38484 | 2011-10-12 16:40:17 +0000 | [diff] [blame] | 121 | #define sys_stty printargs |
Dmitry V. Levin | b9e897d | 2011-10-12 19:03:29 +0000 | [diff] [blame] | 122 | #define sys_tuxcall printargs |
Dmitry V. Levin | 9e38484 | 2011-10-12 16:40:17 +0000 | [diff] [blame] | 123 | #define sys_ulimit printargs |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 124 | #define sys_ustat printargs |
Dmitry V. Levin | b9e897d | 2011-10-12 19:03:29 +0000 | [diff] [blame] | 125 | #define sys_vserver printargs |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 126 | |
| 127 | /* deprecated */ |
Dmitry V. Levin | 9e38484 | 2011-10-12 16:40:17 +0000 | [diff] [blame] | 128 | #define sys_bdflush printargs |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 129 | #define sys_olduname printargs |
| 130 | #define sys_oldolduname printargs |
| 131 | |
| 132 | /* no library support */ |
| 133 | #ifndef HAVE_SENDMSG |
Dmitry V. Levin | 9e38484 | 2011-10-12 16:40:17 +0000 | [diff] [blame] | 134 | #define sys_sendmsg printargs |
| 135 | #define sys_recvmsg printargs |
Wichert Akkerman | 76baf7c | 1999-02-19 00:21:36 +0000 | [diff] [blame] | 136 | #endif |
| 137 | |
Roland McGrath | 8bcf357 | 2003-01-24 04:39:46 +0000 | [diff] [blame] | 138 | #ifndef SYS_getpmsg |
Dmitry V. Levin | 9e38484 | 2011-10-12 16:40:17 +0000 | [diff] [blame] | 139 | #define sys_getpmsg printargs |
Roland McGrath | 8bcf357 | 2003-01-24 04:39:46 +0000 | [diff] [blame] | 140 | #endif |
| 141 | #ifndef SYS_putpmsg |
Dmitry V. Levin | 9e38484 | 2011-10-12 16:40:17 +0000 | [diff] [blame] | 142 | #define sys_putpmsg printargs |
Roland McGrath | 8bcf357 | 2003-01-24 04:39:46 +0000 | [diff] [blame] | 143 | #endif |
| 144 | |
Roland McGrath | 79db8af | 2003-06-27 21:20:09 +0000 | [diff] [blame] | 145 | #ifndef HAVE_STRUCT___OLD_KERNEL_STAT |
Dmitry V. Levin | 9e38484 | 2011-10-12 16:40:17 +0000 | [diff] [blame] | 146 | #define sys_oldstat printargs |
| 147 | #define sys_oldfstat printargs |
| 148 | #define sys_oldlstat printargs |
Roland McGrath | 79db8af | 2003-06-27 21:20:09 +0000 | [diff] [blame] | 149 | #endif |