hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

syscallno+x86_64.ha (13354B)


      1 // SPDX-License-Identifier: MPL-2.0
      2 // (c) Hare authors <https://harelang.org>
      3 
      4 export def SYS_read: u64			= 0;
      5 export def SYS_write: u64			= 1;
      6 export def SYS_open: u64			= 2;
      7 export def SYS_close: u64			= 3;
      8 export def SYS_stat: u64			= 4;
      9 export def SYS_fstat: u64			= 5;
     10 export def SYS_lstat: u64			= 6;
     11 export def SYS_poll: u64			= 7;
     12 export def SYS_lseek: u64			= 8;
     13 export def SYS_mmap: u64			= 9;
     14 export def SYS_mprotect: u64			= 10;
     15 export def SYS_munmap: u64			= 11;
     16 export def SYS_brk: u64				= 12;
     17 export def SYS_rt_sigaction: u64		= 13;
     18 export def SYS_rt_sigprocmask: u64		= 14;
     19 export def SYS_rt_sigreturn: u64		= 15;
     20 export def SYS_ioctl: u64			= 16;
     21 export def SYS_pread64: u64			= 17;
     22 export def SYS_pwrite64: u64			= 18;
     23 export def SYS_readv: u64			= 19;
     24 export def SYS_writev: u64			= 20;
     25 export def SYS_access: u64			= 21;
     26 export def SYS_pipe: u64			= 22;
     27 export def SYS_select: u64			= 23;
     28 export def SYS_sched_yield: u64			= 24;
     29 export def SYS_mremap: u64			= 25;
     30 export def SYS_msync: u64			= 26;
     31 export def SYS_mincore: u64			= 27;
     32 export def SYS_madvise: u64			= 28;
     33 export def SYS_shmget: u64			= 29;
     34 export def SYS_shmat: u64			= 30;
     35 export def SYS_shmctl: u64			= 31;
     36 export def SYS_dup: u64				= 32;
     37 export def SYS_dup2: u64			= 33;
     38 export def SYS_pause: u64			= 34;
     39 export def SYS_nanosleep: u64			= 35;
     40 export def SYS_getitimer: u64			= 36;
     41 export def SYS_alarm: u64			= 37;
     42 export def SYS_setitimer: u64			= 38;
     43 export def SYS_getpid: u64			= 39;
     44 export def SYS_sendfile: u64			= 40;
     45 export def SYS_socket: u64			= 41;
     46 export def SYS_connect: u64			= 42;
     47 export def SYS_accept: u64			= 43;
     48 export def SYS_sendto: u64			= 44;
     49 export def SYS_recvfrom: u64			= 45;
     50 export def SYS_sendmsg: u64			= 46;
     51 export def SYS_recvmsg: u64			= 47;
     52 export def SYS_shutdown: u64			= 48;
     53 export def SYS_bind: u64			= 49;
     54 export def SYS_listen: u64			= 50;
     55 export def SYS_getsockname: u64			= 51;
     56 export def SYS_getpeername: u64			= 52;
     57 export def SYS_socketpair: u64			= 53;
     58 export def SYS_setsockopt: u64			= 54;
     59 export def SYS_getsockopt: u64			= 55;
     60 export def SYS_clone: u64			= 56;
     61 export def SYS_fork: u64			= 57;
     62 export def SYS_vfork: u64			= 58;
     63 export def SYS_execve: u64			= 59;
     64 export def SYS_exit: u64			= 60;
     65 export def SYS_wait4: u64			= 61;
     66 export def SYS_kill: u64			= 62;
     67 export def SYS_uname: u64			= 63;
     68 export def SYS_semget: u64			= 64;
     69 export def SYS_semop: u64			= 65;
     70 export def SYS_semctl: u64			= 66;
     71 export def SYS_shmdt: u64			= 67;
     72 export def SYS_msgget: u64			= 68;
     73 export def SYS_msgsnd: u64			= 69;
     74 export def SYS_msgrcv: u64			= 70;
     75 export def SYS_msgctl: u64			= 71;
     76 export def SYS_fcntl: u64			= 72;
     77 export def SYS_flock: u64			= 73;
     78 export def SYS_fsync: u64			= 74;
     79 export def SYS_fdatasync: u64			= 75;
     80 export def SYS_truncate: u64			= 76;
     81 export def SYS_ftruncate: u64			= 77;
     82 export def SYS_getdents: u64			= 78;
     83 export def SYS_getcwd: u64			= 79;
     84 export def SYS_chdir: u64			= 80;
     85 export def SYS_fchdir: u64			= 81;
     86 export def SYS_rename: u64			= 82;
     87 export def SYS_mkdir: u64			= 83;
     88 export def SYS_rmdir: u64			= 84;
     89 export def SYS_creat: u64			= 85;
     90 export def SYS_link: u64			= 86;
     91 export def SYS_unlink: u64			= 87;
     92 export def SYS_symlink: u64			= 88;
     93 export def SYS_readlink: u64			= 89;
     94 export def SYS_chmod: u64			= 90;
     95 export def SYS_fchmod: u64			= 91;
     96 export def SYS_chown: u64			= 92;
     97 export def SYS_fchown: u64			= 93;
     98 export def SYS_lchown: u64			= 94;
     99 export def SYS_umask: u64			= 95;
    100 export def SYS_gettimeofday: u64		= 96;
    101 export def SYS_getrlimit: u64			= 97;
    102 export def SYS_getrusage: u64			= 98;
    103 export def SYS_sysinfo: u64			= 99;
    104 export def SYS_times: u64			= 100;
    105 export def SYS_ptrace: u64			= 101;
    106 export def SYS_getuid: u64			= 102;
    107 export def SYS_syslog: u64			= 103;
    108 export def SYS_getgid: u64			= 104;
    109 export def SYS_setuid: u64			= 105;
    110 export def SYS_setgid: u64			= 106;
    111 export def SYS_geteuid: u64			= 107;
    112 export def SYS_getegid: u64			= 108;
    113 export def SYS_setpgid: u64			= 109;
    114 export def SYS_getppid: u64			= 110;
    115 export def SYS_getpgrp: u64			= 111;
    116 export def SYS_setsid: u64			= 112;
    117 export def SYS_setreuid: u64			= 113;
    118 export def SYS_setregid: u64			= 114;
    119 export def SYS_getgroups: u64			= 115;
    120 export def SYS_setgroups: u64			= 116;
    121 export def SYS_setresuid: u64			= 117;
    122 export def SYS_getresuid: u64			= 118;
    123 export def SYS_setresgid: u64			= 119;
    124 export def SYS_getresgid: u64			= 120;
    125 export def SYS_getpgid: u64			= 121;
    126 export def SYS_setfsuid: u64			= 122;
    127 export def SYS_setfsgid: u64			= 123;
    128 export def SYS_getsid: u64			= 124;
    129 export def SYS_capget: u64			= 125;
    130 export def SYS_capset: u64			= 126;
    131 export def SYS_rt_sigpending: u64		= 127;
    132 export def SYS_rt_sigtimedwait: u64		= 128;
    133 export def SYS_rt_sigqueueinfo: u64		= 129;
    134 export def SYS_rt_sigsuspend: u64		= 130;
    135 export def SYS_sigaltstack: u64			= 131;
    136 export def SYS_utime: u64			= 132;
    137 export def SYS_mknod: u64			= 133;
    138 export def SYS_uselib: u64			= 134;
    139 export def SYS_personality: u64			= 135;
    140 export def SYS_ustat: u64			= 136;
    141 export def SYS_statfs: u64			= 137;
    142 export def SYS_fstatfs: u64			= 138;
    143 export def SYS_sysfs: u64			= 139;
    144 export def SYS_getpriority: u64			= 140;
    145 export def SYS_setpriority: u64			= 141;
    146 export def SYS_sched_setparam: u64		= 142;
    147 export def SYS_sched_getparam: u64		= 143;
    148 export def SYS_sched_setscheduler: u64		= 144;
    149 export def SYS_sched_getscheduler: u64		= 145;
    150 export def SYS_sched_get_priority_max: u64	= 146;
    151 export def SYS_sched_get_priority_min: u64	= 147;
    152 export def SYS_sched_rr_get_interval: u64	= 148;
    153 export def SYS_mlock: u64			= 149;
    154 export def SYS_munlock: u64			= 150;
    155 export def SYS_mlockall: u64			= 151;
    156 export def SYS_munlockall: u64			= 152;
    157 export def SYS_vhangup: u64			= 153;
    158 export def SYS_modify_ldt: u64			= 154;
    159 export def SYS_pivot_root: u64			= 155;
    160 export def SYS__sysctl: u64			= 156;
    161 export def SYS_prctl: u64			= 157;
    162 export def SYS_arch_prctl: u64			= 158;
    163 export def SYS_adjtimex: u64			= 159;
    164 export def SYS_setrlimit: u64			= 160;
    165 export def SYS_chroot: u64			= 161;
    166 export def SYS_sync: u64			= 162;
    167 export def SYS_acct: u64			= 163;
    168 export def SYS_settimeofday: u64		= 164;
    169 export def SYS_mount: u64			= 165;
    170 export def SYS_umount2: u64			= 166;
    171 export def SYS_swapon: u64			= 167;
    172 export def SYS_swapoff: u64			= 168;
    173 export def SYS_reboot: u64			= 169;
    174 export def SYS_sethostname: u64			= 170;
    175 export def SYS_setdomainname: u64		= 171;
    176 export def SYS_iopl: u64			= 172;
    177 export def SYS_ioperm: u64			= 173;
    178 export def SYS_create_module: u64		= 174;
    179 export def SYS_init_module: u64			= 175;
    180 export def SYS_delete_module: u64		= 176;
    181 export def SYS_get_kernel_syms: u64		= 177;
    182 export def SYS_query_module: u64		= 178;
    183 export def SYS_quotactl: u64			= 179;
    184 export def SYS_nfsservctl: u64			= 180;
    185 export def SYS_getpmsg: u64			= 181;
    186 export def SYS_putpmsg: u64			= 182;
    187 export def SYS_afs_syscall: u64			= 183;
    188 export def SYS_tuxcall: u64			= 184;
    189 export def SYS_security: u64			= 185;
    190 export def SYS_gettid: u64			= 186;
    191 export def SYS_readahead: u64			= 187;
    192 export def SYS_setxattr: u64			= 188;
    193 export def SYS_lsetxattr: u64			= 189;
    194 export def SYS_fsetxattr: u64			= 190;
    195 export def SYS_getxattr: u64			= 191;
    196 export def SYS_lgetxattr: u64			= 192;
    197 export def SYS_fgetxattr: u64			= 193;
    198 export def SYS_listxattr: u64			= 194;
    199 export def SYS_llistxattr: u64			= 195;
    200 export def SYS_flistxattr: u64			= 196;
    201 export def SYS_removexattr: u64			= 197;
    202 export def SYS_lremovexattr: u64		= 198;
    203 export def SYS_fremovexattr: u64		= 199;
    204 export def SYS_tkill: u64			= 200;
    205 export def SYS_time: u64			= 201;
    206 export def SYS_futex: u64			= 202;
    207 export def SYS_sched_setaffinity: u64		= 203;
    208 export def SYS_sched_getaffinity: u64		= 204;
    209 export def SYS_set_thread_area: u64		= 205;
    210 export def SYS_io_setup: u64			= 206;
    211 export def SYS_io_destroy: u64			= 207;
    212 export def SYS_io_getevents: u64		= 208;
    213 export def SYS_io_submit: u64			= 209;
    214 export def SYS_io_cancel: u64			= 210;
    215 export def SYS_get_thread_area: u64		= 211;
    216 export def SYS_lookup_dcookie: u64		= 212;
    217 export def SYS_epoll_create: u64		= 213;
    218 export def SYS_epoll_ctl_old: u64		= 214;
    219 export def SYS_epoll_wait_old: u64		= 215;
    220 export def SYS_remap_file_pages: u64		= 216;
    221 export def SYS_getdents64: u64			= 217;
    222 export def SYS_set_tid_address: u64		= 218;
    223 export def SYS_restart_syscall: u64		= 219;
    224 export def SYS_semtimedop: u64			= 220;
    225 export def SYS_fadvise64: u64			= 221;
    226 export def SYS_timer_create: u64		= 222;
    227 export def SYS_timer_settime: u64		= 223;
    228 export def SYS_timer_gettime: u64		= 224;
    229 export def SYS_timer_getoverrun: u64		= 225;
    230 export def SYS_timer_delete: u64		= 226;
    231 export def SYS_clock_settime: u64		= 227;
    232 export def SYS_clock_gettime: u64		= 228;
    233 export def SYS_clock_getres: u64		= 229;
    234 export def SYS_clock_nanosleep: u64		= 230;
    235 export def SYS_exit_group: u64			= 231;
    236 export def SYS_epoll_wait: u64			= 232;
    237 export def SYS_epoll_ctl: u64			= 233;
    238 export def SYS_tgkill: u64			= 234;
    239 export def SYS_utimes: u64			= 235;
    240 export def SYS_vserver: u64			= 236;
    241 export def SYS_mbind: u64			= 237;
    242 export def SYS_set_mempolicy: u64		= 238;
    243 export def SYS_get_mempolicy: u64		= 239;
    244 export def SYS_mq_open: u64			= 240;
    245 export def SYS_mq_unlink: u64			= 241;
    246 export def SYS_mq_timedsend: u64		= 242;
    247 export def SYS_mq_timedreceive: u64		= 243;
    248 export def SYS_mq_notify: u64			= 244;
    249 export def SYS_mq_getsetattr: u64		= 245;
    250 export def SYS_kexec_load: u64			= 246;
    251 export def SYS_waitid: u64			= 247;
    252 export def SYS_add_key: u64			= 248;
    253 export def SYS_request_key: u64			= 249;
    254 export def SYS_keyctl: u64			= 250;
    255 export def SYS_ioprio_set: u64			= 251;
    256 export def SYS_ioprio_get: u64			= 252;
    257 export def SYS_inotify_init: u64		= 253;
    258 export def SYS_inotify_add_watch: u64		= 254;
    259 export def SYS_inotify_rm_watch: u64		= 255;
    260 export def SYS_migrate_pages: u64		= 256;
    261 export def SYS_openat: u64			= 257;
    262 export def SYS_mkdirat: u64			= 258;
    263 export def SYS_mknodat: u64			= 259;
    264 export def SYS_fchownat: u64			= 260;
    265 export def SYS_futimesat: u64			= 261;
    266 export def SYS_newfstatat: u64			= 262;
    267 export def SYS_unlinkat: u64			= 263;
    268 export def SYS_renameat: u64			= 264;
    269 export def SYS_linkat: u64			= 265;
    270 export def SYS_symlinkat: u64			= 266;
    271 export def SYS_readlinkat: u64			= 267;
    272 export def SYS_fchmodat: u64			= 268;
    273 export def SYS_faccessat: u64			= 269;
    274 export def SYS_pselect6: u64			= 270;
    275 export def SYS_ppoll: u64			= 271;
    276 export def SYS_unshare: u64			= 272;
    277 export def SYS_set_robust_list: u64		= 273;
    278 export def SYS_get_robust_list: u64		= 274;
    279 export def SYS_splice: u64			= 275;
    280 export def SYS_tee: u64				= 276;
    281 export def SYS_sync_file_range: u64		= 277;
    282 export def SYS_vmsplice: u64			= 278;
    283 export def SYS_move_pages: u64			= 279;
    284 export def SYS_utimensat: u64			= 280;
    285 export def SYS_epoll_pwait: u64			= 281;
    286 export def SYS_signalfd: u64			= 282;
    287 export def SYS_timerfd_create: u64		= 283;
    288 export def SYS_eventfd: u64			= 284;
    289 export def SYS_fallocate: u64			= 285;
    290 export def SYS_timerfd_settime: u64		= 286;
    291 export def SYS_timerfd_gettime: u64		= 287;
    292 export def SYS_accept4: u64			= 288;
    293 export def SYS_signalfd4: u64			= 289;
    294 export def SYS_eventfd2: u64			= 290;
    295 export def SYS_epoll_create1: u64		= 291;
    296 export def SYS_dup3: u64			= 292;
    297 export def SYS_pipe2: u64			= 293;
    298 export def SYS_inotify_init1: u64		= 294;
    299 export def SYS_preadv: u64			= 295;
    300 export def SYS_pwritev: u64			= 296;
    301 export def SYS_rt_tgsigqueueinfo: u64		= 297;
    302 export def SYS_perf_event_open: u64		= 298;
    303 export def SYS_recvmmsg: u64			= 299;
    304 export def SYS_fanotify_init: u64		= 300;
    305 export def SYS_fanotify_mark: u64		= 301;
    306 export def SYS_prlimit64: u64			= 302;
    307 export def SYS_name_to_handle_at: u64		= 303;
    308 export def SYS_open_by_handle_at: u64		= 304;
    309 export def SYS_clock_adjtime: u64		= 305;
    310 export def SYS_syncfs: u64			= 306;
    311 export def SYS_sendmmsg: u64			= 307;
    312 export def SYS_setns: u64			= 308;
    313 export def SYS_getcpu: u64			= 309;
    314 export def SYS_process_vm_readv: u64		= 310;
    315 export def SYS_process_vm_writev: u64		= 311;
    316 export def SYS_kcmp: u64			= 312;
    317 export def SYS_finit_module: u64		= 313;
    318 export def SYS_sched_setattr: u64		= 314;
    319 export def SYS_sched_getattr: u64		= 315;
    320 export def SYS_renameat2: u64			= 316;
    321 export def SYS_seccomp: u64			= 317;
    322 export def SYS_getrandom: u64			= 318;
    323 export def SYS_memfd_create: u64		= 319;
    324 export def SYS_kexec_file_load: u64		= 320;
    325 export def SYS_bpf: u64				= 321;
    326 export def SYS_execveat: u64			= 322;
    327 export def SYS_userfaultfd: u64			= 323;
    328 export def SYS_membarrier: u64			= 324;
    329 export def SYS_mlock2: u64			= 325;
    330 export def SYS_copy_file_range: u64		= 326;
    331 export def SYS_preadv2: u64			= 327;
    332 export def SYS_pwritev2: u64			= 328;
    333 export def SYS_pkey_mprotect: u64		= 329;
    334 export def SYS_pkey_alloc: u64			= 330;
    335 export def SYS_pkey_free: u64			= 331;
    336 export def SYS_statx: u64			= 332;
    337 export def SYS_io_pgetevents: u64		= 333;
    338 export def SYS_rseq: u64			= 334;
    339 export def SYS_pidfd_send_signal: u64		= 424;
    340 export def SYS_io_uring_setup: u64		= 425;
    341 export def SYS_io_uring_enter: u64		= 426;
    342 export def SYS_io_uring_register: u64		= 427;
    343 export def SYS_open_tree: u64			= 428;
    344 export def SYS_move_mount: u64			= 429;
    345 export def SYS_fsopen: u64			= 430;
    346 export def SYS_fsconfig: u64			= 431;
    347 export def SYS_fsmount: u64			= 432;
    348 export def SYS_fspick: u64			= 433;
    349 export def SYS_openat2: u64			= 437;
    350 export def SYS_faccessat2: u64			= 439;