13cb0eab2SDavid Howells /* 23cb0eab2SDavid Howells * Copyright (C) 2007-2008 Michal Simek <monstr@monstr.eu> 33cb0eab2SDavid Howells * Copyright (C) 2006 Atmark Techno, Inc. 43cb0eab2SDavid Howells * 53cb0eab2SDavid Howells * This file is subject to the terms and conditions of the GNU General Public 63cb0eab2SDavid Howells * License. See the file "COPYING" in the main directory of this archive 73cb0eab2SDavid Howells * for more details. 83cb0eab2SDavid Howells */ 93cb0eab2SDavid Howells 103cb0eab2SDavid Howells #ifndef _UAPI_ASM_MICROBLAZE_UNISTD_H 113cb0eab2SDavid Howells #define _UAPI_ASM_MICROBLAZE_UNISTD_H 123cb0eab2SDavid Howells 133cb0eab2SDavid Howells #define __NR_restart_syscall 0 /* ok */ 143cb0eab2SDavid Howells #define __NR_exit 1 /* ok */ 153cb0eab2SDavid Howells #define __NR_fork 2 /* not for no MMU - weird */ 163cb0eab2SDavid Howells #define __NR_read 3 /* ok */ 173cb0eab2SDavid Howells #define __NR_write 4 /* ok */ 183cb0eab2SDavid Howells #define __NR_open 5 /* openat */ 193cb0eab2SDavid Howells #define __NR_close 6 /* ok */ 203cb0eab2SDavid Howells #define __NR_waitpid 7 /* waitid */ 213cb0eab2SDavid Howells #define __NR_creat 8 /* openat */ 223cb0eab2SDavid Howells #define __NR_link 9 /* linkat */ 233cb0eab2SDavid Howells #define __NR_unlink 10 /* unlinkat */ 243cb0eab2SDavid Howells #define __NR_execve 11 /* ok */ 253cb0eab2SDavid Howells #define __NR_chdir 12 /* ok */ 263cb0eab2SDavid Howells #define __NR_time 13 /* obsolete -> sys_gettimeofday */ 273cb0eab2SDavid Howells #define __NR_mknod 14 /* mknodat */ 283cb0eab2SDavid Howells #define __NR_chmod 15 /* fchmodat */ 293cb0eab2SDavid Howells #define __NR_lchown 16 /* ok */ 303cb0eab2SDavid Howells #define __NR_break 17 /* don't know */ 313cb0eab2SDavid Howells #define __NR_oldstat 18 /* remove */ 323cb0eab2SDavid Howells #define __NR_lseek 19 /* ok */ 333cb0eab2SDavid Howells #define __NR_getpid 20 /* ok */ 343cb0eab2SDavid Howells #define __NR_mount 21 /* ok */ 353cb0eab2SDavid Howells #define __NR_umount 22 /* ok */ /* use only umount2 */ 363cb0eab2SDavid Howells #define __NR_setuid 23 /* ok */ 373cb0eab2SDavid Howells #define __NR_getuid 24 /* ok */ 383cb0eab2SDavid Howells #define __NR_stime 25 /* obsolete -> sys_settimeofday */ 393cb0eab2SDavid Howells #define __NR_ptrace 26 /* ok */ 403cb0eab2SDavid Howells #define __NR_alarm 27 /* obsolete -> sys_setitimer */ 413cb0eab2SDavid Howells #define __NR_oldfstat 28 /* remove */ 423cb0eab2SDavid Howells #define __NR_pause 29 /* obsolete -> sys_rt_sigtimedwait */ 433cb0eab2SDavid Howells #define __NR_utime 30 /* obsolete -> sys_utimesat */ 443cb0eab2SDavid Howells #define __NR_stty 31 /* remove */ 453cb0eab2SDavid Howells #define __NR_gtty 32 /* remove */ 463cb0eab2SDavid Howells #define __NR_access 33 /* faccessat */ 473cb0eab2SDavid Howells /* can be implemented by sys_setpriority */ 483cb0eab2SDavid Howells #define __NR_nice 34 493cb0eab2SDavid Howells #define __NR_ftime 35 /* remove */ 503cb0eab2SDavid Howells #define __NR_sync 36 /* ok */ 513cb0eab2SDavid Howells #define __NR_kill 37 /* ok */ 523cb0eab2SDavid Howells #define __NR_rename 38 /* renameat */ 533cb0eab2SDavid Howells #define __NR_mkdir 39 /* mkdirat */ 543cb0eab2SDavid Howells #define __NR_rmdir 40 /* unlinkat */ 553cb0eab2SDavid Howells #define __NR_dup 41 /* ok */ 563cb0eab2SDavid Howells #define __NR_pipe 42 /* ok */ 573cb0eab2SDavid Howells #define __NR_times 43 /* ok */ 583cb0eab2SDavid Howells #define __NR_prof 44 /* remove */ 593cb0eab2SDavid Howells #define __NR_brk 45 /* ok -mmu, nommu specific */ 603cb0eab2SDavid Howells #define __NR_setgid 46 /* ok */ 613cb0eab2SDavid Howells #define __NR_getgid 47 /* ok */ 623cb0eab2SDavid Howells #define __NR_signal 48 /* obsolete -> sys_rt_sigaction */ 633cb0eab2SDavid Howells #define __NR_geteuid 49 /* ok */ 643cb0eab2SDavid Howells #define __NR_getegid 50 /* ok */ 653cb0eab2SDavid Howells #define __NR_acct 51 /* add it and then I can disable it */ 663cb0eab2SDavid Howells #define __NR_umount2 52 /* remove */ 673cb0eab2SDavid Howells #define __NR_lock 53 /* remove */ 683cb0eab2SDavid Howells #define __NR_ioctl 54 /* ok */ 693cb0eab2SDavid Howells #define __NR_fcntl 55 /* ok -> 64bit version*/ 703cb0eab2SDavid Howells #define __NR_mpx 56 /* remove */ 713cb0eab2SDavid Howells #define __NR_setpgid 57 /* ok */ 723cb0eab2SDavid Howells #define __NR_ulimit 58 /* remove */ 733cb0eab2SDavid Howells #define __NR_oldolduname 59 /* remove */ 743cb0eab2SDavid Howells #define __NR_umask 60 /* ok */ 753cb0eab2SDavid Howells #define __NR_chroot 61 /* ok */ 763cb0eab2SDavid Howells #define __NR_ustat 62 /* obsolete -> statfs64 */ 773cb0eab2SDavid Howells #define __NR_dup2 63 /* ok */ 783cb0eab2SDavid Howells #define __NR_getppid 64 /* ok */ 793cb0eab2SDavid Howells #define __NR_getpgrp 65 /* obsolete -> sys_getpgid */ 803cb0eab2SDavid Howells #define __NR_setsid 66 /* ok */ 813cb0eab2SDavid Howells #define __NR_sigaction 67 /* obsolete -> rt_sigaction */ 823cb0eab2SDavid Howells #define __NR_sgetmask 68 /* obsolete -> sys_rt_sigprocmask */ 833cb0eab2SDavid Howells #define __NR_ssetmask 69 /* obsolete ->sys_rt_sigprocmask */ 843cb0eab2SDavid Howells #define __NR_setreuid 70 /* ok */ 853cb0eab2SDavid Howells #define __NR_setregid 71 /* ok */ 863cb0eab2SDavid Howells #define __NR_sigsuspend 72 /* obsolete -> rt_sigsuspend */ 873cb0eab2SDavid Howells #define __NR_sigpending 73 /* obsolete -> sys_rt_sigpending */ 883cb0eab2SDavid Howells #define __NR_sethostname 74 /* ok */ 893cb0eab2SDavid Howells #define __NR_setrlimit 75 /* ok */ 903cb0eab2SDavid Howells #define __NR_getrlimit 76 /* ok Back compatible 2G limited rlimit */ 913cb0eab2SDavid Howells #define __NR_getrusage 77 /* ok */ 923cb0eab2SDavid Howells #define __NR_gettimeofday 78 /* ok */ 933cb0eab2SDavid Howells #define __NR_settimeofday 79 /* ok */ 943cb0eab2SDavid Howells #define __NR_getgroups 80 /* ok */ 953cb0eab2SDavid Howells #define __NR_setgroups 81 /* ok */ 96052920a6SMichal Simek #define __NR_select 82 /* obsolete -> sys_pselect6 */ 973cb0eab2SDavid Howells #define __NR_symlink 83 /* symlinkat */ 983cb0eab2SDavid Howells #define __NR_oldlstat 84 /* remove */ 993cb0eab2SDavid Howells #define __NR_readlink 85 /* obsolete -> sys_readlinkat */ 1003cb0eab2SDavid Howells #define __NR_uselib 86 /* remove */ 1013cb0eab2SDavid Howells #define __NR_swapon 87 /* ok */ 1023cb0eab2SDavid Howells #define __NR_reboot 88 /* ok */ 1033cb0eab2SDavid Howells #define __NR_readdir 89 /* remove ? */ 1043cb0eab2SDavid Howells #define __NR_mmap 90 /* obsolete -> sys_mmap2 */ 1053cb0eab2SDavid Howells #define __NR_munmap 91 /* ok - mmu and nommu */ 1063cb0eab2SDavid Howells #define __NR_truncate 92 /* ok or truncate64 */ 1073cb0eab2SDavid Howells #define __NR_ftruncate 93 /* ok or ftruncate64 */ 1083cb0eab2SDavid Howells #define __NR_fchmod 94 /* ok */ 1093cb0eab2SDavid Howells #define __NR_fchown 95 /* ok */ 1103cb0eab2SDavid Howells #define __NR_getpriority 96 /* ok */ 1113cb0eab2SDavid Howells #define __NR_setpriority 97 /* ok */ 1123cb0eab2SDavid Howells #define __NR_profil 98 /* remove */ 1133cb0eab2SDavid Howells #define __NR_statfs 99 /* ok or statfs64 */ 1143cb0eab2SDavid Howells #define __NR_fstatfs 100 /* ok or fstatfs64 */ 1153cb0eab2SDavid Howells #define __NR_ioperm 101 /* remove */ 1163cb0eab2SDavid Howells #define __NR_socketcall 102 /* remove */ 1173cb0eab2SDavid Howells #define __NR_syslog 103 /* ok */ 1183cb0eab2SDavid Howells #define __NR_setitimer 104 /* ok */ 1193cb0eab2SDavid Howells #define __NR_getitimer 105 /* ok */ 1203cb0eab2SDavid Howells #define __NR_stat 106 /* remove */ 1213cb0eab2SDavid Howells #define __NR_lstat 107 /* remove */ 1223cb0eab2SDavid Howells #define __NR_fstat 108 /* remove */ 1233cb0eab2SDavid Howells #define __NR_olduname 109 /* remove */ 1243cb0eab2SDavid Howells #define __NR_iopl 110 /* remove */ 1253cb0eab2SDavid Howells #define __NR_vhangup 111 /* ok */ 1263cb0eab2SDavid Howells #define __NR_idle 112 /* remove */ 1273cb0eab2SDavid Howells #define __NR_vm86old 113 /* remove */ 1283cb0eab2SDavid Howells #define __NR_wait4 114 /* obsolete -> waitid */ 1293cb0eab2SDavid Howells #define __NR_swapoff 115 /* ok */ 1303cb0eab2SDavid Howells #define __NR_sysinfo 116 /* ok */ 1313cb0eab2SDavid Howells #define __NR_ipc 117 /* remove - direct call */ 1323cb0eab2SDavid Howells #define __NR_fsync 118 /* ok */ 1333cb0eab2SDavid Howells #define __NR_sigreturn 119 /* obsolete -> sys_rt_sigreturn */ 1343cb0eab2SDavid Howells #define __NR_clone 120 /* ok */ 1353cb0eab2SDavid Howells #define __NR_setdomainname 121 /* ok */ 1363cb0eab2SDavid Howells #define __NR_uname 122 /* remove */ 1373cb0eab2SDavid Howells #define __NR_modify_ldt 123 /* remove */ 1383cb0eab2SDavid Howells #define __NR_adjtimex 124 /* ok */ 1393cb0eab2SDavid Howells #define __NR_mprotect 125 /* remove */ 1403cb0eab2SDavid Howells #define __NR_sigprocmask 126 /* obsolete -> sys_rt_sigprocmask */ 1413cb0eab2SDavid Howells #define __NR_create_module 127 /* remove */ 1423cb0eab2SDavid Howells #define __NR_init_module 128 /* ok */ 1433cb0eab2SDavid Howells #define __NR_delete_module 129 /* ok */ 1443cb0eab2SDavid Howells #define __NR_get_kernel_syms 130 /* remove */ 1453cb0eab2SDavid Howells #define __NR_quotactl 131 /* ok */ 1463cb0eab2SDavid Howells #define __NR_getpgid 132 /* ok */ 1473cb0eab2SDavid Howells #define __NR_fchdir 133 /* ok */ 1483cb0eab2SDavid Howells #define __NR_bdflush 134 /* remove */ 1493cb0eab2SDavid Howells #define __NR_sysfs 135 /* needed for busybox */ 1503cb0eab2SDavid Howells #define __NR_personality 136 /* ok */ 1513cb0eab2SDavid Howells #define __NR_afs_syscall 137 /* Syscall for Andrew File System */ 1523cb0eab2SDavid Howells #define __NR_setfsuid 138 /* ok */ 1533cb0eab2SDavid Howells #define __NR_setfsgid 139 /* ok */ 1543cb0eab2SDavid Howells #define __NR__llseek 140 /* remove only lseek */ 1553cb0eab2SDavid Howells #define __NR_getdents 141 /* ok or getdents64 */ 1563cb0eab2SDavid Howells #define __NR__newselect 142 /* remove */ 1573cb0eab2SDavid Howells #define __NR_flock 143 /* ok */ 1583cb0eab2SDavid Howells #define __NR_msync 144 /* remove */ 1593cb0eab2SDavid Howells #define __NR_readv 145 /* ok */ 1603cb0eab2SDavid Howells #define __NR_writev 146 /* ok */ 1613cb0eab2SDavid Howells #define __NR_getsid 147 /* ok */ 1623cb0eab2SDavid Howells #define __NR_fdatasync 148 /* ok */ 1633cb0eab2SDavid Howells #define __NR__sysctl 149 /* remove */ 1643cb0eab2SDavid Howells #define __NR_mlock 150 /* ok - nommu or mmu */ 1653cb0eab2SDavid Howells #define __NR_munlock 151 /* ok - nommu or mmu */ 1663cb0eab2SDavid Howells #define __NR_mlockall 152 /* ok - nommu or mmu */ 1673cb0eab2SDavid Howells #define __NR_munlockall 153 /* ok - nommu or mmu */ 1683cb0eab2SDavid Howells #define __NR_sched_setparam 154 /* ok */ 1693cb0eab2SDavid Howells #define __NR_sched_getparam 155 /* ok */ 1703cb0eab2SDavid Howells #define __NR_sched_setscheduler 156 /* ok */ 1713cb0eab2SDavid Howells #define __NR_sched_getscheduler 157 /* ok */ 1723cb0eab2SDavid Howells #define __NR_sched_yield 158 /* ok */ 1733cb0eab2SDavid Howells #define __NR_sched_get_priority_max 159 /* ok */ 1743cb0eab2SDavid Howells #define __NR_sched_get_priority_min 160 /* ok */ 1753cb0eab2SDavid Howells #define __NR_sched_rr_get_interval 161 /* ok */ 1763cb0eab2SDavid Howells #define __NR_nanosleep 162 /* ok */ 1773cb0eab2SDavid Howells #define __NR_mremap 163 /* ok - nommu or mmu */ 1783cb0eab2SDavid Howells #define __NR_setresuid 164 /* ok */ 1793cb0eab2SDavid Howells #define __NR_getresuid 165 /* ok */ 1803cb0eab2SDavid Howells #define __NR_vm86 166 /* remove */ 1813cb0eab2SDavid Howells #define __NR_query_module 167 /* ok */ 1823cb0eab2SDavid Howells #define __NR_poll 168 /* obsolete -> sys_ppoll */ 1833cb0eab2SDavid Howells #define __NR_nfsservctl 169 /* ok */ 1843cb0eab2SDavid Howells #define __NR_setresgid 170 /* ok */ 1853cb0eab2SDavid Howells #define __NR_getresgid 171 /* ok */ 1863cb0eab2SDavid Howells #define __NR_prctl 172 /* ok */ 1873cb0eab2SDavid Howells #define __NR_rt_sigreturn 173 /* ok */ 1883cb0eab2SDavid Howells #define __NR_rt_sigaction 174 /* ok */ 1893cb0eab2SDavid Howells #define __NR_rt_sigprocmask 175 /* ok */ 1903cb0eab2SDavid Howells #define __NR_rt_sigpending 176 /* ok */ 1913cb0eab2SDavid Howells #define __NR_rt_sigtimedwait 177 /* ok */ 1923cb0eab2SDavid Howells #define __NR_rt_sigqueueinfo 178 /* ok */ 1933cb0eab2SDavid Howells #define __NR_rt_sigsuspend 179 /* ok */ 1943cb0eab2SDavid Howells #define __NR_pread64 180 /* ok */ 1953cb0eab2SDavid Howells #define __NR_pwrite64 181 /* ok */ 1963cb0eab2SDavid Howells #define __NR_chown 182 /* obsolete -> fchownat */ 1973cb0eab2SDavid Howells #define __NR_getcwd 183 /* ok */ 1983cb0eab2SDavid Howells #define __NR_capget 184 /* ok */ 1993cb0eab2SDavid Howells #define __NR_capset 185 /* ok */ 2003cb0eab2SDavid Howells #define __NR_sigaltstack 186 /* remove */ 2013cb0eab2SDavid Howells #define __NR_sendfile 187 /* ok -> exist 64bit version*/ 2023cb0eab2SDavid Howells #define __NR_getpmsg 188 /* remove */ 2033cb0eab2SDavid Howells /* remove - some people actually want streams */ 2043cb0eab2SDavid Howells #define __NR_putpmsg 189 2053cb0eab2SDavid Howells /* for noMMU - group with clone -> maybe remove */ 2063cb0eab2SDavid Howells #define __NR_vfork 190 2073cb0eab2SDavid Howells #define __NR_ugetrlimit 191 /* remove - SuS compliant getrlimit */ 2083cb0eab2SDavid Howells #define __NR_mmap2 192 /* ok */ 2093cb0eab2SDavid Howells #define __NR_truncate64 193 /* ok */ 2103cb0eab2SDavid Howells #define __NR_ftruncate64 194 /* ok */ 2113cb0eab2SDavid Howells #define __NR_stat64 195 /* remove _ARCH_WANT_STAT64 */ 2123cb0eab2SDavid Howells #define __NR_lstat64 196 /* remove _ARCH_WANT_STAT64 */ 2133cb0eab2SDavid Howells #define __NR_fstat64 197 /* remove _ARCH_WANT_STAT64 */ 2143cb0eab2SDavid Howells #define __NR_lchown32 198 /* ok - without 32 */ 2153cb0eab2SDavid Howells #define __NR_getuid32 199 /* ok - without 32 */ 2163cb0eab2SDavid Howells #define __NR_getgid32 200 /* ok - without 32 */ 2173cb0eab2SDavid Howells #define __NR_geteuid32 201 /* ok - without 32 */ 2183cb0eab2SDavid Howells #define __NR_getegid32 202 /* ok - without 32 */ 2193cb0eab2SDavid Howells #define __NR_setreuid32 203 /* ok - without 32 */ 2203cb0eab2SDavid Howells #define __NR_setregid32 204 /* ok - without 32 */ 2213cb0eab2SDavid Howells #define __NR_getgroups32 205 /* ok - without 32 */ 2223cb0eab2SDavid Howells #define __NR_setgroups32 206 /* ok - without 32 */ 2233cb0eab2SDavid Howells #define __NR_fchown32 207 /* ok - without 32 */ 2243cb0eab2SDavid Howells #define __NR_setresuid32 208 /* ok - without 32 */ 2253cb0eab2SDavid Howells #define __NR_getresuid32 209 /* ok - without 32 */ 2263cb0eab2SDavid Howells #define __NR_setresgid32 210 /* ok - without 32 */ 2273cb0eab2SDavid Howells #define __NR_getresgid32 211 /* ok - without 32 */ 2283cb0eab2SDavid Howells #define __NR_chown32 212 /* ok - without 32 -obsolete -> fchownat */ 2293cb0eab2SDavid Howells #define __NR_setuid32 213 /* ok - without 32 */ 2303cb0eab2SDavid Howells #define __NR_setgid32 214 /* ok - without 32 */ 2313cb0eab2SDavid Howells #define __NR_setfsuid32 215 /* ok - without 32 */ 2323cb0eab2SDavid Howells #define __NR_setfsgid32 216 /* ok - without 32 */ 2333cb0eab2SDavid Howells #define __NR_pivot_root 217 /* ok */ 2343cb0eab2SDavid Howells #define __NR_mincore 218 /* ok */ 2353cb0eab2SDavid Howells #define __NR_madvise 219 /* ok */ 2363cb0eab2SDavid Howells #define __NR_getdents64 220 /* ok */ 2373cb0eab2SDavid Howells #define __NR_fcntl64 221 /* ok */ 2383cb0eab2SDavid Howells /* 223 is unused */ 2393cb0eab2SDavid Howells #define __NR_gettid 224 /* ok */ 2403cb0eab2SDavid Howells #define __NR_readahead 225 /* ok */ 2413cb0eab2SDavid Howells #define __NR_setxattr 226 /* ok */ 2423cb0eab2SDavid Howells #define __NR_lsetxattr 227 /* ok */ 2433cb0eab2SDavid Howells #define __NR_fsetxattr 228 /* ok */ 2443cb0eab2SDavid Howells #define __NR_getxattr 229 /* ok */ 2453cb0eab2SDavid Howells #define __NR_lgetxattr 230 /* ok */ 2463cb0eab2SDavid Howells #define __NR_fgetxattr 231 /* ok */ 2473cb0eab2SDavid Howells #define __NR_listxattr 232 /* ok */ 2483cb0eab2SDavid Howells #define __NR_llistxattr 233 /* ok */ 2493cb0eab2SDavid Howells #define __NR_flistxattr 234 /* ok */ 2503cb0eab2SDavid Howells #define __NR_removexattr 235 /* ok */ 2513cb0eab2SDavid Howells #define __NR_lremovexattr 236 /* ok */ 2523cb0eab2SDavid Howells #define __NR_fremovexattr 237 /* ok */ 2533cb0eab2SDavid Howells #define __NR_tkill 238 /* ok */ 2543cb0eab2SDavid Howells #define __NR_sendfile64 239 /* ok */ 2553cb0eab2SDavid Howells #define __NR_futex 240 /* ok */ 2563cb0eab2SDavid Howells #define __NR_sched_setaffinity 241 /* ok */ 2573cb0eab2SDavid Howells #define __NR_sched_getaffinity 242 /* ok */ 2583cb0eab2SDavid Howells #define __NR_set_thread_area 243 /* remove */ 2593cb0eab2SDavid Howells #define __NR_get_thread_area 244 /* remove */ 2603cb0eab2SDavid Howells #define __NR_io_setup 245 /* ok */ 2613cb0eab2SDavid Howells #define __NR_io_destroy 246 /* ok */ 2623cb0eab2SDavid Howells #define __NR_io_getevents 247 /* ok */ 2633cb0eab2SDavid Howells #define __NR_io_submit 248 /* ok */ 2643cb0eab2SDavid Howells #define __NR_io_cancel 249 /* ok */ 2653cb0eab2SDavid Howells #define __NR_fadvise64 250 /* remove -> sys_fadvise64_64 */ 2663cb0eab2SDavid Howells /* 251 is available for reuse (was briefly sys_set_zone_reclaim) */ 2673cb0eab2SDavid Howells #define __NR_exit_group 252 /* ok */ 2683cb0eab2SDavid Howells #define __NR_lookup_dcookie 253 /* ok */ 2693cb0eab2SDavid Howells #define __NR_epoll_create 254 /* ok */ 2703cb0eab2SDavid Howells #define __NR_epoll_ctl 255 /* ok */ 2713cb0eab2SDavid Howells #define __NR_epoll_wait 256 /* obsolete -> sys_epoll_pwait */ 2723cb0eab2SDavid Howells #define __NR_remap_file_pages 257 /* only for mmu */ 2733cb0eab2SDavid Howells #define __NR_set_tid_address 258 /* ok */ 2743cb0eab2SDavid Howells #define __NR_timer_create 259 /* ok */ 2753cb0eab2SDavid Howells #define __NR_timer_settime (__NR_timer_create+1) /* 260 */ /* ok */ 2763cb0eab2SDavid Howells #define __NR_timer_gettime (__NR_timer_create+2) /* 261 */ /* ok */ 2773cb0eab2SDavid Howells #define __NR_timer_getoverrun (__NR_timer_create+3) /* 262 */ /* ok */ 2783cb0eab2SDavid Howells #define __NR_timer_delete (__NR_timer_create+4) /* 263 */ /* ok */ 2793cb0eab2SDavid Howells #define __NR_clock_settime (__NR_timer_create+5) /* 264 */ /* ok */ 2803cb0eab2SDavid Howells #define __NR_clock_gettime (__NR_timer_create+6) /* 265 */ /* ok */ 2813cb0eab2SDavid Howells #define __NR_clock_getres (__NR_timer_create+7) /* 266 */ /* ok */ 2823cb0eab2SDavid Howells #define __NR_clock_nanosleep (__NR_timer_create+8) /* 267 */ /* ok */ 2833cb0eab2SDavid Howells #define __NR_statfs64 268 /* ok */ 2843cb0eab2SDavid Howells #define __NR_fstatfs64 269 /* ok */ 2853cb0eab2SDavid Howells #define __NR_tgkill 270 /* ok */ 2863cb0eab2SDavid Howells #define __NR_utimes 271 /* obsolete -> sys_futimesat */ 2873cb0eab2SDavid Howells #define __NR_fadvise64_64 272 /* ok */ 2883cb0eab2SDavid Howells #define __NR_vserver 273 /* ok */ 2893cb0eab2SDavid Howells #define __NR_mbind 274 /* only for mmu */ 2903cb0eab2SDavid Howells #define __NR_get_mempolicy 275 /* only for mmu */ 2913cb0eab2SDavid Howells #define __NR_set_mempolicy 276 /* only for mmu */ 2923cb0eab2SDavid Howells #define __NR_mq_open 277 /* ok */ 2933cb0eab2SDavid Howells #define __NR_mq_unlink (__NR_mq_open+1) /* 278 */ /* ok */ 2943cb0eab2SDavid Howells #define __NR_mq_timedsend (__NR_mq_open+2) /* 279 */ /* ok */ 2953cb0eab2SDavid Howells #define __NR_mq_timedreceive (__NR_mq_open+3) /* 280 */ /* ok */ 2963cb0eab2SDavid Howells #define __NR_mq_notify (__NR_mq_open+4) /* 281 */ /* ok */ 2973cb0eab2SDavid Howells #define __NR_mq_getsetattr (__NR_mq_open+5) /* 282 */ /* ok */ 2983cb0eab2SDavid Howells #define __NR_kexec_load 283 /* ok */ 2993cb0eab2SDavid Howells #define __NR_waitid 284 /* ok */ 3003cb0eab2SDavid Howells /* #define __NR_sys_setaltroot 285 */ 3013cb0eab2SDavid Howells #define __NR_add_key 286 /* ok */ 3023cb0eab2SDavid Howells #define __NR_request_key 287 /* ok */ 3033cb0eab2SDavid Howells #define __NR_keyctl 288 /* ok */ 3043cb0eab2SDavid Howells #define __NR_ioprio_set 289 /* ok */ 3053cb0eab2SDavid Howells #define __NR_ioprio_get 290 /* ok */ 3063cb0eab2SDavid Howells #define __NR_inotify_init 291 /* ok */ 3073cb0eab2SDavid Howells #define __NR_inotify_add_watch 292 /* ok */ 3083cb0eab2SDavid Howells #define __NR_inotify_rm_watch 293 /* ok */ 3093cb0eab2SDavid Howells #define __NR_migrate_pages 294 /* mmu */ 3103cb0eab2SDavid Howells #define __NR_openat 295 /* ok */ 3113cb0eab2SDavid Howells #define __NR_mkdirat 296 /* ok */ 3123cb0eab2SDavid Howells #define __NR_mknodat 297 /* ok */ 3133cb0eab2SDavid Howells #define __NR_fchownat 298 /* ok */ 3143cb0eab2SDavid Howells #define __NR_futimesat 299 /* obsolete -> sys_utimesat */ 3153cb0eab2SDavid Howells #define __NR_fstatat64 300 /* stat64 */ 3163cb0eab2SDavid Howells #define __NR_unlinkat 301 /* ok */ 3173cb0eab2SDavid Howells #define __NR_renameat 302 /* ok */ 3183cb0eab2SDavid Howells #define __NR_linkat 303 /* ok */ 3193cb0eab2SDavid Howells #define __NR_symlinkat 304 /* ok */ 3203cb0eab2SDavid Howells #define __NR_readlinkat 305 /* ok */ 3213cb0eab2SDavid Howells #define __NR_fchmodat 306 /* ok */ 3223cb0eab2SDavid Howells #define __NR_faccessat 307 /* ok */ 323052920a6SMichal Simek #define __NR_pselect6 308 /* ok */ 3243cb0eab2SDavid Howells #define __NR_ppoll 309 /* ok */ 3253cb0eab2SDavid Howells #define __NR_unshare 310 /* ok */ 3263cb0eab2SDavid Howells #define __NR_set_robust_list 311 /* ok */ 3273cb0eab2SDavid Howells #define __NR_get_robust_list 312 /* ok */ 3283cb0eab2SDavid Howells #define __NR_splice 313 /* ok */ 3293cb0eab2SDavid Howells #define __NR_sync_file_range 314 /* ok */ 3303cb0eab2SDavid Howells #define __NR_tee 315 /* ok */ 3313cb0eab2SDavid Howells #define __NR_vmsplice 316 /* ok */ 3323cb0eab2SDavid Howells #define __NR_move_pages 317 /* mmu */ 3333cb0eab2SDavid Howells #define __NR_getcpu 318 /* ok */ 3343cb0eab2SDavid Howells #define __NR_epoll_pwait 319 /* ok */ 3353cb0eab2SDavid Howells #define __NR_utimensat 320 /* ok */ 3363cb0eab2SDavid Howells #define __NR_signalfd 321 /* ok */ 3373cb0eab2SDavid Howells #define __NR_timerfd_create 322 /* ok */ 3383cb0eab2SDavid Howells #define __NR_eventfd 323 /* ok */ 3393cb0eab2SDavid Howells #define __NR_fallocate 324 /* ok */ 3403cb0eab2SDavid Howells #define __NR_semtimedop 325 /* ok - semaphore group */ 3413cb0eab2SDavid Howells #define __NR_timerfd_settime 326 /* ok */ 3423cb0eab2SDavid Howells #define __NR_timerfd_gettime 327 /* ok */ 3433cb0eab2SDavid Howells /* sysv ipc syscalls */ 3443cb0eab2SDavid Howells #define __NR_semctl 328 /* ok */ 3453cb0eab2SDavid Howells #define __NR_semget 329 /* ok */ 3463cb0eab2SDavid Howells #define __NR_semop 330 /* ok */ 3473cb0eab2SDavid Howells #define __NR_msgctl 331 /* ok */ 3483cb0eab2SDavid Howells #define __NR_msgget 332 /* ok */ 3493cb0eab2SDavid Howells #define __NR_msgrcv 333 /* ok */ 3503cb0eab2SDavid Howells #define __NR_msgsnd 334 /* ok */ 3513cb0eab2SDavid Howells #define __NR_shmat 335 /* ok */ 3523cb0eab2SDavid Howells #define __NR_shmctl 336 /* ok */ 3533cb0eab2SDavid Howells #define __NR_shmdt 337 /* ok */ 3543cb0eab2SDavid Howells #define __NR_shmget 338 /* ok */ 3553cb0eab2SDavid Howells 3563cb0eab2SDavid Howells 3573cb0eab2SDavid Howells #define __NR_signalfd4 339 /* new */ 3583cb0eab2SDavid Howells #define __NR_eventfd2 340 /* new */ 3593cb0eab2SDavid Howells #define __NR_epoll_create1 341 /* new */ 3603cb0eab2SDavid Howells #define __NR_dup3 342 /* new */ 3613cb0eab2SDavid Howells #define __NR_pipe2 343 /* new */ 3623cb0eab2SDavid Howells #define __NR_inotify_init1 344 /* new */ 3633cb0eab2SDavid Howells #define __NR_socket 345 /* new */ 3643cb0eab2SDavid Howells #define __NR_socketpair 346 /* new */ 3653cb0eab2SDavid Howells #define __NR_bind 347 /* new */ 3663cb0eab2SDavid Howells #define __NR_listen 348 /* new */ 3673cb0eab2SDavid Howells #define __NR_accept 349 /* new */ 3683cb0eab2SDavid Howells #define __NR_connect 350 /* new */ 3693cb0eab2SDavid Howells #define __NR_getsockname 351 /* new */ 3703cb0eab2SDavid Howells #define __NR_getpeername 352 /* new */ 3713cb0eab2SDavid Howells #define __NR_sendto 353 /* new */ 3723cb0eab2SDavid Howells #define __NR_send 354 /* new */ 3733cb0eab2SDavid Howells #define __NR_recvfrom 355 /* new */ 3743cb0eab2SDavid Howells #define __NR_recv 356 /* new */ 3753cb0eab2SDavid Howells #define __NR_setsockopt 357 /* new */ 3763cb0eab2SDavid Howells #define __NR_getsockopt 358 /* new */ 3773cb0eab2SDavid Howells #define __NR_shutdown 359 /* new */ 3783cb0eab2SDavid Howells #define __NR_sendmsg 360 /* new */ 3793cb0eab2SDavid Howells #define __NR_recvmsg 361 /* new */ 3803cb0eab2SDavid Howells #define __NR_accept4 362 /* new */ 3813cb0eab2SDavid Howells #define __NR_preadv 363 /* new */ 3823cb0eab2SDavid Howells #define __NR_pwritev 364 /* new */ 3833cb0eab2SDavid Howells #define __NR_rt_tgsigqueueinfo 365 /* new */ 3843cb0eab2SDavid Howells #define __NR_perf_event_open 366 /* new */ 3853cb0eab2SDavid Howells #define __NR_recvmmsg 367 /* new */ 3863cb0eab2SDavid Howells #define __NR_fanotify_init 368 3873cb0eab2SDavid Howells #define __NR_fanotify_mark 369 3883cb0eab2SDavid Howells #define __NR_prlimit64 370 3893cb0eab2SDavid Howells #define __NR_name_to_handle_at 371 3903cb0eab2SDavid Howells #define __NR_open_by_handle_at 372 3913cb0eab2SDavid Howells #define __NR_clock_adjtime 373 3923cb0eab2SDavid Howells #define __NR_syncfs 374 3933cb0eab2SDavid Howells #define __NR_setns 375 3943cb0eab2SDavid Howells #define __NR_sendmmsg 376 3953cb0eab2SDavid Howells #define __NR_process_vm_readv 377 3963cb0eab2SDavid Howells #define __NR_process_vm_writev 378 39705c06741SMichal Simek #define __NR_kcmp 379 3980e1ec2d0SMichal Simek #define __NR_finit_module 380 399cff2ee04SMichal Simek #define __NR_sched_setattr 381 400cff2ee04SMichal Simek #define __NR_sched_getattr 382 40108e6bbdaSMichal Simek #define __NR_renameat2 383 402b7609491SMichal Simek #define __NR_seccomp 384 40353133453SMichal Simek #define __NR_getrandom 385 40483c43c49SMichal Simek #define __NR_memfd_create 386 405a4f174deSMichal Simek #define __NR_bpf 387 406add4b1b0SMichal Simek #define __NR_execveat 388 407fbce3befSMichal Simek #define __NR_userfaultfd 389 408fbce3befSMichal Simek #define __NR_membarrier 390 409fbce3befSMichal Simek #define __NR_mlock2 391 4107181e559SMichal Simek #define __NR_copy_file_range 392 4117181e559SMichal Simek #define __NR_preadv2 393 4127181e559SMichal Simek #define __NR_pwritev2 394 4137181e559SMichal Simek #define __NR_pkey_mprotect 395 4147181e559SMichal Simek #define __NR_pkey_alloc 396 4157181e559SMichal Simek #define __NR_pkey_free 397 416f5ef4196STobias Klauser #define __NR_statx 398 4173cb0eab2SDavid Howells 4183cb0eab2SDavid Howells #endif /* _UAPI_ASM_MICROBLAZE_UNISTD_H */ 419