blob: 4f87b6c879e9c2aa9dc5619d8ecdd1129d415aef [file] [log] [blame]
Ben Cheng655a7c02013-10-16 16:09:24 -07001/****************************************************************************
2 ****************************************************************************
3 ***
4 *** This header was automatically generated from a Linux kernel header
5 *** of the same name, to make information necessary for userspace to
6 *** call into the kernel available to libc. It contains only constants,
7 *** structures, and macros generated from the original header, and thus,
8 *** contains no copyrightable information.
9 ***
10 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
17 ****************************************************************************
18 ****************************************************************************/
19#include <asm/bitsperlong.h>
20#ifndef __SYSCALL
21#define __SYSCALL(x, y)
22#endif
23/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Elliott Hughes40596aa2013-11-05 14:54:29 -080024#if __BITS_PER_LONG == 32 || defined(__SYSCALL_COMPAT)
Ben Cheng655a7c02013-10-16 16:09:24 -070025#define __SC_3264(_nr, _32, _64) __SYSCALL(_nr, _32)
26#else
27#define __SC_3264(_nr, _32, _64) __SYSCALL(_nr, _64)
28/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
29#endif
30#ifdef __SYSCALL_COMPAT
31#define __SC_COMP(_nr, _sys, _comp) __SYSCALL(_nr, _comp)
32#define __SC_COMP_3264(_nr, _32, _64, _comp) __SYSCALL(_nr, _comp)
33/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
34#else
35#define __SC_COMP(_nr, _sys, _comp) __SYSCALL(_nr, _sys)
36#define __SC_COMP_3264(_nr, _32, _64, _comp) __SC_3264(_nr, _32, _64)
37#endif
38/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39#define __NR_io_setup 0
40#define __NR_io_destroy 1
41#define __NR_io_submit 2
42#define __NR_io_cancel 3
43/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
44#define __NR_io_getevents 4
45#define __NR_setxattr 5
46#define __NR_lsetxattr 6
47#define __NR_fsetxattr 7
48/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
49#define __NR_getxattr 8
50#define __NR_lgetxattr 9
51#define __NR_fgetxattr 10
52#define __NR_listxattr 11
53/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
54#define __NR_llistxattr 12
55#define __NR_flistxattr 13
56#define __NR_removexattr 14
57#define __NR_lremovexattr 15
58/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
59#define __NR_fremovexattr 16
60#define __NR_getcwd 17
61#define __NR_lookup_dcookie 18
62#define __NR_eventfd2 19
63/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
64#define __NR_epoll_create1 20
65#define __NR_epoll_ctl 21
66#define __NR_epoll_pwait 22
67#define __NR_dup 23
68/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
69#define __NR_dup3 24
70#define __NR3264_fcntl 25
71#define __NR_inotify_init1 26
72#define __NR_inotify_add_watch 27
73/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
74#define __NR_inotify_rm_watch 28
75#define __NR_ioctl 29
76#define __NR_ioprio_set 30
77#define __NR_ioprio_get 31
78/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
79#define __NR_flock 32
80#define __NR_mknodat 33
81#define __NR_mkdirat 34
82#define __NR_unlinkat 35
83/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
84#define __NR_symlinkat 36
85#define __NR_linkat 37
86#define __NR_renameat 38
87#define __NR_umount2 39
88/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
89#define __NR_mount 40
90#define __NR_pivot_root 41
91#define __NR_nfsservctl 42
92#define __NR3264_statfs 43
93/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
94#define __NR3264_fstatfs 44
95#define __NR3264_truncate 45
96#define __NR3264_ftruncate 46
97#define __NR_fallocate 47
98/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
99#define __NR_faccessat 48
100#define __NR_chdir 49
101#define __NR_fchdir 50
102#define __NR_chroot 51
103/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
104#define __NR_fchmod 52
105#define __NR_fchmodat 53
106#define __NR_fchownat 54
107#define __NR_fchown 55
108/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
109#define __NR_openat 56
110#define __NR_close 57
111#define __NR_vhangup 58
112#define __NR_pipe2 59
113/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
114#define __NR_quotactl 60
115#define __NR_getdents64 61
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700116#define __ARCH_WANT_COMPAT_SYS_GETDENTS64
Ben Cheng655a7c02013-10-16 16:09:24 -0700117#define __NR3264_lseek 62
Ben Cheng655a7c02013-10-16 16:09:24 -0700118/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700119#define __NR_read 63
Ben Cheng655a7c02013-10-16 16:09:24 -0700120#define __NR_write 64
121#define __NR_readv 65
122#define __NR_writev 66
Ben Cheng655a7c02013-10-16 16:09:24 -0700123/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700124#define __NR_pread64 67
Ben Cheng655a7c02013-10-16 16:09:24 -0700125#define __NR_pwrite64 68
126#define __NR_preadv 69
127#define __NR_pwritev 70
Ben Cheng655a7c02013-10-16 16:09:24 -0700128/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700129#define __NR3264_sendfile 71
Ben Cheng655a7c02013-10-16 16:09:24 -0700130#define __NR_pselect6 72
131#define __NR_ppoll 73
132#define __NR_signalfd4 74
Ben Cheng655a7c02013-10-16 16:09:24 -0700133/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700134#define __NR_vmsplice 75
Ben Cheng655a7c02013-10-16 16:09:24 -0700135#define __NR_splice 76
136#define __NR_tee 77
137#define __NR_readlinkat 78
Ben Cheng655a7c02013-10-16 16:09:24 -0700138/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700139#define __NR3264_fstatat 79
Ben Cheng655a7c02013-10-16 16:09:24 -0700140#define __NR3264_fstat 80
141#define __NR_sync 81
142#define __NR_fsync 82
Ben Cheng655a7c02013-10-16 16:09:24 -0700143/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700144#define __NR_fdatasync 83
Ben Cheng655a7c02013-10-16 16:09:24 -0700145#ifdef __ARCH_WANT_SYNC_FILE_RANGE2
146#define __NR_sync_file_range2 84
147#else
Ben Cheng655a7c02013-10-16 16:09:24 -0700148/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700149#define __NR_sync_file_range 84
Ben Cheng655a7c02013-10-16 16:09:24 -0700150#endif
151#define __NR_timerfd_create 85
152#define __NR_timerfd_settime 86
Ben Cheng655a7c02013-10-16 16:09:24 -0700153/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700154#define __NR_timerfd_gettime 87
Ben Cheng655a7c02013-10-16 16:09:24 -0700155#define __NR_utimensat 88
156#define __NR_acct 89
157#define __NR_capget 90
Ben Cheng655a7c02013-10-16 16:09:24 -0700158/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700159#define __NR_capset 91
Ben Cheng655a7c02013-10-16 16:09:24 -0700160#define __NR_personality 92
161#define __NR_exit 93
162#define __NR_exit_group 94
Ben Cheng655a7c02013-10-16 16:09:24 -0700163/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700164#define __NR_waitid 95
Ben Cheng655a7c02013-10-16 16:09:24 -0700165#define __NR_set_tid_address 96
166#define __NR_unshare 97
167#define __NR_futex 98
Ben Cheng655a7c02013-10-16 16:09:24 -0700168/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700169#define __NR_set_robust_list 99
Ben Cheng655a7c02013-10-16 16:09:24 -0700170#define __NR_get_robust_list 100
171#define __NR_nanosleep 101
172#define __NR_getitimer 102
Ben Cheng655a7c02013-10-16 16:09:24 -0700173/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700174#define __NR_setitimer 103
Ben Cheng655a7c02013-10-16 16:09:24 -0700175#define __NR_kexec_load 104
176#define __NR_init_module 105
177#define __NR_delete_module 106
Ben Cheng655a7c02013-10-16 16:09:24 -0700178/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700179#define __NR_timer_create 107
Ben Cheng655a7c02013-10-16 16:09:24 -0700180#define __NR_timer_gettime 108
181#define __NR_timer_getoverrun 109
182#define __NR_timer_settime 110
Ben Cheng655a7c02013-10-16 16:09:24 -0700183/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700184#define __NR_timer_delete 111
Ben Cheng655a7c02013-10-16 16:09:24 -0700185#define __NR_clock_settime 112
186#define __NR_clock_gettime 113
187#define __NR_clock_getres 114
Ben Cheng655a7c02013-10-16 16:09:24 -0700188/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700189#define __NR_clock_nanosleep 115
Ben Cheng655a7c02013-10-16 16:09:24 -0700190#define __NR_syslog 116
191#define __NR_ptrace 117
192#define __NR_sched_setparam 118
Ben Cheng655a7c02013-10-16 16:09:24 -0700193/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700194#define __NR_sched_setscheduler 119
Ben Cheng655a7c02013-10-16 16:09:24 -0700195#define __NR_sched_getscheduler 120
196#define __NR_sched_getparam 121
197#define __NR_sched_setaffinity 122
Ben Cheng655a7c02013-10-16 16:09:24 -0700198/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700199#define __NR_sched_getaffinity 123
Ben Cheng655a7c02013-10-16 16:09:24 -0700200#define __NR_sched_yield 124
201#define __NR_sched_get_priority_max 125
202#define __NR_sched_get_priority_min 126
Ben Cheng655a7c02013-10-16 16:09:24 -0700203/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700204#define __NR_sched_rr_get_interval 127
Ben Cheng655a7c02013-10-16 16:09:24 -0700205#define __NR_restart_syscall 128
206#define __NR_kill 129
207#define __NR_tkill 130
Ben Cheng655a7c02013-10-16 16:09:24 -0700208/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700209#define __NR_tgkill 131
Ben Cheng655a7c02013-10-16 16:09:24 -0700210#define __NR_sigaltstack 132
211#define __NR_rt_sigsuspend 133
212#define __NR_rt_sigaction 134
Ben Cheng655a7c02013-10-16 16:09:24 -0700213/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700214#define __NR_rt_sigprocmask 135
Ben Cheng655a7c02013-10-16 16:09:24 -0700215#define __NR_rt_sigpending 136
216#define __NR_rt_sigtimedwait 137
217#define __NR_rt_sigqueueinfo 138
Ben Cheng655a7c02013-10-16 16:09:24 -0700218/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700219#define __NR_rt_sigreturn 139
Ben Cheng655a7c02013-10-16 16:09:24 -0700220#define __NR_setpriority 140
221#define __NR_getpriority 141
222#define __NR_reboot 142
Ben Cheng655a7c02013-10-16 16:09:24 -0700223/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700224#define __NR_setregid 143
Ben Cheng655a7c02013-10-16 16:09:24 -0700225#define __NR_setgid 144
226#define __NR_setreuid 145
227#define __NR_setuid 146
Ben Cheng655a7c02013-10-16 16:09:24 -0700228/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700229#define __NR_setresuid 147
Ben Cheng655a7c02013-10-16 16:09:24 -0700230#define __NR_getresuid 148
231#define __NR_setresgid 149
232#define __NR_getresgid 150
Ben Cheng655a7c02013-10-16 16:09:24 -0700233/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700234#define __NR_setfsuid 151
Ben Cheng655a7c02013-10-16 16:09:24 -0700235#define __NR_setfsgid 152
236#define __NR_times 153
237#define __NR_setpgid 154
Ben Cheng655a7c02013-10-16 16:09:24 -0700238/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700239#define __NR_getpgid 155
Ben Cheng655a7c02013-10-16 16:09:24 -0700240#define __NR_getsid 156
241#define __NR_setsid 157
242#define __NR_getgroups 158
Ben Cheng655a7c02013-10-16 16:09:24 -0700243/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700244#define __NR_setgroups 159
Ben Cheng655a7c02013-10-16 16:09:24 -0700245#define __NR_uname 160
246#define __NR_sethostname 161
247#define __NR_setdomainname 162
Ben Cheng655a7c02013-10-16 16:09:24 -0700248/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700249#define __NR_getrlimit 163
Ben Cheng655a7c02013-10-16 16:09:24 -0700250#define __NR_setrlimit 164
251#define __NR_getrusage 165
252#define __NR_umask 166
Ben Cheng655a7c02013-10-16 16:09:24 -0700253/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700254#define __NR_prctl 167
Ben Cheng655a7c02013-10-16 16:09:24 -0700255#define __NR_getcpu 168
256#define __NR_gettimeofday 169
257#define __NR_settimeofday 170
Ben Cheng655a7c02013-10-16 16:09:24 -0700258/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700259#define __NR_adjtimex 171
Ben Cheng655a7c02013-10-16 16:09:24 -0700260#define __NR_getpid 172
261#define __NR_getppid 173
262#define __NR_getuid 174
Ben Cheng655a7c02013-10-16 16:09:24 -0700263/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700264#define __NR_geteuid 175
Ben Cheng655a7c02013-10-16 16:09:24 -0700265#define __NR_getgid 176
266#define __NR_getegid 177
267#define __NR_gettid 178
Ben Cheng655a7c02013-10-16 16:09:24 -0700268/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700269#define __NR_sysinfo 179
Ben Cheng655a7c02013-10-16 16:09:24 -0700270#define __NR_mq_open 180
271#define __NR_mq_unlink 181
272#define __NR_mq_timedsend 182
Ben Cheng655a7c02013-10-16 16:09:24 -0700273/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700274#define __NR_mq_timedreceive 183
Ben Cheng655a7c02013-10-16 16:09:24 -0700275#define __NR_mq_notify 184
276#define __NR_mq_getsetattr 185
277#define __NR_msgget 186
Ben Cheng655a7c02013-10-16 16:09:24 -0700278/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700279#define __NR_msgctl 187
Ben Cheng655a7c02013-10-16 16:09:24 -0700280#define __NR_msgrcv 188
281#define __NR_msgsnd 189
282#define __NR_semget 190
Ben Cheng655a7c02013-10-16 16:09:24 -0700283/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700284#define __NR_semctl 191
Ben Cheng655a7c02013-10-16 16:09:24 -0700285#define __NR_semtimedop 192
286#define __NR_semop 193
287#define __NR_shmget 194
Ben Cheng655a7c02013-10-16 16:09:24 -0700288/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700289#define __NR_shmctl 195
Ben Cheng655a7c02013-10-16 16:09:24 -0700290#define __NR_shmat 196
291#define __NR_shmdt 197
292#define __NR_socket 198
Ben Cheng655a7c02013-10-16 16:09:24 -0700293/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700294#define __NR_socketpair 199
Ben Cheng655a7c02013-10-16 16:09:24 -0700295#define __NR_bind 200
296#define __NR_listen 201
297#define __NR_accept 202
Ben Cheng655a7c02013-10-16 16:09:24 -0700298/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700299#define __NR_connect 203
Ben Cheng655a7c02013-10-16 16:09:24 -0700300#define __NR_getsockname 204
301#define __NR_getpeername 205
302#define __NR_sendto 206
Ben Cheng655a7c02013-10-16 16:09:24 -0700303/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700304#define __NR_recvfrom 207
Ben Cheng655a7c02013-10-16 16:09:24 -0700305#define __NR_setsockopt 208
306#define __NR_getsockopt 209
307#define __NR_shutdown 210
Ben Cheng655a7c02013-10-16 16:09:24 -0700308/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700309#define __NR_sendmsg 211
Ben Cheng655a7c02013-10-16 16:09:24 -0700310#define __NR_recvmsg 212
311#define __NR_readahead 213
312#define __NR_brk 214
Ben Cheng655a7c02013-10-16 16:09:24 -0700313/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700314#define __NR_munmap 215
Ben Cheng655a7c02013-10-16 16:09:24 -0700315#define __NR_mremap 216
316#define __NR_add_key 217
317#define __NR_request_key 218
Ben Cheng655a7c02013-10-16 16:09:24 -0700318/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700319#define __NR_keyctl 219
Ben Cheng655a7c02013-10-16 16:09:24 -0700320#define __NR_clone 220
321#define __NR_execve 221
322#define __NR3264_mmap 222
Ben Cheng655a7c02013-10-16 16:09:24 -0700323/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700324#define __NR3264_fadvise64 223
Ben Cheng655a7c02013-10-16 16:09:24 -0700325#ifndef __ARCH_NOMMU
326#define __NR_swapon 224
327#define __NR_swapoff 225
Ben Cheng655a7c02013-10-16 16:09:24 -0700328/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700329#define __NR_mprotect 226
Ben Cheng655a7c02013-10-16 16:09:24 -0700330#define __NR_msync 227
331#define __NR_mlock 228
332#define __NR_munlock 229
Ben Cheng655a7c02013-10-16 16:09:24 -0700333/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700334#define __NR_mlockall 230
Ben Cheng655a7c02013-10-16 16:09:24 -0700335#define __NR_munlockall 231
336#define __NR_mincore 232
337#define __NR_madvise 233
Ben Cheng655a7c02013-10-16 16:09:24 -0700338/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700339#define __NR_remap_file_pages 234
Ben Cheng655a7c02013-10-16 16:09:24 -0700340#define __NR_mbind 235
341#define __NR_get_mempolicy 236
342#define __NR_set_mempolicy 237
Ben Cheng655a7c02013-10-16 16:09:24 -0700343/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700344#define __NR_migrate_pages 238
Ben Cheng655a7c02013-10-16 16:09:24 -0700345#define __NR_move_pages 239
346#endif
347#define __NR_rt_tgsigqueueinfo 240
Ben Cheng655a7c02013-10-16 16:09:24 -0700348/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700349#define __NR_perf_event_open 241
Ben Cheng655a7c02013-10-16 16:09:24 -0700350#define __NR_accept4 242
351#define __NR_recvmmsg 243
352#define __NR_arch_specific_syscall 244
Ben Cheng655a7c02013-10-16 16:09:24 -0700353/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700354#define __NR_wait4 260
Ben Cheng655a7c02013-10-16 16:09:24 -0700355#define __NR_prlimit64 261
356#define __NR_fanotify_init 262
357#define __NR_fanotify_mark 263
Ben Cheng655a7c02013-10-16 16:09:24 -0700358/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700359#define __NR_name_to_handle_at 264
Ben Cheng655a7c02013-10-16 16:09:24 -0700360#define __NR_open_by_handle_at 265
361#define __NR_clock_adjtime 266
362#define __NR_syncfs 267
Ben Cheng655a7c02013-10-16 16:09:24 -0700363/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700364#define __NR_setns 268
Ben Cheng655a7c02013-10-16 16:09:24 -0700365#define __NR_sendmmsg 269
366#define __NR_process_vm_readv 270
367#define __NR_process_vm_writev 271
Ben Cheng655a7c02013-10-16 16:09:24 -0700368/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700369#define __NR_kcmp 272
Ben Cheng655a7c02013-10-16 16:09:24 -0700370#define __NR_finit_module 273
Christopher Ferris38062f92014-07-09 15:33:25 -0700371#define __NR_sched_setattr 274
372#define __NR_sched_getattr 275
Ben Cheng655a7c02013-10-16 16:09:24 -0700373/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700374#define __NR_renameat2 276
375#undef __NR_syscalls
376#define __NR_syscalls 277
Christopher Ferris38062f92014-07-09 15:33:25 -0700377#ifdef __ARCH_WANT_SYSCALL_NO_AT
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700378/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700379#define __NR_open 1024
380#define __NR_link 1025
381#define __NR_unlink 1026
382#define __NR_mknod 1027
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700383/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700384#define __NR_chmod 1028
385#define __NR_chown 1029
386#define __NR_mkdir 1030
387#define __NR_rmdir 1031
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700388/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700389#define __NR_lchown 1032
390#define __NR_access 1033
391#define __NR_rename 1034
392#define __NR_readlink 1035
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700393/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700394#define __NR_symlink 1036
395#define __NR_utimes 1037
396#define __NR3264_stat 1038
397#define __NR3264_lstat 1039
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700398/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700399#undef __NR_syscalls
400#define __NR_syscalls (__NR3264_lstat+1)
401#endif
402#ifdef __ARCH_WANT_SYSCALL_NO_FLAGS
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700403/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700404#define __NR_pipe 1040
405#define __NR_dup2 1041
406#define __NR_epoll_create 1042
407#define __NR_inotify_init 1043
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700408/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700409#define __NR_eventfd 1044
410#define __NR_signalfd 1045
411#undef __NR_syscalls
412#define __NR_syscalls (__NR_signalfd+1)
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700413/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700414#endif
Elliott Hughes40596aa2013-11-05 14:54:29 -0800415#if (__BITS_PER_LONG == 32 || defined(__SYSCALL_COMPAT)) && defined(__ARCH_WANT_SYSCALL_OFF_T)
Ben Cheng655a7c02013-10-16 16:09:24 -0700416#define __NR_sendfile 1046
417#define __NR_ftruncate 1047
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700418/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700419#define __NR_truncate 1048
420#define __NR_stat 1049
421#define __NR_lstat 1050
422#define __NR_fstat 1051
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700423/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700424#define __NR_fcntl 1052
425#define __NR_fadvise64 1053
426#define __ARCH_WANT_SYS_FADVISE64
427#define __NR_newfstatat 1054
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700428/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700429#define __ARCH_WANT_SYS_NEWFSTATAT
430#define __NR_fstatfs 1055
431#define __NR_statfs 1056
432#define __NR_lseek 1057
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700433/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700434#define __NR_mmap 1058
435#undef __NR_syscalls
436#define __NR_syscalls (__NR_mmap+1)
437#endif
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700438/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700439#ifdef __ARCH_WANT_SYSCALL_DEPRECATED
440#define __NR_alarm 1059
441#define __ARCH_WANT_SYS_ALARM
442#define __NR_getpgrp 1060
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700443/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700444#define __ARCH_WANT_SYS_GETPGRP
445#define __NR_pause 1061
446#define __ARCH_WANT_SYS_PAUSE
447#define __NR_time 1062
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700448/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700449#define __ARCH_WANT_SYS_TIME
450#define __ARCH_WANT_COMPAT_SYS_TIME
451#define __NR_utime 1063
452#define __ARCH_WANT_SYS_UTIME
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700453/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700454#define __NR_creat 1064
455#define __NR_getdents 1065
456#define __ARCH_WANT_SYS_GETDENTS
457#define __NR_futimesat 1066
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700458/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700459#define __NR_select 1067
460#define __ARCH_WANT_SYS_SELECT
461#define __NR_poll 1068
462#define __NR_epoll_wait 1069
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700463/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700464#define __NR_ustat 1070
465#define __NR_vfork 1071
466#define __NR_oldwait4 1072
467#define __NR_recv 1073
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700468/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700469#define __NR_send 1074
470#define __NR_bdflush 1075
471#define __NR_umount 1076
472#define __ARCH_WANT_SYS_OLDUMOUNT
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700473/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700474#define __NR_uselib 1077
475#define __NR__sysctl 1078
476#define __NR_fork 1079
477#undef __NR_syscalls
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700478/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700479#define __NR_syscalls (__NR_fork+1)
480#endif
Elliott Hughes40596aa2013-11-05 14:54:29 -0800481#if __BITS_PER_LONG == 64 && !defined(__SYSCALL_COMPAT)
Ben Cheng655a7c02013-10-16 16:09:24 -0700482#define __NR_fcntl __NR3264_fcntl
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700483/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700484#define __NR_statfs __NR3264_statfs
485#define __NR_fstatfs __NR3264_fstatfs
486#define __NR_truncate __NR3264_truncate
487#define __NR_ftruncate __NR3264_ftruncate
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700488/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700489#define __NR_lseek __NR3264_lseek
490#define __NR_sendfile __NR3264_sendfile
491#define __NR_newfstatat __NR3264_fstatat
492#define __NR_fstat __NR3264_fstat
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700493/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700494#define __NR_mmap __NR3264_mmap
495#define __NR_fadvise64 __NR3264_fadvise64
496#ifdef __NR3264_stat
497#define __NR_stat __NR3264_stat
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700498/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700499#define __NR_lstat __NR3264_lstat
500#endif
501#else
502#define __NR_fcntl64 __NR3264_fcntl
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700503/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700504#define __NR_statfs64 __NR3264_statfs
505#define __NR_fstatfs64 __NR3264_fstatfs
506#define __NR_truncate64 __NR3264_truncate
507#define __NR_ftruncate64 __NR3264_ftruncate
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700508/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700509#define __NR_llseek __NR3264_lseek
510#define __NR_sendfile64 __NR3264_sendfile
511#define __NR_fstatat64 __NR3264_fstatat
512#define __NR_fstat64 __NR3264_fstat
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700513/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700514#define __NR_mmap2 __NR3264_mmap
515#define __NR_fadvise64_64 __NR3264_fadvise64
516#ifdef __NR3264_stat
517#define __NR_stat64 __NR3264_stat
Christopher Ferrisba8d4f42014-09-03 19:56:49 -0700518/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
Ben Cheng655a7c02013-10-16 16:09:24 -0700519#define __NR_lstat64 __NR3264_lstat
520#endif
Ben Cheng655a7c02013-10-16 16:09:24 -0700521#endif