122851890Sopenharmony_ci/**************************************************************************** 222851890Sopenharmony_ci **************************************************************************** 322851890Sopenharmony_ci *** 422851890Sopenharmony_ci *** This header was automatically generated from a Linux kernel header 522851890Sopenharmony_ci *** of the same name, to make information necessary for userspace to 622851890Sopenharmony_ci *** call into the kernel available to libc. It contains only constants, 722851890Sopenharmony_ci *** structures, and macros generated from the original header, and thus, 822851890Sopenharmony_ci *** contains no copyrightable information. 922851890Sopenharmony_ci *** 1022851890Sopenharmony_ci *** To edit the content of this header, modify the corresponding 1122851890Sopenharmony_ci *** source file (e.g. under external/kernel-headers/original/) then 1222851890Sopenharmony_ci *** run bionic/libc/kernel/tools/update_all.py 1322851890Sopenharmony_ci *** 1422851890Sopenharmony_ci *** Any manual change here will be lost the next time this script will 1522851890Sopenharmony_ci *** be run. You've been warned! 1622851890Sopenharmony_ci *** 1722851890Sopenharmony_ci **************************************************************************** 1822851890Sopenharmony_ci ****************************************************************************/ 1922851890Sopenharmony_ci#include <asm/bitsperlong.h> 2022851890Sopenharmony_ci#ifndef __SYSCALL 2122851890Sopenharmony_ci#define __SYSCALL(x,y) 2222851890Sopenharmony_ci#endif 2322851890Sopenharmony_ci#if __BITS_PER_LONG == 32 || defined(__SYSCALL_COMPAT) 2422851890Sopenharmony_ci#define __SC_3264(_nr,_32,_64) __SYSCALL(_nr, _32) 2522851890Sopenharmony_ci#else 2622851890Sopenharmony_ci#define __SC_3264(_nr,_32,_64) __SYSCALL(_nr, _64) 2722851890Sopenharmony_ci#endif 2822851890Sopenharmony_ci#ifdef __SYSCALL_COMPAT 2922851890Sopenharmony_ci#define __SC_COMP(_nr,_sys,_comp) __SYSCALL(_nr, _comp) 3022851890Sopenharmony_ci#define __SC_COMP_3264(_nr,_32,_64,_comp) __SYSCALL(_nr, _comp) 3122851890Sopenharmony_ci#else 3222851890Sopenharmony_ci#define __SC_COMP(_nr,_sys,_comp) __SYSCALL(_nr, _sys) 3322851890Sopenharmony_ci#define __SC_COMP_3264(_nr,_32,_64,_comp) __SC_3264(_nr, _32, _64) 3422851890Sopenharmony_ci#endif 3522851890Sopenharmony_ci#define __NR_io_setup 0 3622851890Sopenharmony_ci#define __NR_io_destroy 1 3722851890Sopenharmony_ci#define __NR_io_submit 2 3822851890Sopenharmony_ci#define __NR_io_cancel 3 3922851890Sopenharmony_ci#if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 4022851890Sopenharmony_ci#define __NR_io_getevents 4 4122851890Sopenharmony_ci#endif 4222851890Sopenharmony_ci#define __NR_setxattr 5 4322851890Sopenharmony_ci#define __NR_lsetxattr 6 4422851890Sopenharmony_ci#define __NR_fsetxattr 7 4522851890Sopenharmony_ci#define __NR_getxattr 8 4622851890Sopenharmony_ci#define __NR_lgetxattr 9 4722851890Sopenharmony_ci#define __NR_fgetxattr 10 4822851890Sopenharmony_ci#define __NR_listxattr 11 4922851890Sopenharmony_ci#define __NR_llistxattr 12 5022851890Sopenharmony_ci#define __NR_flistxattr 13 5122851890Sopenharmony_ci#define __NR_removexattr 14 5222851890Sopenharmony_ci#define __NR_lremovexattr 15 5322851890Sopenharmony_ci#define __NR_fremovexattr 16 5422851890Sopenharmony_ci#define __NR_getcwd 17 5522851890Sopenharmony_ci#define __NR_lookup_dcookie 18 5622851890Sopenharmony_ci#define __NR_eventfd2 19 5722851890Sopenharmony_ci#define __NR_epoll_create1 20 5822851890Sopenharmony_ci#define __NR_epoll_ctl 21 5922851890Sopenharmony_ci#define __NR_epoll_pwait 22 6022851890Sopenharmony_ci#define __NR_dup 23 6122851890Sopenharmony_ci#define __NR_dup3 24 6222851890Sopenharmony_ci#define __NR3264_fcntl 25 6322851890Sopenharmony_ci#define __NR_inotify_init1 26 6422851890Sopenharmony_ci#define __NR_inotify_add_watch 27 6522851890Sopenharmony_ci#define __NR_inotify_rm_watch 28 6622851890Sopenharmony_ci#define __NR_ioctl 29 6722851890Sopenharmony_ci#define __NR_ioprio_set 30 6822851890Sopenharmony_ci#define __NR_ioprio_get 31 6922851890Sopenharmony_ci#define __NR_flock 32 7022851890Sopenharmony_ci#define __NR_mknodat 33 7122851890Sopenharmony_ci#define __NR_mkdirat 34 7222851890Sopenharmony_ci#define __NR_unlinkat 35 7322851890Sopenharmony_ci#define __NR_symlinkat 36 7422851890Sopenharmony_ci#define __NR_linkat 37 7522851890Sopenharmony_ci#ifdef __ARCH_WANT_RENAMEAT 7622851890Sopenharmony_ci#define __NR_renameat 38 7722851890Sopenharmony_ci#endif 7822851890Sopenharmony_ci#define __NR_umount2 39 7922851890Sopenharmony_ci#define __NR_mount 40 8022851890Sopenharmony_ci#define __NR_pivot_root 41 8122851890Sopenharmony_ci#define __NR_nfsservctl 42 8222851890Sopenharmony_ci#define __NR3264_statfs 43 8322851890Sopenharmony_ci#define __NR3264_fstatfs 44 8422851890Sopenharmony_ci#define __NR3264_truncate 45 8522851890Sopenharmony_ci#define __NR3264_ftruncate 46 8622851890Sopenharmony_ci#define __NR_fallocate 47 8722851890Sopenharmony_ci#define __NR_faccessat 48 8822851890Sopenharmony_ci#define __NR_chdir 49 8922851890Sopenharmony_ci#define __NR_fchdir 50 9022851890Sopenharmony_ci#define __NR_chroot 51 9122851890Sopenharmony_ci#define __NR_fchmod 52 9222851890Sopenharmony_ci#define __NR_fchmodat 53 9322851890Sopenharmony_ci#define __NR_fchownat 54 9422851890Sopenharmony_ci#define __NR_fchown 55 9522851890Sopenharmony_ci#define __NR_openat 56 9622851890Sopenharmony_ci#define __NR_close 57 9722851890Sopenharmony_ci#define __NR_vhangup 58 9822851890Sopenharmony_ci#define __NR_pipe2 59 9922851890Sopenharmony_ci#define __NR_quotactl 60 10022851890Sopenharmony_ci#define __NR_getdents64 61 10122851890Sopenharmony_ci#define __NR3264_lseek 62 10222851890Sopenharmony_ci#define __NR_read 63 10322851890Sopenharmony_ci#define __NR_write 64 10422851890Sopenharmony_ci#define __NR_readv 65 10522851890Sopenharmony_ci#define __NR_writev 66 10622851890Sopenharmony_ci#define __NR_pread64 67 10722851890Sopenharmony_ci#define __NR_pwrite64 68 10822851890Sopenharmony_ci#define __NR_preadv 69 10922851890Sopenharmony_ci#define __NR_pwritev 70 11022851890Sopenharmony_ci#define __NR3264_sendfile 71 11122851890Sopenharmony_ci#if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 11222851890Sopenharmony_ci#define __NR_pselect6 72 11322851890Sopenharmony_ci#define __NR_ppoll 73 11422851890Sopenharmony_ci#endif 11522851890Sopenharmony_ci#define __NR_signalfd4 74 11622851890Sopenharmony_ci#define __NR_vmsplice 75 11722851890Sopenharmony_ci#define __NR_splice 76 11822851890Sopenharmony_ci#define __NR_tee 77 11922851890Sopenharmony_ci#define __NR_readlinkat 78 12022851890Sopenharmony_ci#if defined(__ARCH_WANT_NEW_STAT) || defined(__ARCH_WANT_STAT64) 12122851890Sopenharmony_ci#define __NR3264_fstatat 79 12222851890Sopenharmony_ci#define __NR3264_fstat 80 12322851890Sopenharmony_ci#endif 12422851890Sopenharmony_ci#define __NR_sync 81 12522851890Sopenharmony_ci#define __NR_fsync 82 12622851890Sopenharmony_ci#define __NR_fdatasync 83 12722851890Sopenharmony_ci#ifdef __ARCH_WANT_SYNC_FILE_RANGE2 12822851890Sopenharmony_ci#define __NR_sync_file_range2 84 12922851890Sopenharmony_ci#else 13022851890Sopenharmony_ci#define __NR_sync_file_range 84 13122851890Sopenharmony_ci#endif 13222851890Sopenharmony_ci#define __NR_timerfd_create 85 13322851890Sopenharmony_ci#if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 13422851890Sopenharmony_ci#define __NR_timerfd_settime 86 13522851890Sopenharmony_ci#define __NR_timerfd_gettime 87 13622851890Sopenharmony_ci#endif 13722851890Sopenharmony_ci#if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 13822851890Sopenharmony_ci#define __NR_utimensat 88 13922851890Sopenharmony_ci#endif 14022851890Sopenharmony_ci#define __NR_acct 89 14122851890Sopenharmony_ci#define __NR_capget 90 14222851890Sopenharmony_ci#define __NR_capset 91 14322851890Sopenharmony_ci#define __NR_personality 92 14422851890Sopenharmony_ci#define __NR_exit 93 14522851890Sopenharmony_ci#define __NR_exit_group 94 14622851890Sopenharmony_ci#define __NR_waitid 95 14722851890Sopenharmony_ci#define __NR_set_tid_address 96 14822851890Sopenharmony_ci#define __NR_unshare 97 14922851890Sopenharmony_ci#if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 15022851890Sopenharmony_ci#define __NR_futex 98 15122851890Sopenharmony_ci#endif 15222851890Sopenharmony_ci#define __NR_set_robust_list 99 15322851890Sopenharmony_ci#define __NR_get_robust_list 100 15422851890Sopenharmony_ci#if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 15522851890Sopenharmony_ci#define __NR_nanosleep 101 15622851890Sopenharmony_ci#endif 15722851890Sopenharmony_ci#define __NR_getitimer 102 15822851890Sopenharmony_ci#define __NR_setitimer 103 15922851890Sopenharmony_ci#define __NR_kexec_load 104 16022851890Sopenharmony_ci#define __NR_init_module 105 16122851890Sopenharmony_ci#define __NR_delete_module 106 16222851890Sopenharmony_ci#define __NR_timer_create 107 16322851890Sopenharmony_ci#if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 16422851890Sopenharmony_ci#define __NR_timer_gettime 108 16522851890Sopenharmony_ci#endif 16622851890Sopenharmony_ci#define __NR_timer_getoverrun 109 16722851890Sopenharmony_ci#if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 16822851890Sopenharmony_ci#define __NR_timer_settime 110 16922851890Sopenharmony_ci#endif 17022851890Sopenharmony_ci#define __NR_timer_delete 111 17122851890Sopenharmony_ci#if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 17222851890Sopenharmony_ci#define __NR_clock_settime 112 17322851890Sopenharmony_ci#define __NR_clock_gettime 113 17422851890Sopenharmony_ci#define __NR_clock_getres 114 17522851890Sopenharmony_ci#define __NR_clock_nanosleep 115 17622851890Sopenharmony_ci#endif 17722851890Sopenharmony_ci#define __NR_syslog 116 17822851890Sopenharmony_ci#define __NR_ptrace 117 17922851890Sopenharmony_ci#define __NR_sched_setparam 118 18022851890Sopenharmony_ci#define __NR_sched_setscheduler 119 18122851890Sopenharmony_ci#define __NR_sched_getscheduler 120 18222851890Sopenharmony_ci#define __NR_sched_getparam 121 18322851890Sopenharmony_ci#define __NR_sched_setaffinity 122 18422851890Sopenharmony_ci#define __NR_sched_getaffinity 123 18522851890Sopenharmony_ci#define __NR_sched_yield 124 18622851890Sopenharmony_ci#define __NR_sched_get_priority_max 125 18722851890Sopenharmony_ci#define __NR_sched_get_priority_min 126 18822851890Sopenharmony_ci#if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 18922851890Sopenharmony_ci#define __NR_sched_rr_get_interval 127 19022851890Sopenharmony_ci#endif 19122851890Sopenharmony_ci#define __NR_restart_syscall 128 19222851890Sopenharmony_ci#define __NR_kill 129 19322851890Sopenharmony_ci#define __NR_tkill 130 19422851890Sopenharmony_ci#define __NR_tgkill 131 19522851890Sopenharmony_ci#define __NR_sigaltstack 132 19622851890Sopenharmony_ci#define __NR_rt_sigsuspend 133 19722851890Sopenharmony_ci#define __NR_rt_sigaction 134 19822851890Sopenharmony_ci#define __NR_rt_sigprocmask 135 19922851890Sopenharmony_ci#define __NR_rt_sigpending 136 20022851890Sopenharmony_ci#if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 20122851890Sopenharmony_ci#define __NR_rt_sigtimedwait 137 20222851890Sopenharmony_ci#endif 20322851890Sopenharmony_ci#define __NR_rt_sigqueueinfo 138 20422851890Sopenharmony_ci#define __NR_rt_sigreturn 139 20522851890Sopenharmony_ci#define __NR_setpriority 140 20622851890Sopenharmony_ci#define __NR_getpriority 141 20722851890Sopenharmony_ci#define __NR_reboot 142 20822851890Sopenharmony_ci#define __NR_setregid 143 20922851890Sopenharmony_ci#define __NR_setgid 144 21022851890Sopenharmony_ci#define __NR_setreuid 145 21122851890Sopenharmony_ci#define __NR_setuid 146 21222851890Sopenharmony_ci#define __NR_setresuid 147 21322851890Sopenharmony_ci#define __NR_getresuid 148 21422851890Sopenharmony_ci#define __NR_setresgid 149 21522851890Sopenharmony_ci#define __NR_getresgid 150 21622851890Sopenharmony_ci#define __NR_setfsuid 151 21722851890Sopenharmony_ci#define __NR_setfsgid 152 21822851890Sopenharmony_ci#define __NR_times 153 21922851890Sopenharmony_ci#define __NR_setpgid 154 22022851890Sopenharmony_ci#define __NR_getpgid 155 22122851890Sopenharmony_ci#define __NR_getsid 156 22222851890Sopenharmony_ci#define __NR_setsid 157 22322851890Sopenharmony_ci#define __NR_getgroups 158 22422851890Sopenharmony_ci#define __NR_setgroups 159 22522851890Sopenharmony_ci#define __NR_uname 160 22622851890Sopenharmony_ci#define __NR_sethostname 161 22722851890Sopenharmony_ci#define __NR_setdomainname 162 22822851890Sopenharmony_ci#ifdef __ARCH_WANT_SET_GET_RLIMIT 22922851890Sopenharmony_ci#define __NR_getrlimit 163 23022851890Sopenharmony_ci#define __NR_setrlimit 164 23122851890Sopenharmony_ci#endif 23222851890Sopenharmony_ci#define __NR_getrusage 165 23322851890Sopenharmony_ci#define __NR_umask 166 23422851890Sopenharmony_ci#define __NR_prctl 167 23522851890Sopenharmony_ci#define __NR_getcpu 168 23622851890Sopenharmony_ci#if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 23722851890Sopenharmony_ci#define __NR_gettimeofday 169 23822851890Sopenharmony_ci#define __NR_settimeofday 170 23922851890Sopenharmony_ci#define __NR_adjtimex 171 24022851890Sopenharmony_ci#endif 24122851890Sopenharmony_ci#define __NR_getpid 172 24222851890Sopenharmony_ci#define __NR_getppid 173 24322851890Sopenharmony_ci#define __NR_getuid 174 24422851890Sopenharmony_ci#define __NR_geteuid 175 24522851890Sopenharmony_ci#define __NR_getgid 176 24622851890Sopenharmony_ci#define __NR_getegid 177 24722851890Sopenharmony_ci#define __NR_gettid 178 24822851890Sopenharmony_ci#define __NR_sysinfo 179 24922851890Sopenharmony_ci#define __NR_mq_open 180 25022851890Sopenharmony_ci#define __NR_mq_unlink 181 25122851890Sopenharmony_ci#if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 25222851890Sopenharmony_ci#define __NR_mq_timedsend 182 25322851890Sopenharmony_ci#define __NR_mq_timedreceive 183 25422851890Sopenharmony_ci#endif 25522851890Sopenharmony_ci#define __NR_mq_notify 184 25622851890Sopenharmony_ci#define __NR_mq_getsetattr 185 25722851890Sopenharmony_ci#define __NR_msgget 186 25822851890Sopenharmony_ci#define __NR_msgctl 187 25922851890Sopenharmony_ci#define __NR_msgrcv 188 26022851890Sopenharmony_ci#define __NR_msgsnd 189 26122851890Sopenharmony_ci#define __NR_semget 190 26222851890Sopenharmony_ci#define __NR_semctl 191 26322851890Sopenharmony_ci#if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 26422851890Sopenharmony_ci#define __NR_semtimedop 192 26522851890Sopenharmony_ci#endif 26622851890Sopenharmony_ci#define __NR_semop 193 26722851890Sopenharmony_ci#define __NR_shmget 194 26822851890Sopenharmony_ci#define __NR_shmctl 195 26922851890Sopenharmony_ci#define __NR_shmat 196 27022851890Sopenharmony_ci#define __NR_shmdt 197 27122851890Sopenharmony_ci#define __NR_socket 198 27222851890Sopenharmony_ci#define __NR_socketpair 199 27322851890Sopenharmony_ci#define __NR_bind 200 27422851890Sopenharmony_ci#define __NR_listen 201 27522851890Sopenharmony_ci#define __NR_accept 202 27622851890Sopenharmony_ci#define __NR_connect 203 27722851890Sopenharmony_ci#define __NR_getsockname 204 27822851890Sopenharmony_ci#define __NR_getpeername 205 27922851890Sopenharmony_ci#define __NR_sendto 206 28022851890Sopenharmony_ci#define __NR_recvfrom 207 28122851890Sopenharmony_ci#define __NR_setsockopt 208 28222851890Sopenharmony_ci#define __NR_getsockopt 209 28322851890Sopenharmony_ci#define __NR_shutdown 210 28422851890Sopenharmony_ci#define __NR_sendmsg 211 28522851890Sopenharmony_ci#define __NR_recvmsg 212 28622851890Sopenharmony_ci#define __NR_readahead 213 28722851890Sopenharmony_ci#define __NR_brk 214 28822851890Sopenharmony_ci#define __NR_munmap 215 28922851890Sopenharmony_ci#define __NR_mremap 216 29022851890Sopenharmony_ci#define __NR_add_key 217 29122851890Sopenharmony_ci#define __NR_request_key 218 29222851890Sopenharmony_ci#define __NR_keyctl 219 29322851890Sopenharmony_ci#define __NR_clone 220 29422851890Sopenharmony_ci#define __NR_execve 221 29522851890Sopenharmony_ci#define __NR3264_mmap 222 29622851890Sopenharmony_ci#define __NR3264_fadvise64 223 29722851890Sopenharmony_ci#ifndef __ARCH_NOMMU 29822851890Sopenharmony_ci#define __NR_swapon 224 29922851890Sopenharmony_ci#define __NR_swapoff 225 30022851890Sopenharmony_ci#define __NR_mprotect 226 30122851890Sopenharmony_ci#define __NR_msync 227 30222851890Sopenharmony_ci#define __NR_mlock 228 30322851890Sopenharmony_ci#define __NR_munlock 229 30422851890Sopenharmony_ci#define __NR_mlockall 230 30522851890Sopenharmony_ci#define __NR_munlockall 231 30622851890Sopenharmony_ci#define __NR_mincore 232 30722851890Sopenharmony_ci#define __NR_madvise 233 30822851890Sopenharmony_ci#define __NR_remap_file_pages 234 30922851890Sopenharmony_ci#define __NR_mbind 235 31022851890Sopenharmony_ci#define __NR_get_mempolicy 236 31122851890Sopenharmony_ci#define __NR_set_mempolicy 237 31222851890Sopenharmony_ci#define __NR_migrate_pages 238 31322851890Sopenharmony_ci#define __NR_move_pages 239 31422851890Sopenharmony_ci#endif 31522851890Sopenharmony_ci#define __NR_rt_tgsigqueueinfo 240 31622851890Sopenharmony_ci#define __NR_perf_event_open 241 31722851890Sopenharmony_ci#define __NR_accept4 242 31822851890Sopenharmony_ci#if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 31922851890Sopenharmony_ci#define __NR_recvmmsg 243 32022851890Sopenharmony_ci#endif 32122851890Sopenharmony_ci#define __NR_arch_specific_syscall 244 32222851890Sopenharmony_ci#if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 32322851890Sopenharmony_ci#define __NR_wait4 260 32422851890Sopenharmony_ci#endif 32522851890Sopenharmony_ci#define __NR_prlimit64 261 32622851890Sopenharmony_ci#define __NR_fanotify_init 262 32722851890Sopenharmony_ci#define __NR_fanotify_mark 263 32822851890Sopenharmony_ci#define __NR_name_to_handle_at 264 32922851890Sopenharmony_ci#define __NR_open_by_handle_at 265 33022851890Sopenharmony_ci#if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 33122851890Sopenharmony_ci#define __NR_clock_adjtime 266 33222851890Sopenharmony_ci#endif 33322851890Sopenharmony_ci#define __NR_syncfs 267 33422851890Sopenharmony_ci#define __NR_setns 268 33522851890Sopenharmony_ci#define __NR_sendmmsg 269 33622851890Sopenharmony_ci#define __NR_process_vm_readv 270 33722851890Sopenharmony_ci#define __NR_process_vm_writev 271 33822851890Sopenharmony_ci#define __NR_kcmp 272 33922851890Sopenharmony_ci#define __NR_finit_module 273 34022851890Sopenharmony_ci#define __NR_sched_setattr 274 34122851890Sopenharmony_ci#define __NR_sched_getattr 275 34222851890Sopenharmony_ci#define __NR_renameat2 276 34322851890Sopenharmony_ci#define __NR_seccomp 277 34422851890Sopenharmony_ci#define __NR_getrandom 278 34522851890Sopenharmony_ci#define __NR_memfd_create 279 34622851890Sopenharmony_ci#define __NR_bpf 280 34722851890Sopenharmony_ci#define __NR_execveat 281 34822851890Sopenharmony_ci#define __NR_userfaultfd 282 34922851890Sopenharmony_ci#define __NR_membarrier 283 35022851890Sopenharmony_ci#define __NR_mlock2 284 35122851890Sopenharmony_ci#define __NR_copy_file_range 285 35222851890Sopenharmony_ci#define __NR_preadv2 286 35322851890Sopenharmony_ci#define __NR_pwritev2 287 35422851890Sopenharmony_ci#define __NR_pkey_mprotect 288 35522851890Sopenharmony_ci#define __NR_pkey_alloc 289 35622851890Sopenharmony_ci#define __NR_pkey_free 290 35722851890Sopenharmony_ci#define __NR_statx 291 35822851890Sopenharmony_ci#if defined(__ARCH_WANT_TIME32_SYSCALLS) || __BITS_PER_LONG != 32 35922851890Sopenharmony_ci#define __NR_io_pgetevents 292 36022851890Sopenharmony_ci#endif 36122851890Sopenharmony_ci#define __NR_rseq 293 36222851890Sopenharmony_ci#define __NR_kexec_file_load 294 36322851890Sopenharmony_ci#if __BITS_PER_LONG == 32 36422851890Sopenharmony_ci#define __NR_clock_gettime64 403 36522851890Sopenharmony_ci#define __NR_clock_settime64 404 36622851890Sopenharmony_ci#define __NR_clock_adjtime64 405 36722851890Sopenharmony_ci#define __NR_clock_getres_time64 406 36822851890Sopenharmony_ci#define __NR_clock_nanosleep_time64 407 36922851890Sopenharmony_ci#define __NR_timer_gettime64 408 37022851890Sopenharmony_ci#define __NR_timer_settime64 409 37122851890Sopenharmony_ci#define __NR_timerfd_gettime64 410 37222851890Sopenharmony_ci#define __NR_timerfd_settime64 411 37322851890Sopenharmony_ci#define __NR_utimensat_time64 412 37422851890Sopenharmony_ci#define __NR_pselect6_time64 413 37522851890Sopenharmony_ci#define __NR_ppoll_time64 414 37622851890Sopenharmony_ci#define __NR_io_pgetevents_time64 416 37722851890Sopenharmony_ci#define __NR_recvmmsg_time64 417 37822851890Sopenharmony_ci#define __NR_mq_timedsend_time64 418 37922851890Sopenharmony_ci#define __NR_mq_timedreceive_time64 419 38022851890Sopenharmony_ci#define __NR_semtimedop_time64 420 38122851890Sopenharmony_ci#define __NR_rt_sigtimedwait_time64 421 38222851890Sopenharmony_ci#define __NR_futex_time64 422 38322851890Sopenharmony_ci#define __NR_sched_rr_get_interval_time64 423 38422851890Sopenharmony_ci#endif 38522851890Sopenharmony_ci#define __NR_pidfd_send_signal 424 38622851890Sopenharmony_ci#define __NR_io_uring_setup 425 38722851890Sopenharmony_ci#define __NR_io_uring_enter 426 38822851890Sopenharmony_ci#define __NR_io_uring_register 427 38922851890Sopenharmony_ci#define __NR_open_tree 428 39022851890Sopenharmony_ci#define __NR_move_mount 429 39122851890Sopenharmony_ci#define __NR_fsopen 430 39222851890Sopenharmony_ci#define __NR_fsconfig 431 39322851890Sopenharmony_ci#define __NR_fsmount 432 39422851890Sopenharmony_ci#define __NR_fspick 433 39522851890Sopenharmony_ci#define __NR_pidfd_open 434 39622851890Sopenharmony_ci#ifdef __ARCH_WANT_SYS_CLONE3 39722851890Sopenharmony_ci#define __NR_clone3 435 39822851890Sopenharmony_ci#endif 39922851890Sopenharmony_ci#define __NR_close_range 436 40022851890Sopenharmony_ci#define __NR_openat2 437 40122851890Sopenharmony_ci#define __NR_pidfd_getfd 438 40222851890Sopenharmony_ci#define __NR_faccessat2 439 40322851890Sopenharmony_ci#define __NR_process_madvise 440 40422851890Sopenharmony_ci#undef __NR_syscalls 40522851890Sopenharmony_ci#define __NR_syscalls 441 40622851890Sopenharmony_ci#if __BITS_PER_LONG == 64 && !defined(__SYSCALL_COMPAT) 40722851890Sopenharmony_ci#define __NR_fcntl __NR3264_fcntl 40822851890Sopenharmony_ci#define __NR_statfs __NR3264_statfs 40922851890Sopenharmony_ci#define __NR_fstatfs __NR3264_fstatfs 41022851890Sopenharmony_ci#define __NR_truncate __NR3264_truncate 41122851890Sopenharmony_ci#define __NR_ftruncate __NR3264_ftruncate 41222851890Sopenharmony_ci#define __NR_lseek __NR3264_lseek 41322851890Sopenharmony_ci#define __NR_sendfile __NR3264_sendfile 41422851890Sopenharmony_ci#if defined(__ARCH_WANT_NEW_STAT) || defined(__ARCH_WANT_STAT64) 41522851890Sopenharmony_ci#define __NR_newfstatat __NR3264_fstatat 41622851890Sopenharmony_ci#define __NR_fstat __NR3264_fstat 41722851890Sopenharmony_ci#endif 41822851890Sopenharmony_ci#define __NR_mmap __NR3264_mmap 41922851890Sopenharmony_ci#define __NR_fadvise64 __NR3264_fadvise64 42022851890Sopenharmony_ci#ifdef __NR3264_stat 42122851890Sopenharmony_ci#define __NR_stat __NR3264_stat 42222851890Sopenharmony_ci#define __NR_lstat __NR3264_lstat 42322851890Sopenharmony_ci#endif 42422851890Sopenharmony_ci#else 42522851890Sopenharmony_ci#define __NR_fcntl64 __NR3264_fcntl 42622851890Sopenharmony_ci#define __NR_statfs64 __NR3264_statfs 42722851890Sopenharmony_ci#define __NR_fstatfs64 __NR3264_fstatfs 42822851890Sopenharmony_ci#define __NR_truncate64 __NR3264_truncate 42922851890Sopenharmony_ci#define __NR_ftruncate64 __NR3264_ftruncate 43022851890Sopenharmony_ci#define __NR_llseek __NR3264_lseek 43122851890Sopenharmony_ci#define __NR_sendfile64 __NR3264_sendfile 43222851890Sopenharmony_ci#if defined(__ARCH_WANT_NEW_STAT) || defined(__ARCH_WANT_STAT64) 43322851890Sopenharmony_ci#define __NR_fstatat64 __NR3264_fstatat 43422851890Sopenharmony_ci#define __NR_fstat64 __NR3264_fstat 43522851890Sopenharmony_ci#endif 43622851890Sopenharmony_ci#define __NR_mmap2 __NR3264_mmap 43722851890Sopenharmony_ci#define __NR_fadvise64_64 __NR3264_fadvise64 43822851890Sopenharmony_ci#ifdef __NR3264_stat 43922851890Sopenharmony_ci#define __NR_stat64 __NR3264_stat 44022851890Sopenharmony_ci#define __NR_lstat64 __NR3264_lstat 44122851890Sopenharmony_ci#endif 44222851890Sopenharmony_ci#endif 443