linux_syscall.h revision 293570
1293531Sdchagin/* 2293531Sdchagin * System call numbers. 3293531Sdchagin * 4293531Sdchagin * DO NOT EDIT-- this file is automatically generated. 5293531Sdchagin * $FreeBSD: stable/10/sys/amd64/linux/linux_syscall.h 293570 2016-01-09 17:20:19Z dchagin $ 6293570Sdchagin * created from FreeBSD: stable/10/sys/amd64/linux/syscalls.master 293569 2016-01-09 17:18:03Z dchagin 7293531Sdchagin */ 8293531Sdchagin 9293531Sdchagin#define LINUX_SYS_read 0 10293531Sdchagin#define LINUX_SYS_write 1 11293531Sdchagin#define LINUX_SYS_linux_open 2 12293531Sdchagin#define LINUX_SYS_close 3 13293531Sdchagin#define LINUX_SYS_linux_newstat 4 14293531Sdchagin#define LINUX_SYS_linux_newfstat 5 15293531Sdchagin#define LINUX_SYS_linux_newlstat 6 16293531Sdchagin#define LINUX_SYS_poll 7 17293531Sdchagin#define LINUX_SYS_linux_lseek 8 18293531Sdchagin#define LINUX_SYS_linux_mmap2 9 19293531Sdchagin#define LINUX_SYS_linux_mprotect 10 20293531Sdchagin#define LINUX_SYS_munmap 11 21293531Sdchagin#define LINUX_SYS_linux_brk 12 22293531Sdchagin#define LINUX_SYS_linux_rt_sigaction 13 23293531Sdchagin#define LINUX_SYS_linux_rt_sigprocmask 14 24293531Sdchagin#define LINUX_SYS_linux_rt_sigreturn 15 25293531Sdchagin#define LINUX_SYS_linux_ioctl 16 26293531Sdchagin#define LINUX_SYS_linux_pread 17 27293531Sdchagin#define LINUX_SYS_linux_pwrite 18 28293531Sdchagin#define LINUX_SYS_readv 19 29293531Sdchagin#define LINUX_SYS_writev 20 30293531Sdchagin#define LINUX_SYS_linux_access 21 31293531Sdchagin#define LINUX_SYS_linux_pipe 22 32293531Sdchagin#define LINUX_SYS_linux_select 23 33293531Sdchagin#define LINUX_SYS_sched_yield 24 34293531Sdchagin#define LINUX_SYS_linux_mremap 25 35293531Sdchagin#define LINUX_SYS_linux_msync 26 36293531Sdchagin#define LINUX_SYS_linux_mincore 27 37293531Sdchagin#define LINUX_SYS_madvise 28 38293531Sdchagin#define LINUX_SYS_linux_shmget 29 39293531Sdchagin#define LINUX_SYS_linux_shmat 30 40293531Sdchagin#define LINUX_SYS_linux_shmctl 31 41293531Sdchagin#define LINUX_SYS_dup 32 42293531Sdchagin#define LINUX_SYS_dup2 33 43293531Sdchagin#define LINUX_SYS_linux_pause 34 44293531Sdchagin#define LINUX_SYS_linux_nanosleep 35 45293531Sdchagin#define LINUX_SYS_linux_getitimer 36 46293531Sdchagin#define LINUX_SYS_linux_alarm 37 47293531Sdchagin#define LINUX_SYS_linux_setitimer 38 48293531Sdchagin#define LINUX_SYS_linux_getpid 39 49293531Sdchagin#define LINUX_SYS_linux_sendfile 40 50293531Sdchagin#define LINUX_SYS_linux_socket 41 51293531Sdchagin#define LINUX_SYS_linux_connect 42 52293531Sdchagin#define LINUX_SYS_linux_accept 43 53293531Sdchagin#define LINUX_SYS_linux_sendto 44 54293531Sdchagin#define LINUX_SYS_linux_recvfrom 45 55293531Sdchagin#define LINUX_SYS_linux_sendmsg 46 56293531Sdchagin#define LINUX_SYS_linux_recvmsg 47 57293531Sdchagin#define LINUX_SYS_linux_shutdown 48 58293531Sdchagin#define LINUX_SYS_linux_bind 49 59293531Sdchagin#define LINUX_SYS_linux_listen 50 60293531Sdchagin#define LINUX_SYS_linux_getsockname 51 61293531Sdchagin#define LINUX_SYS_linux_getpeername 52 62293531Sdchagin#define LINUX_SYS_linux_socketpair 53 63293531Sdchagin#define LINUX_SYS_linux_setsockopt 54 64293531Sdchagin#define LINUX_SYS_linux_getsockopt 55 65293531Sdchagin#define LINUX_SYS_linux_clone 56 66293531Sdchagin#define LINUX_SYS_linux_fork 57 67293531Sdchagin#define LINUX_SYS_linux_vfork 58 68293531Sdchagin#define LINUX_SYS_linux_execve 59 69293531Sdchagin#define LINUX_SYS_linux_exit 60 70293531Sdchagin#define LINUX_SYS_linux_wait4 61 71293531Sdchagin#define LINUX_SYS_linux_kill 62 72293531Sdchagin#define LINUX_SYS_linux_newuname 63 73293531Sdchagin#define LINUX_SYS_linux_semget 64 74293531Sdchagin#define LINUX_SYS_linux_semop 65 75293531Sdchagin#define LINUX_SYS_linux_semctl 66 76293531Sdchagin#define LINUX_SYS_linux_shmdt 67 77293531Sdchagin#define LINUX_SYS_linux_msgget 68 78293531Sdchagin#define LINUX_SYS_linux_msgsnd 69 79293531Sdchagin#define LINUX_SYS_linux_msgrcv 70 80293531Sdchagin#define LINUX_SYS_linux_msgctl 71 81293531Sdchagin#define LINUX_SYS_linux_fcntl 72 82293531Sdchagin#define LINUX_SYS_flock 73 83293531Sdchagin#define LINUX_SYS_fsync 74 84293531Sdchagin#define LINUX_SYS_linux_fdatasync 75 85293531Sdchagin#define LINUX_SYS_linux_truncate 76 86293531Sdchagin#define LINUX_SYS_linux_ftruncate 77 87293531Sdchagin#define LINUX_SYS_linux_getdents 78 88293531Sdchagin#define LINUX_SYS_linux_getcwd 79 89293531Sdchagin#define LINUX_SYS_linux_chdir 80 90293531Sdchagin#define LINUX_SYS_fchdir 81 91293531Sdchagin#define LINUX_SYS_linux_rename 82 92293531Sdchagin#define LINUX_SYS_linux_mkdir 83 93293531Sdchagin#define LINUX_SYS_linux_rmdir 84 94293531Sdchagin#define LINUX_SYS_linux_creat 85 95293531Sdchagin#define LINUX_SYS_linux_link 86 96293531Sdchagin#define LINUX_SYS_linux_unlink 87 97293531Sdchagin#define LINUX_SYS_linux_symlink 88 98293531Sdchagin#define LINUX_SYS_linux_readlink 89 99293531Sdchagin#define LINUX_SYS_linux_chmod 90 100293531Sdchagin#define LINUX_SYS_fchmod 91 101293531Sdchagin#define LINUX_SYS_linux_chown 92 102293531Sdchagin#define LINUX_SYS_fchown 93 103293531Sdchagin#define LINUX_SYS_linux_lchown 94 104293531Sdchagin#define LINUX_SYS_umask 95 105293531Sdchagin#define LINUX_SYS_gettimeofday 96 106293531Sdchagin#define LINUX_SYS_linux_getrlimit 97 107293531Sdchagin#define LINUX_SYS_getrusage 98 108293531Sdchagin#define LINUX_SYS_linux_sysinfo 99 109293531Sdchagin#define LINUX_SYS_linux_times 100 110293531Sdchagin#define LINUX_SYS_linux_ptrace 101 111293531Sdchagin#define LINUX_SYS_linux_getuid 102 112293531Sdchagin#define LINUX_SYS_linux_syslog 103 113293531Sdchagin#define LINUX_SYS_linux_getgid 104 114293531Sdchagin#define LINUX_SYS_setuid 105 115293531Sdchagin#define LINUX_SYS_setgid 106 116293531Sdchagin#define LINUX_SYS_geteuid 107 117293531Sdchagin#define LINUX_SYS_getegid 108 118293531Sdchagin#define LINUX_SYS_setpgid 109 119293531Sdchagin#define LINUX_SYS_linux_getppid 110 120293531Sdchagin#define LINUX_SYS_getpgrp 111 121293531Sdchagin#define LINUX_SYS_setsid 112 122293531Sdchagin#define LINUX_SYS_setreuid 113 123293531Sdchagin#define LINUX_SYS_setregid 114 124293531Sdchagin#define LINUX_SYS_linux_getgroups 115 125293531Sdchagin#define LINUX_SYS_linux_setgroups 116 126293531Sdchagin#define LINUX_SYS_setresuid 117 127293531Sdchagin#define LINUX_SYS_getresuid 118 128293531Sdchagin#define LINUX_SYS_setresgid 119 129293531Sdchagin#define LINUX_SYS_getresgid 120 130293531Sdchagin#define LINUX_SYS_getpgid 121 131293531Sdchagin#define LINUX_SYS_linux_setfsuid 122 132293531Sdchagin#define LINUX_SYS_linux_setfsgid 123 133293531Sdchagin#define LINUX_SYS_linux_getsid 124 134293531Sdchagin#define LINUX_SYS_linux_capget 125 135293531Sdchagin#define LINUX_SYS_linux_capset 126 136293531Sdchagin#define LINUX_SYS_linux_rt_sigpending 127 137293531Sdchagin#define LINUX_SYS_linux_rt_sigtimedwait 128 138293531Sdchagin#define LINUX_SYS_linux_rt_sigqueueinfo 129 139293531Sdchagin#define LINUX_SYS_linux_rt_sigsuspend 130 140293531Sdchagin#define LINUX_SYS_linux_sigaltstack 131 141293531Sdchagin#define LINUX_SYS_linux_utime 132 142293531Sdchagin#define LINUX_SYS_linux_mknod 133 143293531Sdchagin#define LINUX_SYS_linux_personality 135 144293531Sdchagin#define LINUX_SYS_linux_ustat 136 145293531Sdchagin#define LINUX_SYS_linux_statfs 137 146293531Sdchagin#define LINUX_SYS_linux_fstatfs 138 147293531Sdchagin#define LINUX_SYS_linux_sysfs 139 148293531Sdchagin#define LINUX_SYS_linux_getpriority 140 149293531Sdchagin#define LINUX_SYS_setpriority 141 150293531Sdchagin#define LINUX_SYS_linux_sched_setparam 142 151293531Sdchagin#define LINUX_SYS_linux_sched_getparam 143 152293531Sdchagin#define LINUX_SYS_linux_sched_setscheduler 144 153293531Sdchagin#define LINUX_SYS_linux_sched_getscheduler 145 154293531Sdchagin#define LINUX_SYS_linux_sched_get_priority_max 146 155293531Sdchagin#define LINUX_SYS_linux_sched_get_priority_min 147 156293531Sdchagin#define LINUX_SYS_linux_sched_rr_get_interval 148 157293531Sdchagin#define LINUX_SYS_mlock 149 158293531Sdchagin#define LINUX_SYS_munlock 150 159293531Sdchagin#define LINUX_SYS_mlockall 151 160293531Sdchagin#define LINUX_SYS_munlockall 152 161293531Sdchagin#define LINUX_SYS_linux_vhangup 153 162293531Sdchagin#define LINUX_SYS_linux_pivot_root 155 163293531Sdchagin#define LINUX_SYS_linux_sysctl 156 164293531Sdchagin#define LINUX_SYS_linux_prctl 157 165293531Sdchagin#define LINUX_SYS_linux_arch_prctl 158 166293531Sdchagin#define LINUX_SYS_linux_adjtimex 159 167293531Sdchagin#define LINUX_SYS_linux_setrlimit 160 168293531Sdchagin#define LINUX_SYS_chroot 161 169293531Sdchagin#define LINUX_SYS_sync 162 170293531Sdchagin#define LINUX_SYS_acct 163 171293531Sdchagin#define LINUX_SYS_settimeofday 164 172293531Sdchagin#define LINUX_SYS_linux_mount 165 173293531Sdchagin#define LINUX_SYS_linux_umount 166 174293531Sdchagin#define LINUX_SYS_swapon 167 175293531Sdchagin#define LINUX_SYS_linux_swapoff 168 176293531Sdchagin#define LINUX_SYS_linux_reboot 169 177293531Sdchagin#define LINUX_SYS_linux_sethostname 170 178293531Sdchagin#define LINUX_SYS_linux_setdomainname 171 179293531Sdchagin#define LINUX_SYS_linux_iopl 172 180293531Sdchagin#define LINUX_SYS_linux_create_module 174 181293531Sdchagin#define LINUX_SYS_linux_init_module 175 182293531Sdchagin#define LINUX_SYS_linux_delete_module 176 183293531Sdchagin#define LINUX_SYS_linux_get_kernel_syms 177 184293531Sdchagin#define LINUX_SYS_linux_query_module 178 185293531Sdchagin#define LINUX_SYS_linux_quotactl 179 186293531Sdchagin#define LINUX_SYS_linux_nfsservctl 180 187293531Sdchagin#define LINUX_SYS_linux_getpmsg 181 188293531Sdchagin#define LINUX_SYS_linux_putpmsg 182 189293531Sdchagin#define LINUX_SYS_linux_afs_syscall 183 190293531Sdchagin#define LINUX_SYS_linux_tuxcall 184 191293531Sdchagin#define LINUX_SYS_linux_security 185 192293531Sdchagin#define LINUX_SYS_linux_gettid 186 193293531Sdchagin#define LINUX_SYS_linux_setxattr 188 194293531Sdchagin#define LINUX_SYS_linux_lsetxattr 189 195293531Sdchagin#define LINUX_SYS_linux_fsetxattr 190 196293531Sdchagin#define LINUX_SYS_linux_getxattr 191 197293531Sdchagin#define LINUX_SYS_linux_lgetxattr 192 198293531Sdchagin#define LINUX_SYS_linux_fgetxattr 193 199293531Sdchagin#define LINUX_SYS_linux_listxattr 194 200293531Sdchagin#define LINUX_SYS_linux_llistxattr 195 201293531Sdchagin#define LINUX_SYS_linux_flistxattr 196 202293531Sdchagin#define LINUX_SYS_linux_removexattr 197 203293531Sdchagin#define LINUX_SYS_linux_lremovexattr 198 204293531Sdchagin#define LINUX_SYS_linux_fremovexattr 199 205293531Sdchagin#define LINUX_SYS_linux_tkill 200 206293531Sdchagin#define LINUX_SYS_linux_time 201 207293531Sdchagin#define LINUX_SYS_linux_sys_futex 202 208293531Sdchagin#define LINUX_SYS_linux_sched_setaffinity 203 209293531Sdchagin#define LINUX_SYS_linux_sched_getaffinity 204 210293531Sdchagin#define LINUX_SYS_linux_set_thread_area 205 211293531Sdchagin#define LINUX_SYS_linux_lookup_dcookie 212 212293531Sdchagin#define LINUX_SYS_linux_epoll_create 213 213293531Sdchagin#define LINUX_SYS_linux_epoll_ctl_old 214 214293531Sdchagin#define LINUX_SYS_linux_epoll_wait_old 215 215293531Sdchagin#define LINUX_SYS_linux_remap_file_pages 216 216293531Sdchagin#define LINUX_SYS_linux_getdents64 217 217293531Sdchagin#define LINUX_SYS_linux_set_tid_address 218 218293531Sdchagin#define LINUX_SYS_linux_semtimedop 220 219293531Sdchagin#define LINUX_SYS_linux_fadvise64 221 220293531Sdchagin#define LINUX_SYS_linux_timer_create 222 221293531Sdchagin#define LINUX_SYS_linux_timer_settime 223 222293531Sdchagin#define LINUX_SYS_linux_timer_gettime 224 223293531Sdchagin#define LINUX_SYS_linux_timer_getoverrun 225 224293531Sdchagin#define LINUX_SYS_linux_timer_delete 226 225293531Sdchagin#define LINUX_SYS_linux_clock_settime 227 226293531Sdchagin#define LINUX_SYS_linux_clock_gettime 228 227293531Sdchagin#define LINUX_SYS_linux_clock_getres 229 228293531Sdchagin#define LINUX_SYS_linux_clock_nanosleep 230 229293531Sdchagin#define LINUX_SYS_linux_exit_group 231 230293531Sdchagin#define LINUX_SYS_linux_epoll_wait 232 231293531Sdchagin#define LINUX_SYS_linux_epoll_ctl 233 232293531Sdchagin#define LINUX_SYS_linux_tgkill 234 233293531Sdchagin#define LINUX_SYS_linux_utimes 235 234293531Sdchagin#define LINUX_SYS_linux_mbind 237 235293531Sdchagin#define LINUX_SYS_linux_set_mempolicy 238 236293531Sdchagin#define LINUX_SYS_linux_get_mempolicy 239 237293531Sdchagin#define LINUX_SYS_linux_mq_open 240 238293531Sdchagin#define LINUX_SYS_linux_mq_unlink 241 239293531Sdchagin#define LINUX_SYS_linux_mq_timedsend 242 240293531Sdchagin#define LINUX_SYS_linux_mq_timedreceive 243 241293531Sdchagin#define LINUX_SYS_linux_mq_notify 244 242293531Sdchagin#define LINUX_SYS_linux_mq_getsetattr 245 243293531Sdchagin#define LINUX_SYS_linux_kexec_load 246 244293531Sdchagin#define LINUX_SYS_linux_waitid 247 245293531Sdchagin#define LINUX_SYS_linux_add_key 248 246293531Sdchagin#define LINUX_SYS_linux_request_key 249 247293531Sdchagin#define LINUX_SYS_linux_keyctl 250 248293531Sdchagin#define LINUX_SYS_linux_ioprio_set 251 249293531Sdchagin#define LINUX_SYS_linux_ioprio_get 252 250293531Sdchagin#define LINUX_SYS_linux_inotify_init 253 251293531Sdchagin#define LINUX_SYS_linux_inotify_add_watch 254 252293531Sdchagin#define LINUX_SYS_linux_inotify_rm_watch 255 253293531Sdchagin#define LINUX_SYS_linux_migrate_pages 256 254293531Sdchagin#define LINUX_SYS_linux_openat 257 255293531Sdchagin#define LINUX_SYS_linux_mkdirat 258 256293531Sdchagin#define LINUX_SYS_linux_mknodat 259 257293531Sdchagin#define LINUX_SYS_linux_fchownat 260 258293531Sdchagin#define LINUX_SYS_linux_futimesat 261 259293531Sdchagin#define LINUX_SYS_linux_newfstatat 262 260293531Sdchagin#define LINUX_SYS_linux_unlinkat 263 261293531Sdchagin#define LINUX_SYS_linux_renameat 264 262293531Sdchagin#define LINUX_SYS_linux_linkat 265 263293531Sdchagin#define LINUX_SYS_linux_symlinkat 266 264293531Sdchagin#define LINUX_SYS_linux_readlinkat 267 265293531Sdchagin#define LINUX_SYS_linux_fchmodat 268 266293531Sdchagin#define LINUX_SYS_linux_faccessat 269 267293531Sdchagin#define LINUX_SYS_linux_pselect6 270 268293531Sdchagin#define LINUX_SYS_linux_ppoll 271 269293531Sdchagin#define LINUX_SYS_linux_unshare 272 270293531Sdchagin#define LINUX_SYS_linux_set_robust_list 273 271293531Sdchagin#define LINUX_SYS_linux_get_robust_list 274 272293531Sdchagin#define LINUX_SYS_linux_splice 275 273293531Sdchagin#define LINUX_SYS_linux_tee 276 274293531Sdchagin#define LINUX_SYS_linux_sync_file_range 277 275293531Sdchagin#define LINUX_SYS_linux_vmsplice 278 276293531Sdchagin#define LINUX_SYS_linux_move_pages 279 277293531Sdchagin#define LINUX_SYS_linux_utimensat 280 278293531Sdchagin#define LINUX_SYS_linux_epoll_pwait 281 279293531Sdchagin#define LINUX_SYS_linux_signalfd 282 280293531Sdchagin#define LINUX_SYS_linux_timerfd 283 281293531Sdchagin#define LINUX_SYS_linux_eventfd 284 282293531Sdchagin#define LINUX_SYS_linux_fallocate 285 283293531Sdchagin#define LINUX_SYS_linux_timerfd_settime 286 284293531Sdchagin#define LINUX_SYS_linux_timerfd_gettime 287 285293531Sdchagin#define LINUX_SYS_linux_accept4 288 286293531Sdchagin#define LINUX_SYS_linux_signalfd4 289 287293531Sdchagin#define LINUX_SYS_linux_eventfd2 290 288293531Sdchagin#define LINUX_SYS_linux_epoll_create1 291 289293531Sdchagin#define LINUX_SYS_linux_dup3 292 290293531Sdchagin#define LINUX_SYS_linux_pipe2 293 291293531Sdchagin#define LINUX_SYS_linux_inotify_init1 294 292293531Sdchagin#define LINUX_SYS_linux_preadv 295 293293531Sdchagin#define LINUX_SYS_linux_pwritev 296 294293531Sdchagin#define LINUX_SYS_linux_rt_tsigqueueinfo 297 295293531Sdchagin#define LINUX_SYS_linux_perf_event_open 298 296293531Sdchagin#define LINUX_SYS_linux_recvmmsg 299 297293531Sdchagin#define LINUX_SYS_linux_fanotify_init 300 298293531Sdchagin#define LINUX_SYS_linux_fanotify_mark 301 299293531Sdchagin#define LINUX_SYS_linux_prlimit64 302 300293531Sdchagin#define LINUX_SYS_linux_name_to_handle_at 303 301293531Sdchagin#define LINUX_SYS_linux_open_by_handle_at 304 302293531Sdchagin#define LINUX_SYS_linux_clock_adjtime 305 303293531Sdchagin#define LINUX_SYS_linux_syncfs 306 304293531Sdchagin#define LINUX_SYS_linux_sendmmsg 307 305293531Sdchagin#define LINUX_SYS_linux_setns 308 306293531Sdchagin#define LINUX_SYS_linux_process_vm_readv 309 307293531Sdchagin#define LINUX_SYS_linux_process_vm_writev 310 308293531Sdchagin#define LINUX_SYS_linux_kcmp 311 309293531Sdchagin#define LINUX_SYS_linux_finit_module 312 310293570Sdchagin#define LINUX_SYS_MAXSYSCALL 314 311