linux_syscall.h revision 293593
11558Srgrimes/* 21558Srgrimes * System call numbers. 31558Srgrimes * 41558Srgrimes * DO NOT EDIT-- this file is automatically generated. 51558Srgrimes * $FreeBSD: stable/10/sys/amd64/linux/linux_syscall.h 293593 2016-01-09 17:56:04Z dchagin $ 61558Srgrimes * created from FreeBSD: stable/10/sys/amd64/linux/syscalls.master 293592 2016-01-09 17:54:37Z dchagin 71558Srgrimes */ 81558Srgrimes 91558Srgrimes#define LINUX_SYS_read 0 101558Srgrimes#define LINUX_SYS_write 1 111558Srgrimes#define LINUX_SYS_linux_open 2 121558Srgrimes#define LINUX_SYS_close 3 131558Srgrimes#define LINUX_SYS_linux_newstat 4 141558Srgrimes#define LINUX_SYS_linux_newfstat 5 151558Srgrimes#define LINUX_SYS_linux_newlstat 6 161558Srgrimes#define LINUX_SYS_poll 7 171558Srgrimes#define LINUX_SYS_linux_lseek 8 181558Srgrimes#define LINUX_SYS_linux_mmap2 9 191558Srgrimes#define LINUX_SYS_linux_mprotect 10 201558Srgrimes#define LINUX_SYS_munmap 11 211558Srgrimes#define LINUX_SYS_linux_brk 12 221558Srgrimes#define LINUX_SYS_linux_rt_sigaction 13 231558Srgrimes#define LINUX_SYS_linux_rt_sigprocmask 14 241558Srgrimes#define LINUX_SYS_linux_rt_sigreturn 15 251558Srgrimes#define LINUX_SYS_linux_ioctl 16 261558Srgrimes#define LINUX_SYS_linux_pread 17 271558Srgrimes#define LINUX_SYS_linux_pwrite 18 281558Srgrimes#define LINUX_SYS_readv 19 291558Srgrimes#define LINUX_SYS_writev 20 301558Srgrimes#define LINUX_SYS_linux_access 21 311558Srgrimes#define LINUX_SYS_linux_pipe 22 321558Srgrimes#define LINUX_SYS_linux_select 23 331558Srgrimes#define LINUX_SYS_sched_yield 24 34114589Sobrien#define LINUX_SYS_linux_mremap 25 351558Srgrimes#define LINUX_SYS_linux_msync 26 3623675Speter#define LINUX_SYS_linux_mincore 27 37114589Sobrien#define LINUX_SYS_madvise 28 3841477Sjulian#define LINUX_SYS_linux_shmget 29 39114589Sobrien#define LINUX_SYS_linux_shmat 30 40114589Sobrien#define LINUX_SYS_linux_shmctl 31 411558Srgrimes#define LINUX_SYS_dup 32 421558Srgrimes#define LINUX_SYS_dup2 33 4366861Sadrian#define LINUX_SYS_linux_pause 34 4466861Sadrian#define LINUX_SYS_linux_nanosleep 35 4523675Speter#define LINUX_SYS_linux_getitimer 36 461558Srgrimes#define LINUX_SYS_linux_alarm 37 471558Srgrimes#define LINUX_SYS_linux_setitimer 38 481558Srgrimes#define LINUX_SYS_linux_getpid 39 4923799Sbde#define LINUX_SYS_linux_sendfile 40 5023675Speter#define LINUX_SYS_linux_socket 41 5166861Sadrian#define LINUX_SYS_linux_connect 42 5223799Sbde#define LINUX_SYS_linux_accept 43 5366861Sadrian#define LINUX_SYS_linux_sendto 44 5466861Sadrian#define LINUX_SYS_linux_recvfrom 45 5575927Smckusick#define LINUX_SYS_linux_sendmsg 46 5666861Sadrian#define LINUX_SYS_linux_recvmsg 47 5766861Sadrian#define LINUX_SYS_linux_shutdown 48 5866861Sadrian#define LINUX_SYS_linux_bind 49 5923675Speter#define LINUX_SYS_linux_listen 50 601558Srgrimes#define LINUX_SYS_linux_getsockname 51 611558Srgrimes#define LINUX_SYS_linux_getpeername 52 621558Srgrimes#define LINUX_SYS_linux_socketpair 53 6366861Sadrian#define LINUX_SYS_linux_setsockopt 54 6492839Simp#define LINUX_SYS_linux_getsockopt 55 6566861Sadrian#define LINUX_SYS_linux_clone 56 6686514Siedowse#define LINUX_SYS_linux_fork 57 6786514Siedowse#define LINUX_SYS_linux_vfork 58 6866861Sadrian#define LINUX_SYS_linux_execve 59 6966861Sadrian#define LINUX_SYS_linux_exit 60 7075927Smckusick#define LINUX_SYS_linux_wait4 61 7166861Sadrian#define LINUX_SYS_linux_kill 62 7266861Sadrian#define LINUX_SYS_linux_newuname 63 7375927Smckusick#define LINUX_SYS_linux_semget 64 7475927Smckusick#define LINUX_SYS_linux_semop 65 7575927Smckusick#define LINUX_SYS_linux_semctl 66 7675927Smckusick#define LINUX_SYS_linux_shmdt 67 7775927Smckusick#define LINUX_SYS_linux_msgget 68 7875927Smckusick#define LINUX_SYS_linux_msgsnd 69 7975927Smckusick#define LINUX_SYS_linux_msgrcv 70 8075927Smckusick#define LINUX_SYS_linux_msgctl 71 8166861Sadrian#define LINUX_SYS_linux_fcntl 72 8266861Sadrian#define LINUX_SYS_flock 73 8366861Sadrian#define LINUX_SYS_fsync 74 8466861Sadrian#define LINUX_SYS_linux_fdatasync 75 8566861Sadrian#define LINUX_SYS_linux_truncate 76 8666861Sadrian#define LINUX_SYS_linux_ftruncate 77 8766861Sadrian#define LINUX_SYS_linux_getdents 78 8866861Sadrian#define LINUX_SYS_linux_getcwd 79 8966861Sadrian#define LINUX_SYS_linux_chdir 80 9066861Sadrian#define LINUX_SYS_fchdir 81 9166861Sadrian#define LINUX_SYS_linux_rename 82 9266861Sadrian#define LINUX_SYS_linux_mkdir 83 9366861Sadrian#define LINUX_SYS_linux_rmdir 84 9466861Sadrian#define LINUX_SYS_linux_creat 85 9566861Sadrian#define LINUX_SYS_linux_link 86 9666861Sadrian#define LINUX_SYS_linux_unlink 87 9766861Sadrian#define LINUX_SYS_linux_symlink 88 9866861Sadrian#define LINUX_SYS_linux_readlink 89 9970166Sphk#define LINUX_SYS_linux_chmod 90 10070166Sphk#define LINUX_SYS_fchmod 91 10166861Sadrian#define LINUX_SYS_linux_chown 92 10275927Smckusick#define LINUX_SYS_fchown 93 10366861Sadrian#define LINUX_SYS_linux_lchown 94 10466861Sadrian#define LINUX_SYS_umask 95 10566861Sadrian#define LINUX_SYS_gettimeofday 96 10666861Sadrian#define LINUX_SYS_linux_getrlimit 97 10766861Sadrian#define LINUX_SYS_getrusage 98 10866861Sadrian#define LINUX_SYS_linux_sysinfo 99 10966861Sadrian#define LINUX_SYS_linux_times 100 11066861Sadrian#define LINUX_SYS_linux_ptrace 101 11166861Sadrian#define LINUX_SYS_linux_getuid 102 11266861Sadrian#define LINUX_SYS_linux_syslog 103 11366861Sadrian#define LINUX_SYS_linux_getgid 104 11470050Siedowse#define LINUX_SYS_setuid 105 11570050Siedowse#define LINUX_SYS_setgid 106 116100935Sphk#define LINUX_SYS_geteuid 107 11770050Siedowse#define LINUX_SYS_getegid 108 11870050Siedowse#define LINUX_SYS_setpgid 109 11970050Siedowse#define LINUX_SYS_linux_getppid 110 120#define LINUX_SYS_getpgrp 111 121#define LINUX_SYS_setsid 112 122#define LINUX_SYS_setreuid 113 123#define LINUX_SYS_setregid 114 124#define LINUX_SYS_linux_getgroups 115 125#define LINUX_SYS_linux_setgroups 116 126#define LINUX_SYS_setresuid 117 127#define LINUX_SYS_getresuid 118 128#define LINUX_SYS_setresgid 119 129#define LINUX_SYS_getresgid 120 130#define LINUX_SYS_getpgid 121 131#define LINUX_SYS_linux_setfsuid 122 132#define LINUX_SYS_linux_setfsgid 123 133#define LINUX_SYS_linux_getsid 124 134#define LINUX_SYS_linux_capget 125 135#define LINUX_SYS_linux_capset 126 136#define LINUX_SYS_linux_rt_sigpending 127 137#define LINUX_SYS_linux_rt_sigtimedwait 128 138#define LINUX_SYS_linux_rt_sigqueueinfo 129 139#define LINUX_SYS_linux_rt_sigsuspend 130 140#define LINUX_SYS_linux_sigaltstack 131 141#define LINUX_SYS_linux_utime 132 142#define LINUX_SYS_linux_mknod 133 143#define LINUX_SYS_linux_personality 135 144#define LINUX_SYS_linux_ustat 136 145#define LINUX_SYS_linux_statfs 137 146#define LINUX_SYS_linux_fstatfs 138 147#define LINUX_SYS_linux_sysfs 139 148#define LINUX_SYS_linux_getpriority 140 149#define LINUX_SYS_setpriority 141 150#define LINUX_SYS_linux_sched_setparam 142 151#define LINUX_SYS_linux_sched_getparam 143 152#define LINUX_SYS_linux_sched_setscheduler 144 153#define LINUX_SYS_linux_sched_getscheduler 145 154#define LINUX_SYS_linux_sched_get_priority_max 146 155#define LINUX_SYS_linux_sched_get_priority_min 147 156#define LINUX_SYS_linux_sched_rr_get_interval 148 157#define LINUX_SYS_mlock 149 158#define LINUX_SYS_munlock 150 159#define LINUX_SYS_mlockall 151 160#define LINUX_SYS_munlockall 152 161#define LINUX_SYS_linux_vhangup 153 162#define LINUX_SYS_linux_pivot_root 155 163#define LINUX_SYS_linux_sysctl 156 164#define LINUX_SYS_linux_prctl 157 165#define LINUX_SYS_linux_arch_prctl 158 166#define LINUX_SYS_linux_adjtimex 159 167#define LINUX_SYS_linux_setrlimit 160 168#define LINUX_SYS_chroot 161 169#define LINUX_SYS_sync 162 170#define LINUX_SYS_acct 163 171#define LINUX_SYS_settimeofday 164 172#define LINUX_SYS_linux_mount 165 173#define LINUX_SYS_linux_umount 166 174#define LINUX_SYS_swapon 167 175#define LINUX_SYS_linux_swapoff 168 176#define LINUX_SYS_linux_reboot 169 177#define LINUX_SYS_linux_sethostname 170 178#define LINUX_SYS_linux_setdomainname 171 179#define LINUX_SYS_linux_iopl 172 180#define LINUX_SYS_linux_create_module 174 181#define LINUX_SYS_linux_init_module 175 182#define LINUX_SYS_linux_delete_module 176 183#define LINUX_SYS_linux_get_kernel_syms 177 184#define LINUX_SYS_linux_query_module 178 185#define LINUX_SYS_linux_quotactl 179 186#define LINUX_SYS_linux_nfsservctl 180 187#define LINUX_SYS_linux_getpmsg 181 188#define LINUX_SYS_linux_putpmsg 182 189#define LINUX_SYS_linux_afs_syscall 183 190#define LINUX_SYS_linux_tuxcall 184 191#define LINUX_SYS_linux_security 185 192#define LINUX_SYS_linux_gettid 186 193#define LINUX_SYS_linux_setxattr 188 194#define LINUX_SYS_linux_lsetxattr 189 195#define LINUX_SYS_linux_fsetxattr 190 196#define LINUX_SYS_linux_getxattr 191 197#define LINUX_SYS_linux_lgetxattr 192 198#define LINUX_SYS_linux_fgetxattr 193 199#define LINUX_SYS_linux_listxattr 194 200#define LINUX_SYS_linux_llistxattr 195 201#define LINUX_SYS_linux_flistxattr 196 202#define LINUX_SYS_linux_removexattr 197 203#define LINUX_SYS_linux_lremovexattr 198 204#define LINUX_SYS_linux_fremovexattr 199 205#define LINUX_SYS_linux_tkill 200 206#define LINUX_SYS_linux_time 201 207#define LINUX_SYS_linux_sys_futex 202 208#define LINUX_SYS_linux_sched_setaffinity 203 209#define LINUX_SYS_linux_sched_getaffinity 204 210#define LINUX_SYS_linux_set_thread_area 205 211#define LINUX_SYS_linux_lookup_dcookie 212 212#define LINUX_SYS_linux_epoll_create 213 213#define LINUX_SYS_linux_epoll_ctl_old 214 214#define LINUX_SYS_linux_epoll_wait_old 215 215#define LINUX_SYS_linux_remap_file_pages 216 216#define LINUX_SYS_linux_getdents64 217 217#define LINUX_SYS_linux_set_tid_address 218 218#define LINUX_SYS_linux_semtimedop 220 219#define LINUX_SYS_linux_fadvise64 221 220#define LINUX_SYS_linux_timer_create 222 221#define LINUX_SYS_linux_timer_settime 223 222#define LINUX_SYS_linux_timer_gettime 224 223#define LINUX_SYS_linux_timer_getoverrun 225 224#define LINUX_SYS_linux_timer_delete 226 225#define LINUX_SYS_linux_clock_settime 227 226#define LINUX_SYS_linux_clock_gettime 228 227#define LINUX_SYS_linux_clock_getres 229 228#define LINUX_SYS_linux_clock_nanosleep 230 229#define LINUX_SYS_linux_exit_group 231 230#define LINUX_SYS_linux_epoll_wait 232 231#define LINUX_SYS_linux_epoll_ctl 233 232#define LINUX_SYS_linux_tgkill 234 233#define LINUX_SYS_linux_utimes 235 234#define LINUX_SYS_linux_mbind 237 235#define LINUX_SYS_linux_set_mempolicy 238 236#define LINUX_SYS_linux_get_mempolicy 239 237#define LINUX_SYS_linux_mq_open 240 238#define LINUX_SYS_linux_mq_unlink 241 239#define LINUX_SYS_linux_mq_timedsend 242 240#define LINUX_SYS_linux_mq_timedreceive 243 241#define LINUX_SYS_linux_mq_notify 244 242#define LINUX_SYS_linux_mq_getsetattr 245 243#define LINUX_SYS_linux_kexec_load 246 244#define LINUX_SYS_linux_waitid 247 245#define LINUX_SYS_linux_add_key 248 246#define LINUX_SYS_linux_request_key 249 247#define LINUX_SYS_linux_keyctl 250 248#define LINUX_SYS_linux_ioprio_set 251 249#define LINUX_SYS_linux_ioprio_get 252 250#define LINUX_SYS_linux_inotify_init 253 251#define LINUX_SYS_linux_inotify_add_watch 254 252#define LINUX_SYS_linux_inotify_rm_watch 255 253#define LINUX_SYS_linux_migrate_pages 256 254#define LINUX_SYS_linux_openat 257 255#define LINUX_SYS_linux_mkdirat 258 256#define LINUX_SYS_linux_mknodat 259 257#define LINUX_SYS_linux_fchownat 260 258#define LINUX_SYS_linux_futimesat 261 259#define LINUX_SYS_linux_newfstatat 262 260#define LINUX_SYS_linux_unlinkat 263 261#define LINUX_SYS_linux_renameat 264 262#define LINUX_SYS_linux_linkat 265 263#define LINUX_SYS_linux_symlinkat 266 264#define LINUX_SYS_linux_readlinkat 267 265#define LINUX_SYS_linux_fchmodat 268 266#define LINUX_SYS_linux_faccessat 269 267#define LINUX_SYS_linux_pselect6 270 268#define LINUX_SYS_linux_ppoll 271 269#define LINUX_SYS_linux_unshare 272 270#define LINUX_SYS_linux_set_robust_list 273 271#define LINUX_SYS_linux_get_robust_list 274 272#define LINUX_SYS_linux_splice 275 273#define LINUX_SYS_linux_tee 276 274#define LINUX_SYS_linux_sync_file_range 277 275#define LINUX_SYS_linux_vmsplice 278 276#define LINUX_SYS_linux_move_pages 279 277#define LINUX_SYS_linux_utimensat 280 278#define LINUX_SYS_linux_epoll_pwait 281 279#define LINUX_SYS_linux_signalfd 282 280#define LINUX_SYS_linux_timerfd 283 281#define LINUX_SYS_linux_eventfd 284 282#define LINUX_SYS_linux_fallocate 285 283#define LINUX_SYS_linux_timerfd_settime 286 284#define LINUX_SYS_linux_timerfd_gettime 287 285#define LINUX_SYS_linux_accept4 288 286#define LINUX_SYS_linux_signalfd4 289 287#define LINUX_SYS_linux_eventfd2 290 288#define LINUX_SYS_linux_epoll_create1 291 289#define LINUX_SYS_linux_dup3 292 290#define LINUX_SYS_linux_pipe2 293 291#define LINUX_SYS_linux_inotify_init1 294 292#define LINUX_SYS_linux_preadv 295 293#define LINUX_SYS_linux_pwritev 296 294#define LINUX_SYS_linux_rt_tsigqueueinfo 297 295#define LINUX_SYS_linux_perf_event_open 298 296#define LINUX_SYS_linux_recvmmsg 299 297#define LINUX_SYS_linux_fanotify_init 300 298#define LINUX_SYS_linux_fanotify_mark 301 299#define LINUX_SYS_linux_prlimit64 302 300#define LINUX_SYS_linux_name_to_handle_at 303 301#define LINUX_SYS_linux_open_by_handle_at 304 302#define LINUX_SYS_linux_clock_adjtime 305 303#define LINUX_SYS_linux_syncfs 306 304#define LINUX_SYS_linux_sendmmsg 307 305#define LINUX_SYS_linux_setns 308 306#define LINUX_SYS_linux_process_vm_readv 309 307#define LINUX_SYS_linux_process_vm_writev 310 308#define LINUX_SYS_linux_kcmp 311 309#define LINUX_SYS_linux_finit_module 312 310#define LINUX_SYS_MAXSYSCALL 314 311