18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 28c2ecf20Sopenharmony_ci/* 38c2ecf20Sopenharmony_ci * AArch32 (compat) system call definitions. 48c2ecf20Sopenharmony_ci * 58c2ecf20Sopenharmony_ci * Copyright (C) 2001-2005 Russell King 68c2ecf20Sopenharmony_ci * Copyright (C) 2012 ARM Ltd. 78c2ecf20Sopenharmony_ci */ 88c2ecf20Sopenharmony_ci 98c2ecf20Sopenharmony_ci#ifndef __SYSCALL 108c2ecf20Sopenharmony_ci#define __SYSCALL(x, y) 118c2ecf20Sopenharmony_ci#endif 128c2ecf20Sopenharmony_ci 138c2ecf20Sopenharmony_ci#define __NR_restart_syscall 0 148c2ecf20Sopenharmony_ci__SYSCALL(__NR_restart_syscall, sys_restart_syscall) 158c2ecf20Sopenharmony_ci#define __NR_exit 1 168c2ecf20Sopenharmony_ci__SYSCALL(__NR_exit, sys_exit) 178c2ecf20Sopenharmony_ci#define __NR_fork 2 188c2ecf20Sopenharmony_ci__SYSCALL(__NR_fork, sys_fork) 198c2ecf20Sopenharmony_ci#define __NR_read 3 208c2ecf20Sopenharmony_ci__SYSCALL(__NR_read, sys_read) 218c2ecf20Sopenharmony_ci#define __NR_write 4 228c2ecf20Sopenharmony_ci__SYSCALL(__NR_write, sys_write) 238c2ecf20Sopenharmony_ci#define __NR_open 5 248c2ecf20Sopenharmony_ci__SYSCALL(__NR_open, compat_sys_open) 258c2ecf20Sopenharmony_ci#define __NR_close 6 268c2ecf20Sopenharmony_ci__SYSCALL(__NR_close, sys_close) 278c2ecf20Sopenharmony_ci /* 7 was sys_waitpid */ 288c2ecf20Sopenharmony_ci__SYSCALL(7, sys_ni_syscall) 298c2ecf20Sopenharmony_ci#define __NR_creat 8 308c2ecf20Sopenharmony_ci__SYSCALL(__NR_creat, sys_creat) 318c2ecf20Sopenharmony_ci#define __NR_link 9 328c2ecf20Sopenharmony_ci__SYSCALL(__NR_link, sys_link) 338c2ecf20Sopenharmony_ci#define __NR_unlink 10 348c2ecf20Sopenharmony_ci__SYSCALL(__NR_unlink, sys_unlink) 358c2ecf20Sopenharmony_ci#define __NR_execve 11 368c2ecf20Sopenharmony_ci__SYSCALL(__NR_execve, compat_sys_execve) 378c2ecf20Sopenharmony_ci#define __NR_chdir 12 388c2ecf20Sopenharmony_ci__SYSCALL(__NR_chdir, sys_chdir) 398c2ecf20Sopenharmony_ci /* 13 was sys_time */ 408c2ecf20Sopenharmony_ci__SYSCALL(13, sys_ni_syscall) 418c2ecf20Sopenharmony_ci#define __NR_mknod 14 428c2ecf20Sopenharmony_ci__SYSCALL(__NR_mknod, sys_mknod) 438c2ecf20Sopenharmony_ci#define __NR_chmod 15 448c2ecf20Sopenharmony_ci__SYSCALL(__NR_chmod, sys_chmod) 458c2ecf20Sopenharmony_ci#define __NR_lchown 16 468c2ecf20Sopenharmony_ci__SYSCALL(__NR_lchown, sys_lchown16) 478c2ecf20Sopenharmony_ci /* 17 was sys_break */ 488c2ecf20Sopenharmony_ci__SYSCALL(17, sys_ni_syscall) 498c2ecf20Sopenharmony_ci /* 18 was sys_stat */ 508c2ecf20Sopenharmony_ci__SYSCALL(18, sys_ni_syscall) 518c2ecf20Sopenharmony_ci#define __NR_lseek 19 528c2ecf20Sopenharmony_ci__SYSCALL(__NR_lseek, compat_sys_lseek) 538c2ecf20Sopenharmony_ci#define __NR_getpid 20 548c2ecf20Sopenharmony_ci__SYSCALL(__NR_getpid, sys_getpid) 558c2ecf20Sopenharmony_ci#define __NR_mount 21 568c2ecf20Sopenharmony_ci__SYSCALL(__NR_mount, sys_mount) 578c2ecf20Sopenharmony_ci /* 22 was sys_umount */ 588c2ecf20Sopenharmony_ci__SYSCALL(22, sys_ni_syscall) 598c2ecf20Sopenharmony_ci#define __NR_setuid 23 608c2ecf20Sopenharmony_ci__SYSCALL(__NR_setuid, sys_setuid16) 618c2ecf20Sopenharmony_ci#define __NR_getuid 24 628c2ecf20Sopenharmony_ci__SYSCALL(__NR_getuid, sys_getuid16) 638c2ecf20Sopenharmony_ci /* 25 was sys_stime */ 648c2ecf20Sopenharmony_ci__SYSCALL(25, sys_ni_syscall) 658c2ecf20Sopenharmony_ci#define __NR_ptrace 26 668c2ecf20Sopenharmony_ci__SYSCALL(__NR_ptrace, compat_sys_ptrace) 678c2ecf20Sopenharmony_ci /* 27 was sys_alarm */ 688c2ecf20Sopenharmony_ci__SYSCALL(27, sys_ni_syscall) 698c2ecf20Sopenharmony_ci /* 28 was sys_fstat */ 708c2ecf20Sopenharmony_ci__SYSCALL(28, sys_ni_syscall) 718c2ecf20Sopenharmony_ci#define __NR_pause 29 728c2ecf20Sopenharmony_ci__SYSCALL(__NR_pause, sys_pause) 738c2ecf20Sopenharmony_ci /* 30 was sys_utime */ 748c2ecf20Sopenharmony_ci__SYSCALL(30, sys_ni_syscall) 758c2ecf20Sopenharmony_ci /* 31 was sys_stty */ 768c2ecf20Sopenharmony_ci__SYSCALL(31, sys_ni_syscall) 778c2ecf20Sopenharmony_ci /* 32 was sys_gtty */ 788c2ecf20Sopenharmony_ci__SYSCALL(32, sys_ni_syscall) 798c2ecf20Sopenharmony_ci#define __NR_access 33 808c2ecf20Sopenharmony_ci__SYSCALL(__NR_access, sys_access) 818c2ecf20Sopenharmony_ci#define __NR_nice 34 828c2ecf20Sopenharmony_ci__SYSCALL(__NR_nice, sys_nice) 838c2ecf20Sopenharmony_ci /* 35 was sys_ftime */ 848c2ecf20Sopenharmony_ci__SYSCALL(35, sys_ni_syscall) 858c2ecf20Sopenharmony_ci#define __NR_sync 36 868c2ecf20Sopenharmony_ci__SYSCALL(__NR_sync, sys_sync) 878c2ecf20Sopenharmony_ci#define __NR_kill 37 888c2ecf20Sopenharmony_ci__SYSCALL(__NR_kill, sys_kill) 898c2ecf20Sopenharmony_ci#define __NR_rename 38 908c2ecf20Sopenharmony_ci__SYSCALL(__NR_rename, sys_rename) 918c2ecf20Sopenharmony_ci#define __NR_mkdir 39 928c2ecf20Sopenharmony_ci__SYSCALL(__NR_mkdir, sys_mkdir) 938c2ecf20Sopenharmony_ci#define __NR_rmdir 40 948c2ecf20Sopenharmony_ci__SYSCALL(__NR_rmdir, sys_rmdir) 958c2ecf20Sopenharmony_ci#define __NR_dup 41 968c2ecf20Sopenharmony_ci__SYSCALL(__NR_dup, sys_dup) 978c2ecf20Sopenharmony_ci#define __NR_pipe 42 988c2ecf20Sopenharmony_ci__SYSCALL(__NR_pipe, sys_pipe) 998c2ecf20Sopenharmony_ci#define __NR_times 43 1008c2ecf20Sopenharmony_ci__SYSCALL(__NR_times, compat_sys_times) 1018c2ecf20Sopenharmony_ci /* 44 was sys_prof */ 1028c2ecf20Sopenharmony_ci__SYSCALL(44, sys_ni_syscall) 1038c2ecf20Sopenharmony_ci#define __NR_brk 45 1048c2ecf20Sopenharmony_ci__SYSCALL(__NR_brk, sys_brk) 1058c2ecf20Sopenharmony_ci#define __NR_setgid 46 1068c2ecf20Sopenharmony_ci__SYSCALL(__NR_setgid, sys_setgid16) 1078c2ecf20Sopenharmony_ci#define __NR_getgid 47 1088c2ecf20Sopenharmony_ci__SYSCALL(__NR_getgid, sys_getgid16) 1098c2ecf20Sopenharmony_ci /* 48 was sys_signal */ 1108c2ecf20Sopenharmony_ci__SYSCALL(48, sys_ni_syscall) 1118c2ecf20Sopenharmony_ci#define __NR_geteuid 49 1128c2ecf20Sopenharmony_ci__SYSCALL(__NR_geteuid, sys_geteuid16) 1138c2ecf20Sopenharmony_ci#define __NR_getegid 50 1148c2ecf20Sopenharmony_ci__SYSCALL(__NR_getegid, sys_getegid16) 1158c2ecf20Sopenharmony_ci#define __NR_acct 51 1168c2ecf20Sopenharmony_ci__SYSCALL(__NR_acct, sys_acct) 1178c2ecf20Sopenharmony_ci#define __NR_umount2 52 1188c2ecf20Sopenharmony_ci__SYSCALL(__NR_umount2, sys_umount) 1198c2ecf20Sopenharmony_ci /* 53 was sys_lock */ 1208c2ecf20Sopenharmony_ci__SYSCALL(53, sys_ni_syscall) 1218c2ecf20Sopenharmony_ci#define __NR_ioctl 54 1228c2ecf20Sopenharmony_ci__SYSCALL(__NR_ioctl, compat_sys_ioctl) 1238c2ecf20Sopenharmony_ci#define __NR_fcntl 55 1248c2ecf20Sopenharmony_ci__SYSCALL(__NR_fcntl, compat_sys_fcntl) 1258c2ecf20Sopenharmony_ci /* 56 was sys_mpx */ 1268c2ecf20Sopenharmony_ci__SYSCALL(56, sys_ni_syscall) 1278c2ecf20Sopenharmony_ci#define __NR_setpgid 57 1288c2ecf20Sopenharmony_ci__SYSCALL(__NR_setpgid, sys_setpgid) 1298c2ecf20Sopenharmony_ci /* 58 was sys_ulimit */ 1308c2ecf20Sopenharmony_ci__SYSCALL(58, sys_ni_syscall) 1318c2ecf20Sopenharmony_ci /* 59 was sys_olduname */ 1328c2ecf20Sopenharmony_ci__SYSCALL(59, sys_ni_syscall) 1338c2ecf20Sopenharmony_ci#define __NR_umask 60 1348c2ecf20Sopenharmony_ci__SYSCALL(__NR_umask, sys_umask) 1358c2ecf20Sopenharmony_ci#define __NR_chroot 61 1368c2ecf20Sopenharmony_ci__SYSCALL(__NR_chroot, sys_chroot) 1378c2ecf20Sopenharmony_ci#define __NR_ustat 62 1388c2ecf20Sopenharmony_ci__SYSCALL(__NR_ustat, compat_sys_ustat) 1398c2ecf20Sopenharmony_ci#define __NR_dup2 63 1408c2ecf20Sopenharmony_ci__SYSCALL(__NR_dup2, sys_dup2) 1418c2ecf20Sopenharmony_ci#define __NR_getppid 64 1428c2ecf20Sopenharmony_ci__SYSCALL(__NR_getppid, sys_getppid) 1438c2ecf20Sopenharmony_ci#define __NR_getpgrp 65 1448c2ecf20Sopenharmony_ci__SYSCALL(__NR_getpgrp, sys_getpgrp) 1458c2ecf20Sopenharmony_ci#define __NR_setsid 66 1468c2ecf20Sopenharmony_ci__SYSCALL(__NR_setsid, sys_setsid) 1478c2ecf20Sopenharmony_ci#define __NR_sigaction 67 1488c2ecf20Sopenharmony_ci__SYSCALL(__NR_sigaction, compat_sys_sigaction) 1498c2ecf20Sopenharmony_ci /* 68 was sys_sgetmask */ 1508c2ecf20Sopenharmony_ci__SYSCALL(68, sys_ni_syscall) 1518c2ecf20Sopenharmony_ci /* 69 was sys_ssetmask */ 1528c2ecf20Sopenharmony_ci__SYSCALL(69, sys_ni_syscall) 1538c2ecf20Sopenharmony_ci#define __NR_setreuid 70 1548c2ecf20Sopenharmony_ci__SYSCALL(__NR_setreuid, sys_setreuid16) 1558c2ecf20Sopenharmony_ci#define __NR_setregid 71 1568c2ecf20Sopenharmony_ci__SYSCALL(__NR_setregid, sys_setregid16) 1578c2ecf20Sopenharmony_ci#define __NR_sigsuspend 72 1588c2ecf20Sopenharmony_ci__SYSCALL(__NR_sigsuspend, sys_sigsuspend) 1598c2ecf20Sopenharmony_ci#define __NR_sigpending 73 1608c2ecf20Sopenharmony_ci__SYSCALL(__NR_sigpending, compat_sys_sigpending) 1618c2ecf20Sopenharmony_ci#define __NR_sethostname 74 1628c2ecf20Sopenharmony_ci__SYSCALL(__NR_sethostname, sys_sethostname) 1638c2ecf20Sopenharmony_ci#define __NR_setrlimit 75 1648c2ecf20Sopenharmony_ci__SYSCALL(__NR_setrlimit, compat_sys_setrlimit) 1658c2ecf20Sopenharmony_ci /* 76 was compat_sys_getrlimit */ 1668c2ecf20Sopenharmony_ci__SYSCALL(76, sys_ni_syscall) 1678c2ecf20Sopenharmony_ci#define __NR_getrusage 77 1688c2ecf20Sopenharmony_ci__SYSCALL(__NR_getrusage, compat_sys_getrusage) 1698c2ecf20Sopenharmony_ci#define __NR_gettimeofday 78 1708c2ecf20Sopenharmony_ci__SYSCALL(__NR_gettimeofday, compat_sys_gettimeofday) 1718c2ecf20Sopenharmony_ci#define __NR_settimeofday 79 1728c2ecf20Sopenharmony_ci__SYSCALL(__NR_settimeofday, compat_sys_settimeofday) 1738c2ecf20Sopenharmony_ci#define __NR_getgroups 80 1748c2ecf20Sopenharmony_ci__SYSCALL(__NR_getgroups, sys_getgroups16) 1758c2ecf20Sopenharmony_ci#define __NR_setgroups 81 1768c2ecf20Sopenharmony_ci__SYSCALL(__NR_setgroups, sys_setgroups16) 1778c2ecf20Sopenharmony_ci /* 82 was compat_sys_select */ 1788c2ecf20Sopenharmony_ci__SYSCALL(82, sys_ni_syscall) 1798c2ecf20Sopenharmony_ci#define __NR_symlink 83 1808c2ecf20Sopenharmony_ci__SYSCALL(__NR_symlink, sys_symlink) 1818c2ecf20Sopenharmony_ci /* 84 was sys_lstat */ 1828c2ecf20Sopenharmony_ci__SYSCALL(84, sys_ni_syscall) 1838c2ecf20Sopenharmony_ci#define __NR_readlink 85 1848c2ecf20Sopenharmony_ci__SYSCALL(__NR_readlink, sys_readlink) 1858c2ecf20Sopenharmony_ci#define __NR_uselib 86 1868c2ecf20Sopenharmony_ci__SYSCALL(__NR_uselib, sys_uselib) 1878c2ecf20Sopenharmony_ci#define __NR_swapon 87 1888c2ecf20Sopenharmony_ci__SYSCALL(__NR_swapon, sys_swapon) 1898c2ecf20Sopenharmony_ci#define __NR_reboot 88 1908c2ecf20Sopenharmony_ci__SYSCALL(__NR_reboot, sys_reboot) 1918c2ecf20Sopenharmony_ci /* 89 was sys_readdir */ 1928c2ecf20Sopenharmony_ci__SYSCALL(89, sys_ni_syscall) 1938c2ecf20Sopenharmony_ci /* 90 was sys_mmap */ 1948c2ecf20Sopenharmony_ci__SYSCALL(90, sys_ni_syscall) 1958c2ecf20Sopenharmony_ci#define __NR_munmap 91 1968c2ecf20Sopenharmony_ci__SYSCALL(__NR_munmap, sys_munmap) 1978c2ecf20Sopenharmony_ci#define __NR_truncate 92 1988c2ecf20Sopenharmony_ci__SYSCALL(__NR_truncate, compat_sys_truncate) 1998c2ecf20Sopenharmony_ci#define __NR_ftruncate 93 2008c2ecf20Sopenharmony_ci__SYSCALL(__NR_ftruncate, compat_sys_ftruncate) 2018c2ecf20Sopenharmony_ci#define __NR_fchmod 94 2028c2ecf20Sopenharmony_ci__SYSCALL(__NR_fchmod, sys_fchmod) 2038c2ecf20Sopenharmony_ci#define __NR_fchown 95 2048c2ecf20Sopenharmony_ci__SYSCALL(__NR_fchown, sys_fchown16) 2058c2ecf20Sopenharmony_ci#define __NR_getpriority 96 2068c2ecf20Sopenharmony_ci__SYSCALL(__NR_getpriority, sys_getpriority) 2078c2ecf20Sopenharmony_ci#define __NR_setpriority 97 2088c2ecf20Sopenharmony_ci__SYSCALL(__NR_setpriority, sys_setpriority) 2098c2ecf20Sopenharmony_ci /* 98 was sys_profil */ 2108c2ecf20Sopenharmony_ci__SYSCALL(98, sys_ni_syscall) 2118c2ecf20Sopenharmony_ci#define __NR_statfs 99 2128c2ecf20Sopenharmony_ci__SYSCALL(__NR_statfs, compat_sys_statfs) 2138c2ecf20Sopenharmony_ci#define __NR_fstatfs 100 2148c2ecf20Sopenharmony_ci__SYSCALL(__NR_fstatfs, compat_sys_fstatfs) 2158c2ecf20Sopenharmony_ci /* 101 was sys_ioperm */ 2168c2ecf20Sopenharmony_ci__SYSCALL(101, sys_ni_syscall) 2178c2ecf20Sopenharmony_ci /* 102 was sys_socketcall */ 2188c2ecf20Sopenharmony_ci__SYSCALL(102, sys_ni_syscall) 2198c2ecf20Sopenharmony_ci#define __NR_syslog 103 2208c2ecf20Sopenharmony_ci__SYSCALL(__NR_syslog, sys_syslog) 2218c2ecf20Sopenharmony_ci#define __NR_setitimer 104 2228c2ecf20Sopenharmony_ci__SYSCALL(__NR_setitimer, compat_sys_setitimer) 2238c2ecf20Sopenharmony_ci#define __NR_getitimer 105 2248c2ecf20Sopenharmony_ci__SYSCALL(__NR_getitimer, compat_sys_getitimer) 2258c2ecf20Sopenharmony_ci#define __NR_stat 106 2268c2ecf20Sopenharmony_ci__SYSCALL(__NR_stat, compat_sys_newstat) 2278c2ecf20Sopenharmony_ci#define __NR_lstat 107 2288c2ecf20Sopenharmony_ci__SYSCALL(__NR_lstat, compat_sys_newlstat) 2298c2ecf20Sopenharmony_ci#define __NR_fstat 108 2308c2ecf20Sopenharmony_ci__SYSCALL(__NR_fstat, compat_sys_newfstat) 2318c2ecf20Sopenharmony_ci /* 109 was sys_uname */ 2328c2ecf20Sopenharmony_ci__SYSCALL(109, sys_ni_syscall) 2338c2ecf20Sopenharmony_ci /* 110 was sys_iopl */ 2348c2ecf20Sopenharmony_ci__SYSCALL(110, sys_ni_syscall) 2358c2ecf20Sopenharmony_ci#define __NR_vhangup 111 2368c2ecf20Sopenharmony_ci__SYSCALL(__NR_vhangup, sys_vhangup) 2378c2ecf20Sopenharmony_ci /* 112 was sys_idle */ 2388c2ecf20Sopenharmony_ci__SYSCALL(112, sys_ni_syscall) 2398c2ecf20Sopenharmony_ci /* 113 was sys_syscall */ 2408c2ecf20Sopenharmony_ci__SYSCALL(113, sys_ni_syscall) 2418c2ecf20Sopenharmony_ci#define __NR_wait4 114 2428c2ecf20Sopenharmony_ci__SYSCALL(__NR_wait4, compat_sys_wait4) 2438c2ecf20Sopenharmony_ci#define __NR_swapoff 115 2448c2ecf20Sopenharmony_ci__SYSCALL(__NR_swapoff, sys_swapoff) 2458c2ecf20Sopenharmony_ci#define __NR_sysinfo 116 2468c2ecf20Sopenharmony_ci__SYSCALL(__NR_sysinfo, compat_sys_sysinfo) 2478c2ecf20Sopenharmony_ci /* 117 was sys_ipc */ 2488c2ecf20Sopenharmony_ci__SYSCALL(117, sys_ni_syscall) 2498c2ecf20Sopenharmony_ci#define __NR_fsync 118 2508c2ecf20Sopenharmony_ci__SYSCALL(__NR_fsync, sys_fsync) 2518c2ecf20Sopenharmony_ci#define __NR_sigreturn 119 2528c2ecf20Sopenharmony_ci__SYSCALL(__NR_sigreturn, compat_sys_sigreturn) 2538c2ecf20Sopenharmony_ci#define __NR_clone 120 2548c2ecf20Sopenharmony_ci__SYSCALL(__NR_clone, sys_clone) 2558c2ecf20Sopenharmony_ci#define __NR_setdomainname 121 2568c2ecf20Sopenharmony_ci__SYSCALL(__NR_setdomainname, sys_setdomainname) 2578c2ecf20Sopenharmony_ci#define __NR_uname 122 2588c2ecf20Sopenharmony_ci__SYSCALL(__NR_uname, sys_newuname) 2598c2ecf20Sopenharmony_ci /* 123 was sys_modify_ldt */ 2608c2ecf20Sopenharmony_ci__SYSCALL(123, sys_ni_syscall) 2618c2ecf20Sopenharmony_ci#define __NR_adjtimex 124 2628c2ecf20Sopenharmony_ci__SYSCALL(__NR_adjtimex, sys_adjtimex_time32) 2638c2ecf20Sopenharmony_ci#define __NR_mprotect 125 2648c2ecf20Sopenharmony_ci__SYSCALL(__NR_mprotect, sys_mprotect) 2658c2ecf20Sopenharmony_ci#define __NR_sigprocmask 126 2668c2ecf20Sopenharmony_ci__SYSCALL(__NR_sigprocmask, compat_sys_sigprocmask) 2678c2ecf20Sopenharmony_ci /* 127 was sys_create_module */ 2688c2ecf20Sopenharmony_ci__SYSCALL(127, sys_ni_syscall) 2698c2ecf20Sopenharmony_ci#define __NR_init_module 128 2708c2ecf20Sopenharmony_ci__SYSCALL(__NR_init_module, sys_init_module) 2718c2ecf20Sopenharmony_ci#define __NR_delete_module 129 2728c2ecf20Sopenharmony_ci__SYSCALL(__NR_delete_module, sys_delete_module) 2738c2ecf20Sopenharmony_ci /* 130 was sys_get_kernel_syms */ 2748c2ecf20Sopenharmony_ci__SYSCALL(130, sys_ni_syscall) 2758c2ecf20Sopenharmony_ci#define __NR_quotactl 131 2768c2ecf20Sopenharmony_ci__SYSCALL(__NR_quotactl, sys_quotactl) 2778c2ecf20Sopenharmony_ci#define __NR_getpgid 132 2788c2ecf20Sopenharmony_ci__SYSCALL(__NR_getpgid, sys_getpgid) 2798c2ecf20Sopenharmony_ci#define __NR_fchdir 133 2808c2ecf20Sopenharmony_ci__SYSCALL(__NR_fchdir, sys_fchdir) 2818c2ecf20Sopenharmony_ci#define __NR_bdflush 134 2828c2ecf20Sopenharmony_ci__SYSCALL(__NR_bdflush, sys_bdflush) 2838c2ecf20Sopenharmony_ci#define __NR_sysfs 135 2848c2ecf20Sopenharmony_ci__SYSCALL(__NR_sysfs, sys_sysfs) 2858c2ecf20Sopenharmony_ci#define __NR_personality 136 2868c2ecf20Sopenharmony_ci__SYSCALL(__NR_personality, sys_personality) 2878c2ecf20Sopenharmony_ci /* 137 was sys_afs_syscall */ 2888c2ecf20Sopenharmony_ci__SYSCALL(137, sys_ni_syscall) 2898c2ecf20Sopenharmony_ci#define __NR_setfsuid 138 2908c2ecf20Sopenharmony_ci__SYSCALL(__NR_setfsuid, sys_setfsuid16) 2918c2ecf20Sopenharmony_ci#define __NR_setfsgid 139 2928c2ecf20Sopenharmony_ci__SYSCALL(__NR_setfsgid, sys_setfsgid16) 2938c2ecf20Sopenharmony_ci#define __NR__llseek 140 2948c2ecf20Sopenharmony_ci__SYSCALL(__NR__llseek, sys_llseek) 2958c2ecf20Sopenharmony_ci#define __NR_getdents 141 2968c2ecf20Sopenharmony_ci__SYSCALL(__NR_getdents, compat_sys_getdents) 2978c2ecf20Sopenharmony_ci#define __NR__newselect 142 2988c2ecf20Sopenharmony_ci__SYSCALL(__NR__newselect, compat_sys_select) 2998c2ecf20Sopenharmony_ci#define __NR_flock 143 3008c2ecf20Sopenharmony_ci__SYSCALL(__NR_flock, sys_flock) 3018c2ecf20Sopenharmony_ci#define __NR_msync 144 3028c2ecf20Sopenharmony_ci__SYSCALL(__NR_msync, sys_msync) 3038c2ecf20Sopenharmony_ci#define __NR_readv 145 3048c2ecf20Sopenharmony_ci__SYSCALL(__NR_readv, sys_readv) 3058c2ecf20Sopenharmony_ci#define __NR_writev 146 3068c2ecf20Sopenharmony_ci__SYSCALL(__NR_writev, sys_writev) 3078c2ecf20Sopenharmony_ci#define __NR_getsid 147 3088c2ecf20Sopenharmony_ci__SYSCALL(__NR_getsid, sys_getsid) 3098c2ecf20Sopenharmony_ci#define __NR_fdatasync 148 3108c2ecf20Sopenharmony_ci__SYSCALL(__NR_fdatasync, sys_fdatasync) 3118c2ecf20Sopenharmony_ci /* 149 was sys_sysctl */ 3128c2ecf20Sopenharmony_ci__SYSCALL(149, sys_ni_syscall) 3138c2ecf20Sopenharmony_ci#define __NR_mlock 150 3148c2ecf20Sopenharmony_ci__SYSCALL(__NR_mlock, sys_mlock) 3158c2ecf20Sopenharmony_ci#define __NR_munlock 151 3168c2ecf20Sopenharmony_ci__SYSCALL(__NR_munlock, sys_munlock) 3178c2ecf20Sopenharmony_ci#define __NR_mlockall 152 3188c2ecf20Sopenharmony_ci__SYSCALL(__NR_mlockall, sys_mlockall) 3198c2ecf20Sopenharmony_ci#define __NR_munlockall 153 3208c2ecf20Sopenharmony_ci__SYSCALL(__NR_munlockall, sys_munlockall) 3218c2ecf20Sopenharmony_ci#define __NR_sched_setparam 154 3228c2ecf20Sopenharmony_ci__SYSCALL(__NR_sched_setparam, sys_sched_setparam) 3238c2ecf20Sopenharmony_ci#define __NR_sched_getparam 155 3248c2ecf20Sopenharmony_ci__SYSCALL(__NR_sched_getparam, sys_sched_getparam) 3258c2ecf20Sopenharmony_ci#define __NR_sched_setscheduler 156 3268c2ecf20Sopenharmony_ci__SYSCALL(__NR_sched_setscheduler, sys_sched_setscheduler) 3278c2ecf20Sopenharmony_ci#define __NR_sched_getscheduler 157 3288c2ecf20Sopenharmony_ci__SYSCALL(__NR_sched_getscheduler, sys_sched_getscheduler) 3298c2ecf20Sopenharmony_ci#define __NR_sched_yield 158 3308c2ecf20Sopenharmony_ci__SYSCALL(__NR_sched_yield, sys_sched_yield) 3318c2ecf20Sopenharmony_ci#define __NR_sched_get_priority_max 159 3328c2ecf20Sopenharmony_ci__SYSCALL(__NR_sched_get_priority_max, sys_sched_get_priority_max) 3338c2ecf20Sopenharmony_ci#define __NR_sched_get_priority_min 160 3348c2ecf20Sopenharmony_ci__SYSCALL(__NR_sched_get_priority_min, sys_sched_get_priority_min) 3358c2ecf20Sopenharmony_ci#define __NR_sched_rr_get_interval 161 3368c2ecf20Sopenharmony_ci__SYSCALL(__NR_sched_rr_get_interval, sys_sched_rr_get_interval_time32) 3378c2ecf20Sopenharmony_ci#define __NR_nanosleep 162 3388c2ecf20Sopenharmony_ci__SYSCALL(__NR_nanosleep, sys_nanosleep_time32) 3398c2ecf20Sopenharmony_ci#define __NR_mremap 163 3408c2ecf20Sopenharmony_ci__SYSCALL(__NR_mremap, sys_mremap) 3418c2ecf20Sopenharmony_ci#define __NR_setresuid 164 3428c2ecf20Sopenharmony_ci__SYSCALL(__NR_setresuid, sys_setresuid16) 3438c2ecf20Sopenharmony_ci#define __NR_getresuid 165 3448c2ecf20Sopenharmony_ci__SYSCALL(__NR_getresuid, sys_getresuid16) 3458c2ecf20Sopenharmony_ci /* 166 was sys_vm86 */ 3468c2ecf20Sopenharmony_ci__SYSCALL(166, sys_ni_syscall) 3478c2ecf20Sopenharmony_ci /* 167 was sys_query_module */ 3488c2ecf20Sopenharmony_ci__SYSCALL(167, sys_ni_syscall) 3498c2ecf20Sopenharmony_ci#define __NR_poll 168 3508c2ecf20Sopenharmony_ci__SYSCALL(__NR_poll, sys_poll) 3518c2ecf20Sopenharmony_ci#define __NR_nfsservctl 169 3528c2ecf20Sopenharmony_ci__SYSCALL(__NR_nfsservctl, sys_ni_syscall) 3538c2ecf20Sopenharmony_ci#define __NR_setresgid 170 3548c2ecf20Sopenharmony_ci__SYSCALL(__NR_setresgid, sys_setresgid16) 3558c2ecf20Sopenharmony_ci#define __NR_getresgid 171 3568c2ecf20Sopenharmony_ci__SYSCALL(__NR_getresgid, sys_getresgid16) 3578c2ecf20Sopenharmony_ci#define __NR_prctl 172 3588c2ecf20Sopenharmony_ci__SYSCALL(__NR_prctl, sys_prctl) 3598c2ecf20Sopenharmony_ci#define __NR_rt_sigreturn 173 3608c2ecf20Sopenharmony_ci__SYSCALL(__NR_rt_sigreturn, compat_sys_rt_sigreturn) 3618c2ecf20Sopenharmony_ci#define __NR_rt_sigaction 174 3628c2ecf20Sopenharmony_ci__SYSCALL(__NR_rt_sigaction, compat_sys_rt_sigaction) 3638c2ecf20Sopenharmony_ci#define __NR_rt_sigprocmask 175 3648c2ecf20Sopenharmony_ci__SYSCALL(__NR_rt_sigprocmask, compat_sys_rt_sigprocmask) 3658c2ecf20Sopenharmony_ci#define __NR_rt_sigpending 176 3668c2ecf20Sopenharmony_ci__SYSCALL(__NR_rt_sigpending, compat_sys_rt_sigpending) 3678c2ecf20Sopenharmony_ci#define __NR_rt_sigtimedwait 177 3688c2ecf20Sopenharmony_ci__SYSCALL(__NR_rt_sigtimedwait, compat_sys_rt_sigtimedwait_time32) 3698c2ecf20Sopenharmony_ci#define __NR_rt_sigqueueinfo 178 3708c2ecf20Sopenharmony_ci__SYSCALL(__NR_rt_sigqueueinfo, compat_sys_rt_sigqueueinfo) 3718c2ecf20Sopenharmony_ci#define __NR_rt_sigsuspend 179 3728c2ecf20Sopenharmony_ci__SYSCALL(__NR_rt_sigsuspend, compat_sys_rt_sigsuspend) 3738c2ecf20Sopenharmony_ci#define __NR_pread64 180 3748c2ecf20Sopenharmony_ci__SYSCALL(__NR_pread64, compat_sys_aarch32_pread64) 3758c2ecf20Sopenharmony_ci#define __NR_pwrite64 181 3768c2ecf20Sopenharmony_ci__SYSCALL(__NR_pwrite64, compat_sys_aarch32_pwrite64) 3778c2ecf20Sopenharmony_ci#define __NR_chown 182 3788c2ecf20Sopenharmony_ci__SYSCALL(__NR_chown, sys_chown16) 3798c2ecf20Sopenharmony_ci#define __NR_getcwd 183 3808c2ecf20Sopenharmony_ci__SYSCALL(__NR_getcwd, sys_getcwd) 3818c2ecf20Sopenharmony_ci#define __NR_capget 184 3828c2ecf20Sopenharmony_ci__SYSCALL(__NR_capget, sys_capget) 3838c2ecf20Sopenharmony_ci#define __NR_capset 185 3848c2ecf20Sopenharmony_ci__SYSCALL(__NR_capset, sys_capset) 3858c2ecf20Sopenharmony_ci#define __NR_sigaltstack 186 3868c2ecf20Sopenharmony_ci__SYSCALL(__NR_sigaltstack, compat_sys_sigaltstack) 3878c2ecf20Sopenharmony_ci#define __NR_sendfile 187 3888c2ecf20Sopenharmony_ci__SYSCALL(__NR_sendfile, compat_sys_sendfile) 3898c2ecf20Sopenharmony_ci /* 188 reserved */ 3908c2ecf20Sopenharmony_ci__SYSCALL(188, sys_ni_syscall) 3918c2ecf20Sopenharmony_ci /* 189 reserved */ 3928c2ecf20Sopenharmony_ci__SYSCALL(189, sys_ni_syscall) 3938c2ecf20Sopenharmony_ci#define __NR_vfork 190 3948c2ecf20Sopenharmony_ci__SYSCALL(__NR_vfork, sys_vfork) 3958c2ecf20Sopenharmony_ci#define __NR_ugetrlimit 191 /* SuS compliant getrlimit */ 3968c2ecf20Sopenharmony_ci__SYSCALL(__NR_ugetrlimit, compat_sys_getrlimit) /* SuS compliant getrlimit */ 3978c2ecf20Sopenharmony_ci#define __NR_mmap2 192 3988c2ecf20Sopenharmony_ci__SYSCALL(__NR_mmap2, compat_sys_aarch32_mmap2) 3998c2ecf20Sopenharmony_ci#define __NR_truncate64 193 4008c2ecf20Sopenharmony_ci__SYSCALL(__NR_truncate64, compat_sys_aarch32_truncate64) 4018c2ecf20Sopenharmony_ci#define __NR_ftruncate64 194 4028c2ecf20Sopenharmony_ci__SYSCALL(__NR_ftruncate64, compat_sys_aarch32_ftruncate64) 4038c2ecf20Sopenharmony_ci#define __NR_stat64 195 4048c2ecf20Sopenharmony_ci__SYSCALL(__NR_stat64, sys_stat64) 4058c2ecf20Sopenharmony_ci#define __NR_lstat64 196 4068c2ecf20Sopenharmony_ci__SYSCALL(__NR_lstat64, sys_lstat64) 4078c2ecf20Sopenharmony_ci#define __NR_fstat64 197 4088c2ecf20Sopenharmony_ci__SYSCALL(__NR_fstat64, sys_fstat64) 4098c2ecf20Sopenharmony_ci#define __NR_lchown32 198 4108c2ecf20Sopenharmony_ci__SYSCALL(__NR_lchown32, sys_lchown) 4118c2ecf20Sopenharmony_ci#define __NR_getuid32 199 4128c2ecf20Sopenharmony_ci__SYSCALL(__NR_getuid32, sys_getuid) 4138c2ecf20Sopenharmony_ci#define __NR_getgid32 200 4148c2ecf20Sopenharmony_ci__SYSCALL(__NR_getgid32, sys_getgid) 4158c2ecf20Sopenharmony_ci#define __NR_geteuid32 201 4168c2ecf20Sopenharmony_ci__SYSCALL(__NR_geteuid32, sys_geteuid) 4178c2ecf20Sopenharmony_ci#define __NR_getegid32 202 4188c2ecf20Sopenharmony_ci__SYSCALL(__NR_getegid32, sys_getegid) 4198c2ecf20Sopenharmony_ci#define __NR_setreuid32 203 4208c2ecf20Sopenharmony_ci__SYSCALL(__NR_setreuid32, sys_setreuid) 4218c2ecf20Sopenharmony_ci#define __NR_setregid32 204 4228c2ecf20Sopenharmony_ci__SYSCALL(__NR_setregid32, sys_setregid) 4238c2ecf20Sopenharmony_ci#define __NR_getgroups32 205 4248c2ecf20Sopenharmony_ci__SYSCALL(__NR_getgroups32, sys_getgroups) 4258c2ecf20Sopenharmony_ci#define __NR_setgroups32 206 4268c2ecf20Sopenharmony_ci__SYSCALL(__NR_setgroups32, sys_setgroups) 4278c2ecf20Sopenharmony_ci#define __NR_fchown32 207 4288c2ecf20Sopenharmony_ci__SYSCALL(__NR_fchown32, sys_fchown) 4298c2ecf20Sopenharmony_ci#define __NR_setresuid32 208 4308c2ecf20Sopenharmony_ci__SYSCALL(__NR_setresuid32, sys_setresuid) 4318c2ecf20Sopenharmony_ci#define __NR_getresuid32 209 4328c2ecf20Sopenharmony_ci__SYSCALL(__NR_getresuid32, sys_getresuid) 4338c2ecf20Sopenharmony_ci#define __NR_setresgid32 210 4348c2ecf20Sopenharmony_ci__SYSCALL(__NR_setresgid32, sys_setresgid) 4358c2ecf20Sopenharmony_ci#define __NR_getresgid32 211 4368c2ecf20Sopenharmony_ci__SYSCALL(__NR_getresgid32, sys_getresgid) 4378c2ecf20Sopenharmony_ci#define __NR_chown32 212 4388c2ecf20Sopenharmony_ci__SYSCALL(__NR_chown32, sys_chown) 4398c2ecf20Sopenharmony_ci#define __NR_setuid32 213 4408c2ecf20Sopenharmony_ci__SYSCALL(__NR_setuid32, sys_setuid) 4418c2ecf20Sopenharmony_ci#define __NR_setgid32 214 4428c2ecf20Sopenharmony_ci__SYSCALL(__NR_setgid32, sys_setgid) 4438c2ecf20Sopenharmony_ci#define __NR_setfsuid32 215 4448c2ecf20Sopenharmony_ci__SYSCALL(__NR_setfsuid32, sys_setfsuid) 4458c2ecf20Sopenharmony_ci#define __NR_setfsgid32 216 4468c2ecf20Sopenharmony_ci__SYSCALL(__NR_setfsgid32, sys_setfsgid) 4478c2ecf20Sopenharmony_ci#define __NR_getdents64 217 4488c2ecf20Sopenharmony_ci__SYSCALL(__NR_getdents64, sys_getdents64) 4498c2ecf20Sopenharmony_ci#define __NR_pivot_root 218 4508c2ecf20Sopenharmony_ci__SYSCALL(__NR_pivot_root, sys_pivot_root) 4518c2ecf20Sopenharmony_ci#define __NR_mincore 219 4528c2ecf20Sopenharmony_ci__SYSCALL(__NR_mincore, sys_mincore) 4538c2ecf20Sopenharmony_ci#define __NR_madvise 220 4548c2ecf20Sopenharmony_ci__SYSCALL(__NR_madvise, sys_madvise) 4558c2ecf20Sopenharmony_ci#define __NR_fcntl64 221 4568c2ecf20Sopenharmony_ci__SYSCALL(__NR_fcntl64, compat_sys_fcntl64) 4578c2ecf20Sopenharmony_ci /* 222 for tux */ 4588c2ecf20Sopenharmony_ci__SYSCALL(222, sys_ni_syscall) 4598c2ecf20Sopenharmony_ci /* 223 is unused */ 4608c2ecf20Sopenharmony_ci__SYSCALL(223, sys_ni_syscall) 4618c2ecf20Sopenharmony_ci#define __NR_gettid 224 4628c2ecf20Sopenharmony_ci__SYSCALL(__NR_gettid, sys_gettid) 4638c2ecf20Sopenharmony_ci#define __NR_readahead 225 4648c2ecf20Sopenharmony_ci__SYSCALL(__NR_readahead, compat_sys_aarch32_readahead) 4658c2ecf20Sopenharmony_ci#define __NR_setxattr 226 4668c2ecf20Sopenharmony_ci__SYSCALL(__NR_setxattr, sys_setxattr) 4678c2ecf20Sopenharmony_ci#define __NR_lsetxattr 227 4688c2ecf20Sopenharmony_ci__SYSCALL(__NR_lsetxattr, sys_lsetxattr) 4698c2ecf20Sopenharmony_ci#define __NR_fsetxattr 228 4708c2ecf20Sopenharmony_ci__SYSCALL(__NR_fsetxattr, sys_fsetxattr) 4718c2ecf20Sopenharmony_ci#define __NR_getxattr 229 4728c2ecf20Sopenharmony_ci__SYSCALL(__NR_getxattr, sys_getxattr) 4738c2ecf20Sopenharmony_ci#define __NR_lgetxattr 230 4748c2ecf20Sopenharmony_ci__SYSCALL(__NR_lgetxattr, sys_lgetxattr) 4758c2ecf20Sopenharmony_ci#define __NR_fgetxattr 231 4768c2ecf20Sopenharmony_ci__SYSCALL(__NR_fgetxattr, sys_fgetxattr) 4778c2ecf20Sopenharmony_ci#define __NR_listxattr 232 4788c2ecf20Sopenharmony_ci__SYSCALL(__NR_listxattr, sys_listxattr) 4798c2ecf20Sopenharmony_ci#define __NR_llistxattr 233 4808c2ecf20Sopenharmony_ci__SYSCALL(__NR_llistxattr, sys_llistxattr) 4818c2ecf20Sopenharmony_ci#define __NR_flistxattr 234 4828c2ecf20Sopenharmony_ci__SYSCALL(__NR_flistxattr, sys_flistxattr) 4838c2ecf20Sopenharmony_ci#define __NR_removexattr 235 4848c2ecf20Sopenharmony_ci__SYSCALL(__NR_removexattr, sys_removexattr) 4858c2ecf20Sopenharmony_ci#define __NR_lremovexattr 236 4868c2ecf20Sopenharmony_ci__SYSCALL(__NR_lremovexattr, sys_lremovexattr) 4878c2ecf20Sopenharmony_ci#define __NR_fremovexattr 237 4888c2ecf20Sopenharmony_ci__SYSCALL(__NR_fremovexattr, sys_fremovexattr) 4898c2ecf20Sopenharmony_ci#define __NR_tkill 238 4908c2ecf20Sopenharmony_ci__SYSCALL(__NR_tkill, sys_tkill) 4918c2ecf20Sopenharmony_ci#define __NR_sendfile64 239 4928c2ecf20Sopenharmony_ci__SYSCALL(__NR_sendfile64, sys_sendfile64) 4938c2ecf20Sopenharmony_ci#define __NR_futex 240 4948c2ecf20Sopenharmony_ci__SYSCALL(__NR_futex, sys_futex_time32) 4958c2ecf20Sopenharmony_ci#define __NR_sched_setaffinity 241 4968c2ecf20Sopenharmony_ci__SYSCALL(__NR_sched_setaffinity, compat_sys_sched_setaffinity) 4978c2ecf20Sopenharmony_ci#define __NR_sched_getaffinity 242 4988c2ecf20Sopenharmony_ci__SYSCALL(__NR_sched_getaffinity, compat_sys_sched_getaffinity) 4998c2ecf20Sopenharmony_ci#define __NR_io_setup 243 5008c2ecf20Sopenharmony_ci__SYSCALL(__NR_io_setup, compat_sys_io_setup) 5018c2ecf20Sopenharmony_ci#define __NR_io_destroy 244 5028c2ecf20Sopenharmony_ci__SYSCALL(__NR_io_destroy, sys_io_destroy) 5038c2ecf20Sopenharmony_ci#define __NR_io_getevents 245 5048c2ecf20Sopenharmony_ci__SYSCALL(__NR_io_getevents, sys_io_getevents_time32) 5058c2ecf20Sopenharmony_ci#define __NR_io_submit 246 5068c2ecf20Sopenharmony_ci__SYSCALL(__NR_io_submit, compat_sys_io_submit) 5078c2ecf20Sopenharmony_ci#define __NR_io_cancel 247 5088c2ecf20Sopenharmony_ci__SYSCALL(__NR_io_cancel, sys_io_cancel) 5098c2ecf20Sopenharmony_ci#define __NR_exit_group 248 5108c2ecf20Sopenharmony_ci__SYSCALL(__NR_exit_group, sys_exit_group) 5118c2ecf20Sopenharmony_ci#define __NR_lookup_dcookie 249 5128c2ecf20Sopenharmony_ci__SYSCALL(__NR_lookup_dcookie, compat_sys_lookup_dcookie) 5138c2ecf20Sopenharmony_ci#define __NR_epoll_create 250 5148c2ecf20Sopenharmony_ci__SYSCALL(__NR_epoll_create, sys_epoll_create) 5158c2ecf20Sopenharmony_ci#define __NR_epoll_ctl 251 5168c2ecf20Sopenharmony_ci__SYSCALL(__NR_epoll_ctl, sys_epoll_ctl) 5178c2ecf20Sopenharmony_ci#define __NR_epoll_wait 252 5188c2ecf20Sopenharmony_ci__SYSCALL(__NR_epoll_wait, sys_epoll_wait) 5198c2ecf20Sopenharmony_ci#define __NR_remap_file_pages 253 5208c2ecf20Sopenharmony_ci__SYSCALL(__NR_remap_file_pages, sys_remap_file_pages) 5218c2ecf20Sopenharmony_ci /* 254 for set_thread_area */ 5228c2ecf20Sopenharmony_ci__SYSCALL(254, sys_ni_syscall) 5238c2ecf20Sopenharmony_ci /* 255 for get_thread_area */ 5248c2ecf20Sopenharmony_ci__SYSCALL(255, sys_ni_syscall) 5258c2ecf20Sopenharmony_ci#define __NR_set_tid_address 256 5268c2ecf20Sopenharmony_ci__SYSCALL(__NR_set_tid_address, sys_set_tid_address) 5278c2ecf20Sopenharmony_ci#define __NR_timer_create 257 5288c2ecf20Sopenharmony_ci__SYSCALL(__NR_timer_create, compat_sys_timer_create) 5298c2ecf20Sopenharmony_ci#define __NR_timer_settime 258 5308c2ecf20Sopenharmony_ci__SYSCALL(__NR_timer_settime, sys_timer_settime32) 5318c2ecf20Sopenharmony_ci#define __NR_timer_gettime 259 5328c2ecf20Sopenharmony_ci__SYSCALL(__NR_timer_gettime, sys_timer_gettime32) 5338c2ecf20Sopenharmony_ci#define __NR_timer_getoverrun 260 5348c2ecf20Sopenharmony_ci__SYSCALL(__NR_timer_getoverrun, sys_timer_getoverrun) 5358c2ecf20Sopenharmony_ci#define __NR_timer_delete 261 5368c2ecf20Sopenharmony_ci__SYSCALL(__NR_timer_delete, sys_timer_delete) 5378c2ecf20Sopenharmony_ci#define __NR_clock_settime 262 5388c2ecf20Sopenharmony_ci__SYSCALL(__NR_clock_settime, sys_clock_settime32) 5398c2ecf20Sopenharmony_ci#define __NR_clock_gettime 263 5408c2ecf20Sopenharmony_ci__SYSCALL(__NR_clock_gettime, sys_clock_gettime32) 5418c2ecf20Sopenharmony_ci#define __NR_clock_getres 264 5428c2ecf20Sopenharmony_ci__SYSCALL(__NR_clock_getres, sys_clock_getres_time32) 5438c2ecf20Sopenharmony_ci#define __NR_clock_nanosleep 265 5448c2ecf20Sopenharmony_ci__SYSCALL(__NR_clock_nanosleep, sys_clock_nanosleep_time32) 5458c2ecf20Sopenharmony_ci#define __NR_statfs64 266 5468c2ecf20Sopenharmony_ci__SYSCALL(__NR_statfs64, compat_sys_aarch32_statfs64) 5478c2ecf20Sopenharmony_ci#define __NR_fstatfs64 267 5488c2ecf20Sopenharmony_ci__SYSCALL(__NR_fstatfs64, compat_sys_aarch32_fstatfs64) 5498c2ecf20Sopenharmony_ci#define __NR_tgkill 268 5508c2ecf20Sopenharmony_ci__SYSCALL(__NR_tgkill, sys_tgkill) 5518c2ecf20Sopenharmony_ci#define __NR_utimes 269 5528c2ecf20Sopenharmony_ci__SYSCALL(__NR_utimes, sys_utimes_time32) 5538c2ecf20Sopenharmony_ci#define __NR_arm_fadvise64_64 270 5548c2ecf20Sopenharmony_ci__SYSCALL(__NR_arm_fadvise64_64, compat_sys_aarch32_fadvise64_64) 5558c2ecf20Sopenharmony_ci#define __NR_pciconfig_iobase 271 5568c2ecf20Sopenharmony_ci__SYSCALL(__NR_pciconfig_iobase, sys_pciconfig_iobase) 5578c2ecf20Sopenharmony_ci#define __NR_pciconfig_read 272 5588c2ecf20Sopenharmony_ci__SYSCALL(__NR_pciconfig_read, sys_pciconfig_read) 5598c2ecf20Sopenharmony_ci#define __NR_pciconfig_write 273 5608c2ecf20Sopenharmony_ci__SYSCALL(__NR_pciconfig_write, sys_pciconfig_write) 5618c2ecf20Sopenharmony_ci#define __NR_mq_open 274 5628c2ecf20Sopenharmony_ci__SYSCALL(__NR_mq_open, compat_sys_mq_open) 5638c2ecf20Sopenharmony_ci#define __NR_mq_unlink 275 5648c2ecf20Sopenharmony_ci__SYSCALL(__NR_mq_unlink, sys_mq_unlink) 5658c2ecf20Sopenharmony_ci#define __NR_mq_timedsend 276 5668c2ecf20Sopenharmony_ci__SYSCALL(__NR_mq_timedsend, sys_mq_timedsend_time32) 5678c2ecf20Sopenharmony_ci#define __NR_mq_timedreceive 277 5688c2ecf20Sopenharmony_ci__SYSCALL(__NR_mq_timedreceive, sys_mq_timedreceive_time32) 5698c2ecf20Sopenharmony_ci#define __NR_mq_notify 278 5708c2ecf20Sopenharmony_ci__SYSCALL(__NR_mq_notify, compat_sys_mq_notify) 5718c2ecf20Sopenharmony_ci#define __NR_mq_getsetattr 279 5728c2ecf20Sopenharmony_ci__SYSCALL(__NR_mq_getsetattr, compat_sys_mq_getsetattr) 5738c2ecf20Sopenharmony_ci#define __NR_waitid 280 5748c2ecf20Sopenharmony_ci__SYSCALL(__NR_waitid, compat_sys_waitid) 5758c2ecf20Sopenharmony_ci#define __NR_socket 281 5768c2ecf20Sopenharmony_ci__SYSCALL(__NR_socket, sys_socket) 5778c2ecf20Sopenharmony_ci#define __NR_bind 282 5788c2ecf20Sopenharmony_ci__SYSCALL(__NR_bind, sys_bind) 5798c2ecf20Sopenharmony_ci#define __NR_connect 283 5808c2ecf20Sopenharmony_ci__SYSCALL(__NR_connect, sys_connect) 5818c2ecf20Sopenharmony_ci#define __NR_listen 284 5828c2ecf20Sopenharmony_ci__SYSCALL(__NR_listen, sys_listen) 5838c2ecf20Sopenharmony_ci#define __NR_accept 285 5848c2ecf20Sopenharmony_ci__SYSCALL(__NR_accept, sys_accept) 5858c2ecf20Sopenharmony_ci#define __NR_getsockname 286 5868c2ecf20Sopenharmony_ci__SYSCALL(__NR_getsockname, sys_getsockname) 5878c2ecf20Sopenharmony_ci#define __NR_getpeername 287 5888c2ecf20Sopenharmony_ci__SYSCALL(__NR_getpeername, sys_getpeername) 5898c2ecf20Sopenharmony_ci#define __NR_socketpair 288 5908c2ecf20Sopenharmony_ci__SYSCALL(__NR_socketpair, sys_socketpair) 5918c2ecf20Sopenharmony_ci#define __NR_send 289 5928c2ecf20Sopenharmony_ci__SYSCALL(__NR_send, sys_send) 5938c2ecf20Sopenharmony_ci#define __NR_sendto 290 5948c2ecf20Sopenharmony_ci__SYSCALL(__NR_sendto, sys_sendto) 5958c2ecf20Sopenharmony_ci#define __NR_recv 291 5968c2ecf20Sopenharmony_ci__SYSCALL(__NR_recv, compat_sys_recv) 5978c2ecf20Sopenharmony_ci#define __NR_recvfrom 292 5988c2ecf20Sopenharmony_ci__SYSCALL(__NR_recvfrom, compat_sys_recvfrom) 5998c2ecf20Sopenharmony_ci#define __NR_shutdown 293 6008c2ecf20Sopenharmony_ci__SYSCALL(__NR_shutdown, sys_shutdown) 6018c2ecf20Sopenharmony_ci#define __NR_setsockopt 294 6028c2ecf20Sopenharmony_ci__SYSCALL(__NR_setsockopt, sys_setsockopt) 6038c2ecf20Sopenharmony_ci#define __NR_getsockopt 295 6048c2ecf20Sopenharmony_ci__SYSCALL(__NR_getsockopt, sys_getsockopt) 6058c2ecf20Sopenharmony_ci#define __NR_sendmsg 296 6068c2ecf20Sopenharmony_ci__SYSCALL(__NR_sendmsg, compat_sys_sendmsg) 6078c2ecf20Sopenharmony_ci#define __NR_recvmsg 297 6088c2ecf20Sopenharmony_ci__SYSCALL(__NR_recvmsg, compat_sys_recvmsg) 6098c2ecf20Sopenharmony_ci#define __NR_semop 298 6108c2ecf20Sopenharmony_ci__SYSCALL(__NR_semop, sys_semop) 6118c2ecf20Sopenharmony_ci#define __NR_semget 299 6128c2ecf20Sopenharmony_ci__SYSCALL(__NR_semget, sys_semget) 6138c2ecf20Sopenharmony_ci#define __NR_semctl 300 6148c2ecf20Sopenharmony_ci__SYSCALL(__NR_semctl, compat_sys_old_semctl) 6158c2ecf20Sopenharmony_ci#define __NR_msgsnd 301 6168c2ecf20Sopenharmony_ci__SYSCALL(__NR_msgsnd, compat_sys_msgsnd) 6178c2ecf20Sopenharmony_ci#define __NR_msgrcv 302 6188c2ecf20Sopenharmony_ci__SYSCALL(__NR_msgrcv, compat_sys_msgrcv) 6198c2ecf20Sopenharmony_ci#define __NR_msgget 303 6208c2ecf20Sopenharmony_ci__SYSCALL(__NR_msgget, sys_msgget) 6218c2ecf20Sopenharmony_ci#define __NR_msgctl 304 6228c2ecf20Sopenharmony_ci__SYSCALL(__NR_msgctl, compat_sys_old_msgctl) 6238c2ecf20Sopenharmony_ci#define __NR_shmat 305 6248c2ecf20Sopenharmony_ci__SYSCALL(__NR_shmat, compat_sys_shmat) 6258c2ecf20Sopenharmony_ci#define __NR_shmdt 306 6268c2ecf20Sopenharmony_ci__SYSCALL(__NR_shmdt, sys_shmdt) 6278c2ecf20Sopenharmony_ci#define __NR_shmget 307 6288c2ecf20Sopenharmony_ci__SYSCALL(__NR_shmget, sys_shmget) 6298c2ecf20Sopenharmony_ci#define __NR_shmctl 308 6308c2ecf20Sopenharmony_ci__SYSCALL(__NR_shmctl, compat_sys_old_shmctl) 6318c2ecf20Sopenharmony_ci#define __NR_add_key 309 6328c2ecf20Sopenharmony_ci__SYSCALL(__NR_add_key, sys_add_key) 6338c2ecf20Sopenharmony_ci#define __NR_request_key 310 6348c2ecf20Sopenharmony_ci__SYSCALL(__NR_request_key, sys_request_key) 6358c2ecf20Sopenharmony_ci#define __NR_keyctl 311 6368c2ecf20Sopenharmony_ci__SYSCALL(__NR_keyctl, compat_sys_keyctl) 6378c2ecf20Sopenharmony_ci#define __NR_semtimedop 312 6388c2ecf20Sopenharmony_ci__SYSCALL(__NR_semtimedop, sys_semtimedop_time32) 6398c2ecf20Sopenharmony_ci#define __NR_vserver 313 6408c2ecf20Sopenharmony_ci__SYSCALL(__NR_vserver, sys_ni_syscall) 6418c2ecf20Sopenharmony_ci#define __NR_ioprio_set 314 6428c2ecf20Sopenharmony_ci__SYSCALL(__NR_ioprio_set, sys_ioprio_set) 6438c2ecf20Sopenharmony_ci#define __NR_ioprio_get 315 6448c2ecf20Sopenharmony_ci__SYSCALL(__NR_ioprio_get, sys_ioprio_get) 6458c2ecf20Sopenharmony_ci#define __NR_inotify_init 316 6468c2ecf20Sopenharmony_ci__SYSCALL(__NR_inotify_init, sys_inotify_init) 6478c2ecf20Sopenharmony_ci#define __NR_inotify_add_watch 317 6488c2ecf20Sopenharmony_ci__SYSCALL(__NR_inotify_add_watch, sys_inotify_add_watch) 6498c2ecf20Sopenharmony_ci#define __NR_inotify_rm_watch 318 6508c2ecf20Sopenharmony_ci__SYSCALL(__NR_inotify_rm_watch, sys_inotify_rm_watch) 6518c2ecf20Sopenharmony_ci#define __NR_mbind 319 6528c2ecf20Sopenharmony_ci__SYSCALL(__NR_mbind, compat_sys_mbind) 6538c2ecf20Sopenharmony_ci#define __NR_get_mempolicy 320 6548c2ecf20Sopenharmony_ci__SYSCALL(__NR_get_mempolicy, compat_sys_get_mempolicy) 6558c2ecf20Sopenharmony_ci#define __NR_set_mempolicy 321 6568c2ecf20Sopenharmony_ci__SYSCALL(__NR_set_mempolicy, compat_sys_set_mempolicy) 6578c2ecf20Sopenharmony_ci#define __NR_openat 322 6588c2ecf20Sopenharmony_ci__SYSCALL(__NR_openat, compat_sys_openat) 6598c2ecf20Sopenharmony_ci#define __NR_mkdirat 323 6608c2ecf20Sopenharmony_ci__SYSCALL(__NR_mkdirat, sys_mkdirat) 6618c2ecf20Sopenharmony_ci#define __NR_mknodat 324 6628c2ecf20Sopenharmony_ci__SYSCALL(__NR_mknodat, sys_mknodat) 6638c2ecf20Sopenharmony_ci#define __NR_fchownat 325 6648c2ecf20Sopenharmony_ci__SYSCALL(__NR_fchownat, sys_fchownat) 6658c2ecf20Sopenharmony_ci#define __NR_futimesat 326 6668c2ecf20Sopenharmony_ci__SYSCALL(__NR_futimesat, sys_futimesat_time32) 6678c2ecf20Sopenharmony_ci#define __NR_fstatat64 327 6688c2ecf20Sopenharmony_ci__SYSCALL(__NR_fstatat64, sys_fstatat64) 6698c2ecf20Sopenharmony_ci#define __NR_unlinkat 328 6708c2ecf20Sopenharmony_ci__SYSCALL(__NR_unlinkat, sys_unlinkat) 6718c2ecf20Sopenharmony_ci#define __NR_renameat 329 6728c2ecf20Sopenharmony_ci__SYSCALL(__NR_renameat, sys_renameat) 6738c2ecf20Sopenharmony_ci#define __NR_linkat 330 6748c2ecf20Sopenharmony_ci__SYSCALL(__NR_linkat, sys_linkat) 6758c2ecf20Sopenharmony_ci#define __NR_symlinkat 331 6768c2ecf20Sopenharmony_ci__SYSCALL(__NR_symlinkat, sys_symlinkat) 6778c2ecf20Sopenharmony_ci#define __NR_readlinkat 332 6788c2ecf20Sopenharmony_ci__SYSCALL(__NR_readlinkat, sys_readlinkat) 6798c2ecf20Sopenharmony_ci#define __NR_fchmodat 333 6808c2ecf20Sopenharmony_ci__SYSCALL(__NR_fchmodat, sys_fchmodat) 6818c2ecf20Sopenharmony_ci#define __NR_faccessat 334 6828c2ecf20Sopenharmony_ci__SYSCALL(__NR_faccessat, sys_faccessat) 6838c2ecf20Sopenharmony_ci#define __NR_pselect6 335 6848c2ecf20Sopenharmony_ci__SYSCALL(__NR_pselect6, compat_sys_pselect6_time32) 6858c2ecf20Sopenharmony_ci#define __NR_ppoll 336 6868c2ecf20Sopenharmony_ci__SYSCALL(__NR_ppoll, compat_sys_ppoll_time32) 6878c2ecf20Sopenharmony_ci#define __NR_unshare 337 6888c2ecf20Sopenharmony_ci__SYSCALL(__NR_unshare, sys_unshare) 6898c2ecf20Sopenharmony_ci#define __NR_set_robust_list 338 6908c2ecf20Sopenharmony_ci__SYSCALL(__NR_set_robust_list, compat_sys_set_robust_list) 6918c2ecf20Sopenharmony_ci#define __NR_get_robust_list 339 6928c2ecf20Sopenharmony_ci__SYSCALL(__NR_get_robust_list, compat_sys_get_robust_list) 6938c2ecf20Sopenharmony_ci#define __NR_splice 340 6948c2ecf20Sopenharmony_ci__SYSCALL(__NR_splice, sys_splice) 6958c2ecf20Sopenharmony_ci#define __NR_sync_file_range2 341 6968c2ecf20Sopenharmony_ci__SYSCALL(__NR_sync_file_range2, compat_sys_aarch32_sync_file_range2) 6978c2ecf20Sopenharmony_ci#define __NR_tee 342 6988c2ecf20Sopenharmony_ci__SYSCALL(__NR_tee, sys_tee) 6998c2ecf20Sopenharmony_ci#define __NR_vmsplice 343 7008c2ecf20Sopenharmony_ci__SYSCALL(__NR_vmsplice, sys_vmsplice) 7018c2ecf20Sopenharmony_ci#define __NR_move_pages 344 7028c2ecf20Sopenharmony_ci__SYSCALL(__NR_move_pages, compat_sys_move_pages) 7038c2ecf20Sopenharmony_ci#define __NR_getcpu 345 7048c2ecf20Sopenharmony_ci__SYSCALL(__NR_getcpu, sys_getcpu) 7058c2ecf20Sopenharmony_ci#define __NR_epoll_pwait 346 7068c2ecf20Sopenharmony_ci__SYSCALL(__NR_epoll_pwait, compat_sys_epoll_pwait) 7078c2ecf20Sopenharmony_ci#define __NR_kexec_load 347 7088c2ecf20Sopenharmony_ci__SYSCALL(__NR_kexec_load, compat_sys_kexec_load) 7098c2ecf20Sopenharmony_ci#define __NR_utimensat 348 7108c2ecf20Sopenharmony_ci__SYSCALL(__NR_utimensat, sys_utimensat_time32) 7118c2ecf20Sopenharmony_ci#define __NR_signalfd 349 7128c2ecf20Sopenharmony_ci__SYSCALL(__NR_signalfd, compat_sys_signalfd) 7138c2ecf20Sopenharmony_ci#define __NR_timerfd_create 350 7148c2ecf20Sopenharmony_ci__SYSCALL(__NR_timerfd_create, sys_timerfd_create) 7158c2ecf20Sopenharmony_ci#define __NR_eventfd 351 7168c2ecf20Sopenharmony_ci__SYSCALL(__NR_eventfd, sys_eventfd) 7178c2ecf20Sopenharmony_ci#define __NR_fallocate 352 7188c2ecf20Sopenharmony_ci__SYSCALL(__NR_fallocate, compat_sys_aarch32_fallocate) 7198c2ecf20Sopenharmony_ci#define __NR_timerfd_settime 353 7208c2ecf20Sopenharmony_ci__SYSCALL(__NR_timerfd_settime, sys_timerfd_settime32) 7218c2ecf20Sopenharmony_ci#define __NR_timerfd_gettime 354 7228c2ecf20Sopenharmony_ci__SYSCALL(__NR_timerfd_gettime, sys_timerfd_gettime32) 7238c2ecf20Sopenharmony_ci#define __NR_signalfd4 355 7248c2ecf20Sopenharmony_ci__SYSCALL(__NR_signalfd4, compat_sys_signalfd4) 7258c2ecf20Sopenharmony_ci#define __NR_eventfd2 356 7268c2ecf20Sopenharmony_ci__SYSCALL(__NR_eventfd2, sys_eventfd2) 7278c2ecf20Sopenharmony_ci#define __NR_epoll_create1 357 7288c2ecf20Sopenharmony_ci__SYSCALL(__NR_epoll_create1, sys_epoll_create1) 7298c2ecf20Sopenharmony_ci#define __NR_dup3 358 7308c2ecf20Sopenharmony_ci__SYSCALL(__NR_dup3, sys_dup3) 7318c2ecf20Sopenharmony_ci#define __NR_pipe2 359 7328c2ecf20Sopenharmony_ci__SYSCALL(__NR_pipe2, sys_pipe2) 7338c2ecf20Sopenharmony_ci#define __NR_inotify_init1 360 7348c2ecf20Sopenharmony_ci__SYSCALL(__NR_inotify_init1, sys_inotify_init1) 7358c2ecf20Sopenharmony_ci#define __NR_preadv 361 7368c2ecf20Sopenharmony_ci__SYSCALL(__NR_preadv, compat_sys_preadv) 7378c2ecf20Sopenharmony_ci#define __NR_pwritev 362 7388c2ecf20Sopenharmony_ci__SYSCALL(__NR_pwritev, compat_sys_pwritev) 7398c2ecf20Sopenharmony_ci#define __NR_rt_tgsigqueueinfo 363 7408c2ecf20Sopenharmony_ci__SYSCALL(__NR_rt_tgsigqueueinfo, compat_sys_rt_tgsigqueueinfo) 7418c2ecf20Sopenharmony_ci#define __NR_perf_event_open 364 7428c2ecf20Sopenharmony_ci__SYSCALL(__NR_perf_event_open, sys_perf_event_open) 7438c2ecf20Sopenharmony_ci#define __NR_recvmmsg 365 7448c2ecf20Sopenharmony_ci__SYSCALL(__NR_recvmmsg, compat_sys_recvmmsg_time32) 7458c2ecf20Sopenharmony_ci#define __NR_accept4 366 7468c2ecf20Sopenharmony_ci__SYSCALL(__NR_accept4, sys_accept4) 7478c2ecf20Sopenharmony_ci#define __NR_fanotify_init 367 7488c2ecf20Sopenharmony_ci__SYSCALL(__NR_fanotify_init, sys_fanotify_init) 7498c2ecf20Sopenharmony_ci#define __NR_fanotify_mark 368 7508c2ecf20Sopenharmony_ci__SYSCALL(__NR_fanotify_mark, compat_sys_fanotify_mark) 7518c2ecf20Sopenharmony_ci#define __NR_prlimit64 369 7528c2ecf20Sopenharmony_ci__SYSCALL(__NR_prlimit64, sys_prlimit64) 7538c2ecf20Sopenharmony_ci#define __NR_name_to_handle_at 370 7548c2ecf20Sopenharmony_ci__SYSCALL(__NR_name_to_handle_at, sys_name_to_handle_at) 7558c2ecf20Sopenharmony_ci#define __NR_open_by_handle_at 371 7568c2ecf20Sopenharmony_ci__SYSCALL(__NR_open_by_handle_at, compat_sys_open_by_handle_at) 7578c2ecf20Sopenharmony_ci#define __NR_clock_adjtime 372 7588c2ecf20Sopenharmony_ci__SYSCALL(__NR_clock_adjtime, sys_clock_adjtime32) 7598c2ecf20Sopenharmony_ci#define __NR_syncfs 373 7608c2ecf20Sopenharmony_ci__SYSCALL(__NR_syncfs, sys_syncfs) 7618c2ecf20Sopenharmony_ci#define __NR_sendmmsg 374 7628c2ecf20Sopenharmony_ci__SYSCALL(__NR_sendmmsg, compat_sys_sendmmsg) 7638c2ecf20Sopenharmony_ci#define __NR_setns 375 7648c2ecf20Sopenharmony_ci__SYSCALL(__NR_setns, sys_setns) 7658c2ecf20Sopenharmony_ci#define __NR_process_vm_readv 376 7668c2ecf20Sopenharmony_ci__SYSCALL(__NR_process_vm_readv, sys_process_vm_readv) 7678c2ecf20Sopenharmony_ci#define __NR_process_vm_writev 377 7688c2ecf20Sopenharmony_ci__SYSCALL(__NR_process_vm_writev, sys_process_vm_writev) 7698c2ecf20Sopenharmony_ci#define __NR_kcmp 378 7708c2ecf20Sopenharmony_ci__SYSCALL(__NR_kcmp, sys_kcmp) 7718c2ecf20Sopenharmony_ci#define __NR_finit_module 379 7728c2ecf20Sopenharmony_ci__SYSCALL(__NR_finit_module, sys_finit_module) 7738c2ecf20Sopenharmony_ci#define __NR_sched_setattr 380 7748c2ecf20Sopenharmony_ci__SYSCALL(__NR_sched_setattr, sys_sched_setattr) 7758c2ecf20Sopenharmony_ci#define __NR_sched_getattr 381 7768c2ecf20Sopenharmony_ci__SYSCALL(__NR_sched_getattr, sys_sched_getattr) 7778c2ecf20Sopenharmony_ci#define __NR_renameat2 382 7788c2ecf20Sopenharmony_ci__SYSCALL(__NR_renameat2, sys_renameat2) 7798c2ecf20Sopenharmony_ci#define __NR_seccomp 383 7808c2ecf20Sopenharmony_ci__SYSCALL(__NR_seccomp, sys_seccomp) 7818c2ecf20Sopenharmony_ci#define __NR_getrandom 384 7828c2ecf20Sopenharmony_ci__SYSCALL(__NR_getrandom, sys_getrandom) 7838c2ecf20Sopenharmony_ci#define __NR_memfd_create 385 7848c2ecf20Sopenharmony_ci__SYSCALL(__NR_memfd_create, sys_memfd_create) 7858c2ecf20Sopenharmony_ci#define __NR_bpf 386 7868c2ecf20Sopenharmony_ci__SYSCALL(__NR_bpf, sys_bpf) 7878c2ecf20Sopenharmony_ci#define __NR_execveat 387 7888c2ecf20Sopenharmony_ci__SYSCALL(__NR_execveat, compat_sys_execveat) 7898c2ecf20Sopenharmony_ci#define __NR_userfaultfd 388 7908c2ecf20Sopenharmony_ci__SYSCALL(__NR_userfaultfd, sys_userfaultfd) 7918c2ecf20Sopenharmony_ci#define __NR_membarrier 389 7928c2ecf20Sopenharmony_ci__SYSCALL(__NR_membarrier, sys_membarrier) 7938c2ecf20Sopenharmony_ci#define __NR_mlock2 390 7948c2ecf20Sopenharmony_ci__SYSCALL(__NR_mlock2, sys_mlock2) 7958c2ecf20Sopenharmony_ci#define __NR_copy_file_range 391 7968c2ecf20Sopenharmony_ci__SYSCALL(__NR_copy_file_range, sys_copy_file_range) 7978c2ecf20Sopenharmony_ci#define __NR_preadv2 392 7988c2ecf20Sopenharmony_ci__SYSCALL(__NR_preadv2, compat_sys_preadv2) 7998c2ecf20Sopenharmony_ci#define __NR_pwritev2 393 8008c2ecf20Sopenharmony_ci__SYSCALL(__NR_pwritev2, compat_sys_pwritev2) 8018c2ecf20Sopenharmony_ci#define __NR_pkey_mprotect 394 8028c2ecf20Sopenharmony_ci__SYSCALL(__NR_pkey_mprotect, sys_pkey_mprotect) 8038c2ecf20Sopenharmony_ci#define __NR_pkey_alloc 395 8048c2ecf20Sopenharmony_ci__SYSCALL(__NR_pkey_alloc, sys_pkey_alloc) 8058c2ecf20Sopenharmony_ci#define __NR_pkey_free 396 8068c2ecf20Sopenharmony_ci__SYSCALL(__NR_pkey_free, sys_pkey_free) 8078c2ecf20Sopenharmony_ci#define __NR_statx 397 8088c2ecf20Sopenharmony_ci__SYSCALL(__NR_statx, sys_statx) 8098c2ecf20Sopenharmony_ci#define __NR_rseq 398 8108c2ecf20Sopenharmony_ci__SYSCALL(__NR_rseq, sys_rseq) 8118c2ecf20Sopenharmony_ci#define __NR_io_pgetevents 399 8128c2ecf20Sopenharmony_ci__SYSCALL(__NR_io_pgetevents, compat_sys_io_pgetevents) 8138c2ecf20Sopenharmony_ci#define __NR_migrate_pages 400 8148c2ecf20Sopenharmony_ci__SYSCALL(__NR_migrate_pages, compat_sys_migrate_pages) 8158c2ecf20Sopenharmony_ci#define __NR_kexec_file_load 401 8168c2ecf20Sopenharmony_ci__SYSCALL(__NR_kexec_file_load, sys_kexec_file_load) 8178c2ecf20Sopenharmony_ci/* 402 is unused */ 8188c2ecf20Sopenharmony_ci#define __NR_clock_gettime64 403 8198c2ecf20Sopenharmony_ci__SYSCALL(__NR_clock_gettime64, sys_clock_gettime) 8208c2ecf20Sopenharmony_ci#define __NR_clock_settime64 404 8218c2ecf20Sopenharmony_ci__SYSCALL(__NR_clock_settime64, sys_clock_settime) 8228c2ecf20Sopenharmony_ci#define __NR_clock_adjtime64 405 8238c2ecf20Sopenharmony_ci__SYSCALL(__NR_clock_adjtime64, sys_clock_adjtime) 8248c2ecf20Sopenharmony_ci#define __NR_clock_getres_time64 406 8258c2ecf20Sopenharmony_ci__SYSCALL(__NR_clock_getres_time64, sys_clock_getres) 8268c2ecf20Sopenharmony_ci#define __NR_clock_nanosleep_time64 407 8278c2ecf20Sopenharmony_ci__SYSCALL(__NR_clock_nanosleep_time64, sys_clock_nanosleep) 8288c2ecf20Sopenharmony_ci#define __NR_timer_gettime64 408 8298c2ecf20Sopenharmony_ci__SYSCALL(__NR_timer_gettime64, sys_timer_gettime) 8308c2ecf20Sopenharmony_ci#define __NR_timer_settime64 409 8318c2ecf20Sopenharmony_ci__SYSCALL(__NR_timer_settime64, sys_timer_settime) 8328c2ecf20Sopenharmony_ci#define __NR_timerfd_gettime64 410 8338c2ecf20Sopenharmony_ci__SYSCALL(__NR_timerfd_gettime64, sys_timerfd_gettime) 8348c2ecf20Sopenharmony_ci#define __NR_timerfd_settime64 411 8358c2ecf20Sopenharmony_ci__SYSCALL(__NR_timerfd_settime64, sys_timerfd_settime) 8368c2ecf20Sopenharmony_ci#define __NR_utimensat_time64 412 8378c2ecf20Sopenharmony_ci__SYSCALL(__NR_utimensat_time64, sys_utimensat) 8388c2ecf20Sopenharmony_ci#define __NR_pselect6_time64 413 8398c2ecf20Sopenharmony_ci__SYSCALL(__NR_pselect6_time64, compat_sys_pselect6_time64) 8408c2ecf20Sopenharmony_ci#define __NR_ppoll_time64 414 8418c2ecf20Sopenharmony_ci__SYSCALL(__NR_ppoll_time64, compat_sys_ppoll_time64) 8428c2ecf20Sopenharmony_ci#define __NR_io_pgetevents_time64 416 8438c2ecf20Sopenharmony_ci__SYSCALL(__NR_io_pgetevents_time64, sys_io_pgetevents) 8448c2ecf20Sopenharmony_ci#define __NR_recvmmsg_time64 417 8458c2ecf20Sopenharmony_ci__SYSCALL(__NR_recvmmsg_time64, compat_sys_recvmmsg_time64) 8468c2ecf20Sopenharmony_ci#define __NR_mq_timedsend_time64 418 8478c2ecf20Sopenharmony_ci__SYSCALL(__NR_mq_timedsend_time64, sys_mq_timedsend) 8488c2ecf20Sopenharmony_ci#define __NR_mq_timedreceive_time64 419 8498c2ecf20Sopenharmony_ci__SYSCALL(__NR_mq_timedreceive_time64, sys_mq_timedreceive) 8508c2ecf20Sopenharmony_ci#define __NR_semtimedop_time64 420 8518c2ecf20Sopenharmony_ci__SYSCALL(__NR_semtimedop_time64, sys_semtimedop) 8528c2ecf20Sopenharmony_ci#define __NR_rt_sigtimedwait_time64 421 8538c2ecf20Sopenharmony_ci__SYSCALL(__NR_rt_sigtimedwait_time64, compat_sys_rt_sigtimedwait_time64) 8548c2ecf20Sopenharmony_ci#define __NR_futex_time64 422 8558c2ecf20Sopenharmony_ci__SYSCALL(__NR_futex_time64, sys_futex) 8568c2ecf20Sopenharmony_ci#define __NR_sched_rr_get_interval_time64 423 8578c2ecf20Sopenharmony_ci__SYSCALL(__NR_sched_rr_get_interval_time64, sys_sched_rr_get_interval) 8588c2ecf20Sopenharmony_ci#define __NR_pidfd_send_signal 424 8598c2ecf20Sopenharmony_ci__SYSCALL(__NR_pidfd_send_signal, sys_pidfd_send_signal) 8608c2ecf20Sopenharmony_ci#define __NR_io_uring_setup 425 8618c2ecf20Sopenharmony_ci__SYSCALL(__NR_io_uring_setup, sys_io_uring_setup) 8628c2ecf20Sopenharmony_ci#define __NR_io_uring_enter 426 8638c2ecf20Sopenharmony_ci__SYSCALL(__NR_io_uring_enter, sys_io_uring_enter) 8648c2ecf20Sopenharmony_ci#define __NR_io_uring_register 427 8658c2ecf20Sopenharmony_ci__SYSCALL(__NR_io_uring_register, sys_io_uring_register) 8668c2ecf20Sopenharmony_ci#define __NR_open_tree 428 8678c2ecf20Sopenharmony_ci__SYSCALL(__NR_open_tree, sys_open_tree) 8688c2ecf20Sopenharmony_ci#define __NR_move_mount 429 8698c2ecf20Sopenharmony_ci__SYSCALL(__NR_move_mount, sys_move_mount) 8708c2ecf20Sopenharmony_ci#define __NR_fsopen 430 8718c2ecf20Sopenharmony_ci__SYSCALL(__NR_fsopen, sys_fsopen) 8728c2ecf20Sopenharmony_ci#define __NR_fsconfig 431 8738c2ecf20Sopenharmony_ci__SYSCALL(__NR_fsconfig, sys_fsconfig) 8748c2ecf20Sopenharmony_ci#define __NR_fsmount 432 8758c2ecf20Sopenharmony_ci__SYSCALL(__NR_fsmount, sys_fsmount) 8768c2ecf20Sopenharmony_ci#define __NR_fspick 433 8778c2ecf20Sopenharmony_ci__SYSCALL(__NR_fspick, sys_fspick) 8788c2ecf20Sopenharmony_ci#define __NR_pidfd_open 434 8798c2ecf20Sopenharmony_ci__SYSCALL(__NR_pidfd_open, sys_pidfd_open) 8808c2ecf20Sopenharmony_ci#define __NR_clone3 435 8818c2ecf20Sopenharmony_ci__SYSCALL(__NR_clone3, sys_clone3) 8828c2ecf20Sopenharmony_ci#define __NR_close_range 436 8838c2ecf20Sopenharmony_ci__SYSCALL(__NR_close_range, sys_close_range) 8848c2ecf20Sopenharmony_ci#define __NR_openat2 437 8858c2ecf20Sopenharmony_ci__SYSCALL(__NR_openat2, sys_openat2) 8868c2ecf20Sopenharmony_ci#define __NR_pidfd_getfd 438 8878c2ecf20Sopenharmony_ci__SYSCALL(__NR_pidfd_getfd, sys_pidfd_getfd) 8888c2ecf20Sopenharmony_ci#define __NR_faccessat2 439 8898c2ecf20Sopenharmony_ci__SYSCALL(__NR_faccessat2, sys_faccessat2) 8908c2ecf20Sopenharmony_ci#define __NR_process_madvise 440 8918c2ecf20Sopenharmony_ci__SYSCALL(__NR_process_madvise, sys_process_madvise) 8928c2ecf20Sopenharmony_ci 8938c2ecf20Sopenharmony_ci/* 8948c2ecf20Sopenharmony_ci * Please add new compat syscalls above this comment and update 8958c2ecf20Sopenharmony_ci * __NR_compat_syscalls in asm/unistd.h. 8968c2ecf20Sopenharmony_ci */ 897