aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/include/asm/unistd32.h
diff options
context:
space:
mode:
authorCatalin Marinas <catalin.marinas@arm.com>2012-10-10 10:16:13 -0400
committerCatalin Marinas <catalin.marinas@arm.com>2012-10-11 05:39:08 -0400
commit4ed27ecfcac538b4c578eb7fe87b8bf775a5ff68 (patch)
tree8759e1fbc37535d5f7e3441e8f120ebbebe61d0c /arch/arm64/include/asm/unistd32.h
parent12250d843e8489ee00b5b7726da855e51694e792 (diff)
arm64: Remove unused definitions from asm/unistd32.h
This patch removes the compat __NR_* definitions from the unistd32.h file and only keeps those that are used by the AArch64 kernel with a new __NR_compat_* prefix. The additional wrapper definitions in arch/arm64/kernel/sys32.S have been removed and the actual wrapper names included in the asm/unistd32.h file. Signed-off-by: Catalin Marinas <catalin.marinas@arm.com> Acked-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/include/asm/unistd32.h')
-rw-r--r--arch/arm64/include/asm/unistd32.h1091
1 files changed, 384 insertions, 707 deletions
diff --git a/arch/arm64/include/asm/unistd32.h b/arch/arm64/include/asm/unistd32.h
index ba42d41fc5c2..3954ee504d3e 100644
--- a/arch/arm64/include/asm/unistd32.h
+++ b/arch/arm64/include/asm/unistd32.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * Based on arch/arm/include/asm/unistd.h 2 * AArch32 (compat) system call definitions.
3 * 3 *
4 * Copyright (C) 2001-2005 Russell King 4 * Copyright (C) 2001-2005 Russell King
5 * Copyright (C) 2012 ARM Ltd. 5 * Copyright (C) 2012 ARM Ltd.
@@ -21,715 +21,392 @@
21#define __SYSCALL(x, y) 21#define __SYSCALL(x, y)
22#endif 22#endif
23 23
24#ifdef __SYSCALL_COMPAT
25
26__SYSCALL(0, sys_restart_syscall)
27__SYSCALL(1, sys_exit)
28__SYSCALL(2, compat_sys_fork_wrapper)
29__SYSCALL(3, sys_read)
30__SYSCALL(4, sys_write)
31__SYSCALL(5, compat_sys_open)
32__SYSCALL(6, sys_close)
33__SYSCALL(7, sys_ni_syscall) /* 7 was sys_waitpid */
34__SYSCALL(8, sys_creat)
35__SYSCALL(9, sys_link)
36__SYSCALL(10, sys_unlink)
37__SYSCALL(11, compat_sys_execve_wrapper)
38__SYSCALL(12, sys_chdir)
39__SYSCALL(13, sys_ni_syscall) /* 13 was sys_time */
40__SYSCALL(14, sys_mknod)
41__SYSCALL(15, sys_chmod)
42__SYSCALL(16, sys_lchown16)
43__SYSCALL(17, sys_ni_syscall) /* 17 was sys_break */
44__SYSCALL(18, sys_ni_syscall) /* 18 was sys_stat */
45__SYSCALL(19, compat_sys_lseek_wrapper)
46__SYSCALL(20, sys_getpid)
47__SYSCALL(21, compat_sys_mount)
48__SYSCALL(22, sys_ni_syscall) /* 22 was sys_umount */
49__SYSCALL(23, sys_setuid16)
50__SYSCALL(24, sys_getuid16)
51__SYSCALL(25, sys_ni_syscall) /* 25 was sys_stime */
52__SYSCALL(26, compat_sys_ptrace)
53__SYSCALL(27, sys_ni_syscall) /* 27 was sys_alarm */
54__SYSCALL(28, sys_ni_syscall) /* 28 was sys_fstat */
55__SYSCALL(29, sys_pause)
56__SYSCALL(30, sys_ni_syscall) /* 30 was sys_utime */
57__SYSCALL(31, sys_ni_syscall) /* 31 was sys_stty */
58__SYSCALL(32, sys_ni_syscall) /* 32 was sys_gtty */
59__SYSCALL(33, sys_access)
60__SYSCALL(34, sys_nice)
61__SYSCALL(35, sys_ni_syscall) /* 35 was sys_ftime */
62__SYSCALL(36, sys_sync)
63__SYSCALL(37, sys_kill)
64__SYSCALL(38, sys_rename)
65__SYSCALL(39, sys_mkdir)
66__SYSCALL(40, sys_rmdir)
67__SYSCALL(41, sys_dup)
68__SYSCALL(42, sys_pipe)
69__SYSCALL(43, compat_sys_times)
70__SYSCALL(44, sys_ni_syscall) /* 44 was sys_prof */
71__SYSCALL(45, sys_brk)
72__SYSCALL(46, sys_setgid16)
73__SYSCALL(47, sys_getgid16)
74__SYSCALL(48, sys_ni_syscall) /* 48 was sys_signal */
75__SYSCALL(49, sys_geteuid16)
76__SYSCALL(50, sys_getegid16)
77__SYSCALL(51, sys_acct)
78__SYSCALL(52, sys_umount)
79__SYSCALL(53, sys_ni_syscall) /* 53 was sys_lock */
80__SYSCALL(54, compat_sys_ioctl)
81__SYSCALL(55, compat_sys_fcntl)
82__SYSCALL(56, sys_ni_syscall) /* 56 was sys_mpx */
83__SYSCALL(57, sys_setpgid)
84__SYSCALL(58, sys_ni_syscall) /* 58 was sys_ulimit */
85__SYSCALL(59, sys_ni_syscall) /* 59 was sys_olduname */
86__SYSCALL(60, sys_umask)
87__SYSCALL(61, sys_chroot)
88__SYSCALL(62, compat_sys_ustat)
89__SYSCALL(63, sys_dup2)
90__SYSCALL(64, sys_getppid)
91__SYSCALL(65, sys_getpgrp)
92__SYSCALL(66, sys_setsid)
93__SYSCALL(67, compat_sys_sigaction)
94__SYSCALL(68, sys_ni_syscall) /* 68 was sys_sgetmask */
95__SYSCALL(69, sys_ni_syscall) /* 69 was sys_ssetmask */
96__SYSCALL(70, sys_setreuid16)
97__SYSCALL(71, sys_setregid16)
98__SYSCALL(72, compat_sys_sigsuspend)
99__SYSCALL(73, compat_sys_sigpending)
100__SYSCALL(74, sys_sethostname)
101__SYSCALL(75, compat_sys_setrlimit)
102__SYSCALL(76, sys_ni_syscall) /* 76 was compat_sys_getrlimit */
103__SYSCALL(77, compat_sys_getrusage)
104__SYSCALL(78, compat_sys_gettimeofday)
105__SYSCALL(79, compat_sys_settimeofday)
106__SYSCALL(80, sys_getgroups16)
107__SYSCALL(81, sys_setgroups16)
108__SYSCALL(82, sys_ni_syscall) /* 82 was compat_sys_select */
109__SYSCALL(83, sys_symlink)
110__SYSCALL(84, sys_ni_syscall) /* 84 was sys_lstat */
111__SYSCALL(85, sys_readlink)
112__SYSCALL(86, sys_uselib)
113__SYSCALL(87, sys_swapon)
114__SYSCALL(88, sys_reboot)
115__SYSCALL(89, sys_ni_syscall) /* 89 was sys_readdir */
116__SYSCALL(90, sys_ni_syscall) /* 90 was sys_mmap */
117__SYSCALL(91, sys_munmap)
118__SYSCALL(92, sys_truncate)
119__SYSCALL(93, sys_ftruncate)
120__SYSCALL(94, sys_fchmod)
121__SYSCALL(95, sys_fchown16)
122__SYSCALL(96, sys_getpriority)
123__SYSCALL(97, sys_setpriority)
124__SYSCALL(98, sys_ni_syscall) /* 98 was sys_profil */
125__SYSCALL(99, compat_sys_statfs)
126__SYSCALL(100, compat_sys_fstatfs)
127__SYSCALL(101, sys_ni_syscall) /* 101 was sys_ioperm */
128__SYSCALL(102, sys_ni_syscall) /* 102 was sys_socketcall */
129__SYSCALL(103, sys_syslog)
130__SYSCALL(104, compat_sys_setitimer)
131__SYSCALL(105, compat_sys_getitimer)
132__SYSCALL(106, compat_sys_newstat)
133__SYSCALL(107, compat_sys_newlstat)
134__SYSCALL(108, compat_sys_newfstat)
135__SYSCALL(109, sys_ni_syscall) /* 109 was sys_uname */
136__SYSCALL(110, sys_ni_syscall) /* 110 was sys_iopl */
137__SYSCALL(111, sys_vhangup)
138__SYSCALL(112, sys_ni_syscall) /* 112 was sys_idle */
139__SYSCALL(113, sys_ni_syscall) /* 113 was sys_syscall */
140__SYSCALL(114, compat_sys_wait4)
141__SYSCALL(115, sys_swapoff)
142__SYSCALL(116, compat_sys_sysinfo)
143__SYSCALL(117, sys_ni_syscall) /* 117 was sys_ipc */
144__SYSCALL(118, sys_fsync)
145__SYSCALL(119, compat_sys_sigreturn_wrapper)
146__SYSCALL(120, compat_sys_clone_wrapper)
147__SYSCALL(121, sys_setdomainname)
148__SYSCALL(122, sys_newuname)
149__SYSCALL(123, sys_ni_syscall) /* 123 was sys_modify_ldt */
150__SYSCALL(124, compat_sys_adjtimex)
151__SYSCALL(125, sys_mprotect)
152__SYSCALL(126, compat_sys_sigprocmask)
153__SYSCALL(127, sys_ni_syscall) /* 127 was sys_create_module */
154__SYSCALL(128, sys_init_module)
155__SYSCALL(129, sys_delete_module)
156__SYSCALL(130, sys_ni_syscall) /* 130 was sys_get_kernel_syms */
157__SYSCALL(131, sys_quotactl)
158__SYSCALL(132, sys_getpgid)
159__SYSCALL(133, sys_fchdir)
160__SYSCALL(134, sys_bdflush)
161__SYSCALL(135, sys_sysfs)
162__SYSCALL(136, sys_personality)
163__SYSCALL(137, sys_ni_syscall) /* 137 was sys_afs_syscall */
164__SYSCALL(138, sys_setfsuid16)
165__SYSCALL(139, sys_setfsgid16)
166__SYSCALL(140, sys_llseek)
167__SYSCALL(141, compat_sys_getdents)
168__SYSCALL(142, compat_sys_select)
169__SYSCALL(143, sys_flock)
170__SYSCALL(144, sys_msync)
171__SYSCALL(145, compat_sys_readv)
172__SYSCALL(146, compat_sys_writev)
173__SYSCALL(147, sys_getsid)
174__SYSCALL(148, sys_fdatasync)
175__SYSCALL(149, compat_sys_sysctl)
176__SYSCALL(150, sys_mlock)
177__SYSCALL(151, sys_munlock)
178__SYSCALL(152, sys_mlockall)
179__SYSCALL(153, sys_munlockall)
180__SYSCALL(154, sys_sched_setparam)
181__SYSCALL(155, sys_sched_getparam)
182__SYSCALL(156, sys_sched_setscheduler)
183__SYSCALL(157, sys_sched_getscheduler)
184__SYSCALL(158, sys_sched_yield)
185__SYSCALL(159, sys_sched_get_priority_max)
186__SYSCALL(160, sys_sched_get_priority_min)
187__SYSCALL(161, compat_sys_sched_rr_get_interval)
188__SYSCALL(162, compat_sys_nanosleep)
189__SYSCALL(163, sys_mremap)
190__SYSCALL(164, sys_setresuid16)
191__SYSCALL(165, sys_getresuid16)
192__SYSCALL(166, sys_ni_syscall) /* 166 was sys_vm86 */
193__SYSCALL(167, sys_ni_syscall) /* 167 was sys_query_module */
194__SYSCALL(168, sys_poll)
195__SYSCALL(169, sys_ni_syscall)
196__SYSCALL(170, sys_setresgid16)
197__SYSCALL(171, sys_getresgid16)
198__SYSCALL(172, sys_prctl)
199__SYSCALL(173, compat_sys_rt_sigreturn_wrapper)
200__SYSCALL(174, compat_sys_rt_sigaction)
201__SYSCALL(175, compat_sys_rt_sigprocmask)
202__SYSCALL(176, compat_sys_rt_sigpending)
203__SYSCALL(177, compat_sys_rt_sigtimedwait)
204__SYSCALL(178, compat_sys_rt_sigqueueinfo)
205__SYSCALL(179, compat_sys_rt_sigsuspend)
206__SYSCALL(180, compat_sys_pread64_wrapper)
207__SYSCALL(181, compat_sys_pwrite64_wrapper)
208__SYSCALL(182, sys_chown16)
209__SYSCALL(183, sys_getcwd)
210__SYSCALL(184, sys_capget)
211__SYSCALL(185, sys_capset)
212__SYSCALL(186, compat_sys_sigaltstack_wrapper)
213__SYSCALL(187, compat_sys_sendfile)
214__SYSCALL(188, sys_ni_syscall) /* 188 reserved */
215__SYSCALL(189, sys_ni_syscall) /* 189 reserved */
216__SYSCALL(190, compat_sys_vfork_wrapper)
217__SYSCALL(191, compat_sys_getrlimit) /* SuS compliant getrlimit */
218__SYSCALL(192, sys_mmap_pgoff)
219__SYSCALL(193, compat_sys_truncate64_wrapper)
220__SYSCALL(194, compat_sys_ftruncate64_wrapper)
221__SYSCALL(195, sys_stat64)
222__SYSCALL(196, sys_lstat64)
223__SYSCALL(197, sys_fstat64)
224__SYSCALL(198, sys_lchown)
225__SYSCALL(199, sys_getuid)
226__SYSCALL(200, sys_getgid)
227__SYSCALL(201, sys_geteuid)
228__SYSCALL(202, sys_getegid)
229__SYSCALL(203, sys_setreuid)
230__SYSCALL(204, sys_setregid)
231__SYSCALL(205, sys_getgroups)
232__SYSCALL(206, sys_setgroups)
233__SYSCALL(207, sys_fchown)
234__SYSCALL(208, sys_setresuid)
235__SYSCALL(209, sys_getresuid)
236__SYSCALL(210, sys_setresgid)
237__SYSCALL(211, sys_getresgid)
238__SYSCALL(212, sys_chown)
239__SYSCALL(213, sys_setuid)
240__SYSCALL(214, sys_setgid)
241__SYSCALL(215, sys_setfsuid)
242__SYSCALL(216, sys_setfsgid)
243__SYSCALL(217, compat_sys_getdents64)
244__SYSCALL(218, sys_pivot_root)
245__SYSCALL(219, sys_mincore)
246__SYSCALL(220, sys_madvise)
247__SYSCALL(221, compat_sys_fcntl64)
248__SYSCALL(222, sys_ni_syscall) /* 222 for tux */
249__SYSCALL(223, sys_ni_syscall) /* 223 is unused */
250__SYSCALL(224, sys_gettid)
251__SYSCALL(225, compat_sys_readahead_wrapper)
252__SYSCALL(226, sys_setxattr)
253__SYSCALL(227, sys_lsetxattr)
254__SYSCALL(228, sys_fsetxattr)
255__SYSCALL(229, sys_getxattr)
256__SYSCALL(230, sys_lgetxattr)
257__SYSCALL(231, sys_fgetxattr)
258__SYSCALL(232, sys_listxattr)
259__SYSCALL(233, sys_llistxattr)
260__SYSCALL(234, sys_flistxattr)
261__SYSCALL(235, sys_removexattr)
262__SYSCALL(236, sys_lremovexattr)
263__SYSCALL(237, sys_fremovexattr)
264__SYSCALL(238, sys_tkill)
265__SYSCALL(239, sys_sendfile64)
266__SYSCALL(240, compat_sys_futex)
267__SYSCALL(241, compat_sys_sched_setaffinity)
268__SYSCALL(242, compat_sys_sched_getaffinity)
269__SYSCALL(243, compat_sys_io_setup)
270__SYSCALL(244, sys_io_destroy)
271__SYSCALL(245, compat_sys_io_getevents)
272__SYSCALL(246, compat_sys_io_submit)
273__SYSCALL(247, sys_io_cancel)
274__SYSCALL(248, sys_exit_group)
275__SYSCALL(249, compat_sys_lookup_dcookie)
276__SYSCALL(250, sys_epoll_create)
277__SYSCALL(251, sys_epoll_ctl)
278__SYSCALL(252, sys_epoll_wait)
279__SYSCALL(253, sys_remap_file_pages)
280__SYSCALL(254, sys_ni_syscall) /* 254 for set_thread_area */
281__SYSCALL(255, sys_ni_syscall) /* 255 for get_thread_area */
282__SYSCALL(256, sys_set_tid_address)
283__SYSCALL(257, compat_sys_timer_create)
284__SYSCALL(258, compat_sys_timer_settime)
285__SYSCALL(259, compat_sys_timer_gettime)
286__SYSCALL(260, sys_timer_getoverrun)
287__SYSCALL(261, sys_timer_delete)
288__SYSCALL(262, compat_sys_clock_settime)
289__SYSCALL(263, compat_sys_clock_gettime)
290__SYSCALL(264, compat_sys_clock_getres)
291__SYSCALL(265, compat_sys_clock_nanosleep)
292__SYSCALL(266, compat_sys_statfs64_wrapper)
293__SYSCALL(267, compat_sys_fstatfs64_wrapper)
294__SYSCALL(268, sys_tgkill)
295__SYSCALL(269, compat_sys_utimes)
296__SYSCALL(270, compat_sys_fadvise64_64_wrapper)
297__SYSCALL(271, sys_pciconfig_iobase)
298__SYSCALL(272, sys_pciconfig_read)
299__SYSCALL(273, sys_pciconfig_write)
300__SYSCALL(274, compat_sys_mq_open)
301__SYSCALL(275, sys_mq_unlink)
302__SYSCALL(276, compat_sys_mq_timedsend)
303__SYSCALL(277, compat_sys_mq_timedreceive)
304__SYSCALL(278, compat_sys_mq_notify)
305__SYSCALL(279, compat_sys_mq_getsetattr)
306__SYSCALL(280, compat_sys_waitid)
307__SYSCALL(281, sys_socket)
308__SYSCALL(282, sys_bind)
309__SYSCALL(283, sys_connect)
310__SYSCALL(284, sys_listen)
311__SYSCALL(285, sys_accept)
312__SYSCALL(286, sys_getsockname)
313__SYSCALL(287, sys_getpeername)
314__SYSCALL(288, sys_socketpair)
315__SYSCALL(289, sys_send)
316__SYSCALL(290, sys_sendto)
317__SYSCALL(291, compat_sys_recv)
318__SYSCALL(292, compat_sys_recvfrom)
319__SYSCALL(293, sys_shutdown)
320__SYSCALL(294, compat_sys_setsockopt)
321__SYSCALL(295, compat_sys_getsockopt)
322__SYSCALL(296, compat_sys_sendmsg)
323__SYSCALL(297, compat_sys_recvmsg)
324__SYSCALL(298, sys_semop)
325__SYSCALL(299, sys_semget)
326__SYSCALL(300, compat_sys_semctl)
327__SYSCALL(301, compat_sys_msgsnd)
328__SYSCALL(302, compat_sys_msgrcv)
329__SYSCALL(303, sys_msgget)
330__SYSCALL(304, compat_sys_msgctl)
331__SYSCALL(305, compat_sys_shmat)
332__SYSCALL(306, sys_shmdt)
333__SYSCALL(307, sys_shmget)
334__SYSCALL(308, compat_sys_shmctl)
335__SYSCALL(309, sys_add_key)
336__SYSCALL(310, sys_request_key)
337__SYSCALL(311, compat_sys_keyctl)
338__SYSCALL(312, compat_sys_semtimedop)
339__SYSCALL(313, sys_ni_syscall)
340__SYSCALL(314, sys_ioprio_set)
341__SYSCALL(315, sys_ioprio_get)
342__SYSCALL(316, sys_inotify_init)
343__SYSCALL(317, sys_inotify_add_watch)
344__SYSCALL(318, sys_inotify_rm_watch)
345__SYSCALL(319, compat_sys_mbind)
346__SYSCALL(320, compat_sys_get_mempolicy)
347__SYSCALL(321, compat_sys_set_mempolicy)
348__SYSCALL(322, compat_sys_openat)
349__SYSCALL(323, sys_mkdirat)
350__SYSCALL(324, sys_mknodat)
351__SYSCALL(325, sys_fchownat)
352__SYSCALL(326, compat_sys_futimesat)
353__SYSCALL(327, sys_fstatat64)
354__SYSCALL(328, sys_unlinkat)
355__SYSCALL(329, sys_renameat)
356__SYSCALL(330, sys_linkat)
357__SYSCALL(331, sys_symlinkat)
358__SYSCALL(332, sys_readlinkat)
359__SYSCALL(333, sys_fchmodat)
360__SYSCALL(334, sys_faccessat)
361__SYSCALL(335, compat_sys_pselect6)
362__SYSCALL(336, compat_sys_ppoll)
363__SYSCALL(337, sys_unshare)
364__SYSCALL(338, compat_sys_set_robust_list)
365__SYSCALL(339, compat_sys_get_robust_list)
366__SYSCALL(340, sys_splice)
367__SYSCALL(341, compat_sys_sync_file_range2_wrapper)
368__SYSCALL(342, sys_tee)
369__SYSCALL(343, compat_sys_vmsplice)
370__SYSCALL(344, compat_sys_move_pages)
371__SYSCALL(345, sys_getcpu)
372__SYSCALL(346, compat_sys_epoll_pwait)
373__SYSCALL(347, compat_sys_kexec_load)
374__SYSCALL(348, compat_sys_utimensat)
375__SYSCALL(349, compat_sys_signalfd)
376__SYSCALL(350, sys_timerfd_create)
377__SYSCALL(351, sys_eventfd)
378__SYSCALL(352, compat_sys_fallocate_wrapper)
379__SYSCALL(353, compat_sys_timerfd_settime)
380__SYSCALL(354, compat_sys_timerfd_gettime)
381__SYSCALL(355, compat_sys_signalfd4)
382__SYSCALL(356, sys_eventfd2)
383__SYSCALL(357, sys_epoll_create1)
384__SYSCALL(358, sys_dup3)
385__SYSCALL(359, sys_pipe2)
386__SYSCALL(360, sys_inotify_init1)
387__SYSCALL(361, compat_sys_preadv)
388__SYSCALL(362, compat_sys_pwritev)
389__SYSCALL(363, compat_sys_rt_tgsigqueueinfo)
390__SYSCALL(364, sys_perf_event_open)
391__SYSCALL(365, compat_sys_recvmmsg)
392__SYSCALL(366, sys_accept4)
393__SYSCALL(367, sys_fanotify_init)
394__SYSCALL(368, compat_sys_fanotify_mark_wrapper)
395__SYSCALL(369, sys_prlimit64)
396__SYSCALL(370, sys_name_to_handle_at)
397__SYSCALL(371, sys_open_by_handle_at)
398__SYSCALL(372, sys_clock_adjtime)
399__SYSCALL(373, sys_syncfs)
400
401#define __NR_compat_syscalls 374
402
24/* 403/*
25 * This file contains the system call numbers. 404 * Compat syscall numbers used by the AArch64 kernel.
26 */ 405 */
406#define __NR_compat_restart_syscall 0
407#define __NR_compat_sigreturn 119
408#define __NR_compat_rt_sigreturn 173
27 409
28#ifdef __SYSCALL_COMPAT
29
30#define __NR_restart_syscall 0
31__SYSCALL(__NR_restart_syscall, sys_restart_syscall)
32#define __NR_exit 1
33__SYSCALL(__NR_exit, sys_exit)
34#define __NR_fork 2
35__SYSCALL(__NR_fork, sys_fork)
36#define __NR_read 3
37__SYSCALL(__NR_read, sys_read)
38#define __NR_write 4
39__SYSCALL(__NR_write, sys_write)
40#define __NR_open 5
41__SYSCALL(__NR_open, sys_open)
42#define __NR_close 6
43__SYSCALL(__NR_close, sys_close)
44__SYSCALL(7, sys_ni_syscall) /* 7 was sys_waitpid */
45#define __NR_creat 8
46__SYSCALL(__NR_creat, sys_creat)
47#define __NR_link 9
48__SYSCALL(__NR_link, sys_link)
49#define __NR_unlink 10
50__SYSCALL(__NR_unlink, sys_unlink)
51#define __NR_execve 11
52__SYSCALL(__NR_execve, sys_execve)
53#define __NR_chdir 12
54__SYSCALL(__NR_chdir, sys_chdir)
55__SYSCALL(13, sys_ni_syscall) /* 13 was sys_time */
56#define __NR_mknod 14
57__SYSCALL(__NR_mknod, sys_mknod)
58#define __NR_chmod 15
59__SYSCALL(__NR_chmod, sys_chmod)
60#define __NR_lchown 16
61__SYSCALL(__NR_lchown, sys_lchown16)
62__SYSCALL(17, sys_ni_syscall) /* 17 was sys_break */
63__SYSCALL(18, sys_ni_syscall) /* 18 was sys_stat */
64#define __NR_lseek 19
65__SYSCALL(__NR_lseek, sys_lseek)
66#define __NR_getpid 20
67__SYSCALL(__NR_getpid, sys_getpid)
68#define __NR_mount 21
69__SYSCALL(__NR_mount, sys_mount)
70__SYSCALL(22, sys_ni_syscall) /* 22 was sys_umount */
71#define __NR_setuid 23
72__SYSCALL(__NR_setuid, sys_setuid16)
73#define __NR_getuid 24
74__SYSCALL(__NR_getuid, sys_getuid16)
75__SYSCALL(25, sys_ni_syscall) /* 25 was sys_stime */
76#define __NR_ptrace 26
77__SYSCALL(__NR_ptrace, sys_ptrace)
78__SYSCALL(27, sys_ni_syscall) /* 27 was sys_alarm */
79__SYSCALL(28, sys_ni_syscall) /* 28 was sys_fstat */
80#define __NR_pause 29
81__SYSCALL(__NR_pause, sys_pause)
82__SYSCALL(30, sys_ni_syscall) /* 30 was sys_utime */
83__SYSCALL(31, sys_ni_syscall) /* 31 was sys_stty */
84__SYSCALL(32, sys_ni_syscall) /* 32 was sys_gtty */
85#define __NR_access 33
86__SYSCALL(__NR_access, sys_access)
87#define __NR_nice 34
88__SYSCALL(__NR_nice, sys_nice)
89__SYSCALL(35, sys_ni_syscall) /* 35 was sys_ftime */
90#define __NR_sync 36
91__SYSCALL(__NR_sync, sys_sync)
92#define __NR_kill 37
93__SYSCALL(__NR_kill, sys_kill)
94#define __NR_rename 38
95__SYSCALL(__NR_rename, sys_rename)
96#define __NR_mkdir 39
97__SYSCALL(__NR_mkdir, sys_mkdir)
98#define __NR_rmdir 40
99__SYSCALL(__NR_rmdir, sys_rmdir)
100#define __NR_dup 41
101__SYSCALL(__NR_dup, sys_dup)
102#define __NR_pipe 42
103__SYSCALL(__NR_pipe, sys_pipe)
104#define __NR_times 43
105__SYSCALL(__NR_times, sys_times)
106__SYSCALL(44, sys_ni_syscall) /* 44 was sys_prof */
107#define __NR_brk 45
108__SYSCALL(__NR_brk, sys_brk)
109#define __NR_setgid 46
110__SYSCALL(__NR_setgid, sys_setgid16)
111#define __NR_getgid 47
112__SYSCALL(__NR_getgid, sys_getgid16)
113__SYSCALL(48, sys_ni_syscall) /* 48 was sys_signal */
114#define __NR_geteuid 49
115__SYSCALL(__NR_geteuid, sys_geteuid16)
116#define __NR_getegid 50
117__SYSCALL(__NR_getegid, sys_getegid16)
118#define __NR_acct 51
119__SYSCALL(__NR_acct, sys_acct)
120#define __NR_umount2 52
121__SYSCALL(__NR_umount2, sys_umount)
122__SYSCALL(53, sys_ni_syscall) /* 53 was sys_lock */
123#define __NR_ioctl 54
124__SYSCALL(__NR_ioctl, sys_ioctl)
125#define __NR_fcntl 55
126__SYSCALL(__NR_fcntl, sys_fcntl)
127__SYSCALL(56, sys_ni_syscall) /* 56 was sys_mpx */
128#define __NR_setpgid 57
129__SYSCALL(__NR_setpgid, sys_setpgid)
130__SYSCALL(58, sys_ni_syscall) /* 58 was sys_ulimit */
131__SYSCALL(59, sys_ni_syscall) /* 59 was sys_olduname */
132#define __NR_umask 60
133__SYSCALL(__NR_umask, sys_umask)
134#define __NR_chroot 61
135__SYSCALL(__NR_chroot, sys_chroot)
136#define __NR_ustat 62
137__SYSCALL(__NR_ustat, sys_ustat)
138#define __NR_dup2 63
139__SYSCALL(__NR_dup2, sys_dup2)
140#define __NR_getppid 64
141__SYSCALL(__NR_getppid, sys_getppid)
142#define __NR_getpgrp 65
143__SYSCALL(__NR_getpgrp, sys_getpgrp)
144#define __NR_setsid 66
145__SYSCALL(__NR_setsid, sys_setsid)
146#define __NR_sigaction 67
147__SYSCALL(__NR_sigaction, sys_sigaction)
148__SYSCALL(68, sys_ni_syscall) /* 68 was sys_sgetmask */
149__SYSCALL(69, sys_ni_syscall) /* 69 was sys_ssetmask */
150#define __NR_setreuid 70
151__SYSCALL(__NR_setreuid, sys_setreuid16)
152#define __NR_setregid 71
153__SYSCALL(__NR_setregid, sys_setregid16)
154#define __NR_sigsuspend 72
155__SYSCALL(__NR_sigsuspend, sys_sigsuspend)
156#define __NR_sigpending 73
157__SYSCALL(__NR_sigpending, sys_sigpending)
158#define __NR_sethostname 74
159__SYSCALL(__NR_sethostname, sys_sethostname)
160#define __NR_setrlimit 75
161__SYSCALL(__NR_setrlimit, sys_setrlimit)
162__SYSCALL(76, sys_ni_syscall) /* 76 was sys_getrlimit */
163#define __NR_getrusage 77
164__SYSCALL(__NR_getrusage, sys_getrusage)
165#define __NR_gettimeofday 78
166__SYSCALL(__NR_gettimeofday, sys_gettimeofday)
167#define __NR_settimeofday 79
168__SYSCALL(__NR_settimeofday, sys_settimeofday)
169#define __NR_getgroups 80
170__SYSCALL(__NR_getgroups, sys_getgroups16)
171#define __NR_setgroups 81
172__SYSCALL(__NR_setgroups, sys_setgroups16)
173__SYSCALL(82, sys_ni_syscall) /* 82 was sys_select */
174#define __NR_symlink 83
175__SYSCALL(__NR_symlink, sys_symlink)
176__SYSCALL(84, sys_ni_syscall) /* 84 was sys_lstat */
177#define __NR_readlink 85
178__SYSCALL(__NR_readlink, sys_readlink)
179#define __NR_uselib 86
180__SYSCALL(__NR_uselib, sys_uselib)
181#define __NR_swapon 87
182__SYSCALL(__NR_swapon, sys_swapon)
183#define __NR_reboot 88
184__SYSCALL(__NR_reboot, sys_reboot)
185__SYSCALL(89, sys_ni_syscall) /* 89 was sys_readdir */
186__SYSCALL(90, sys_ni_syscall) /* 90 was sys_mmap */
187#define __NR_munmap 91
188__SYSCALL(__NR_munmap, sys_munmap)
189#define __NR_truncate 92
190__SYSCALL(__NR_truncate, sys_truncate)
191#define __NR_ftruncate 93
192__SYSCALL(__NR_ftruncate, sys_ftruncate)
193#define __NR_fchmod 94
194__SYSCALL(__NR_fchmod, sys_fchmod)
195#define __NR_fchown 95
196__SYSCALL(__NR_fchown, sys_fchown16)
197#define __NR_getpriority 96
198__SYSCALL(__NR_getpriority, sys_getpriority)
199#define __NR_setpriority 97
200__SYSCALL(__NR_setpriority, sys_setpriority)
201__SYSCALL(98, sys_ni_syscall) /* 98 was sys_profil */
202#define __NR_statfs 99
203__SYSCALL(__NR_statfs, sys_statfs)
204#define __NR_fstatfs 100
205__SYSCALL(__NR_fstatfs, sys_fstatfs)
206__SYSCALL(101, sys_ni_syscall) /* 101 was sys_ioperm */
207__SYSCALL(102, sys_ni_syscall) /* 102 was sys_socketcall */
208#define __NR_syslog 103
209__SYSCALL(__NR_syslog, sys_syslog)
210#define __NR_setitimer 104
211__SYSCALL(__NR_setitimer, sys_setitimer)
212#define __NR_getitimer 105
213__SYSCALL(__NR_getitimer, sys_getitimer)
214#define __NR_stat 106
215__SYSCALL(__NR_stat, sys_newstat)
216#define __NR_lstat 107
217__SYSCALL(__NR_lstat, sys_newlstat)
218#define __NR_fstat 108
219__SYSCALL(__NR_fstat, sys_newfstat)
220__SYSCALL(109, sys_ni_syscall) /* 109 was sys_uname */
221__SYSCALL(110, sys_ni_syscall) /* 110 was sys_iopl */
222#define __NR_vhangup 111
223__SYSCALL(__NR_vhangup, sys_vhangup)
224__SYSCALL(112, sys_ni_syscall) /* 112 was sys_idle */
225__SYSCALL(113, sys_ni_syscall) /* 113 was sys_syscall */
226#define __NR_wait4 114
227__SYSCALL(__NR_wait4, sys_wait4)
228#define __NR_swapoff 115
229__SYSCALL(__NR_swapoff, sys_swapoff)
230#define __NR_sysinfo 116
231__SYSCALL(__NR_sysinfo, sys_sysinfo)
232__SYSCALL(117, sys_ni_syscall) /* 117 was sys_ipc */
233#define __NR_fsync 118
234__SYSCALL(__NR_fsync, sys_fsync)
235#define __NR_sigreturn 119
236__SYSCALL(__NR_sigreturn, sys_sigreturn)
237#define __NR_clone 120
238__SYSCALL(__NR_clone, sys_clone)
239#define __NR_setdomainname 121
240__SYSCALL(__NR_setdomainname, sys_setdomainname)
241#define __NR_uname 122
242__SYSCALL(__NR_uname, sys_newuname)
243__SYSCALL(123, sys_ni_syscall) /* 123 was sys_modify_ldt */
244#define __NR_adjtimex 124
245__SYSCALL(__NR_adjtimex, sys_adjtimex)
246#define __NR_mprotect 125
247__SYSCALL(__NR_mprotect, sys_mprotect)
248#define __NR_sigprocmask 126
249__SYSCALL(__NR_sigprocmask, sys_sigprocmask)
250__SYSCALL(127, sys_ni_syscall) /* 127 was sys_create_module */
251#define __NR_init_module 128
252__SYSCALL(__NR_init_module, sys_init_module)
253#define __NR_delete_module 129
254__SYSCALL(__NR_delete_module, sys_delete_module)
255__SYSCALL(130, sys_ni_syscall) /* 130 was sys_get_kernel_syms */
256#define __NR_quotactl 131
257__SYSCALL(__NR_quotactl, sys_quotactl)
258#define __NR_getpgid 132
259__SYSCALL(__NR_getpgid, sys_getpgid)
260#define __NR_fchdir 133
261__SYSCALL(__NR_fchdir, sys_fchdir)
262#define __NR_bdflush 134
263__SYSCALL(__NR_bdflush, sys_bdflush)
264#define __NR_sysfs 135
265__SYSCALL(__NR_sysfs, sys_sysfs)
266#define __NR_personality 136
267__SYSCALL(__NR_personality, sys_personality)
268__SYSCALL(137, sys_ni_syscall) /* 137 was sys_afs_syscall */
269#define __NR_setfsuid 138
270__SYSCALL(__NR_setfsuid, sys_setfsuid16)
271#define __NR_setfsgid 139
272__SYSCALL(__NR_setfsgid, sys_setfsgid16)
273#define __NR__llseek 140
274__SYSCALL(__NR__llseek, sys_llseek)
275#define __NR_getdents 141
276__SYSCALL(__NR_getdents, sys_getdents)
277#define __NR__newselect 142
278__SYSCALL(__NR__newselect, sys_select)
279#define __NR_flock 143
280__SYSCALL(__NR_flock, sys_flock)
281#define __NR_msync 144
282__SYSCALL(__NR_msync, sys_msync)
283#define __NR_readv 145
284__SYSCALL(__NR_readv, sys_readv)
285#define __NR_writev 146
286__SYSCALL(__NR_writev, sys_writev)
287#define __NR_getsid 147
288__SYSCALL(__NR_getsid, sys_getsid)
289#define __NR_fdatasync 148
290__SYSCALL(__NR_fdatasync, sys_fdatasync)
291#define __NR__sysctl 149
292__SYSCALL(__NR__sysctl, sys_sysctl)
293#define __NR_mlock 150
294__SYSCALL(__NR_mlock, sys_mlock)
295#define __NR_munlock 151
296__SYSCALL(__NR_munlock, sys_munlock)
297#define __NR_mlockall 152
298__SYSCALL(__NR_mlockall, sys_mlockall)
299#define __NR_munlockall 153
300__SYSCALL(__NR_munlockall, sys_munlockall)
301#define __NR_sched_setparam 154
302__SYSCALL(__NR_sched_setparam, sys_sched_setparam)
303#define __NR_sched_getparam 155
304__SYSCALL(__NR_sched_getparam, sys_sched_getparam)
305#define __NR_sched_setscheduler 156
306__SYSCALL(__NR_sched_setscheduler, sys_sched_setscheduler)
307#define __NR_sched_getscheduler 157
308__SYSCALL(__NR_sched_getscheduler, sys_sched_getscheduler)
309#define __NR_sched_yield 158
310__SYSCALL(__NR_sched_yield, sys_sched_yield)
311#define __NR_sched_get_priority_max 159
312__SYSCALL(__NR_sched_get_priority_max, sys_sched_get_priority_max)
313#define __NR_sched_get_priority_min 160
314__SYSCALL(__NR_sched_get_priority_min, sys_sched_get_priority_min)
315#define __NR_sched_rr_get_interval 161
316__SYSCALL(__NR_sched_rr_get_interval, sys_sched_rr_get_interval)
317#define __NR_nanosleep 162
318__SYSCALL(__NR_nanosleep, sys_nanosleep)
319#define __NR_mremap 163
320__SYSCALL(__NR_mremap, sys_mremap)
321#define __NR_setresuid 164
322__SYSCALL(__NR_setresuid, sys_setresuid16)
323#define __NR_getresuid 165
324__SYSCALL(__NR_getresuid, sys_getresuid16)
325__SYSCALL(166, sys_ni_syscall) /* 166 was sys_vm86 */
326__SYSCALL(167, sys_ni_syscall) /* 167 was sys_query_module */
327#define __NR_poll 168
328__SYSCALL(__NR_poll, sys_poll)
329#define __NR_nfsservctl 169
330__SYSCALL(__NR_nfsservctl, sys_ni_syscall)
331#define __NR_setresgid 170
332__SYSCALL(__NR_setresgid, sys_setresgid16)
333#define __NR_getresgid 171
334__SYSCALL(__NR_getresgid, sys_getresgid16)
335#define __NR_prctl 172
336__SYSCALL(__NR_prctl, sys_prctl)
337#define __NR_rt_sigreturn 173
338__SYSCALL(__NR_rt_sigreturn, sys_rt_sigreturn)
339#define __NR_rt_sigaction 174
340__SYSCALL(__NR_rt_sigaction, sys_rt_sigaction)
341#define __NR_rt_sigprocmask 175
342__SYSCALL(__NR_rt_sigprocmask, sys_rt_sigprocmask)
343#define __NR_rt_sigpending 176
344__SYSCALL(__NR_rt_sigpending, sys_rt_sigpending)
345#define __NR_rt_sigtimedwait 177
346__SYSCALL(__NR_rt_sigtimedwait, sys_rt_sigtimedwait)
347#define __NR_rt_sigqueueinfo 178
348__SYSCALL(__NR_rt_sigqueueinfo, sys_rt_sigqueueinfo)
349#define __NR_rt_sigsuspend 179
350__SYSCALL(__NR_rt_sigsuspend, sys_rt_sigsuspend)
351#define __NR_pread64 180
352__SYSCALL(__NR_pread64, sys_pread64)
353#define __NR_pwrite64 181
354__SYSCALL(__NR_pwrite64, sys_pwrite64)
355#define __NR_chown 182
356__SYSCALL(__NR_chown, sys_chown16)
357#define __NR_getcwd 183
358__SYSCALL(__NR_getcwd, sys_getcwd)
359#define __NR_capget 184
360__SYSCALL(__NR_capget, sys_capget)
361#define __NR_capset 185
362__SYSCALL(__NR_capset, sys_capset)
363#define __NR_sigaltstack 186
364__SYSCALL(__NR_sigaltstack, sys_sigaltstack)
365#define __NR_sendfile 187
366__SYSCALL(__NR_sendfile, sys_sendfile)
367__SYSCALL(188, sys_ni_syscall) /* 188 reserved */
368__SYSCALL(189, sys_ni_syscall) /* 189 reserved */
369#define __NR_vfork 190
370__SYSCALL(__NR_vfork, sys_vfork)
371#define __NR_ugetrlimit 191 /* SuS compliant getrlimit */
372__SYSCALL(__NR_ugetrlimit, sys_getrlimit)
373#define __NR_mmap2 192
374__SYSCALL(__NR_mmap2, sys_mmap2)
375#define __NR_truncate64 193
376__SYSCALL(__NR_truncate64, sys_truncate64)
377#define __NR_ftruncate64 194
378__SYSCALL(__NR_ftruncate64, sys_ftruncate64)
379#define __NR_stat64 195
380__SYSCALL(__NR_stat64, sys_stat64)
381#define __NR_lstat64 196
382__SYSCALL(__NR_lstat64, sys_lstat64)
383#define __NR_fstat64 197
384__SYSCALL(__NR_fstat64, sys_fstat64)
385#define __NR_lchown32 198
386__SYSCALL(__NR_lchown32, sys_lchown)
387#define __NR_getuid32 199
388__SYSCALL(__NR_getuid32, sys_getuid)
389#define __NR_getgid32 200
390__SYSCALL(__NR_getgid32, sys_getgid)
391#define __NR_geteuid32 201
392__SYSCALL(__NR_geteuid32, sys_geteuid)
393#define __NR_getegid32 202
394__SYSCALL(__NR_getegid32, sys_getegid)
395#define __NR_setreuid32 203
396__SYSCALL(__NR_setreuid32, sys_setreuid)
397#define __NR_setregid32 204
398__SYSCALL(__NR_setregid32, sys_setregid)
399#define __NR_getgroups32 205
400__SYSCALL(__NR_getgroups32, sys_getgroups)
401#define __NR_setgroups32 206
402__SYSCALL(__NR_setgroups32, sys_setgroups)
403#define __NR_fchown32 207
404__SYSCALL(__NR_fchown32, sys_fchown)
405#define __NR_setresuid32 208
406__SYSCALL(__NR_setresuid32, sys_setresuid)
407#define __NR_getresuid32 209
408__SYSCALL(__NR_getresuid32, sys_getresuid)
409#define __NR_setresgid32 210
410__SYSCALL(__NR_setresgid32, sys_setresgid)
411#define __NR_getresgid32 211
412__SYSCALL(__NR_getresgid32, sys_getresgid)
413#define __NR_chown32 212
414__SYSCALL(__NR_chown32, sys_chown)
415#define __NR_setuid32 213
416__SYSCALL(__NR_setuid32, sys_setuid)
417#define __NR_setgid32 214
418__SYSCALL(__NR_setgid32, sys_setgid)
419#define __NR_setfsuid32 215
420__SYSCALL(__NR_setfsuid32, sys_setfsuid)
421#define __NR_setfsgid32 216
422__SYSCALL(__NR_setfsgid32, sys_setfsgid)
423#define __NR_getdents64 217
424__SYSCALL(__NR_getdents64, sys_getdents64)
425#define __NR_pivot_root 218
426__SYSCALL(__NR_pivot_root, sys_pivot_root)
427#define __NR_mincore 219
428__SYSCALL(__NR_mincore, sys_mincore)
429#define __NR_madvise 220
430__SYSCALL(__NR_madvise, sys_madvise)
431#define __NR_fcntl64 221
432__SYSCALL(__NR_fcntl64, sys_fcntl64)
433__SYSCALL(222, sys_ni_syscall) /* 222 for tux */
434__SYSCALL(223, sys_ni_syscall) /* 223 is unused */
435#define __NR_gettid 224
436__SYSCALL(__NR_gettid, sys_gettid)
437#define __NR_readahead 225
438__SYSCALL(__NR_readahead, sys_readahead)
439#define __NR_setxattr 226
440__SYSCALL(__NR_setxattr, sys_setxattr)
441#define __NR_lsetxattr 227
442__SYSCALL(__NR_lsetxattr, sys_lsetxattr)
443#define __NR_fsetxattr 228
444__SYSCALL(__NR_fsetxattr, sys_fsetxattr)
445#define __NR_getxattr 229
446__SYSCALL(__NR_getxattr, sys_getxattr)
447#define __NR_lgetxattr 230
448__SYSCALL(__NR_lgetxattr, sys_lgetxattr)
449#define __NR_fgetxattr 231
450__SYSCALL(__NR_fgetxattr, sys_fgetxattr)
451#define __NR_listxattr 232
452__SYSCALL(__NR_listxattr, sys_listxattr)
453#define __NR_llistxattr 233
454__SYSCALL(__NR_llistxattr, sys_llistxattr)
455#define __NR_flistxattr 234
456__SYSCALL(__NR_flistxattr, sys_flistxattr)
457#define __NR_removexattr 235
458__SYSCALL(__NR_removexattr, sys_removexattr)
459#define __NR_lremovexattr 236
460__SYSCALL(__NR_lremovexattr, sys_lremovexattr)
461#define __NR_fremovexattr 237
462__SYSCALL(__NR_fremovexattr, sys_fremovexattr)
463#define __NR_tkill 238
464__SYSCALL(__NR_tkill, sys_tkill)
465#define __NR_sendfile64 239
466__SYSCALL(__NR_sendfile64, sys_sendfile64)
467#define __NR_futex 240
468__SYSCALL(__NR_futex, sys_futex)
469#define __NR_sched_setaffinity 241
470__SYSCALL(__NR_sched_setaffinity, sys_sched_setaffinity)
471#define __NR_sched_getaffinity 242
472__SYSCALL(__NR_sched_getaffinity, sys_sched_getaffinity)
473#define __NR_io_setup 243
474__SYSCALL(__NR_io_setup, sys_io_setup)
475#define __NR_io_destroy 244
476__SYSCALL(__NR_io_destroy, sys_io_destroy)
477#define __NR_io_getevents 245
478__SYSCALL(__NR_io_getevents, sys_io_getevents)
479#define __NR_io_submit 246
480__SYSCALL(__NR_io_submit, sys_io_submit)
481#define __NR_io_cancel 247
482__SYSCALL(__NR_io_cancel, sys_io_cancel)
483#define __NR_exit_group 248
484__SYSCALL(__NR_exit_group, sys_exit_group)
485#define __NR_lookup_dcookie 249
486__SYSCALL(__NR_lookup_dcookie, sys_lookup_dcookie)
487#define __NR_epoll_create 250
488__SYSCALL(__NR_epoll_create, sys_epoll_create)
489#define __NR_epoll_ctl 251
490__SYSCALL(__NR_epoll_ctl, sys_epoll_ctl)
491#define __NR_epoll_wait 252
492__SYSCALL(__NR_epoll_wait, sys_epoll_wait)
493#define __NR_remap_file_pages 253
494__SYSCALL(__NR_remap_file_pages, sys_remap_file_pages)
495__SYSCALL(254, sys_ni_syscall) /* 254 for set_thread_area */
496__SYSCALL(255, sys_ni_syscall) /* 255 for get_thread_area */
497#define __NR_set_tid_address 256
498__SYSCALL(__NR_set_tid_address, sys_set_tid_address)
499#define __NR_timer_create 257
500__SYSCALL(__NR_timer_create, sys_timer_create)
501#define __NR_timer_settime 258
502__SYSCALL(__NR_timer_settime, sys_timer_settime)
503#define __NR_timer_gettime 259
504__SYSCALL(__NR_timer_gettime, sys_timer_gettime)
505#define __NR_timer_getoverrun 260
506__SYSCALL(__NR_timer_getoverrun, sys_timer_getoverrun)
507#define __NR_timer_delete 261
508__SYSCALL(__NR_timer_delete, sys_timer_delete)
509#define __NR_clock_settime 262
510__SYSCALL(__NR_clock_settime, sys_clock_settime)
511#define __NR_clock_gettime 263
512__SYSCALL(__NR_clock_gettime, sys_clock_gettime)
513#define __NR_clock_getres 264
514__SYSCALL(__NR_clock_getres, sys_clock_getres)
515#define __NR_clock_nanosleep 265
516__SYSCALL(__NR_clock_nanosleep, sys_clock_nanosleep)
517#define __NR_statfs64 266
518__SYSCALL(__NR_statfs64, sys_statfs64)
519#define __NR_fstatfs64 267
520__SYSCALL(__NR_fstatfs64, sys_fstatfs64)
521#define __NR_tgkill 268
522__SYSCALL(__NR_tgkill, sys_tgkill)
523#define __NR_utimes 269
524__SYSCALL(__NR_utimes, sys_utimes)
525#define __NR_fadvise64 270
526__SYSCALL(__NR_fadvise64, sys_fadvise64_64)
527#define __NR_pciconfig_iobase 271
528__SYSCALL(__NR_pciconfig_iobase, sys_pciconfig_iobase)
529#define __NR_pciconfig_read 272
530__SYSCALL(__NR_pciconfig_read, sys_pciconfig_read)
531#define __NR_pciconfig_write 273
532__SYSCALL(__NR_pciconfig_write, sys_pciconfig_write)
533#define __NR_mq_open 274
534__SYSCALL(__NR_mq_open, sys_mq_open)
535#define __NR_mq_unlink 275
536__SYSCALL(__NR_mq_unlink, sys_mq_unlink)
537#define __NR_mq_timedsend 276
538__SYSCALL(__NR_mq_timedsend, sys_mq_timedsend)
539#define __NR_mq_timedreceive 277
540__SYSCALL(__NR_mq_timedreceive, sys_mq_timedreceive)
541#define __NR_mq_notify 278
542__SYSCALL(__NR_mq_notify, sys_mq_notify)
543#define __NR_mq_getsetattr 279
544__SYSCALL(__NR_mq_getsetattr, sys_mq_getsetattr)
545#define __NR_waitid 280
546__SYSCALL(__NR_waitid, sys_waitid)
547#define __NR_socket 281
548__SYSCALL(__NR_socket, sys_socket)
549#define __NR_bind 282
550__SYSCALL(__NR_bind, sys_bind)
551#define __NR_connect 283
552__SYSCALL(__NR_connect, sys_connect)
553#define __NR_listen 284
554__SYSCALL(__NR_listen, sys_listen)
555#define __NR_accept 285
556__SYSCALL(__NR_accept, sys_accept)
557#define __NR_getsockname 286
558__SYSCALL(__NR_getsockname, sys_getsockname)
559#define __NR_getpeername 287
560__SYSCALL(__NR_getpeername, sys_getpeername)
561#define __NR_socketpair 288
562__SYSCALL(__NR_socketpair, sys_socketpair)
563#define __NR_send 289
564__SYSCALL(__NR_send, sys_send)
565#define __NR_sendto 290
566__SYSCALL(__NR_sendto, sys_sendto)
567#define __NR_recv 291
568__SYSCALL(__NR_recv, sys_recv)
569#define __NR_recvfrom 292
570__SYSCALL(__NR_recvfrom, sys_recvfrom)
571#define __NR_shutdown 293
572__SYSCALL(__NR_shutdown, sys_shutdown)
573#define __NR_setsockopt 294
574__SYSCALL(__NR_setsockopt, sys_setsockopt)
575#define __NR_getsockopt 295
576__SYSCALL(__NR_getsockopt, sys_getsockopt)
577#define __NR_sendmsg 296
578__SYSCALL(__NR_sendmsg, sys_sendmsg)
579#define __NR_recvmsg 297
580__SYSCALL(__NR_recvmsg, sys_recvmsg)
581#define __NR_semop 298
582__SYSCALL(__NR_semop, sys_semop)
583#define __NR_semget 299
584__SYSCALL(__NR_semget, sys_semget)
585#define __NR_semctl 300
586__SYSCALL(__NR_semctl, sys_semctl)
587#define __NR_msgsnd 301
588__SYSCALL(__NR_msgsnd, sys_msgsnd)
589#define __NR_msgrcv 302
590__SYSCALL(__NR_msgrcv, sys_msgrcv)
591#define __NR_msgget 303
592__SYSCALL(__NR_msgget, sys_msgget)
593#define __NR_msgctl 304
594__SYSCALL(__NR_msgctl, sys_msgctl)
595#define __NR_shmat 305
596__SYSCALL(__NR_shmat, sys_shmat)
597#define __NR_shmdt 306
598__SYSCALL(__NR_shmdt, sys_shmdt)
599#define __NR_shmget 307
600__SYSCALL(__NR_shmget, sys_shmget)
601#define __NR_shmctl 308
602__SYSCALL(__NR_shmctl, sys_shmctl)
603#define __NR_add_key 309
604__SYSCALL(__NR_add_key, sys_add_key)
605#define __NR_request_key 310
606__SYSCALL(__NR_request_key, sys_request_key)
607#define __NR_keyctl 311
608__SYSCALL(__NR_keyctl, sys_keyctl)
609#define __NR_semtimedop 312
610__SYSCALL(__NR_semtimedop, sys_semtimedop)
611#define __NR_vserver 313
612__SYSCALL(__NR_vserver, sys_ni_syscall)
613#define __NR_ioprio_set 314
614__SYSCALL(__NR_ioprio_set, sys_ioprio_set)
615#define __NR_ioprio_get 315
616__SYSCALL(__NR_ioprio_get, sys_ioprio_get)
617#define __NR_inotify_init 316
618__SYSCALL(__NR_inotify_init, sys_inotify_init)
619#define __NR_inotify_add_watch 317
620__SYSCALL(__NR_inotify_add_watch, sys_inotify_add_watch)
621#define __NR_inotify_rm_watch 318
622__SYSCALL(__NR_inotify_rm_watch, sys_inotify_rm_watch)
623#define __NR_mbind 319
624__SYSCALL(__NR_mbind, sys_mbind)
625#define __NR_get_mempolicy 320
626__SYSCALL(__NR_get_mempolicy, sys_get_mempolicy)
627#define __NR_set_mempolicy 321
628__SYSCALL(__NR_set_mempolicy, sys_set_mempolicy)
629#define __NR_openat 322
630__SYSCALL(__NR_openat, sys_openat)
631#define __NR_mkdirat 323
632__SYSCALL(__NR_mkdirat, sys_mkdirat)
633#define __NR_mknodat 324
634__SYSCALL(__NR_mknodat, sys_mknodat)
635#define __NR_fchownat 325
636__SYSCALL(__NR_fchownat, sys_fchownat)
637#define __NR_futimesat 326
638__SYSCALL(__NR_futimesat, sys_futimesat)
639#define __NR_fstatat64 327
640__SYSCALL(__NR_fstatat64, sys_fstatat64)
641#define __NR_unlinkat 328
642__SYSCALL(__NR_unlinkat, sys_unlinkat)
643#define __NR_renameat 329
644__SYSCALL(__NR_renameat, sys_renameat)
645#define __NR_linkat 330
646__SYSCALL(__NR_linkat, sys_linkat)
647#define __NR_symlinkat 331
648__SYSCALL(__NR_symlinkat, sys_symlinkat)
649#define __NR_readlinkat 332
650__SYSCALL(__NR_readlinkat, sys_readlinkat)
651#define __NR_fchmodat 333
652__SYSCALL(__NR_fchmodat, sys_fchmodat)
653#define __NR_faccessat 334
654__SYSCALL(__NR_faccessat, sys_faccessat)
655#define __NR_pselect6 335
656__SYSCALL(__NR_pselect6, sys_pselect6)
657#define __NR_ppoll 336
658__SYSCALL(__NR_ppoll, sys_ppoll)
659#define __NR_unshare 337
660__SYSCALL(__NR_unshare, sys_unshare)
661#define __NR_set_robust_list 338
662__SYSCALL(__NR_set_robust_list, sys_set_robust_list)
663#define __NR_get_robust_list 339
664__SYSCALL(__NR_get_robust_list, sys_get_robust_list)
665#define __NR_splice 340
666__SYSCALL(__NR_splice, sys_splice)
667#define __NR_sync_file_range2 341
668__SYSCALL(__NR_sync_file_range2, sys_sync_file_range2)
669#define __NR_tee 342
670__SYSCALL(__NR_tee, sys_tee)
671#define __NR_vmsplice 343
672__SYSCALL(__NR_vmsplice, sys_vmsplice)
673#define __NR_move_pages 344
674__SYSCALL(__NR_move_pages, sys_move_pages)
675#define __NR_getcpu 345
676__SYSCALL(__NR_getcpu, sys_getcpu)
677#define __NR_epoll_pwait 346
678__SYSCALL(__NR_epoll_pwait, sys_epoll_pwait)
679#define __NR_kexec_load 347
680__SYSCALL(__NR_kexec_load, sys_kexec_load)
681#define __NR_utimensat 348
682__SYSCALL(__NR_utimensat, sys_utimensat)
683#define __NR_signalfd 349
684__SYSCALL(__NR_signalfd, sys_signalfd)
685#define __NR_timerfd_create 350
686__SYSCALL(__NR_timerfd_create, sys_timerfd_create)
687#define __NR_eventfd 351
688__SYSCALL(__NR_eventfd, sys_eventfd)
689#define __NR_fallocate 352
690__SYSCALL(__NR_fallocate, sys_fallocate)
691#define __NR_timerfd_settime 353
692__SYSCALL(__NR_timerfd_settime, sys_timerfd_settime)
693#define __NR_timerfd_gettime 354
694__SYSCALL(__NR_timerfd_gettime, sys_timerfd_gettime)
695#define __NR_signalfd4 355
696__SYSCALL(__NR_signalfd4, sys_signalfd4)
697#define __NR_eventfd2 356
698__SYSCALL(__NR_eventfd2, sys_eventfd2)
699#define __NR_epoll_create1 357
700__SYSCALL(__NR_epoll_create1, sys_epoll_create1)
701#define __NR_dup3 358
702__SYSCALL(__NR_dup3, sys_dup3)
703#define __NR_pipe2 359
704__SYSCALL(__NR_pipe2, sys_pipe2)
705#define __NR_inotify_init1 360
706__SYSCALL(__NR_inotify_init1, sys_inotify_init1)
707#define __NR_preadv 361
708__SYSCALL(__NR_preadv, sys_preadv)
709#define __NR_pwritev 362
710__SYSCALL(__NR_pwritev, sys_pwritev)
711#define __NR_rt_tgsigqueueinfo 363
712__SYSCALL(__NR_rt_tgsigqueueinfo, sys_rt_tgsigqueueinfo)
713#define __NR_perf_event_open 364
714__SYSCALL(__NR_perf_event_open, sys_perf_event_open)
715#define __NR_recvmmsg 365
716__SYSCALL(__NR_recvmmsg, sys_recvmmsg)
717#define __NR_accept4 366
718__SYSCALL(__NR_accept4, sys_accept4)
719#define __NR_fanotify_init 367
720__SYSCALL(__NR_fanotify_init, sys_fanotify_init)
721#define __NR_fanotify_mark 368
722__SYSCALL(__NR_fanotify_mark, sys_fanotify_mark)
723#define __NR_prlimit64 369
724__SYSCALL(__NR_prlimit64, sys_prlimit64)
725#define __NR_name_to_handle_at 370
726__SYSCALL(__NR_name_to_handle_at, sys_name_to_handle_at)
727#define __NR_open_by_handle_at 371
728__SYSCALL(__NR_open_by_handle_at, sys_open_by_handle_at)
729#define __NR_clock_adjtime 372
730__SYSCALL(__NR_clock_adjtime, sys_clock_adjtime)
731#define __NR_syncfs 373
732__SYSCALL(__NR_syncfs, sys_syncfs)
733 410
734/* 411/*
735 * The following SVCs are ARM private. 412 * The following SVCs are ARM private.