1 $NetBSD: syscalls.master,v 1.52 2014/05/31 08:51:19 njoly Exp $ 2 3; @(#)syscalls.master 8.1 (Berkeley) 7/19/93 4 5; NetBSD amd64 COMPAT_LINUX system call name/number "master" file. 6; (See syscalls.conf to see what it is processed into.) 7; 8; Fields: number type [type-dependent ...] 9; number system call number, must be in order 10; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of 11; the compatibility options defined in syscalls.conf. 12; 13; types: 14; STD always included 15; OBSOL obsolete, not included in system 16; UNIMPL unimplemented, not included in system 17; NODEF included, but don't define the syscall number 18; NOARGS included, but don't define the syscall args structure 19; INDIR included, but don't define the syscall args structure 20; and allow it to be "really" varargs. 21; 22; The compat options are defined in the syscalls.conf file, and the 23; compat option name is prefixed to the syscall name. Other than 24; that, they're like NODEF (for 'compat' options), or STD (for 25; 'libcompat' options). 26; 27; The type-dependent arguments are as follows: 28; For STD, NODEF, NOARGS, and compat syscalls: 29; { pseudo-proto } [alias] 30; For other syscalls: 31; [comment] 32; 33; #ifdef's, etc. may be included, and are copied to the output files. 34; #include's are copied to the syscall names and switch definition files only. 35 36#if defined(_KERNEL_OPT) 37#include "opt_sysv.h" 38#include "opt_compat_43.h" 39#include "opt_compat_netbsd.h" 40#endif 41 42 43#include <sys/param.h> 44#include <sys/poll.h> 45#include <sys/systm.h> 46#include <sys/signal.h> 47#include <sys/mount.h> 48#include <sys/syscallargs.h> 49#include <sys/time.h> 50 51#include <compat/sys/time.h> 52 53#include <compat/linux/common/linux_types.h> 54#include <compat/linux/common/linux_mmap.h> 55#include <compat/linux/common/linux_ipc.h> 56#include <compat/linux/common/linux_msg.h> 57#include <compat/linux/common/linux_sem.h> 58#include <compat/linux/common/linux_shm.h> 59#include <compat/linux/common/linux_signal.h> 60#include <compat/linux/common/linux_siginfo.h> 61#include <compat/linux/common/linux_machdep.h> 62 63#include <compat/linux/linux_syscallargs.h> 64 65%% 66 670 NOARGS { ssize_t|sys||read(int fd, void *buf, size_t nbyte); } 681 NOARGS { ssize_t|sys||write(int fd, const void *buf, \ 69 int nbyte); } 702 STD { int|linux_sys||open(const char *path, int flags, \ 71 linux_umode_t mode); } 723 NOARGS { int|sys||close(int fd); } 734 STD { int|linux_sys||stat64(const char *path, \ 74 struct linux_stat64 *sp); } 755 STD { int|linux_sys||fstat64(int fd, \ 76 struct linux_stat64 *sp); } 776 STD { int|linux_sys||lstat64(const char *path, \ 78 struct linux_stat64 *sp); } 797 NOARGS { int|sys||poll(struct pollfd *fds, u_int nfds, \ 80 int timeout); } 818 NOARGS { long|compat_43_sys||lseek(int fd, long offset, \ 82 int whence); } 839 NOARGS { linux_off_t|linux_sys||mmap(unsigned long addr, \ 84 size_t len, int prot, int flags, int fd, \ 85 linux_off_t offset); } 8610 STD { int|linux_sys||mprotect(const void *start, \ 87 unsigned long len, int prot); } 8811 NOARGS { int|sys||munmap(void *addr, size_t len); } 8912 STD { int|linux_sys||brk(char *nsize); } 9013 STD { int|linux_sys||rt_sigaction(int signum, \ 91 const struct linux_sigaction *nsa, \ 92 struct linux_sigaction *osa, \ 93 size_t sigsetsize); } 9414 STD { int|linux_sys||rt_sigprocmask(int how, \ 95 const linux_sigset_t *set, \ 96 linux_sigset_t *oset, \ 97 size_t sigsetsize); } 9815 NOARGS { int|linux_sys||rt_sigreturn(void); } 9916 STD { int|linux_sys||ioctl(int fd, u_long com, \ 100 void *data); } 10117 STD { int|linux_sys||pread(int fd, char *buf, \ 102 size_t nbyte, off_t offset); } 10318 STD { int|linux_sys||pwrite(int fd, char *buf, \ 104 size_t nbyte, off_t offset); } 10519 NOARGS { ssize_t|sys||readv(int fd, \ 106 const struct iovec *iovp, int iovcnt); } 10720 NOARGS { ssize_t|sys||writev(int fd, \ 108 const struct iovec *iovp, int iovcnt); } 10921 NOARGS { int|sys||access(const char *path, int flags); } 11022 STD { int|linux_sys||pipe(int *pfds); } 11123 STD { int|linux_sys||select(int nfds, fd_set *readfds, \ 112 fd_set *writefds, fd_set *exceptfds, \ 113 struct timeval50 *timeout); } 11424 STD { int|linux_sys||sched_yield(void); } 11525 STD { void *|linux_sys||mremap(void *old_address, \ 116 size_t old_size, size_t new_size, u_long flags); } 11726 NOARGS { int|sys|13|msync(void *addr, size_t len, int flags); } 11827 NOARGS { int|sys||mincore(void *addr, size_t len, char *vec); } 11928 NOARGS { int|sys||madvise(void *addr, size_t len, int behav); } 120#ifdef SYSVSHM 12129 NOARGS { int|linux_sys||shmget(key_t key, size_t size, \ 122 int shmflg); } 12330 NOARGS { int|sys||shmat(int shmid, void *shmaddr, int shmflg); } 12431 NOARGS { int|linux_sys||shmctl(int shmid, int cmd, \ 125 struct linux_shmid_ds *buf); } 126#else 12729 UNIMPL shmget 12830 UNIMPL shmat 12931 UNIMPL shmctl 130#endif 13132 NOARGS { int|sys||dup(int fd); } 13233 NOARGS { int|sys||dup2(int from, int to); } 13334 STD { int|linux_sys||pause(void); } 13435 STD { int|linux_sys||nanosleep( \ 135 const struct linux_timespec *rqtp, \ 136 struct linux_timespec *rmtp); } 13736 NOARGS { int|compat_50_sys||getitimer(int which, \ 138 struct itimerval50 *itv); } 13937 STD { int|linux_sys||alarm(unsigned int secs); } 14038 NOARGS { int|compat_50_sys||setitimer(int which, \ 141 struct itimerval50 *itv, \ 142 struct itimerval50 *oitv); } 14339 STD { pid_t|sys||getpid(void); } 14440 UNIMPL sendfile 14541 STD { int|linux_sys||socket(int domain, \ 146 int type, int protocol); } 14742 STD { int|linux_sys||connect(int s, \ 148 const struct osockaddr *name, \ 149 unsigned int namelen); } 15043 STD { int|linux_sys||accept(int s, struct osockaddr *name, \ 151 int *anamelen); } oaccept 15244 STD { ssize_t|linux_sys||sendto(int s, void *msg, int len, \ 153 int flags, struct osockaddr *to, int tolen); } 15445 STD { ssize_t|linux_sys||recvfrom(int s, void *buf, \ 155 size_t len, int flags, struct osockaddr *from, \ 156 unsigned int *fromlenaddr); } 15746 STD { int|linux_sys||sendmsg(int s, \ 158 const struct linux_msghdr *msg, int flags); } 15947 STD { ssize_t|linux_sys||recvmsg(int s, \ 160 struct linux_msghdr *msg, int flags); } 16148 NOARGS { int|sys||shutdown(int s, int how); } 16249 STD { int|linux_sys||bind(int s, \ 163 const struct osockaddr *name, \ 164 unsigned int namelen); } 16550 NOARGS { int|sys||listen(int s, int backlog); } 16651 STD { int|linux_sys||getsockname(int fdec, void *asa, \ 167 int *alen); } 16852 STD { int|linux_sys||getpeername(int fdes, \ 169 struct sockaddr *asa, unsigned int *alen); } 17053 STD { int|linux_sys||socketpair(int domain, int type, \ 171 int protocol, int *rsv); } 17254 STD { int|linux_sys||setsockopt(int s, int level, \ 173 int optname, void *optval, int optlen); } 17455 STD { int|linux_sys||getsockopt(int s, int level, \ 175 int optname, void *optval, int *optlen); } 17656 STD { int|linux_sys||clone(int flags, void *stack, \ 177 void *parent_tidptr, void *child_tidptr, void *tls); } 17857 NOARGS { int|sys||fork(void); } 17958 NOARGS { int|sys|14|vfork(void); } 18059 NOARGS { int|sys||execve(const char *path, char **argp, \ 181 char **envp); } 18260 STD { int|linux_sys||exit(int rval); } 18361 STD { int|linux_sys||wait4(int pid, int *status, \ 184 int options, struct rusage50 *rusage); } 18562 STD { int|linux_sys||kill(int pid, int signum); } 18663 STD { int|linux_sys||uname(struct linux_utsname *up); } 187#ifdef SYSVSEM 18864 NOARGS { int|sys||semget(key_t key, int nsems, int semflg); } 18965 NOARGS { int|sys||semop(int semid, struct sembuf *sops, \ 190 size_t nsops); } 19166 STD { int|linux_sys||semctl(int semid, int semnum, \ 192 int cmd, union linux_semun arg); } 193#else 19464 UNIMPL semget 19565 UNIMPL semop 19666 UNIMPL semctl 197#endif 198#ifdef SYSVSHM 19967 NOARGS { int|sys||shmdt(const void *shmaddr); } 200#else 20167 UNIMPL shmdt 202#endif 203#ifdef SYSVMSG 20468 NOARGS { int|sys||msgget(key_t key, int msgflg); } 20569 NOARGS { int|sys||msgsnd(int msqid, void *msgp, size_t msgsz, \ 206 int msgflg); } 20770 NOARGS { ssize_t|sys||msgrcv(int msqid, void *msgp, \ 208 size_t msgsz, long msgtyp, int msgflg); } 20971 NOARGS { int|linux_sys||msgctl(int msqid, int cmd, \ 210 struct linux_msqid_ds *buf); } 211#else 21268 UNIMPL msgget 21369 UNIMPL msgsnd 21470 UNIMPL msgrcv 21571 UNIMPL msgctl 216#endif 21772 STD { int|linux_sys||fcntl(int fd, int cmd, void *arg); } 21873 NOARGS { int|sys||flock(int fd, int how); } 21974 NOARGS { int|sys||fsync(int fd); } 22075 STD { int|linux_sys||fdatasync(int fd); } 22176 STD { int|linux_sys||truncate64(const char *path, \ 222 off_t length); } 22377 STD { int|linux_sys||ftruncate64(unsigned int fd, \ 224 off_t length); } 22578 STD { int|linux_sys||getdents(int fd, \ 226 struct linux_dirent *dent, unsigned int count); } 22779 NOARGS { int|sys||__getcwd(char *bufp, size_t length); } 22880 NOARGS { int|sys||chdir(const char *path); } 22981 NOARGS { int|sys||fchdir(int fd); } 23082 NOARGS { int|sys||__posix_rename(const char *from, \ 231 const char *to); } 23283 NOARGS { int|sys||mkdir(const char *path, linux_umode_t mode); } 23384 NOARGS { int|sys||rmdir(const char *path); } 23485 STD { int|linux_sys||creat(const char *path, linux_umode_t mode); } 23586 NOARGS { int|sys||link(const char *path, const char *link); } 23687 STD { int|linux_sys||unlink(const char *path); } 23788 NOARGS { int|sys||symlink(const char *path, const char *to); } 23889 NOARGS { int|sys||readlink(const char *name, char *buf, \ 239 int count); } 24090 NOARGS { int|sys||chmod(const char *path, linux_umode_t mode); } 24191 NOARGS { int|sys||fchmod(int fd, linux_umode_t mode); } 24292 NOARGS { int|sys||__posix_chown(const char *path, uid_t uid, \ 243 gid_t gid); } 24493 NOARGS { int|sys||__posix_fchown(int fd, uid_t uid, \ 245 gid_t gid); } 24694 NOARGS { int|sys||__posix_lchown(const char *path, uid_t uid, \ 247 gid_t gid); } 24895 NOARGS { int|sys||umask(int newmask); } 24996 STD { int|linux_sys||gettimeofday(struct timeval50 *tp, \ 250 struct timezone *tzp); } 25197 STD { int|linux_sys||getrlimit(int which, \ 252 struct rlimit *rlp); } 25398 NOARGS { int|compat_50_sys||getrusage(int who, \ 254 struct rusage50 *rusage); } 25599 STD { int|linux_sys||sysinfo(struct linux_sysinfo *arg); } 256100 STD { int|linux_sys||times(struct times *tms); } 257101 STD { int|linux_sys||ptrace(long request, long pid, \ 258 long addr, long data); } 259102 NOARGS { uid_t|sys||getuid(void); } 260103 UNIMPL syslog 261104 NOARGS { gid_t|sys||getgid(void); } 262105 NOARGS { void|sys||setuid(uid_t uid); } 263106 NOARGS { void|sys||setgid(gid_t gid); } 264107 NOARGS { uid_t|sys||geteuid(void); } 265108 NOARGS { gid_t|sys||getegid(void); } 266109 NOARGS { int|sys||setpgid(int pid, int pgid); } 267110 STD { pid_t|sys||getppid(void); } 268111 NOARGS { int|sys||getpgrp(void); } 269112 NOARGS { int|sys||setsid(void); } 270113 NOARGS { int|sys||setreuid(uid_t ruid, uid_t euid); } 271114 NOARGS { int|sys||setregid(gid_t rgid, gid_t egid); } 272115 NOARGS { int|sys||getgroups(int gidsetsize, gid_t *gidset); } 273116 NOARGS { int|sys||setgroups(int gidsetsize, gid_t *gidset); } 274117 STD { int|linux_sys||setresuid(uid_t ruid, uid_t euid, \ 275 uid_t suid); } 276118 STD { int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \ 277 uid_t *suid); } 278119 STD { int|linux_sys||setresgid(gid_t rgid, gid_t egid, \ 279 gid_t sgid); } 280120 STD { int|linux_sys||getresgid(gid_t *rgid, gid_t *egid, \ 281 gid_t *sgid); } 282121 NOARGS { pid_t|sys||getpgid(pid_t pid); } 283122 STD { int|linux_sys||setfsuid(uid_t uid); } 284123 STD { int|linux_sys||setfsgid(gid_t gid); } 285124 NOARGS { pid_t|sys||getsid(pid_t pid); } 286125 UNIMPL capget 287126 UNIMPL capset 288127 STD { int|linux_sys||rt_sigpending( \ 289 linux_sigset_t *set, \ 290 size_t sigsetsize); } 291128 STD { int|linux_sys||rt_sigtimedwait( \ 292 const linux_sigset_t *set, \ 293 linux_siginfo_t *info, \ 294 const struct linux_timespec *timeout); } 295129 STD { int|linux_sys||rt_queueinfo(int pid, int signum, \ 296 linux_siginfo_t *uinfo); } 297130 STD { int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \ 298 size_t sigsetsize); } 299131 STD { int|linux_sys||sigaltstack( \ 300 const struct linux_sigaltstack *ss, \ 301 struct linux_sigaltstack *oss); } 302132 STD { int|linux_sys||utime(const char *path, \ 303 struct linux_utimbuf *times); } 304133 STD { int|linux_sys||mknod(const char *path, linux_umode_t mode, \ 305 unsigned dev); } 306#ifdef EXEC_AOUT 307134 STD { int|linux_sys||uselib(const char *path); } 308#else 309134 UNIMPL sys_uselib 310#endif 311135 STD { int|linux_sys||personality(unsigned long per); } 312136 UNIMPL ustat 313137 STD { int|linux_sys||statfs(const char *path, \ 314 struct linux_statfs *sp); } 315138 STD { int|linux_sys||fstatfs(int fd, \ 316 struct linux_statfs *sp); } 317139 UNIMPL sysfs 318140 STD { int|linux_sys||getpriority(int which, int who); } 319141 NOARGS { int|sys||setpriority(int which, int who, int prio); } 320142 STD { int|linux_sys||sched_setparam(pid_t pid, \ 321 const struct linux_sched_param *sp); } 322143 STD { int|linux_sys||sched_getparam(pid_t pid, \ 323 struct linux_sched_param *sp); } 324144 STD { int|linux_sys||sched_setscheduler(pid_t pid, \ 325 int policy, const struct linux_sched_param *sp); } 326145 STD { int|linux_sys||sched_getscheduler(pid_t pid); } 327146 STD { int|linux_sys||sched_get_priority_max(int policy); } 328147 STD { int|linux_sys||sched_get_priority_min(int policy); } 329148 UNIMPL sys_sched_rr_get_interval 330149 NOARGS { int|sys||mlock(void *addr, size_t len); } 331150 NOARGS { int|sys||munlock(void *addr, size_t len); } 332151 NOARGS { int|sys||mlockall(int flags); } 333152 NOARGS { int|sys||munlockall(void); } 334153 UNIMPL vhangup 335154 STD { int|linux_sys||modify_ldt(int func, void *ptr, \ 336 size_t bytecount); } 337155 UNIMPL pivot_root 338156 STD { int|linux_sys||__sysctl(struct linux___sysctl *lsp); } 339157 UNIMPL prctl 340158 STD { int|linux_sys||arch_prctl(int code, \ 341 unsigned long addr); } 342159 UNIMPL adjtimex 343160 STD { int|linux_sys||setrlimit(u_int which, \ 344 struct rlimit *rlp); } 345161 NOARGS { int|sys||chroot(char *path); } 346162 NOARGS { int|sys||sync(void); } 347163 NOARGS { int|sys||acct(char *path); } 348164 STD { int|linux_sys||settimeofday(struct timeval50 *tp, \ 349 struct timezone *tzp); } 350165 UNIMPL mount 351166 UNIMPL umount2 352167 STD { int|linux_sys||swapon(char *name); } 353168 STD { int|linux_sys||swapoff(const char *path); } 354169 STD { int|linux_sys||reboot(int magic1, int magic2, \ 355 int cmd, void *arg); } 356170 NOARGS { int|compat_43_sys||sethostname(char *hostname, \ 357 u_int len);} 358171 STD { int|linux_sys||setdomainname(char *domainname, \ 359 int len); } 360172 STD { int|linux_sys||iopl(int level); } 361173 STD { int|linux_sys||ioperm(unsigned int lo, \ 362 unsigned int hi, int val); } 363174 UNIMPL create_module 364175 UNIMPL init_module 365176 UNIMPL delete_module 366177 UNIMPL get_kernel_syms 367178 UNIMPL query_module 368179 UNIMPL quotactl 369180 UNIMPL nfsservctl 370181 UNIMPL getpmsg 371182 UNIMPL putpmsg 372183 UNIMPL afs_syscall 373184 UNIMPL tuxcall 374185 UNIMPL security 375186 STD { pid_t|linux_sys||gettid(void); } 376187 UNIMPL readahead 377188 STD { int|linux_sys||setxattr(char *path, char *name, \ 378 void *value, size_t size, int flags); } 379189 STD { int|linux_sys||lsetxattr(char *path, char *name, \ 380 void *value, size_t size, int flags); } 381190 STD { int|linux_sys||fsetxattr(int fd, char *name, \ 382 void *value, size_t size, int flags); } 383191 STD { ssize_t|linux_sys||getxattr(char *path, char *name, \ 384 void *value, size_t size); } 385192 STD { ssize_t|linux_sys||lgetxattr(char *path, char *name, \ 386 void *value, size_t size); } 387193 STD { ssize_t|linux_sys||fgetxattr(int fd, char *name, \ 388 void *value, size_t size); } 389194 STD { ssize_t|linux_sys||listxattr(char *path, char *list, \ 390 size_t size); } 391195 STD { ssize_t|linux_sys||llistxattr(char *path, char *list, \ 392 size_t size); } 393196 STD { ssize_t|linux_sys||flistxattr(int fd, char *list, \ 394 size_t size); } 395197 STD { int|linux_sys||removexattr(char *path, char *name); } 396198 STD { int|linux_sys||lremovexattr(char *path, char *name); } 397199 STD { int|linux_sys||fremovexattr(int fd, char *name); } 398200 STD { int|linux_sys||tkill(int tid, int sig); } 399201 STD { int|linux_sys||time(linux_time_t *t); } 400202 STD { int|linux_sys||futex(int *uaddr, int op, int val, \ 401 const struct linux_timespec *timeout, int *uaddr2, \ 402 int val3); } 403203 STD { int|linux_sys||sched_setaffinity(pid_t pid, \ 404 unsigned int len, unsigned long *mask); } 405204 STD { int|linux_sys||sched_getaffinity(pid_t pid, \ 406 unsigned int len, unsigned long *mask); } 407205 UNIMPL set_thread_area 408206 UNIMPL io_setup 409207 UNIMPL io_destroy 410208 UNIMPL io_getevents 411209 UNIMPL io_submit 412210 UNIMPL io_cancel 413211 UNIMPL get_thread_area 414212 UNIMPL lookup_dcookie 415213 UNIMPL epoll_create 416214 UNIMPL epoll_ctl_old 417215 UNIMPL epoll_wait_old 418216 UNIMPL remap_file_pages 419217 STD { int|linux_sys||getdents64(int fd, \ 420 struct linux_dirent64 *dent, unsigned int count); } 421218 STD { int|linux_sys||set_tid_address(int *tid); } 422219 UNIMPL restart_syscall 423220 UNIMPL semtimedop 424221 STD { int|linux_sys||fadvise64(int fd, off_t offset, \ 425 size_t len, int advice); } 426222 UNIMPL timer_create 427223 UNIMPL timer_settime 428224 UNIMPL timer_gettime 429225 UNIMPL timer_getoverrun 430226 UNIMPL timer_delete 431227 STD { int|linux_sys||clock_settime(clockid_t which, \ 432 struct linux_timespec *tp); } 433228 STD { int|linux_sys||clock_gettime(clockid_t which, \ 434 struct linux_timespec *tp); } 435229 STD { int|linux_sys||clock_getres(clockid_t which, \ 436 struct linux_timespec *tp); } 437230 STD { int|linux_sys||clock_nanosleep(clockid_t which, \ 438 int flags, struct linux_timespec *rqtp, \ 439 struct linux_timespec *rmtp); } 440231 STD { int|linux_sys||exit_group(int error_code); } 441232 UNIMPL epoll_wait 442233 UNIMPL epoll_ctl 443234 STD { int|linux_sys||tgkill(int tgid, int tid, int sig); } 444235 NOARGS { int|compat_50_sys||utimes(const char *path, \ 445 const struct timeval50 *tptr); } 446236 UNIMPL vserver 447237 UNIMPL mbind 448238 UNIMPL set_mempolicy 449239 UNIMPL get_mempolicy 450240 UNIMPL mq_open 451241 UNIMPL mq_unlink 452242 UNIMPL mq_timedsend 453243 UNIMPL mq_timedreceive 454244 UNIMPL mq_notify 455245 UNIMPL mq_getsetattr 456246 UNIMPL kexec_load 457247 UNIMPL waitid 458248 UNIMPL add_key 459249 UNIMPL request_key 460250 UNIMPL keyctl 461251 UNIMPL ioprio_set 462252 UNIMPL ioprio_get 463253 UNIMPL inotify_init 464254 UNIMPL inotify_add_watch 465255 UNIMPL inotify_rm_watch 466256 UNIMPL migrate_pages 467257 STD { int|linux_sys||openat(int fd, const char *path, \ 468 int flags, ... linux_umode_t mode); } 469258 NOARGS { int|sys||mkdirat(int fd, const char *path, \ 470 linux_umode_t mode); } 471259 STD { int|linux_sys||mknodat(int fd, const char *path, \ 472 linux_umode_t mode, unsigned dev); } 473260 STD { int|linux_sys||fchownat(int fd, const char *path, \ 474 uid_t owner, gid_t group, int flag); } 475261 UNIMPL futimesat 476262 STD { int|linux_sys||fstatat64(int fd, const char *path, \ 477 struct linux_stat *sp, int flag); } 478263 STD { int|linux_sys||unlinkat(int fd, const char *path, \ 479 int flag); } 480264 NOARGS { int|sys||renameat(int fromfd, const char *from, \ 481 int tofd, const char *to); } 482265 STD { int|linux_sys||linkat(int fd1, const char *name1, \ 483 int fd2, const char *name2, int flags); } 484266 NOARGS { int|sys||symlinkat(const char *path1, int fd, \ 485 const char *path2); } 486267 NOARGS { int|sys||readlinkat(int fd, const char *path, \ 487 char *buf, size_t bufsize); } 488268 STD { int|linux_sys||fchmodat(int fd, const char *path, \ 489 linux_umode_t mode); } 490269 STD { int|linux_sys||faccessat(int fd, const char *path, \ 491 int amode); } 492270 UNIMPL pselect6 493271 STD { int|linux_sys||ppoll(struct pollfd *fds, int nfds, \ 494 struct linux_timespec *timeout, \ 495 linux_sigset_t *sigset); } 496272 UNIMPL unshare 497273 STD { int|linux_sys||set_robust_list( \ 498 struct linux_robust_list_head *head, size_t len); } 499274 STD { int|linux_sys||get_robust_list(int pid, \ 500 struct linux_robust_list_head **head, \ 501 size_t *len); } 502275 UNIMPL splice 503276 UNIMPL tee 504277 UNIMPL sync_file_range 505278 UNIMPL vmsplice 506279 UNIMPL move_pages 507280 STD { int|linux_sys||utimensat(int fd, const char *path, \ 508 struct linux_timespec *times, int flag); } 509281 UNIMPL epoll_pwait 510282 UNIMPL signalfd 511283 UNIMPL timerfd_create 512284 UNIMPL eventfd 513285 UNIMPL fallocate 514286 UNIMPL timerfd_settime 515287 UNIMPL timerfd_gettime 516288 UNIMPL accept4 517289 UNIMPL signalfd4 518290 UNIMPL eventfd2 519291 UNIMPL epoll_create1 520292 STD { int|linux_sys||dup3(int from, int to, int flags); } 521293 STD { int|linux_sys||pipe2(int *pfds, int flags); } 522294 UNIMPL inotify_init1 523295 UNIMPL preadv 524296 UNIMPL pwritev 525297 UNIMPL rt_tgsigqueueinfo 526298 UNIMPL perf_counter_open 527299 UNIMPL recvmmsg 528300 UNIMPL fanotify_init 529301 UNIMPL fanotify_mark 530302 UNIMPL prlimit64 531303 UNIMPL name_to_handle_at 532304 UNIMPL open_by_handle_at 533305 UNIMPL clock_adjtime 534306 UNIMPL syncfs 535307 UNIMPL sendmmsg 536308 UNIMPL setns 537309 UNIMPL getcpu 538310 UNIMPL process_vm_readv 539311 UNIMPL process_vm_writev 540312 UNIMPL kcmp 541313 UNIMPL finit_module 542 543; we want a "nosys" syscall, we'll just add an extra entry for it. 544314 STD { int|linux_sys||nosys(void); } 545