Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 1 | /**************************************************************************** |
| 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 Hughes | 40596aa | 2013-11-05 14:54:29 -0800 | [diff] [blame^] | 24 | #if __BITS_PER_LONG == 32 || defined(__SYSCALL_COMPAT) |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 25 | #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 |
| 116 | #define __NR3264_lseek 62 |
| 117 | #define __NR_read 63 |
| 118 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 119 | #define __NR_write 64 |
| 120 | #define __NR_readv 65 |
| 121 | #define __NR_writev 66 |
| 122 | #define __NR_pread64 67 |
| 123 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 124 | #define __NR_pwrite64 68 |
| 125 | #define __NR_preadv 69 |
| 126 | #define __NR_pwritev 70 |
| 127 | #define __NR3264_sendfile 71 |
| 128 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 129 | #define __NR_pselect6 72 |
| 130 | #define __NR_ppoll 73 |
| 131 | #define __NR_signalfd4 74 |
| 132 | #define __NR_vmsplice 75 |
| 133 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 134 | #define __NR_splice 76 |
| 135 | #define __NR_tee 77 |
| 136 | #define __NR_readlinkat 78 |
| 137 | #define __NR3264_fstatat 79 |
| 138 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 139 | #define __NR3264_fstat 80 |
| 140 | #define __NR_sync 81 |
| 141 | #define __NR_fsync 82 |
| 142 | #define __NR_fdatasync 83 |
| 143 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 144 | #ifdef __ARCH_WANT_SYNC_FILE_RANGE2 |
| 145 | #define __NR_sync_file_range2 84 |
| 146 | #else |
| 147 | #define __NR_sync_file_range 84 |
| 148 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 149 | #endif |
| 150 | #define __NR_timerfd_create 85 |
| 151 | #define __NR_timerfd_settime 86 |
| 152 | #define __NR_timerfd_gettime 87 |
| 153 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 154 | #define __NR_utimensat 88 |
| 155 | #define __NR_acct 89 |
| 156 | #define __NR_capget 90 |
| 157 | #define __NR_capset 91 |
| 158 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 159 | #define __NR_personality 92 |
| 160 | #define __NR_exit 93 |
| 161 | #define __NR_exit_group 94 |
| 162 | #define __NR_waitid 95 |
| 163 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 164 | #define __NR_set_tid_address 96 |
| 165 | #define __NR_unshare 97 |
| 166 | #define __NR_futex 98 |
| 167 | #define __NR_set_robust_list 99 |
| 168 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 169 | #define __NR_get_robust_list 100 |
| 170 | #define __NR_nanosleep 101 |
| 171 | #define __NR_getitimer 102 |
| 172 | #define __NR_setitimer 103 |
| 173 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 174 | #define __NR_kexec_load 104 |
| 175 | #define __NR_init_module 105 |
| 176 | #define __NR_delete_module 106 |
| 177 | #define __NR_timer_create 107 |
| 178 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 179 | #define __NR_timer_gettime 108 |
| 180 | #define __NR_timer_getoverrun 109 |
| 181 | #define __NR_timer_settime 110 |
| 182 | #define __NR_timer_delete 111 |
| 183 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 184 | #define __NR_clock_settime 112 |
| 185 | #define __NR_clock_gettime 113 |
| 186 | #define __NR_clock_getres 114 |
| 187 | #define __NR_clock_nanosleep 115 |
| 188 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 189 | #define __NR_syslog 116 |
| 190 | #define __NR_ptrace 117 |
| 191 | #define __NR_sched_setparam 118 |
| 192 | #define __NR_sched_setscheduler 119 |
| 193 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 194 | #define __NR_sched_getscheduler 120 |
| 195 | #define __NR_sched_getparam 121 |
| 196 | #define __NR_sched_setaffinity 122 |
| 197 | #define __NR_sched_getaffinity 123 |
| 198 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 199 | #define __NR_sched_yield 124 |
| 200 | #define __NR_sched_get_priority_max 125 |
| 201 | #define __NR_sched_get_priority_min 126 |
| 202 | #define __NR_sched_rr_get_interval 127 |
| 203 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 204 | #define __NR_restart_syscall 128 |
| 205 | #define __NR_kill 129 |
| 206 | #define __NR_tkill 130 |
| 207 | #define __NR_tgkill 131 |
| 208 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 209 | #define __NR_sigaltstack 132 |
| 210 | #define __NR_rt_sigsuspend 133 |
| 211 | #define __NR_rt_sigaction 134 |
| 212 | #define __NR_rt_sigprocmask 135 |
| 213 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 214 | #define __NR_rt_sigpending 136 |
| 215 | #define __NR_rt_sigtimedwait 137 |
| 216 | #define __NR_rt_sigqueueinfo 138 |
| 217 | #define __NR_rt_sigreturn 139 |
| 218 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 219 | #define __NR_setpriority 140 |
| 220 | #define __NR_getpriority 141 |
| 221 | #define __NR_reboot 142 |
| 222 | #define __NR_setregid 143 |
| 223 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 224 | #define __NR_setgid 144 |
| 225 | #define __NR_setreuid 145 |
| 226 | #define __NR_setuid 146 |
| 227 | #define __NR_setresuid 147 |
| 228 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 229 | #define __NR_getresuid 148 |
| 230 | #define __NR_setresgid 149 |
| 231 | #define __NR_getresgid 150 |
| 232 | #define __NR_setfsuid 151 |
| 233 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 234 | #define __NR_setfsgid 152 |
| 235 | #define __NR_times 153 |
| 236 | #define __NR_setpgid 154 |
| 237 | #define __NR_getpgid 155 |
| 238 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 239 | #define __NR_getsid 156 |
| 240 | #define __NR_setsid 157 |
| 241 | #define __NR_getgroups 158 |
| 242 | #define __NR_setgroups 159 |
| 243 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 244 | #define __NR_uname 160 |
| 245 | #define __NR_sethostname 161 |
| 246 | #define __NR_setdomainname 162 |
| 247 | #define __NR_getrlimit 163 |
| 248 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 249 | #define __NR_setrlimit 164 |
| 250 | #define __NR_getrusage 165 |
| 251 | #define __NR_umask 166 |
| 252 | #define __NR_prctl 167 |
| 253 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 254 | #define __NR_getcpu 168 |
| 255 | #define __NR_gettimeofday 169 |
| 256 | #define __NR_settimeofday 170 |
| 257 | #define __NR_adjtimex 171 |
| 258 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 259 | #define __NR_getpid 172 |
| 260 | #define __NR_getppid 173 |
| 261 | #define __NR_getuid 174 |
| 262 | #define __NR_geteuid 175 |
| 263 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 264 | #define __NR_getgid 176 |
| 265 | #define __NR_getegid 177 |
| 266 | #define __NR_gettid 178 |
| 267 | #define __NR_sysinfo 179 |
| 268 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 269 | #define __NR_mq_open 180 |
| 270 | #define __NR_mq_unlink 181 |
| 271 | #define __NR_mq_timedsend 182 |
| 272 | #define __NR_mq_timedreceive 183 |
| 273 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 274 | #define __NR_mq_notify 184 |
| 275 | #define __NR_mq_getsetattr 185 |
| 276 | #define __NR_msgget 186 |
| 277 | #define __NR_msgctl 187 |
| 278 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 279 | #define __NR_msgrcv 188 |
| 280 | #define __NR_msgsnd 189 |
| 281 | #define __NR_semget 190 |
| 282 | #define __NR_semctl 191 |
| 283 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 284 | #define __NR_semtimedop 192 |
| 285 | #define __NR_semop 193 |
| 286 | #define __NR_shmget 194 |
| 287 | #define __NR_shmctl 195 |
| 288 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 289 | #define __NR_shmat 196 |
| 290 | #define __NR_shmdt 197 |
| 291 | #define __NR_socket 198 |
| 292 | #define __NR_socketpair 199 |
| 293 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 294 | #define __NR_bind 200 |
| 295 | #define __NR_listen 201 |
| 296 | #define __NR_accept 202 |
| 297 | #define __NR_connect 203 |
| 298 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 299 | #define __NR_getsockname 204 |
| 300 | #define __NR_getpeername 205 |
| 301 | #define __NR_sendto 206 |
| 302 | #define __NR_recvfrom 207 |
| 303 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 304 | #define __NR_setsockopt 208 |
| 305 | #define __NR_getsockopt 209 |
| 306 | #define __NR_shutdown 210 |
| 307 | #define __NR_sendmsg 211 |
| 308 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 309 | #define __NR_recvmsg 212 |
| 310 | #define __NR_readahead 213 |
| 311 | #define __NR_brk 214 |
| 312 | #define __NR_munmap 215 |
| 313 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 314 | #define __NR_mremap 216 |
| 315 | #define __NR_add_key 217 |
| 316 | #define __NR_request_key 218 |
| 317 | #define __NR_keyctl 219 |
| 318 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 319 | #define __NR_clone 220 |
| 320 | #define __NR_execve 221 |
| 321 | #define __NR3264_mmap 222 |
| 322 | #define __NR3264_fadvise64 223 |
| 323 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 324 | #ifndef __ARCH_NOMMU |
| 325 | #define __NR_swapon 224 |
| 326 | #define __NR_swapoff 225 |
| 327 | #define __NR_mprotect 226 |
| 328 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 329 | #define __NR_msync 227 |
| 330 | #define __NR_mlock 228 |
| 331 | #define __NR_munlock 229 |
| 332 | #define __NR_mlockall 230 |
| 333 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 334 | #define __NR_munlockall 231 |
| 335 | #define __NR_mincore 232 |
| 336 | #define __NR_madvise 233 |
| 337 | #define __NR_remap_file_pages 234 |
| 338 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 339 | #define __NR_mbind 235 |
| 340 | #define __NR_get_mempolicy 236 |
| 341 | #define __NR_set_mempolicy 237 |
| 342 | #define __NR_migrate_pages 238 |
| 343 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 344 | #define __NR_move_pages 239 |
| 345 | #endif |
| 346 | #define __NR_rt_tgsigqueueinfo 240 |
| 347 | #define __NR_perf_event_open 241 |
| 348 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 349 | #define __NR_accept4 242 |
| 350 | #define __NR_recvmmsg 243 |
| 351 | #define __NR_arch_specific_syscall 244 |
| 352 | #define __NR_wait4 260 |
| 353 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 354 | #define __NR_prlimit64 261 |
| 355 | #define __NR_fanotify_init 262 |
| 356 | #define __NR_fanotify_mark 263 |
| 357 | #define __NR_name_to_handle_at 264 |
| 358 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 359 | #define __NR_open_by_handle_at 265 |
| 360 | #define __NR_clock_adjtime 266 |
| 361 | #define __NR_syncfs 267 |
| 362 | #define __NR_setns 268 |
| 363 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 364 | #define __NR_sendmmsg 269 |
| 365 | #define __NR_process_vm_readv 270 |
| 366 | #define __NR_process_vm_writev 271 |
| 367 | #define __NR_kcmp 272 |
| 368 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 369 | #define __NR_finit_module 273 |
| 370 | #undef __NR_syscalls |
| 371 | #define __NR_syscalls 274 |
| 372 | #ifdef __ARCH_WANT_SYSCALL_NO_AT |
| 373 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 374 | #define __NR_open 1024 |
| 375 | #define __NR_link 1025 |
| 376 | #define __NR_unlink 1026 |
| 377 | #define __NR_mknod 1027 |
| 378 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 379 | #define __NR_chmod 1028 |
| 380 | #define __NR_chown 1029 |
| 381 | #define __NR_mkdir 1030 |
| 382 | #define __NR_rmdir 1031 |
| 383 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 384 | #define __NR_lchown 1032 |
| 385 | #define __NR_access 1033 |
| 386 | #define __NR_rename 1034 |
| 387 | #define __NR_readlink 1035 |
| 388 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 389 | #define __NR_symlink 1036 |
| 390 | #define __NR_utimes 1037 |
| 391 | #define __NR3264_stat 1038 |
| 392 | #define __NR3264_lstat 1039 |
| 393 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 394 | #undef __NR_syscalls |
| 395 | #define __NR_syscalls (__NR3264_lstat+1) |
| 396 | #endif |
| 397 | #ifdef __ARCH_WANT_SYSCALL_NO_FLAGS |
| 398 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 399 | #define __NR_pipe 1040 |
| 400 | #define __NR_dup2 1041 |
| 401 | #define __NR_epoll_create 1042 |
| 402 | #define __NR_inotify_init 1043 |
| 403 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 404 | #define __NR_eventfd 1044 |
| 405 | #define __NR_signalfd 1045 |
| 406 | #undef __NR_syscalls |
| 407 | #define __NR_syscalls (__NR_signalfd+1) |
| 408 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 409 | #endif |
Elliott Hughes | 40596aa | 2013-11-05 14:54:29 -0800 | [diff] [blame^] | 410 | #if (__BITS_PER_LONG == 32 || defined(__SYSCALL_COMPAT)) && defined(__ARCH_WANT_SYSCALL_OFF_T) |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 411 | #define __NR_sendfile 1046 |
| 412 | #define __NR_ftruncate 1047 |
| 413 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 414 | #define __NR_truncate 1048 |
| 415 | #define __NR_stat 1049 |
| 416 | #define __NR_lstat 1050 |
| 417 | #define __NR_fstat 1051 |
| 418 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 419 | #define __NR_fcntl 1052 |
| 420 | #define __NR_fadvise64 1053 |
| 421 | #define __ARCH_WANT_SYS_FADVISE64 |
| 422 | #define __NR_newfstatat 1054 |
| 423 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 424 | #define __ARCH_WANT_SYS_NEWFSTATAT |
| 425 | #define __NR_fstatfs 1055 |
| 426 | #define __NR_statfs 1056 |
| 427 | #define __NR_lseek 1057 |
| 428 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 429 | #define __NR_mmap 1058 |
| 430 | #undef __NR_syscalls |
| 431 | #define __NR_syscalls (__NR_mmap+1) |
| 432 | #endif |
| 433 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 434 | #ifdef __ARCH_WANT_SYSCALL_DEPRECATED |
| 435 | #define __NR_alarm 1059 |
| 436 | #define __ARCH_WANT_SYS_ALARM |
| 437 | #define __NR_getpgrp 1060 |
| 438 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 439 | #define __ARCH_WANT_SYS_GETPGRP |
| 440 | #define __NR_pause 1061 |
| 441 | #define __ARCH_WANT_SYS_PAUSE |
| 442 | #define __NR_time 1062 |
| 443 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 444 | #define __ARCH_WANT_SYS_TIME |
| 445 | #define __ARCH_WANT_COMPAT_SYS_TIME |
| 446 | #define __NR_utime 1063 |
| 447 | #define __ARCH_WANT_SYS_UTIME |
| 448 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 449 | #define __NR_creat 1064 |
| 450 | #define __NR_getdents 1065 |
| 451 | #define __ARCH_WANT_SYS_GETDENTS |
| 452 | #define __NR_futimesat 1066 |
| 453 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 454 | #define __NR_select 1067 |
| 455 | #define __ARCH_WANT_SYS_SELECT |
| 456 | #define __NR_poll 1068 |
| 457 | #define __NR_epoll_wait 1069 |
| 458 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 459 | #define __NR_ustat 1070 |
| 460 | #define __NR_vfork 1071 |
| 461 | #define __NR_oldwait4 1072 |
| 462 | #define __NR_recv 1073 |
| 463 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 464 | #define __NR_send 1074 |
| 465 | #define __NR_bdflush 1075 |
| 466 | #define __NR_umount 1076 |
| 467 | #define __ARCH_WANT_SYS_OLDUMOUNT |
| 468 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 469 | #define __NR_uselib 1077 |
| 470 | #define __NR__sysctl 1078 |
| 471 | #define __NR_fork 1079 |
| 472 | #undef __NR_syscalls |
| 473 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 474 | #define __NR_syscalls (__NR_fork+1) |
| 475 | #endif |
Elliott Hughes | 40596aa | 2013-11-05 14:54:29 -0800 | [diff] [blame^] | 476 | #if __BITS_PER_LONG == 64 && !defined(__SYSCALL_COMPAT) |
Ben Cheng | 655a7c0 | 2013-10-16 16:09:24 -0700 | [diff] [blame] | 477 | #define __NR_fcntl __NR3264_fcntl |
| 478 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 479 | #define __NR_statfs __NR3264_statfs |
| 480 | #define __NR_fstatfs __NR3264_fstatfs |
| 481 | #define __NR_truncate __NR3264_truncate |
| 482 | #define __NR_ftruncate __NR3264_ftruncate |
| 483 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 484 | #define __NR_lseek __NR3264_lseek |
| 485 | #define __NR_sendfile __NR3264_sendfile |
| 486 | #define __NR_newfstatat __NR3264_fstatat |
| 487 | #define __NR_fstat __NR3264_fstat |
| 488 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 489 | #define __NR_mmap __NR3264_mmap |
| 490 | #define __NR_fadvise64 __NR3264_fadvise64 |
| 491 | #ifdef __NR3264_stat |
| 492 | #define __NR_stat __NR3264_stat |
| 493 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 494 | #define __NR_lstat __NR3264_lstat |
| 495 | #endif |
| 496 | #else |
| 497 | #define __NR_fcntl64 __NR3264_fcntl |
| 498 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 499 | #define __NR_statfs64 __NR3264_statfs |
| 500 | #define __NR_fstatfs64 __NR3264_fstatfs |
| 501 | #define __NR_truncate64 __NR3264_truncate |
| 502 | #define __NR_ftruncate64 __NR3264_ftruncate |
| 503 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 504 | #define __NR_llseek __NR3264_lseek |
| 505 | #define __NR_sendfile64 __NR3264_sendfile |
| 506 | #define __NR_fstatat64 __NR3264_fstatat |
| 507 | #define __NR_fstat64 __NR3264_fstat |
| 508 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 509 | #define __NR_mmap2 __NR3264_mmap |
| 510 | #define __NR_fadvise64_64 __NR3264_fadvise64 |
| 511 | #ifdef __NR3264_stat |
| 512 | #define __NR_stat64 __NR3264_stat |
| 513 | /* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |
| 514 | #define __NR_lstat64 __NR3264_lstat |
| 515 | #endif |
| 516 | #endif |