1 $NetBSD: syscalls.master,v 1.60 2011/11/18 04:08:56 christos Exp $ 2 3; NetBSD i386 COMPAT_LINUX32 system call name/number "master" file. 4; (See syscalls.conf to see what it is processed into.) 5; 6; Fields: number type [type-dependent ...] 7; number system call number, must be in order 8; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of 9; the compatibility options defined in syscalls.conf. 10; 11; types: 12; STD always included 13; OBSOL obsolete, not included in system 14; UNIMPL unimplemented, not included in system 15; NODEF included, but don't define the syscall number 16; 17; INDIR included, but don't define the syscall args structure 18; and allow it to be "really" varargs. 19; 20; The compat options are defined in the syscalls.conf file, and the 21; compat option name is prefixed to the syscall name. Other than 22; that, they're like NODEF (for 'compat' options), or STD (for 23; 'libcompat' options). 24; 25; The type-dependent arguments are as follows: 26; For STD, NODEF, NOARGS, and compat syscalls: 27; { pseudo-proto } [alias] 28; For other syscalls: 29; [comment] 30; 31; #ifdef's, etc. may be included, and are copied to the output files. 32; #include's are copied to the syscall names and switch definition files only. 33 34#include <sys/param.h> 35#include <sys/poll.h> 36#include <sys/systm.h> 37#include <sys/signal.h> 38#include <sys/mount.h> 39#include <sys/syscallargs.h> 40 41#include <machine/netbsd32_machdep.h> 42 43#include <compat/netbsd32/netbsd32.h> 44#include <compat/netbsd32/netbsd32_syscallargs.h> 45 46#include <compat/linux32/common/linux32_types.h> 47#include <compat/linux32/common/linux32_signal.h> 48#include <compat/linux32/arch/amd64/linux32_missing.h> 49#include <compat/linux32/linux32_syscallargs.h> 50 51#include <compat/linux/common/linux_types.h> 52#include <compat/linux/common/linux_mmap.h> 53#include <compat/linux/common/linux_signal.h> 54#include <compat/linux/common/linux_siginfo.h> 55#include <compat/linux/common/linux_machdep.h> 56#include <compat/linux/common/linux_ipc.h> 57#include <compat/linux/common/linux_sem.h> 58#include <compat/linux/linux_syscallargs.h> 59 60%% 61 620 NOARGS { int|linux_sys||nosys(void); } syscall 631 STD { int|linux32_sys||exit(int rval); } 642 NOARGS { int|sys||fork(void); } 653 NOARGS { netbsd32_ssize_t|netbsd32||read(int fd, \ 66 netbsd32_voidp buf, netbsd32_size_t nbyte); } 674 NOARGS { netbsd32_ssize_t|netbsd32||write(int fd, \ 68 netbsd32_voidp buf, netbsd32_size_t nbyte); } 695 STD { int|linux32_sys||open(netbsd32_charp path, int flags, \ 70 int mode); } 716 NOARGS { int|netbsd32||close(int fd); } 727 STD { int|linux32_sys||waitpid(int pid, netbsd32_intp status, \ 73 int options);} 748 STD { int|linux32_sys||creat(netbsd32_charp path, int mode); } 759 NOARGS { int|netbsd32||link(netbsd32_charp path, \ 76 netbsd32_charp link); } 7710 STD { int|linux32_sys||unlink(netbsd32_charp path); } 7811 NOARGS { int|netbsd32||execve(netbsd32_charp path, \ 79 netbsd32_charpp argp, netbsd32_charpp envp); } 8012 NOARGS { int|netbsd32||chdir(netbsd32_charp path); } 8113 STD { int|linux32_sys||time(linux32_timep_t t); } 8214 STD { int|linux32_sys||mknod(netbsd32_charp path, \ 83 int mode, int dev); } 8415 NOARGS { int|netbsd32||chmod(netbsd32_charp path, int mode); } 8516 STD { int|linux32_sys||lchown16(netbsd32_charp path, \ 86 linux32_uid16_t uid, linux32_gid16_t gid); } 8717 STD { int|linux32_sys||break(netbsd32_charp nsize); } 8818 OBSOL ostat 8919 NOARGS { netbsd32_long|compat_43_netbsd32||olseek(int fd, \ 90 netbsd32_long offset, int chence); } 9120 NOARGS { pid_t|sys||getpid(void); } 9221 UNIMPL mount 9322 UNIMPL umount 9423 NOARGS linux_setuid16 { int|netbsd32||setuid(uid_t uid); } 9524 NOARGS linux_getuid16 { uid_t|sys||getuid(void); } 9625 STD { int|linux32_sys||stime(linux32_timep_t t); } 9726 STD { int|linux32_sys||ptrace(int request, int pid, \ 98 int addr, int data); } 9927 STD { int|linux32_sys||alarm(unsigned int secs); } 10028 OBSOL ofstat 10129 NOARGS { int|linux_sys||pause(void); } 10230 STD { int|linux32_sys||utime(netbsd32_charp path, \ 103 linux32_utimbufp_t times); } 10431 OBSOL stty 10532 OBSOL gtty 10633 NOARGS { int|netbsd32||access(netbsd32_charp path, \ 107 int flags); } 10834 STD { int|linux32_sys||nice(int incr); } 10935 OBSOL ftime 11036 NOARGS { int|sys||sync(void); } 11137 STD { int|linux32_sys||kill(int pid, int signum); } 11238 NOARGS { int|netbsd32||__posix_rename(netbsd32_charp from, \ 113 netbsd32_charp to); } 11439 NOARGS { int|netbsd32||mkdir(netbsd32_charp path, int mode); } 11540 NOARGS { int|netbsd32||rmdir(netbsd32_charp path); } 11641 NOARGS { int|netbsd32||dup(u_int fd); } 11742 STD { int|linux32_sys||pipe(netbsd32_intp fd); } 11843 STD { int|linux32_sys||times(linux32_tmsp_t tms); } 11944 OBSOL prof 12045 STD { int|linux32_sys||brk(netbsd32_charp nsize); } 12146 NOARGS linux_setgid16 { int|netbsd32||setgid(gid_t gid); } 12247 NOARGS linux_getgid16 { gid_t|sys||getgid(void); } 12348 STD { int|linux32_sys||signal(int signum, \ 124 linux32_handler_t handler); } 12549 NOARGS linux_geteuid16 { uid_t|sys||geteuid(void); } 12650 NOARGS linux_getegid16 { gid_t|sys||getegid(void); } 12751 NOARGS { int|netbsd32||acct(netbsd32_charp path); } 12852 OBSOL phys 12953 OBSOL lock 13054 STD { int|linux32_sys||ioctl(int fd, netbsd32_u_long com, \ 131 netbsd32_charp data); } 13255 STD { int|linux32_sys||fcntl(int fd, \ 133 int cmd, netbsd32_voidp arg); } 13456 OBSOL mpx 13557 NOARGS { int|netbsd32||setpgid(int pid, int pgid); } 13658 OBSOL ulimit 13759 STD { int|linux32_sys||oldolduname( \ 138 linux32_oldold_utsnamep_t up); } 13960 NOARGS { int|netbsd32||umask(int newmask); } 14061 NOARGS { int|netbsd32||chroot(netbsd32_charp path); } 14162 UNIMPL ustat 14263 NOARGS { int|netbsd32||dup2(int from, int to); } 14364 NOARGS { pid_t|sys||getppid(void); } 14465 NOARGS { int|sys||getpgrp(void); } 14566 NOARGS { int|sys||setsid(void); } 14667 UNIMPL sigaction 14768 STD { int|linux32_sys||siggetmask(void); } 14869 STD { int|linux32_sys||sigsetmask(linux32_old_sigset_t mask); } 14970 STD { int|linux32_sys||setreuid16(linux32_uid16_t ruid, \ 150 linux32_uid16_t euid); } 15171 STD { int|linux32_sys||setregid16(linux32_gid16_t rgid, \ 152 linux32_gid16_t egid); } 15372 UNIMPL sigsuspend 15473 UNIMPL sigpending 15574 NOARGS { int|compat_43_netbsd32||osethostname(netbsd32_charp hostname, \ 156 u_int len); } 15775 STD { int|linux32_sys||setrlimit(u_int which, \ 158 netbsd32_orlimitp_t rlp); } 15976 STD { int|linux32_sys||getrlimit(u_int which, \ 160 netbsd32_orlimitp_t rlp); } 16177 NOARGS { int|compat_50_netbsd32||getrusage(int who, \ 162 netbsd32_rusage50p_t rusage); } 16378 STD { int|linux32_sys||gettimeofday(netbsd32_timeval50p_t tp, \ 164 netbsd32_timezonep_t tzp); } 16579 STD { int|linux32_sys||settimeofday(netbsd32_timeval50p_t tp, \ 166 netbsd32_timezonep_t tzp); } 16780 STD { int|linux32_sys||getgroups16(int gidsetsize, \ 168 linux32_gid16p_t gidset); } 16981 STD { int|linux32_sys||setgroups16(int gidsetsize, \ 170 linux32_gid16p_t gidset); } 17182 STD { int|linux32_sys||oldselect(linux32_oldselectp_t lsp); } 17283 NOARGS { int|netbsd32||symlink(netbsd32_charp path, \ 173 netbsd32_charp link); } 17484 NOARGS { int|compat_43_netbsd32||lstat43(netbsd32_charp \ 175 path, netbsd32_stat43p_t ub); } 17685 NOARGS { int|netbsd32||readlink(netbsd32_charp name, \ 177 netbsd32_charp buf, netbsd32_size_t count); } 17886 UNIMPL uselib 17987 STD { int|linux32_sys||swapon(netbsd32_charp name); } 18088 STD { int|linux32_sys||reboot(int magic1, int magic2, int cmd, \ 181 netbsd32_voidp arg); } 18289 STD { int|linux32_sys||readdir(int fd, netbsd32_voidp dent, \ 183 unsigned int count); } 18490 STD { int|linux32_sys||old_mmap(linux32_oldmmapp lmp); } 18591 NOARGS { int|netbsd32||munmap(netbsd32_voidp addr, \ 186 netbsd32_size_t len); } 18792 NOARGS { int|compat_43_netbsd32||otruncate(netbsd32_charp path, \ 188 netbsd32_long length); } 18993 NOARGS { int|compat_43_netbsd32||oftruncate(int fd, \ 190 netbsd32_long length); } 19194 NOARGS { int|netbsd32||fchmod(int fd, int mode); } 19295 STD { int|linux32_sys||fchown16(int fd, linux32_uid16_t uid, \ 193 linux32_gid16_t gid); } 19496 STD { int|linux32_sys||getpriority(int which, int who); } 19597 NOARGS { int|netbsd32||setpriority(int which, int who, int prio); } 19698 NOARGS { int|netbsd32||profil(netbsd32_voidp samples, \ 197 netbsd32_size_t size, netbsd32_u_long offset, \ 198 u_int scale); } 19999 STD { int|linux32_sys||statfs(netbsd32_charp path, \ 200 linux32_statfsp sp); } 201100 STD { int|linux32_sys||fstatfs(int fd, linux32_statfsp sp); } 202101 NOARGS { int|linux_sys||ioperm(unsigned int lo, \ 203 unsigned int hi, int val); } 204102 STD { int|linux32_sys||socketcall(int what, netbsd32_voidp args); } 205103 UNIMPL syslog 206104 NOARGS { int|compat_50_netbsd32||setitimer(int which, \ 207 netbsd32_itimerval50p_t itv, netbsd32_itimerval50p_t oitv); } 208105 NOARGS { int|compat_50_netbsd32||getitimer(int which, \ 209 netbsd32_itimerval50p_t itv); } 210106 STD { int|linux32_sys||stat(netbsd32_charp path, \ 211 linux32_statp sp); } 212107 STD { int|linux32_sys||lstat(netbsd32_charp path, \ 213 linux32_statp sp); } 214108 STD { int|linux32_sys||fstat(int fd, \ 215 linux32_statp sp); } 216109 STD { int|linux32_sys||olduname(linux32_oldutsnamep_t up); } 217110 NOARGS { int|linux_sys||iopl(int level); } 218111 UNIMPL vhangup 219112 UNIMPL idle 220113 UNIMPL vm86old 221114 STD { int|linux32_sys||wait4(int pid, netbsd32_intp status, \ 222 int options, netbsd32_rusage50p_t rusage); } 223115 STD { int|linux32_sys||swapoff(netbsd32_charp path); } 224116 STD { int|linux32_sys||sysinfo(linux32_sysinfop_t arg); } 225117 STD { int|linux32_sys||ipc(int what, int a1, int a2, int a3, \ 226 netbsd32_voidp ptr); } 227118 NOARGS { int|netbsd32||fsync(int fd); } 228119 STD { int|linux32_sys||sigreturn(linux32_sigcontextp_t scp); } 229120 STD { int|linux32_sys||clone(int flags, netbsd32_voidp stack, \ 230 netbsd32_voidp parent_tidptr, netbsd32_voidp tls, \ 231 netbsd32_voidp child_tidptr); } 232121 STD { int|linux32_sys||setdomainname(netbsd32_charp domainname, \ 233 int len); } 234122 STD { int|linux32_sys||uname(linux32_utsnamep up); } 235123 STD { int|linux32_sys||modify_ldt(int func, netbsd32_charp ptr, \ 236 netbsd32_size_t bytecount); } 237124 UNIMPL adjtimex 238125 STD { int|linux32_sys||mprotect(netbsd32_voidp start, \ 239 netbsd32_size_t len, int prot); } 240126 UNIMPL sigprocmask 241127 UNIMPL create_module 242128 UNIMPL init_module 243129 UNIMPL delete_module 244130 UNIMPL get_kernel_syms 245131 UNIMPL quotactl 246132 NOARGS { int|netbsd32||getpgid(pid_t pid); } 247133 NOARGS { int|netbsd32||fchdir(int fd); } 248134 UNIMPL bdflush 249135 UNIMPL sysfs 250136 STD { int|linux32_sys||personality(netbsd32_u_long per); } 251137 UNIMPL afs_syscall 252138 NOARGS setfsuid16 { int|linux32_sys||setfsuid(uid_t uid); } 253139 NOARGS setfsgid16 { int|linux32_sys||setfsgid(gid_t gid); } 254140 STD { int|linux32_sys||llseek(int fd, u_int32_t ohigh, \ 255 u_int32_t olow, netbsd32_voidp res, int whence); } 256141 STD { int|linux32_sys||getdents(int fd, \ 257 linux32_direntp_t dent, unsigned int count); } 258142 STD { int|linux32_sys||select(int nfds, \ 259 netbsd32_fd_setp_t readfds, \ 260 netbsd32_fd_setp_t writefds, \ 261 netbsd32_fd_setp_t exceptfds, \ 262 netbsd32_timeval50p_t timeout); } 263143 NOARGS { int|netbsd32||flock(int fd, int how); } 264144 NOARGS { int|netbsd32|13|msync(netbsd32_voidp addr, \ 265 netbsd32_size_t len, int flags); } 266145 NOARGS { int|netbsd32||readv(int fd, \ 267 netbsd32_iovecp_t iovp, int iovcnt); } 268146 NOARGS { netbsd32_ssize_t|netbsd32||writev(int fd, \ 269 netbsd32_iovecp_t iovp, int iovcnt); } 270147 NOARGS { pid_t|netbsd32||getsid(pid_t pid); } 271148 STD { int|linux32_sys||fdatasync(int fd); } 272149 STD { int|linux32_sys||__sysctl(linux32___sysctlp_t lsp); } 273150 NOARGS { int|netbsd32||mlock(netbsd32_voidp addr, \ 274 netbsd32_size_t len); } 275151 NOARGS { int|netbsd32||munlock(netbsd32_voidp addr, \ 276 netbsd32_size_t len); } 277152 NOARGS { int|netbsd32||mlockall(int flags); } 278153 NOARGS { int|sys||munlockall(void); } 279154 STD { int|linux32_sys||sched_setparam(pid_t pid, \ 280 const linux32_sched_paramp_t sp); } 281155 STD { int|linux32_sys||sched_getparam(pid_t pid, \ 282 linux32_sched_paramp_t sp); } 283156 STD { int|linux32_sys||sched_setscheduler(pid_t pid, \ 284 int policy, linux32_sched_paramp_t sp); } 285157 STD { int|linux32_sys||sched_getscheduler(pid_t pid); } 286158 NOARGS { int|linux_sys||sched_yield(void); } 287159 STD { int|linux32_sys||sched_get_priority_max(int policy); } 288160 STD { int|linux32_sys||sched_get_priority_min(int policy); } 289161 UNIMPL sched_rr_get_interval 290162 STD { int|linux32_sys||nanosleep(linux32_timespecp_t rqtp, \ 291 linux32_timespecp_t rmtp); } 292163 STD { int|linux32_sys||mremap(netbsd32_voidp old_address, \ 293 netbsd32_size_t old_size, netbsd32_size_t new_size, \ 294 netbsd32_u_long flags); } 295164 STD { int|linux32_sys||setresuid16(linux32_uid16_t ruid, \ 296 linux32_uid16_t euid, linux32_uid16_t suid); } 297165 STD { int|linux32_sys||getresuid16(linux32_uid16p_t ruid, \ 298 linux32_uid16p_t euid, linux32_uid16p_t suid); } 299166 UNIMPL vm86 300167 UNIMPL query_module 301168 NOARGS { int|netbsd32||poll(netbsd32_pollfdp_t fds, u_int nfds, \ 302 int timeout); } 303169 UNIMPL nfsservctl 304170 STD { int|linux32_sys||setresgid16(linux32_gid16_t rgid, \ 305 linux32_gid16_t egid, linux32_gid16_t sgid); } 306171 STD { int|linux32_sys||getresgid16(linux32_gid16p_t rgid, \ 307 linux32_gid16p_t egid, linux32_gid16p_t sgid); } 308172 UNIMPL prctl 309173 STD { int|linux32_sys||rt_sigreturn(linux32_ucontextp_t ucp); } 310174 STD { int|linux32_sys||rt_sigaction(int signum, \ 311 linux32_sigactionp_t nsa, \ 312 linux32_sigactionp_t osa, \ 313 netbsd32_size_t sigsetsize); } 314175 STD { int|linux32_sys||rt_sigprocmask(int how, \ 315 linux32_sigsetp_t set, \ 316 linux32_sigsetp_t oset, \ 317 netbsd32_size_t sigsetsize); } 318176 STD { int|linux32_sys||rt_sigpending(linux32_sigsetp_t set, \ 319 netbsd32_size_t sigsetsize); } 320177 STD { int|linux32_sys||rt_sigtimedwait( \ 321 const linux32_sigset_t *set, \ 322 linux32_siginfo_t *info, \ 323 const struct linux_timespec32 *timeout); } 324178 STD { int|linux32_sys||rt_queueinfo(int pid, int sig, \ 325 linux32_siginfop_t uinfo); } 326179 STD { int|linux32_sys||rt_sigsuspend(linux32_sigsetp_t unewset, \ 327 netbsd32_size_t sigsetsize); } 328180 STD { netbsd32_ssize_t|linux32_sys||pread(int fd, \ 329 netbsd32_voidp buf, netbsd32_size_t nbyte, \ 330 linux32_off_t offset); } 331181 STD { netbsd32_ssize_t|linux32_sys||pwrite(int fd, \ 332 netbsd32_voidp buf, netbsd32_size_t nbyte, \ 333 linux32_off_t offset); } 334182 STD { int|linux32_sys||chown16(netbsd32_charp path, \ 335 linux32_uid16_t uid, linux32_gid16_t gid); } 336183 NOARGS { int|netbsd32||__getcwd(netbsd32_charp bufp, \ 337 netbsd32_size_t length); } 338184 UNIMPL capget 339185 UNIMPL capset 340186 UNIMPL sigaltstack 341187 UNIMPL sendfile 342188 UNIMPL getpmsg 343189 UNIMPL putpmsg 344190 NOARGS { int|sys|14|vfork(void); } 345191 STD { int|linux32_sys||ugetrlimit(int which, \ 346 netbsd32_orlimitp_t rlp); } 347192 STD { linux32_off_t|linux32_sys||mmap2(netbsd32_u_long addr, \ 348 netbsd32_size_t len, int prot, int flags, int fd, \ 349 linux32_off_t offset); } 350193 STD { int|linux32_sys||truncate64(netbsd32_charp path, \ 351 uint32_t lenlo, uint32_t lenhi); } 352194 STD { int|linux32_sys||ftruncate64(unsigned int fd, \ 353 uint32_t lenlo, uint32_t lenhi); } 354195 STD { int|linux32_sys||stat64(netbsd32_charp path, \ 355 linux32_stat64p sp); } 356196 STD { int|linux32_sys||lstat64(netbsd32_charp path, \ 357 linux32_stat64p sp); } 358197 STD { int|linux32_sys||fstat64(int fd, \ 359 linux32_stat64p sp); } 360198 NOARGS { int|netbsd32||__posix_lchown(netbsd32_charp path, \ 361 uid_t uid, gid_t gid); } 362199 NOARGS { uid_t|sys||getuid(void); } 363200 NOARGS { gid_t|sys||getgid(void); } 364201 NOARGS { uid_t|sys||geteuid(void); } 365202 NOARGS { gid_t|sys||getegid(void); } 366203 NOARGS { int|netbsd32||setreuid(uid_t ruid, uid_t euid); } 367204 NOARGS { int|netbsd32||setregid(gid_t rgid, gid_t egid); } 368205 NOARGS { int|netbsd32||getgroups(int gidsetsize, \ 369 netbsd32_gid_tp gidset); } 370206 NOARGS { int|netbsd32||setgroups(int gidsetsize, \ 371 netbsd32_gid_tp gidset); } 372207 NOARGS { int|netbsd32||__posix_fchown(int fd, uid_t uid, gid_t gid); } 373208 STD { int|linux32_sys||setresuid(uid_t ruid, uid_t euid, \ 374 uid_t suid); } 375209 STD { int|linux32_sys||getresuid(linux32_uidp_t ruid, \ 376 linux32_uidp_t euid, linux32_uidp_t suid); } 377210 STD { int|linux32_sys||setresgid(gid_t rgid, gid_t egid, \ 378 gid_t sgid); } 379211 STD { int|linux32_sys||getresgid(linux32_gidp_t rgid, \ 380 linux32_gidp_t egid, linux32_gidp_t sgid); } 381212 NOARGS { int|netbsd32||__posix_chown(netbsd32_charp path, \ 382 uid_t uid, gid_t gid); } 383213 NOARGS { int|netbsd32||setuid(uid_t uid); } 384214 NOARGS { int|netbsd32||setgid(gid_t gid); } 385215 STD { int|linux32_sys||setfsuid(uid_t uid); } 386216 STD { int|linux32_sys||setfsgid(gid_t gid); } 387217 UNIMPL pivot_root 388218 NOARGS { int|netbsd32||mincore(netbsd32_voidp addr, \ 389 netbsd32_size_t len, netbsd32_charp vec); } 390219 NOARGS { int|netbsd32||madvise(netbsd32_voidp addr, \ 391 netbsd32_size_t len, int behav); } 392220 STD { int|linux32_sys||getdents64(int fd, \ 393 linux32_dirent64p_t dent, unsigned int count); } 394; fcntl64() - Exactly the same as fcntl() 395#define linux32_sys_fcntl64 linux32_sys_fcntl 396#define linux32_sys_fcntl64_args linux32_sys_fcntl_args 397221 NOARGS { int|linux32_sys||fcntl64(int fd, \ 398 int cmd, netbsd32_voidp arg); } 399222 UNIMPL /* unused */ 400223 UNIMPL /* unused */ 401224 NOARGS { pid_t|linux_sys||gettid(void); } 402225 UNIMPL readahead 403226 UNIMPL setxattr 404227 UNIMPL lsetxattr 405228 UNIMPL fsetxattr 406229 UNIMPL getxattr 407230 UNIMPL lgetxattr 408231 UNIMPL fgetxattr 409232 UNIMPL listxattr 410233 UNIMPL llistxattr 411234 UNIMPL flistxattr 412235 UNIMPL removexattr 413236 UNIMPL lremovexattr 414237 UNIMPL fremovexattr 415238 STD { int|linux32_sys||tkill(int tid, int sig); } 416239 UNIMPL sendfile64 417240 STD { int|linux32_sys||futex(linux32_intp_t uaddr, int op, int val, \ 418 linux32_timespecp_t timeout, linux32_intp_t uaddr2, \ 419 int val3); } 420241 STD { int|linux32_sys||sched_setaffinity(pid_t pid, \ 421 unsigned int len, linux32_ulongp_t mask); } 422242 STD { int|linux32_sys||sched_getaffinity(pid_t pid, \ 423 unsigned int len, linux32_ulongp_t mask); } 424243 STD { int|linux32_sys||set_thread_area(linux32_user_descp_t desc); } 425244 STD { int|linux32_sys||get_thread_area(linux32_user_descp_t desc); } 426245 UNIMPL io_setup 427246 UNIMPL io_destroy 428247 UNIMPL io_getevents 429248 UNIMPL io_submit 430249 UNIMPL io_cancel 431250 STD { int|linux32_sys||fadvise64(int fd, uint32_t offlo, \ 432 uint32_t offhi, linux32_size_t len, int advice); } 433251 UNIMPL /* unused */ 434252 STD { int|linux32_sys||exit_group(int error_code); } 435253 UNIMPL lookup_dcookie 436254 UNIMPL epoll_create 437255 UNIMPL epoll_ctl 438256 UNIMPL epoll_wait 439257 UNIMPL remap_file_pages 440258 STD { int|linux32_sys||set_tid_address(linux32_intp_t tid); } 441259 UNIMPL timer_create 442260 UNIMPL timer_settime 443261 UNIMPL timer_gettime 444262 UNIMPL timer_getoverrun 445263 UNIMPL timer_delete 446264 STD { int|linux32_sys||clock_settime(clockid_t which, \ 447 linux32_timespecp_t tp); } 448265 STD { int|linux32_sys||clock_gettime(clockid_t which, \ 449 linux32_timespecp_t tp); } 450266 STD { int|linux32_sys||clock_getres(clockid_t which, \ 451 linux32_timespecp_t tp); } 452267 STD { int|linux32_sys||clock_nanosleep(clockid_t which, int flags, \ 453 linux32_timespecp_t rqtp, linux32_timespecp_t rmtp); } 454268 STD { int|linux32_sys||statfs64(netbsd32_charp path, \ 455 netbsd32_size_t sz, linux32_statfs64p sp); } 456269 STD { int|linux32_sys||fstatfs64(int fd, \ 457 netbsd32_size_t sz, linux32_statfs64p sp); } 458270 STD { int|linux32_sys||tgkill(int tgid, int tid, int sig); } 459271 UNIMPL utimes 460272 STD { int|linux32_sys||fadvise64_64(int fd, uint32_t offlo, \ 461 uint32_t offhi, uint32_t lenlo, uint32_t lenhi, int advice); } 462273 UNIMPL vserver 463274 UNIMPL mbind 464275 UNIMPL get_mempolicy 465276 UNIMPL set_mempolicy 466277 UNIMPL mq_open 467278 UNIMPL mq_unlink 468279 UNIMPL mq_timedsend 469280 UNIMPL mq_timedreceive 470281 UNIMPL mq_notify 471282 UNIMPL mq_getsetattr 472283 UNIMPL kexec_load 473284 UNIMPL waitid 474285 UNIMPL /* unused */ 475286 UNIMPL add_key 476287 UNIMPL request_key 477288 UNIMPL keyctl 478289 UNIMPL ioprio_set 479290 UNIMPL ioprio_get 480291 UNIMPL inotify_init 481292 UNIMPL inotify_add_watch 482293 UNIMPL inotify_rm_watch 483294 UNIMPL migrate_pages 484295 UNIMPL openat 485296 UNIMPL mkdirat 486297 UNIMPL mknodat 487298 UNIMPL fchownat 488299 UNIMPL futimesat 489300 UNIMPL fstatat64 490301 UNIMPL unlinkat 491302 UNIMPL renameat 492303 UNIMPL linkat 493304 UNIMPL symlinkat 494305 UNIMPL readlinkat 495306 UNIMPL fchmodat 496307 UNIMPL faccessat 497308 UNIMPL pselect6 498309 UNIMPL ppoll 499310 UNIMPL unshare 500311 STD { int|linux32_sys||set_robust_list( \ 501 linux32_robust_list_headp_t head, linux32_size_t len); } 502312 STD { int|linux32_sys||get_robust_list(linux32_pid_t pid, \ 503 linux32_robust_list_headpp_t head, linux32_sizep_t len); } 504313 UNIMPL splice 505314 UNIMPL sync_file_range 506315 UNIMPL tee 507316 UNIMPL vmsplice 508317 UNIMPL move_pages 509318 UNIMPL getcpu 510319 UNIMPL epoll_wait 511320 UNIMPL utimensat 512321 UNIMPL signalfd 513322 UNIMPL timerfd_create 514323 UNIMPL eventfd 515324 UNIMPL fallocate 516325 UNIMPL timerfd_settime 517326 UNIMPL timerfd_gettime 518327 UNIMPL signalfd4 519328 UNIMPL eventfd2 520329 UNIMPL epoll_create1 521330 STD { int|linux32_sys||dup3(int from, int to, int flags); } 522331 STD { int|linux32_sys||pipe2(netbsd32_intp fd, int flags); } 523332 UNIMPL inotify_init1 524333 UNIMPL preadv 525334 UNIMPL pwritev 526335 UNIMPL rt_tgsigqueueinfo 527336 UNIMPL perf_counter_open 528337 UNIMPL recvmmsg 529