1570af302Sopenharmony_ci#define __NR_io_setup 0 2570af302Sopenharmony_ci#define __NR_io_destroy 1 3570af302Sopenharmony_ci#define __NR_io_submit 2 4570af302Sopenharmony_ci#define __NR_io_cancel 3 5570af302Sopenharmony_ci#define __NR_setxattr 5 6570af302Sopenharmony_ci#define __NR_lsetxattr 6 7570af302Sopenharmony_ci#define __NR_fsetxattr 7 8570af302Sopenharmony_ci#define __NR_getxattr 8 9570af302Sopenharmony_ci#define __NR_lgetxattr 9 10570af302Sopenharmony_ci#define __NR_fgetxattr 10 11570af302Sopenharmony_ci#define __NR_listxattr 11 12570af302Sopenharmony_ci#define __NR_llistxattr 12 13570af302Sopenharmony_ci#define __NR_flistxattr 13 14570af302Sopenharmony_ci#define __NR_removexattr 14 15570af302Sopenharmony_ci#define __NR_lremovexattr 15 16570af302Sopenharmony_ci#define __NR_fremovexattr 16 17570af302Sopenharmony_ci#define __NR_getcwd 17 18570af302Sopenharmony_ci#define __NR_lookup_dcookie 18 19570af302Sopenharmony_ci#define __NR_eventfd2 19 20570af302Sopenharmony_ci#define __NR_epoll_create1 20 21570af302Sopenharmony_ci#define __NR_epoll_ctl 21 22570af302Sopenharmony_ci#define __NR_epoll_pwait 22 23570af302Sopenharmony_ci#define __NR_dup 23 24570af302Sopenharmony_ci#define __NR_dup3 24 25570af302Sopenharmony_ci#define __NR_fcntl64 25 26570af302Sopenharmony_ci#define __NR_inotify_init1 26 27570af302Sopenharmony_ci#define __NR_inotify_add_watch 27 28570af302Sopenharmony_ci#define __NR_inotify_rm_watch 28 29570af302Sopenharmony_ci#define __NR_ioctl 29 30570af302Sopenharmony_ci#define __NR_ioprio_set 30 31570af302Sopenharmony_ci#define __NR_ioprio_get 31 32570af302Sopenharmony_ci#define __NR_flock 32 33570af302Sopenharmony_ci#define __NR_mknodat 33 34570af302Sopenharmony_ci#define __NR_mkdirat 34 35570af302Sopenharmony_ci#define __NR_unlinkat 35 36570af302Sopenharmony_ci#define __NR_symlinkat 36 37570af302Sopenharmony_ci#define __NR_linkat 37 38570af302Sopenharmony_ci#define __NR_umount2 39 39570af302Sopenharmony_ci#define __NR_mount 40 40570af302Sopenharmony_ci#define __NR_pivot_root 41 41570af302Sopenharmony_ci#define __NR_nfsservctl 42 42570af302Sopenharmony_ci#define __NR_statfs64 43 43570af302Sopenharmony_ci#define __NR_fstatfs64 44 44570af302Sopenharmony_ci#define __NR_truncate64 45 45570af302Sopenharmony_ci#define __NR_ftruncate64 46 46570af302Sopenharmony_ci#define __NR_fallocate 47 47570af302Sopenharmony_ci#define __NR_faccessat 48 48570af302Sopenharmony_ci#define __NR_chdir 49 49570af302Sopenharmony_ci#define __NR_fchdir 50 50570af302Sopenharmony_ci#define __NR_chroot 51 51570af302Sopenharmony_ci#define __NR_fchmod 52 52570af302Sopenharmony_ci#define __NR_fchmodat 53 53570af302Sopenharmony_ci#define __NR_fchownat 54 54570af302Sopenharmony_ci#define __NR_fchown 55 55570af302Sopenharmony_ci#define __NR_openat 56 56570af302Sopenharmony_ci#define __NR_close 57 57570af302Sopenharmony_ci#define __NR_vhangup 58 58570af302Sopenharmony_ci#define __NR_pipe2 59 59570af302Sopenharmony_ci#define __NR_quotactl 60 60570af302Sopenharmony_ci#define __NR_getdents64 61 61570af302Sopenharmony_ci#define __NR__llseek 62 62570af302Sopenharmony_ci#define __NR_read 63 63570af302Sopenharmony_ci#define __NR_write 64 64570af302Sopenharmony_ci#define __NR_readv 65 65570af302Sopenharmony_ci#define __NR_writev 66 66570af302Sopenharmony_ci#define __NR_pread64 67 67570af302Sopenharmony_ci#define __NR_pwrite64 68 68570af302Sopenharmony_ci#define __NR_preadv 69 69570af302Sopenharmony_ci#define __NR_pwritev 70 70570af302Sopenharmony_ci#define __NR_sendfile64 71 71570af302Sopenharmony_ci#define __NR_signalfd4 74 72570af302Sopenharmony_ci#define __NR_vmsplice 75 73570af302Sopenharmony_ci#define __NR_splice 76 74570af302Sopenharmony_ci#define __NR_tee 77 75570af302Sopenharmony_ci#define __NR_readlinkat 78 76570af302Sopenharmony_ci#define __NR_sync 81 77570af302Sopenharmony_ci#define __NR_fsync 82 78570af302Sopenharmony_ci#define __NR_fdatasync 83 79570af302Sopenharmony_ci#define __NR_sync_file_range 84 80570af302Sopenharmony_ci#define __NR_timerfd_create 85 81570af302Sopenharmony_ci#define __NR_acct 89 82570af302Sopenharmony_ci#define __NR_capget 90 83570af302Sopenharmony_ci#define __NR_capset 91 84570af302Sopenharmony_ci#define __NR_personality 92 85570af302Sopenharmony_ci#define __NR_exit 93 86570af302Sopenharmony_ci#define __NR_exit_group 94 87570af302Sopenharmony_ci#define __NR_waitid 95 88570af302Sopenharmony_ci#define __NR_set_tid_address 96 89570af302Sopenharmony_ci#define __NR_unshare 97 90570af302Sopenharmony_ci#define __NR_set_robust_list 99 91570af302Sopenharmony_ci#define __NR_get_robust_list 100 92570af302Sopenharmony_ci#define __NR_nanosleep 101 93570af302Sopenharmony_ci#define __NR_getitimer 102 94570af302Sopenharmony_ci#define __NR_setitimer 103 95570af302Sopenharmony_ci#define __NR_kexec_load 104 96570af302Sopenharmony_ci#define __NR_init_module 105 97570af302Sopenharmony_ci#define __NR_delete_module 106 98570af302Sopenharmony_ci#define __NR_timer_create 107 99570af302Sopenharmony_ci#define __NR_timer_getoverrun 109 100570af302Sopenharmony_ci#define __NR_timer_delete 111 101570af302Sopenharmony_ci#define __NR_syslog 116 102570af302Sopenharmony_ci#define __NR_ptrace 117 103570af302Sopenharmony_ci#define __NR_sched_setparam 118 104570af302Sopenharmony_ci#define __NR_sched_setscheduler 119 105570af302Sopenharmony_ci#define __NR_sched_getscheduler 120 106570af302Sopenharmony_ci#define __NR_sched_getparam 121 107570af302Sopenharmony_ci#define __NR_sched_setaffinity 122 108570af302Sopenharmony_ci#define __NR_sched_getaffinity 123 109570af302Sopenharmony_ci#define __NR_sched_yield 124 110570af302Sopenharmony_ci#define __NR_sched_get_priority_max 125 111570af302Sopenharmony_ci#define __NR_sched_get_priority_min 126 112570af302Sopenharmony_ci#define __NR_restart_syscall 128 113570af302Sopenharmony_ci#define __NR_kill 129 114570af302Sopenharmony_ci#define __NR_tkill 130 115570af302Sopenharmony_ci#define __NR_tgkill 131 116570af302Sopenharmony_ci#define __NR_sigaltstack 132 117570af302Sopenharmony_ci#define __NR_rt_sigsuspend 133 118570af302Sopenharmony_ci#define __NR_rt_sigaction 134 119570af302Sopenharmony_ci#define __NR_rt_sigprocmask 135 120570af302Sopenharmony_ci#define __NR_rt_sigpending 136 121570af302Sopenharmony_ci#define __NR_rt_sigqueueinfo 138 122570af302Sopenharmony_ci#define __NR_rt_sigreturn 139 123570af302Sopenharmony_ci#define __NR_setpriority 140 124570af302Sopenharmony_ci#define __NR_getpriority 141 125570af302Sopenharmony_ci#define __NR_reboot 142 126570af302Sopenharmony_ci#define __NR_setregid 143 127570af302Sopenharmony_ci#define __NR_setgid 144 128570af302Sopenharmony_ci#define __NR_setreuid 145 129570af302Sopenharmony_ci#define __NR_setuid 146 130570af302Sopenharmony_ci#define __NR_setresuid 147 131570af302Sopenharmony_ci#define __NR_getresuid 148 132570af302Sopenharmony_ci#define __NR_setresgid 149 133570af302Sopenharmony_ci#define __NR_getresgid 150 134570af302Sopenharmony_ci#define __NR_setfsuid 151 135570af302Sopenharmony_ci#define __NR_setfsgid 152 136570af302Sopenharmony_ci#define __NR_times 153 137570af302Sopenharmony_ci#define __NR_setpgid 154 138570af302Sopenharmony_ci#define __NR_getpgid 155 139570af302Sopenharmony_ci#define __NR_getsid 156 140570af302Sopenharmony_ci#define __NR_setsid 157 141570af302Sopenharmony_ci#define __NR_getgroups 158 142570af302Sopenharmony_ci#define __NR_setgroups 159 143570af302Sopenharmony_ci#define __NR_uname 160 144570af302Sopenharmony_ci#define __NR_sethostname 161 145570af302Sopenharmony_ci#define __NR_setdomainname 162 146570af302Sopenharmony_ci#define __NR_getrusage 165 147570af302Sopenharmony_ci#define __NR_umask 166 148570af302Sopenharmony_ci#define __NR_prctl 167 149570af302Sopenharmony_ci#define __NR_getcpu 168 150570af302Sopenharmony_ci#define __NR_getpid 172 151570af302Sopenharmony_ci#define __NR_getppid 173 152570af302Sopenharmony_ci#define __NR_getuid 174 153570af302Sopenharmony_ci#define __NR_geteuid 175 154570af302Sopenharmony_ci#define __NR_getgid 176 155570af302Sopenharmony_ci#define __NR_getegid 177 156570af302Sopenharmony_ci#define __NR_gettid 178 157570af302Sopenharmony_ci#define __NR_sysinfo 179 158570af302Sopenharmony_ci#define __NR_mq_open 180 159570af302Sopenharmony_ci#define __NR_mq_unlink 181 160570af302Sopenharmony_ci#define __NR_mq_notify 184 161570af302Sopenharmony_ci#define __NR_mq_getsetattr 185 162570af302Sopenharmony_ci#define __NR_msgget 186 163570af302Sopenharmony_ci#define __NR_msgctl 187 164570af302Sopenharmony_ci#define __NR_msgrcv 188 165570af302Sopenharmony_ci#define __NR_msgsnd 189 166570af302Sopenharmony_ci#define __NR_semget 190 167570af302Sopenharmony_ci#define __NR_semctl 191 168570af302Sopenharmony_ci#define __NR_semop 193 169570af302Sopenharmony_ci#define __NR_shmget 194 170570af302Sopenharmony_ci#define __NR_shmctl 195 171570af302Sopenharmony_ci#define __NR_shmat 196 172570af302Sopenharmony_ci#define __NR_shmdt 197 173570af302Sopenharmony_ci#define __NR_socket 198 174570af302Sopenharmony_ci#define __NR_socketpair 199 175570af302Sopenharmony_ci#define __NR_bind 200 176570af302Sopenharmony_ci#define __NR_listen 201 177570af302Sopenharmony_ci#define __NR_accept 202 178570af302Sopenharmony_ci#define __NR_connect 203 179570af302Sopenharmony_ci#define __NR_getsockname 204 180570af302Sopenharmony_ci#define __NR_getpeername 205 181570af302Sopenharmony_ci#define __NR_sendto 206 182570af302Sopenharmony_ci#define __NR_recvfrom 207 183570af302Sopenharmony_ci#define __NR_setsockopt 208 184570af302Sopenharmony_ci#define __NR_getsockopt 209 185570af302Sopenharmony_ci#define __NR_shutdown 210 186570af302Sopenharmony_ci#define __NR_sendmsg 211 187570af302Sopenharmony_ci#define __NR_recvmsg 212 188570af302Sopenharmony_ci#define __NR_readahead 213 189570af302Sopenharmony_ci#define __NR_brk 214 190570af302Sopenharmony_ci#define __NR_munmap 215 191570af302Sopenharmony_ci#define __NR_mremap 216 192570af302Sopenharmony_ci#define __NR_add_key 217 193570af302Sopenharmony_ci#define __NR_request_key 218 194570af302Sopenharmony_ci#define __NR_keyctl 219 195570af302Sopenharmony_ci#define __NR_clone 220 196570af302Sopenharmony_ci#define __NR_execve 221 197570af302Sopenharmony_ci#define __NR_mmap2 222 198570af302Sopenharmony_ci#define __NR_fadvise64_64 223 199570af302Sopenharmony_ci#define __NR_swapon 224 200570af302Sopenharmony_ci#define __NR_swapoff 225 201570af302Sopenharmony_ci#define __NR_mprotect 226 202570af302Sopenharmony_ci#define __NR_msync 227 203570af302Sopenharmony_ci#define __NR_mlock 228 204570af302Sopenharmony_ci#define __NR_munlock 229 205570af302Sopenharmony_ci#define __NR_mlockall 230 206570af302Sopenharmony_ci#define __NR_munlockall 231 207570af302Sopenharmony_ci#define __NR_mincore 232 208570af302Sopenharmony_ci#define __NR_madvise 233 209570af302Sopenharmony_ci#define __NR_remap_file_pages 234 210570af302Sopenharmony_ci#define __NR_mbind 235 211570af302Sopenharmony_ci#define __NR_get_mempolicy 236 212570af302Sopenharmony_ci#define __NR_set_mempolicy 237 213570af302Sopenharmony_ci#define __NR_migrate_pages 238 214570af302Sopenharmony_ci#define __NR_move_pages 239 215570af302Sopenharmony_ci#define __NR_rt_tgsigqueueinfo 240 216570af302Sopenharmony_ci#define __NR_perf_event_open 241 217570af302Sopenharmony_ci#define __NR_accept4 242 218570af302Sopenharmony_ci#define __NR_arch_specific_syscall 244 219570af302Sopenharmony_ci#define __NR_prlimit64 261 220570af302Sopenharmony_ci#define __NR_fanotify_init 262 221570af302Sopenharmony_ci#define __NR_fanotify_mark 263 222570af302Sopenharmony_ci#define __NR_name_to_handle_at 264 223570af302Sopenharmony_ci#define __NR_open_by_handle_at 265 224570af302Sopenharmony_ci#define __NR_syncfs 267 225570af302Sopenharmony_ci#define __NR_setns 268 226570af302Sopenharmony_ci#define __NR_sendmmsg 269 227570af302Sopenharmony_ci#define __NR_process_vm_readv 270 228570af302Sopenharmony_ci#define __NR_process_vm_writev 271 229570af302Sopenharmony_ci#define __NR_kcmp 272 230570af302Sopenharmony_ci#define __NR_finit_module 273 231570af302Sopenharmony_ci#define __NR_sched_setattr 274 232570af302Sopenharmony_ci#define __NR_sched_getattr 275 233570af302Sopenharmony_ci#define __NR_renameat2 276 234570af302Sopenharmony_ci#define __NR_seccomp 277 235570af302Sopenharmony_ci#define __NR_getrandom 278 236570af302Sopenharmony_ci#define __NR_memfd_create 279 237570af302Sopenharmony_ci#define __NR_bpf 280 238570af302Sopenharmony_ci#define __NR_execveat 281 239570af302Sopenharmony_ci#define __NR_userfaultfd 282 240570af302Sopenharmony_ci#define __NR_membarrier 283 241570af302Sopenharmony_ci#define __NR_mlock2 284 242570af302Sopenharmony_ci#define __NR_copy_file_range 285 243570af302Sopenharmony_ci#define __NR_preadv2 286 244570af302Sopenharmony_ci#define __NR_pwritev2 287 245570af302Sopenharmony_ci#define __NR_pkey_mprotect 288 246570af302Sopenharmony_ci#define __NR_pkey_alloc 289 247570af302Sopenharmony_ci#define __NR_pkey_free 290 248570af302Sopenharmony_ci#define __NR_statx 291 249570af302Sopenharmony_ci#define __NR_rseq 293 250570af302Sopenharmony_ci#define __NR_kexec_file_load 294 251570af302Sopenharmony_ci#define __NR_clock_gettime64 403 252570af302Sopenharmony_ci#define __NR_clock_settime64 404 253570af302Sopenharmony_ci#define __NR_clock_adjtime64 405 254570af302Sopenharmony_ci#define __NR_clock_getres_time64 406 255570af302Sopenharmony_ci#define __NR_clock_nanosleep_time64 407 256570af302Sopenharmony_ci#define __NR_timer_gettime64 408 257570af302Sopenharmony_ci#define __NR_timer_settime64 409 258570af302Sopenharmony_ci#define __NR_timerfd_gettime64 410 259570af302Sopenharmony_ci#define __NR_timerfd_settime64 411 260570af302Sopenharmony_ci#define __NR_utimensat_time64 412 261570af302Sopenharmony_ci#define __NR_pselect6_time64 413 262570af302Sopenharmony_ci#define __NR_ppoll_time64 414 263570af302Sopenharmony_ci#define __NR_io_pgetevents_time64 416 264570af302Sopenharmony_ci#define __NR_recvmmsg_time64 417 265570af302Sopenharmony_ci#define __NR_mq_timedsend_time64 418 266570af302Sopenharmony_ci#define __NR_mq_timedreceive_time64 419 267570af302Sopenharmony_ci#define __NR_semtimedop_time64 420 268570af302Sopenharmony_ci#define __NR_rt_sigtimedwait_time64 421 269570af302Sopenharmony_ci#define __NR_futex_time64 422 270570af302Sopenharmony_ci#define __NR_sched_rr_get_interval_time64 423 271570af302Sopenharmony_ci#define __NR_pidfd_send_signal 424 272570af302Sopenharmony_ci#define __NR_io_uring_setup 425 273570af302Sopenharmony_ci#define __NR_io_uring_enter 426 274570af302Sopenharmony_ci#define __NR_io_uring_register 427 275570af302Sopenharmony_ci#define __NR_open_tree 428 276570af302Sopenharmony_ci#define __NR_move_mount 429 277570af302Sopenharmony_ci#define __NR_fsopen 430 278570af302Sopenharmony_ci#define __NR_fsconfig 431 279570af302Sopenharmony_ci#define __NR_fsmount 432 280570af302Sopenharmony_ci#define __NR_fspick 433 281570af302Sopenharmony_ci#define __NR_pidfd_open 434 282570af302Sopenharmony_ci#define __NR_clone3 435 283570af302Sopenharmony_ci#define __NR_openat2 437 284570af302Sopenharmony_ci#define __NR_pidfd_getfd 438 285570af302Sopenharmony_ci#define __NR_faccessat2 439 286570af302Sopenharmony_ci#define __NR_process_madvise 440 287570af302Sopenharmony_ci#define __NR_epoll_pwait2 441 288570af302Sopenharmony_ci#define __NR_mount_setattr 442 289570af302Sopenharmony_ci#define __NR_landlock_create_ruleset 444 290570af302Sopenharmony_ci#define __NR_landlock_add_rule 445 291570af302Sopenharmony_ci#define __NR_landlock_restrict_self 446 292570af302Sopenharmony_ci#define __NR_process_mrelease 448 293570af302Sopenharmony_ci#define __NR_futex_waitv 449 294570af302Sopenharmony_ci#define __NR_set_mempolicy_home_node 450 295570af302Sopenharmony_ci#define __NR_cachestat 451 296570af302Sopenharmony_ci#define __NR_fchmodat2 452 297570af302Sopenharmony_ci#define __NR_futex __NR_futex_time64 298570af302Sopenharmony_ci 299570af302Sopenharmony_ci#define __NR_sysriscv __NR_arch_specific_syscall 300570af302Sopenharmony_ci#define __NR_riscv_flush_icache (__NR_sysriscv + 15) 301