blob: e7ed992c0686c65f96f9b2db40c149afbcfa193f [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 */
Dmitry V. Levinb9e897d2011-10-12 19:03:29 +000032#define sys_add_key printargs
Dmitry V. Levin00ebeee2011-11-26 23:37:23 +000033#define sys_clock_adjtime printargs
Dmitry V. Levinb9e897d2011-10-12 19:03:29 +000034#define sys_get_robust_list printargs
35#define sys_fanotify_init printargs
36#define sys_fanotify_mark printargs
Wichert Akkerman76baf7c1999-02-19 00:21:36 +000037#define sys_ioperm printargs
Wichert Akkerman76baf7c1999-02-19 00:21:36 +000038#define sys_iopl printargs
Dmitry V. Levinb9e897d2011-10-12 19:03:29 +000039#define sys_ioprio_get printargs
40#define sys_ioprio_set printargs
41#define sys_keyctl printargs
42#define sys_kexec_load printargs
43#define sys_lookup_dcookie printargs
44#define sys_migrate_pages printargs
Dmitry V. Levin00ebeee2011-11-26 23:37:23 +000045#define sys_name_to_handle_at printargs
Dmitry V. Levin00ebeee2011-11-26 23:37:23 +000046#define sys_open_by_handle_at printargs
Dmitry V. Levinb9e897d2011-10-12 19:03:29 +000047#define sys_perf_event_open printargs
48#define sys_prlimit64 printargs
49#define sys_request_key printargs
50#define sys_rt_tgsigqueueinfo printargs
Dmitry V. Levin9e384842011-10-12 16:40:17 +000051#define sys_sched_rr_get_interval printargs
Dmitry V. Levin00ebeee2011-11-26 23:37:23 +000052#define sys_sendmmsg printargs
53#define sys_setns printargs
Dmitry V. Levinb9e897d2011-10-12 19:03:29 +000054#define sys_set_robust_list printargs
55#define sys_sync_file_range printargs
Wichert Akkerman76baf7c1999-02-19 00:21:36 +000056#define sys_sysfs printargs
Dmitry V. Levin9e384842011-10-12 16:40:17 +000057#define sys_syslog printargs
Dmitry V. Levinb9e897d2011-10-12 19:03:29 +000058#define sys_vm86 printargs
Dmitry V. Levin9e384842011-10-12 16:40:17 +000059#define sys_vm86old printargs
Wichert Akkerman76baf7c1999-02-19 00:21:36 +000060
Roland McGrath67ecd632002-12-15 23:58:21 +000061/* machine-specific */
62#ifndef I386
63#define sys_modify_ldt printargs
Andreas Schwab58743222010-05-28 22:28:51 +020064#ifndef M68K
Dmitry V. Levin9e384842011-10-12 16:40:17 +000065#define sys_get_thread_area printargs
66#define sys_set_thread_area printargs
Roland McGrath67ecd632002-12-15 23:58:21 +000067#endif
Andreas Schwab58743222010-05-28 22:28:51 +020068#endif
Roland McGrath67ecd632002-12-15 23:58:21 +000069
Wichert Akkerman76baf7c1999-02-19 00:21:36 +000070/* like another call */
Dmitry V. Levin9e384842011-10-12 16:40:17 +000071#define sys_acct sys_chdir
Dmitry V. Levinad178c02011-11-28 22:48:53 +000072#define sys_chroot sys_chdir
Dmitry V. Levin9e384842011-10-12 16:40:17 +000073#define sys_clock_getres sys_clock_gettime
Roland McGrath6e261272007-07-05 19:28:35 +000074#define sys_delete_module sys_open
Dmitry V. Levinad178c02011-11-28 22:48:53 +000075#define sys_dup sys_close
Wichert Akkerman76baf7c1999-02-19 00:21:36 +000076#define sys_fchdir sys_close
Dmitry V. Levin9e384842011-10-12 16:40:17 +000077#define sys_fdatasync sys_close
Dmitry V. Levin50a218d2011-01-18 17:36:20 +000078#define sys_getegid sys_getuid
79#define sys_geteuid sys_getuid
Dmitry V. Levin9e384842011-10-12 16:40:17 +000080#define sys_getgid sys_getuid
81#define sys_mlock sys_munmap
Dmitry V. Levinad178c02011-11-28 22:48:53 +000082#define sys_mq_unlink sys_chdir
Dmitry V. Levin9e384842011-10-12 16:40:17 +000083#define sys_munlock sys_munmap
Dmitry V. Levinad178c02011-11-28 22:48:53 +000084#define sys_pivotroot sys_link
85#define sys_rename sys_link
86#define sys_rmdir sys_chdir
Dmitry V. Levin9e384842011-10-12 16:40:17 +000087#define sys_sched_get_priority_max sys_sched_get_priority_min
Dmitry V. Levin50a218d2011-01-18 17:36:20 +000088#define sys_setfsgid sys_setfsuid
Dmitry V. Levin9e384842011-10-12 16:40:17 +000089#define sys_swapoff sys_chdir
90#define sys_swapon sys_chdir
Dmitry V. Levinad178c02011-11-28 22:48:53 +000091#define sys_symlink sys_link
Dmitry V. Levin00ebeee2011-11-26 23:37:23 +000092#define sys_syncfs sys_close
Dmitry V. Levin9e384842011-10-12 16:40:17 +000093#define sys_umount sys_chdir
Dmitry V. Levinad178c02011-11-28 22:48:53 +000094#define sys_unlink sys_chdir
Dmitry V. Levin9e384842011-10-12 16:40:17 +000095#define sys_uselib sys_chdir
Wichert Akkerman76baf7c1999-02-19 00:21:36 +000096
97/* printargs does the right thing */
Wichert Akkerman76baf7c1999-02-19 00:21:36 +000098#define sys_getpgid printargs
Dmitry V. Levin9e384842011-10-12 16:40:17 +000099#define sys_getpgrp printargs
100#define sys_getpid printargs
101#define sys_getppid printargs
Dmitry V. Levinb9e897d2011-10-12 19:03:29 +0000102#define sys_gettid printargs
Dmitry V. Levin9e384842011-10-12 16:40:17 +0000103#define sys_idle printargs
Dmitry V. Levinb9e897d2011-10-12 19:03:29 +0000104#define sys_inotify_init printargs
Dmitry V. Levin9e384842011-10-12 16:40:17 +0000105#define sys_munlockall printargs
106#define sys_pause printargs
Dmitry V. Levinb9e897d2011-10-12 19:03:29 +0000107#define sys_rt_sigreturn printargs
Dmitry V. Levin9e384842011-10-12 16:40:17 +0000108#define sys_sched_yield printargs
109#define sys_setsid printargs
110#define sys_setup printargs
Dmitry V. Levinb9e897d2011-10-12 19:03:29 +0000111#define sys_set_tid_address printargs
Dmitry V. Levin9e384842011-10-12 16:40:17 +0000112#define sys_sync printargs
113#define sys_timer_delete printargs
114#define sys_timer_getoverrun printargs
115#define sys_vhangup printargs
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000116
117/* subcall entry points */
118#define sys_socketcall printargs
119#define sys_ipc printargs
120
121/* unimplemented */
Dmitry V. Levin9e384842011-10-12 16:40:17 +0000122#define sys_afs_syscall printargs
123#define sys_break printargs
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000124#define sys_ftime printargs
Dmitry V. Levin9e384842011-10-12 16:40:17 +0000125#define sys_get_kernel_syms printargs
126#define sys_gtty printargs
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000127#define sys_lock printargs
128#define sys_mpx printargs
Dmitry V. Levinf33ee912011-11-28 15:53:20 +0000129#define sys_nfsservctl printargs
Dmitry V. Levin9e384842011-10-12 16:40:17 +0000130#define sys_phys printargs
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000131#define sys_profil printargs
Dmitry V. Levin9e384842011-10-12 16:40:17 +0000132#define sys_prof printargs
Dmitry V. Levinb9e897d2011-10-12 19:03:29 +0000133#define sys_security printargs
Dmitry V. Levin9e384842011-10-12 16:40:17 +0000134#define sys_stty printargs
Dmitry V. Levinb9e897d2011-10-12 19:03:29 +0000135#define sys_tuxcall printargs
Dmitry V. Levin9e384842011-10-12 16:40:17 +0000136#define sys_ulimit printargs
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000137#define sys_ustat printargs
Dmitry V. Levinb9e897d2011-10-12 19:03:29 +0000138#define sys_vserver printargs
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000139
140/* deprecated */
Dmitry V. Levin9e384842011-10-12 16:40:17 +0000141#define sys_bdflush printargs
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000142#define sys_olduname printargs
143#define sys_oldolduname printargs
144
145/* no library support */
146#ifndef HAVE_SENDMSG
Dmitry V. Levin9e384842011-10-12 16:40:17 +0000147#define sys_sendmsg printargs
148#define sys_recvmsg printargs
Wichert Akkerman76baf7c1999-02-19 00:21:36 +0000149#endif
150
Roland McGrath8bcf3572003-01-24 04:39:46 +0000151#ifndef SYS_getpmsg
Dmitry V. Levin9e384842011-10-12 16:40:17 +0000152#define sys_getpmsg printargs
Roland McGrath8bcf3572003-01-24 04:39:46 +0000153#endif
154#ifndef SYS_putpmsg
Dmitry V. Levin9e384842011-10-12 16:40:17 +0000155#define sys_putpmsg printargs
Roland McGrath8bcf3572003-01-24 04:39:46 +0000156#endif
157
Roland McGrath79db8af2003-06-27 21:20:09 +0000158#ifndef HAVE_STRUCT___OLD_KERNEL_STAT
Dmitry V. Levin9e384842011-10-12 16:40:17 +0000159#define sys_oldstat printargs
160#define sys_oldfstat printargs
161#define sys_oldlstat printargs
Roland McGrath79db8af2003-06-27 21:20:09 +0000162#endif