1 $NetBSD: syscalls.master,v 1.88 2014/05/29 10:35:26 njoly Exp $ 2; 3; @(#)syscalls.master 8.1 (Berkeley) 7/19/93 4 5; NetBSD alpha 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; (ERH: 3/18/00) 37; 38; XXX XAX things to do: 39; make sure non-linux_foo() matches real linux syscalls. 40; create new linux_foo functions otherwise 41; (i.e. reboot, msgrcv? ) 42; make sure linux_foo() matches expected prototypes in .c files. 43; kill not used functions. (ifdef the actual code) 44; make linux_sys_sigreturn in linux_machdep.c use frame.extramask 45; 46; NOT USED = This syscall is not really used in Linux, except in its 47; osf compat mode. Since Linux binaries shouldn't ever 48; call it and osf binaries run under a different emulation, 49; it shouldn't matter that the linux version of the 50; function might not DTRT. Define it anyway so we 51; don't have to split off or ifdef the associated function. 52; A bit better might be to have makesyscalls identify this 53; as "define but don't include in table" so it doesn't actually 54; ever get called. 55; UNIMPL <blank> = not implemented here nor in linux source 56; UNIMPL osf_* = osf functions implemented in linux, not here. 57; 58 59#if defined(_KERNEL_OPT) 60#include "opt_sysv.h" 61#endif 62 63#include <sys/param.h> 64#include <sys/poll.h> 65#include <sys/systm.h> 66#include <sys/signal.h> 67#include <sys/mount.h> 68#include <sys/syscallargs.h> 69 70#include <compat/linux/common/linux_types.h> 71#include <compat/linux/common/linux_signal.h> 72#include <compat/linux/common/linux_siginfo.h> 73#include <compat/linux/common/linux_ipc.h> 74#include <compat/linux/common/linux_msg.h> 75#include <compat/linux/common/linux_sem.h> 76#include <compat/linux/common/linux_shm.h> 77#include <compat/linux/common/linux_mmap.h> 78;#include <compat/linux/common/linux_machdep.h> 79 80#include <compat/linux/linux_syscallargs.h> 81 82%% 83 840 NOARGS { int|linux_sys||nosys(void); } syscall 851 STD { int|linux_sys||exit(int rval); } 862 NOARGS { int|sys||fork(void); } 873 NOARGS { ssize_t|sys||read(int fd, void *buf, size_t nbyte); } 884 NOARGS { ssize_t|sys||write(int fd, const void *buf, \ 89 size_t nbyte); } 905 UNIMPL 916 NOARGS { int|sys||close(int fd); } 927 NODEF { int|osf1_sys||wait4(int pid, int *status, \ 93 int options, struct osf1_rusage *rusage); } 94;8 ALIAS osf1_sys_old_creat, NOT USED 958 STD { int|linux_sys||creat(const char *path, linux_umode_t mode); } 969 NOARGS { int|sys||link(const char *path, const char *link); } 9710 STD { int|linux_sys||unlink(const char *path); } 9811 UNIMPL 9912 NOARGS { int|sys||chdir(const char *path); } 10013 NOARGS { int|sys||fchdir(int fd); } 10114 STD { int|linux_sys||mknod(const char *path, linux_umode_t mode, \ 102 unsigned dev); } 10315 NOARGS { int|sys||chmod(const char *path, int mode); } 10416 NOARGS { int|sys||__posix_chown(const char *path, int uid, int gid); } 105;17 ALIAS osf1_sys_brk 10617 STD { int|linux_sys||brk(char *nsize); } 10718 UNIMPL 10819 NOARGS { long|compat_43_sys||lseek(int fd, long offset, \ 109 int whence); } 11020 NOARGS { pid_t|sys||getpid_with_ppid(void); } 11121 NODEF { int|osf1_sys||mount(int type, const char *path, \ 112 int flags, void *data); } 11322 UNIMPL umount 11423 NOARGS { int|sys||setuid(uid_t uid); } 11524 NOARGS { uid_t|sys||getuid_with_euid(void); } 11625 UNIMPL 11726 STD { int|linux_sys||ptrace(long request, long pid, \ 118 long addr, long data); } 11927 UNIMPL 12028 UNIMPL 12129 UNIMPL 12230 UNIMPL 12331 UNIMPL 12432 UNIMPL 12533 NOARGS { int|sys||access(const char *path, int flags); } 12634 UNIMPL 12735 UNIMPL 12836 NOARGS { int|sys||sync(void); } 12937 STD { int|linux_sys||kill(int pid, int signum); } 13038 UNIMPL 13139 NOARGS { int|sys||setpgid(int pid, int pgid); } 13240 UNIMPL 13341 NOARGS { int|sys||dup(int fd); } 13442 NOARGS { int|linux_sys||pipe(void); } 13543 NODEF { int|osf1_sys||set_program_attributes( \ 136 void *taddr, unsigned long tsize, \ 137 void *daddr, unsigned long dsize); } 13844 UNIMPL 13945 STD { int|linux_sys||open(const char *path, int flags, \ 140 linux_umode_t mode); } 14146 UNIMPL 14247 NOARGS { gid_t|sys||getgid_with_egid(void); } 143; ALIAS osf1_sys_sigprocmask(int how, unsigned long mask); 144; XXX <- copied from osf1/syscalls.master 14548 NOARGS { int|compat_13_sys||sigprocmask(int how, \ 146 sigset13_t mask); } 14749 UNIMPL 14850 UNIMPL 14951 NOARGS { int|sys||acct(const char *path); } 15052 STD { int|linux_sys||sigpending(linux_old_sigset_t *set); } 15153 UNIMPL 15254 STD { int|linux_sys||ioctl(int fd, u_long com, \ 153 void *data); } 15455 UNIMPL 15556 UNIMPL 15657 NOARGS { int|sys||symlink(const char *path, const char *to); } 15758 NOARGS { int|sys||readlink(const char *name, char *buf, \ 158 int count); } 15959 NOARGS { int|sys||execve(const char *path, char **argp, \ 160 char **envp); } 16160 NOARGS { mode_t|sys||umask(mode_t newmask); } 16261 NOARGS { int|sys||chroot(const char *path); } 16362 UNIMPL 16463 NOARGS { int|sys||getpgrp(void); } 16564 NOARGS { int|compat_43_sys||getpagesize(void); } 16665 UNIMPL 16766 NOARGS { int|sys|14|vfork(void); } 16867 STD { int|linux_sys||stat(const char *path, \ 169 struct linux_stat *sp); } 17068 STD { int|linux_sys||lstat(const char *path, \ 171 struct linux_stat *sp); } 17269 UNIMPL 17370 UNIMPL 174;71 ALIAS osf1_sys_mmap 17571 NOARGS { int|linux_sys||mmap(unsigned long addr, size_t len, \ 176 int prot, int flags, int fd, linux_off_t offset); } 17772 UNIMPL 17873 NOARGS { int|sys||munmap(void *addr, size_t len); } 17974 STD { int|linux_sys||mprotect(const void *start, \ 180 unsigned long len, int prot); } 18175 NOARGS { int|sys||madvise(void *addr, size_t len, int behav); } 18276 UNIMPL vhangup 18377 UNIMPL 18478 UNIMPL 18579 NOARGS { int|sys||getgroups(int gidsetsize, gid_t *gidset); } 18680 NOARGS { int|sys||setgroups(int gidsetsize, const gid_t *gidset); } 18781 UNIMPL 18882 UNIMPL setpgrp 18983 NODEF { int|osf1_sys||setitimer(int which, \ 190 struct osf1_itimerval *itv, \ 191 struct osf1_itimerval *oitv); } 19284 UNIMPL 19385 UNIMPL 19486 UNIMPL osf1_sys_getitimer 19587 NOARGS { int|compat_43_sys||gethostname(char *hostname, \ 196 u_int len); } 19788 NOARGS { int|compat_43_sys||sethostname(char *hostname, \ 198 u_int len); } 19989 UNIMPL getdtablesize 20090 NOARGS { int|sys||dup2(int from, int to); } 20191 STD { int|linux_sys||fstat(int fd, struct linux_stat *sp); } 20292 STD { int|linux_sys||fcntl(int fd, int cmd, void *arg); } 20393 NODEF { int|osf1_sys||select(u_int nd, fd_set *in, \ 204 fd_set *ou, fd_set *ex, struct osf1_timeval *tv); } 20594 NOARGS { int|sys||poll(struct pollfd *fds, u_int nfds, \ 206 int timeout); } 20795 NOARGS { int|sys||fsync(int fd); } 20896 NOARGS { int|sys||setpriority(int which, int who, int prio); } 20997 STD { int|linux_sys||socket(int domain, int type, \ 210 int protocol); } 21198 STD { int|linux_sys||connect(int s, \ 212 const struct osockaddr *name, \ 213 unsigned int namelen); } 21499 STD { int|linux_sys||accept(int s, \ 215 struct osockaddr *name, int *anamelen); } 216;100 ALIAS osf1_sys_getpriority 217100 STD { int|linux_sys||getpriority(int which, int who); } 218101 STD { int|linux_sys||send(int s, void *buf, int len, \ 219 int flags); } 220102 STD { int|linux_sys||recv(int s, void *buf, int len, \ 221 int flags); } 222103 STD { int|linux_sys||sigreturn(struct linux_sigframe *sfp); } 223104 STD { int|linux_sys||bind(int s, \ 224 const struct osockaddr *name, \ 225 unsigned int namelen); } 226105 STD { int|linux_sys||setsockopt(int s, int level, \ 227 int optname, void *optval, int optlen); } 228106 NOARGS { int|sys||listen(int s, int backlog); } 229107 UNIMPL 230108 UNIMPL 231109 UNIMPL 232110 UNIMPL 233 234111 STD { int|linux_sys||sigsuspend(void *restart, \ 235 int oldmask, int mask); } 236;112 ALIAS osf1_sys_sigstack 237112 NOARGS { int|compat_43_sys||sigstack(struct sigstack *nss, \ 238 struct sigstack *oss); } 239113 STD { ssize_t|linux_sys||recvmsg(int s, \ 240 struct linux_msghdr *msg, int flags); } 241114 STD { ssize_t|linux_sys||sendmsg(int s, \ 242 const struct linux_msghdr *msg, int flags); } 243115 UNIMPL 244116 NODEF { int|osf1_sys||gettimeofday(struct osf1_timeval *tv, \ 245 struct osf1_timezone *tzp); } 246117 NODEF { int|osf1_sys||getrusage(int who, \ 247 struct osf1_rusage *rusage); } 248118 STD { int|linux_sys||getsockopt(int s, int level, \ 249 int optname, void *optval, int *optlen); } 250119 UNIMPL 251120 NOARGS { ssize_t|sys||readv(int fd, const struct iovec *iovp, \ 252 int iovcnt); } 253121 NOARGS { ssize_t|sys||writev(int fd, const struct iovec *iovp, \ 254 int iovcnt); } 255122 NODEF { int|osf1_sys||settimeofday(struct osf1_timeval *tv, \ 256 struct osf1_timezone *tzp); } 257123 NOARGS { int|sys||__posix_fchown(int fd, int uid, int gid); } 258124 NOARGS { int|sys||fchmod(int fd, linux_umode_t mode); } 259125 STD { int|linux_sys||recvfrom(int s, void *buf, int len, \ 260 int flags, struct osockaddr *from, \ 261 int *fromlenaddr); } 262126 NOARGS { int|sys||setreuid(uid_t ruid, uid_t euid); } 263127 NOARGS { int|sys||setregid(gid_t rgid, gid_t egid); } 264128 NOARGS { int|sys||__posix_rename(const char *from, const char *to); } 265129 NOARGS { int|compat_43_sys||truncate(const char *path, \ 266 long length); } 267130 NOARGS { int|compat_43_sys||ftruncate(int fd, long length); } 268131 NOARGS { int|sys||flock(int fd, int how); } 269132 NOARGS { int|sys||setgid(gid_t gid); } 270133 STD { int|linux_sys||sendto(int s, void *msg, int len, \ 271 int flags, struct osockaddr *to, int tolen); } 272134 NOARGS { int|sys||shutdown(int s, int how); } 273135 STD { int|linux_sys||socketpair(int domain, int type, \ 274 int protocol, int *rsv); } 275136 NOARGS { int|sys||mkdir(const char *path, linux_umode_t mode); } 276137 NOARGS { int|sys||rmdir(const char *path); } 277138 NODEF { int|osf1_sys||utimes(const char *path, \ 278 const struct osf1_timeval *tptr); } 279139 UNIMPL 280140 UNIMPL 281141 STD { int|linux_sys||getpeername(int fdes, \ 282 void *asa, int *alen); } 283142 UNIMPL 284143 UNIMPL 285144 STD { int|linux_sys||getrlimit(int which, \ 286 struct orlimit *rlp); } 287145 STD { int|linux_sys||setrlimit(int which, \ 288 const struct orlimit *rlp); } 289146 UNIMPL 290147 NOARGS { int|sys||setsid(void); } 291148 UNIMPL quotactl 292149 UNIMPL 293150 STD { int|linux_sys||getsockname(int fdec, \ 294 void *asa, int *alen); } 295151 UNIMPL 296152 UNIMPL 297153 UNIMPL 298154 UNIMPL 299155 UNIMPL 300;156 ALIAS osf1_sys_sigaction 301156 STD { int|linux_sys||sigaction(int signum, \ 302 const struct linux_old_sigaction *nsa, \ 303 struct linux_old_sigaction *osa); } 304157 UNIMPL 305158 UNIMPL 306;159 ALIAS osf1_sys_getdirentries 307159 NOARGS { int|compat_43_sys||getdirentries(int fd, char *buf, \ 308 u_int count, long *basep); } 309160 NODEF { int|osf1_sys||statfs(const char *path, \ 310 struct osf1_statfs *buf, int len); } 311161 NODEF { int|osf1_sys||fstatfs(int fd, \ 312 struct osf1_statfs *buf, int len); } 313162 UNIMPL 314163 UNIMPL 315164 UNIMPL 316;165 ALIAS osf1_sys_getdomainname 317165 NOARGS { int|compat_09_sys||getdomainname(char *domainname, \ 318 int len); } 319166 STD { int|linux_sys||setdomainname(char *domainname, \ 320 int len); } 321167 UNIMPL 322168 UNIMPL 323169 UNIMPL 324170 UNIMPL 325171 UNIMPL 326172 UNIMPL 327173 UNIMPL 328174 UNIMPL 329175 UNIMPL 330176 UNIMPL 331177 UNIMPL 332178 UNIMPL 333179 UNIMPL 334180 UNIMPL 335181 UNIMPL 336182 UNIMPL 337183 UNIMPL 338184 UNIMPL 339185 UNIMPL 340186 UNIMPL 341187 UNIMPL 342188 UNIMPL 343189 UNIMPL 344190 UNIMPL 345; XXX: Dunno 346191 STD { int|linux_sys||ugetrlimit(int which, \ 347 struct rlimit *rlp); } 348192 UNIMPL mmap2 349193 UNIMPL 350194 UNIMPL 351195 UNIMPL 352196 UNIMPL 353197 UNIMPL 354198 UNIMPL 355199 UNIMPL osf1_sys_swapon 356#ifdef SYSVMSG 357200 NOARGS { int|linux_sys||msgctl(int msqid, int cmd, \ 358 struct linux_msqid_ds *buf); } 359201 NOARGS { int|sys||msgget(key_t key, int msgflg); } 360202 NOARGS { ssize_t|sys||msgrcv(int msqid, void *msgp, \ 361 size_t msgsz, long msgtyp, int msgflg); } 362203 NOARGS { int|sys||msgsnd(int msqid, void *msgp, size_t msgsz, \ 363 int msgflg); } 364#else 365200 UNIMPL msgctl 366201 UNIMPL msgget 367202 UNIMPL msgrcv 368203 UNIMPL msgsnd 369#endif 370#ifdef SYSVSEM 371204 NOARGS { int|linux_sys||semctl(int semid, int semnum, \ 372 int cmd, union linux_semun arg); } 373205 NOARGS { int|sys||semget(key_t key, int nsems, int semflg); } 374206 NOARGS { int|sys||semop(int semid, struct sembuf *sops, \ 375 size_t nsops); } 376#else 377204 UNIMPL semctl 378205 UNIMPL semget 379206 UNIMPL semop 380#endif 381;207 ALIAS osf1_sys_utsname 382207 STD { int|linux_sys||olduname(struct linux_old_utsname *up); } 383208 NOARGS { int|sys||__posix_lchown(const char *path, int uid, int gid); } 384#ifdef SYSVSHM 385209 NOARGS { int|linux_sys||shmat(int shmid, void *shmaddr, \ 386 int shmflg, u_long *raddr); } 387210 NOARGS { int|linux_sys||shmctl(int shmid, int cmd, \ 388 struct linux_shmid_ds *buf); } 389211 NOARGS { int|sys||shmdt(const void *shmaddr); } 390212 NOARGS { int|linux_sys||shmget(key_t key, size_t size, int shmflg); } 391#else 392209 UNIMPL shmat 393210 UNIMPL shmctl 394211 UNIMPL shmdt 395212 UNIMPL shmget 396#endif 397213 UNIMPL 398214 UNIMPL 399215 UNIMPL 400216 UNIMPL 401217 NOARGS { int|sys|13|msync(void *addr, size_t len, int flags); } 402218 UNIMPL 403219 UNIMPL 404220 UNIMPL 405221 UNIMPL 406222 UNIMPL 407223 UNIMPL 408224 UNIMPL 409225 UNIMPL 410226 UNIMPL 411227 UNIMPL 412228 UNIMPL 413229 UNIMPL 414230 UNIMPL 415231 UNIMPL 416232 UNIMPL 417233 NOARGS { pid_t|sys||getpgid(pid_t pid); } 418234 NOARGS { pid_t|sys||getsid(pid_t pid); } 419235 UNIMPL sigaltstack 420236 UNIMPL 421237 UNIMPL 422238 UNIMPL 423239 UNIMPL 424240 UNIMPL 425241 NODEF { int|osf1_sys||sysinfo(int cmd, char buf, long len); } 426242 UNIMPL 427243 UNIMPL 428244 UNIMPL osf1_sys_proplist_syscall 429245 UNIMPL 430246 UNIMPL 431247 UNIMPL 432248 UNIMPL 433249 UNIMPL 434250 UNIMPL 435251 NODEF { int|osf1_sys||usleep_thread( \ 436 struct osf1_timeval *sleep, \ 437 struct osf1_timeval *slept); } 438252 UNIMPL 439253 UNIMPL 440254 UNIMPL 441255 UNIMPL sysfs 442256 NODEF { int|osf1_sys||getsysinfo(u_long op, void *buffer, \ 443 u_long nbytes, void *arg, u_long flag); } 444257 NODEF { int|osf1_sys||setsysinfo(u_long op, void *buffer, \ 445 u_long nbytes, void *arg, u_long flag); } 446258 UNIMPL 447259 UNIMPL 448260 UNIMPL 449; This entry doesn't exist in the Alpha linux syscall table but the function is 450; implemented and used on other ports. 451261 STD { int|linux_sys||fdatasync(int fd); } 452262 UNIMPL 453263 UNIMPL 454264 UNIMPL 455265 UNIMPL 456266 UNIMPL 457267 UNIMPL 458268 UNIMPL 459269 UNIMPL 460270 UNIMPL 461271 UNIMPL 462272 UNIMPL 463273 UNIMPL 464274 UNIMPL 465275 UNIMPL 466276 UNIMPL 467277 UNIMPL 468278 UNIMPL 469279 UNIMPL 470280 UNIMPL 471281 UNIMPL 472282 UNIMPL 473283 UNIMPL 474284 UNIMPL 475285 UNIMPL 476286 UNIMPL 477287 UNIMPL 478288 UNIMPL 479289 UNIMPL 480290 UNIMPL 481291 UNIMPL 482292 UNIMPL 483293 UNIMPL 484294 UNIMPL 485295 UNIMPL 486296 UNIMPL 487297 UNIMPL 488298 UNIMPL 489299 UNIMPL 490300 UNIMPL bdflush 491301 UNIMPL sethae 492302 UNIMPL mount 493303 UNIMPL old_adjtimex 494304 STD { int|linux_sys||swapoff(const char *path); } 495305 STD { int|linux_sys||getdents(int fd, \ 496 struct linux_dirent *dent, unsigned int count); } 497306 UNIMPL alpha_create_module 498307 UNIMPL init_module 499308 UNIMPL delete_module 500309 UNIMPL get_kernel_syms 501310 UNIMPL syslog 502311 STD { int|linux_sys||reboot(int magic1, int magic2, \ 503 int cmd, void *arg); } 504312 STD { int|linux_sys||clone(int flags, void *stack, \ 505 void *parent_tidptr, void *child_tidptr, void *tls); } 506#ifdef EXEC_AOUT 507313 STD { int|linux_sys||uselib(const char *path); } 508#else 509313 UNIMPL sys_uselib 510#endif 511314 NOARGS { int|sys||mlock(const void *addr, size_t len); } 512315 NOARGS { int|sys||munlock(const void *addr, size_t len); } 513316 NOARGS { int|sys||mlockall(int flags); } 514317 NOARGS { int|sys||munlockall(void); } 515318 STD { int|linux_sys||sysinfo(struct linux_sysinfo *arg); } 516319 STD { int|linux_sys||__sysctl(struct linux___sysctl *lsp); } 517320 UNIMPL idle 518321 UNIMPL oldumount 519322 STD { int|linux_sys||swapon(const char *name); } 520323 STD { int|linux_sys||times(struct times *tms); } 521324 STD { int|linux_sys||personality(unsigned long per); } 522325 STD { int|linux_sys||setfsuid(uid_t uid); } 523326 STD { int|linux_sys||setfsgid(gid_t gid); } 524327 UNIMPL ustat 525328 STD { int|linux_sys||statfs(const char *path, \ 526 struct linux_statfs *sp); } 527329 STD { int|linux_sys||fstatfs(int fd, \ 528 struct linux_statfs *sp); } 529330 STD { int|linux_sys||sched_setparam(pid_t pid, \ 530 const struct linux_sched_param *sp); } 531331 STD { int|linux_sys||sched_getparam(pid_t pid, \ 532 struct linux_sched_param *sp); } 533332 STD { int|linux_sys||sched_setscheduler(pid_t pid, \ 534 int policy, const struct linux_sched_param *sp); } 535333 STD { int|linux_sys||sched_getscheduler(pid_t pid); } 536334 STD { int|linux_sys||sched_yield(void); } 537335 STD { int|linux_sys||sched_get_priority_max(int policy); } 538336 STD { int|linux_sys||sched_get_priority_min(int policy); } 539337 UNIMPL sched_rr_get_interval 540338 UNIMPL afs_syscall 541339 STD { int|linux_sys||uname(struct linux_utsname *up); } 542340 STD { int|linux_sys||nanosleep( \ 543 const struct linux_timespec *rqtp, \ 544 struct linux_timespec *rmtp); } 545341 STD { void *|linux_sys||mremap(void *old_address, \ 546 size_t old_size, size_t new_size, u_long flags); } 547342 UNIMPL nfsservctl 548343 STD { int|linux_sys||setresuid(uid_t ruid, uid_t euid, \ 549 uid_t suid); } 550344 STD { int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \ 551 uid_t *suid); } 552345 UNIMPL pciconfig_read 553346 UNIMPL pciconfig_write 554347 UNIMPL query_module 555348 UNIMPL prctl 556349 STD { int|linux_sys||pread(int fd, char *buf, \ 557 size_t nbyte, off_t offset); } 558350 STD { int|linux_sys||pwrite(int fd, char *buf, \ 559 size_t nbyte, off_t offset); } 560351 STD { int|linux_sys||rt_sigreturn( \ 561 struct linux_rt_sigframe *sfp); } 562352 STD { int|linux_sys||rt_sigaction(int signum, \ 563 const struct linux_sigaction *nsa, \ 564 struct linux_sigaction *osa, \ 565 size_t sigsetsize); } 566353 STD { int|linux_sys||rt_sigprocmask(int how, \ 567 const linux_sigset_t *set, \ 568 linux_sigset_t *oset, \ 569 size_t sigsetsize); } 570354 STD { int|linux_sys||rt_sigpending( \ 571 linux_sigset_t *set, \ 572 size_t sigsetsize); } 573355 STD { int|linux_sys||rt_sigtimedwait( \ 574 const linux_sigset_t *set, \ 575 linux_siginfo_t *info, \ 576 const struct linux_timespec *timeout); } 577356 STD { int|linux_sys||rt_queueinfo(int pid, int signum, \ 578 linux_siginfo_t *uinfo); } 579357 STD { int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \ 580 size_t sigsetsize); } 581358 STD { int|linux_sys||select(int nfds, fd_set *readfds, \ 582 fd_set *writefds, fd_set *exceptfds, \ 583 struct timeval50 *timeout); } 584359 STD { int|linux_sys||gettimeofday(struct timeval50 *tp, \ 585 struct timezone *tzp); } 586360 STD { int|linux_sys||settimeofday(struct timeval50 *tp, \ 587 struct timezone *tzp); } 588361 NOARGS { int|compat_50_sys||getitimer(int which, \ 589 struct itimerval50 *itv); } 590362 NOARGS { int|compat_50_sys||setitimer(int which, \ 591 const struct itimerval50 *itv, \ 592 struct itimerval50 *oitv); } 593363 NOARGS { int|compat_50_sys||utimes(const char *path, \ 594 const struct timeval50 *tptr); } 595364 NOARGS { int|compat_50_sys||getrusage(int who, \ 596 struct rusage50 *rusage); } 597365 STD { int|linux_sys||wait4(int pid, int *status, \ 598 int options, struct rusage50 *rusage); } 599366 UNIMPL adjtimex 600367 NOARGS { int|sys||__getcwd(char *bufp, size_t length); } 601368 UNIMPL capget 602369 UNIMPL capset 603370 UNIMPL sendfile 604371 UNIMPL setresgid 605372 UNIMPL getresgid 606373 UNIMPL sys_dipc 607374 UNIMPL pivot_root 608375 NOARGS { int|sys||mincore(void *addr, size_t len, char *vec); } 609376 UNIMPL pciconfig_iobase 610377 STD { int|linux_sys||getdents64(int fd, \ 611 struct linux_dirent64 *dent, unsigned int count); } 612378 NOARGS { pid_t|linux_sys||gettid(void); } 613379 UNIMPL readahead 614380 UNIMPL /* unused */ 615381 STD { int|linux_sys||tkill(int tid, int sig); } 616382 STD { int|linux_sys||setxattr(char *path, char *name, \ 617 void *value, size_t size, int flags); } 618383 STD { int|linux_sys||lsetxattr(char *path, char *name, \ 619 void *value, size_t size, int flags); } 620384 STD { int|linux_sys||fsetxattr(int fd, char *name, \ 621 void *value, size_t size, int flags); } 622385 STD { ssize_t|linux_sys||getxattr(char *path, char *name, \ 623 void *value, size_t size); } 624386 STD { ssize_t|linux_sys||lgetxattr(char *path, char *name, \ 625 void *value, size_t size); } 626387 STD { ssize_t|linux_sys||fgetxattr(int fd, char *name, \ 627 void *value, size_t size); } 628388 STD { ssize_t|linux_sys||listxattr(char *path, char *list, \ 629 size_t size); } 630389 STD { ssize_t|linux_sys||llistxattr(char *path, char *list, \ 631 size_t size); } 632390 STD { ssize_t|linux_sys||flistxattr(int fd, char *list, \ 633 size_t size); } 634391 STD { int|linux_sys||removexattr(char *path, char *name); } 635392 STD { int|linux_sys||lremovexattr(char *path, char *name); } 636393 STD { int|linux_sys||fremovexattr(int fd, char *name); } 637394 STD { int|linux_sys||futex(int *uaddr, int op, int val, \ 638 const struct linux_timespec *timeout, int *uaddr2, \ 639 int val3); } 640395 STD { int|linux_sys||sched_setaffinity(pid_t pid, \ 641 unsigned int len, unsigned long *mask); } 642396 STD { int|linux_sys||sched_getaffinity(pid_t pid, \ 643 unsigned int len, unsigned long *mask); } 644397 UNIMPL tuxcall 645398 UNIMPL io_setup 646399 UNIMPL io_destroy 647400 UNIMPL io_getevents 648401 UNIMPL io_submit 649402 UNIMPL io_cancel 650403 UNIMPL /* unused */ 651404 UNIMPL /* unused */ 652405 STD { int|linux_sys||exit_group(int error_code); } 653406 UNIMPL lookup_dcookie 654407 UNIMPL sys_epoll_create 655408 UNIMPL sys_epoll_ctl 656409 UNIMPL sys_epoll_wait 657410 UNIMPL remap_file_pages 658411 STD { int|linux_sys||set_tid_address(int *tid); } 659412 UNIMPL restart_syscall 660413 STD { int|linux_sys||fadvise64(int fd, off_t offset, \ 661 size_t len, int advice); } 662414 UNIMPL timer_create 663415 UNIMPL timer_settime 664416 UNIMPL timer_gettime 665417 UNIMPL timer_getoverrun 666418 UNIMPL timer_delete 667419 STD { int|linux_sys||clock_settime(clockid_t which, \ 668 struct linux_timespec *tp); } 669420 STD { int|linux_sys||clock_gettime(clockid_t which, \ 670 struct linux_timespec *tp); } 671421 STD { int|linux_sys||clock_getres(clockid_t which, \ 672 struct linux_timespec *tp); } 673422 STD { int|linux_sys||clock_nanosleep(clockid_t which, \ 674 int flags, struct linux_timespec *rqtp, \ 675 struct linux_timespec *rmtp); } 676423 UNIMPL semtimedop 677424 STD { int|linux_sys||tgkill(int tgid, int tid, int sig); } 678425 STD { int|linux_sys||stat64(const char *path, \ 679 struct linux_stat64 *sp); } 680426 STD { int|linux_sys||lstat64(const char *path, \ 681 struct linux_stat64 *sp); } 682427 STD { int|linux_sys||fstat64(int fd, \ 683 struct linux_stat64 *sp); } 684428 UNIMPL vserver 685429 UNIMPL mbind 686430 UNIMPL get_mempolicy 687431 UNIMPL set_mempolicy 688432 UNIMPL mq_open 689433 UNIMPL mq_unlink 690434 UNIMPL mq_timedsend 691435 UNIMPL mq_timedreceive 692436 UNIMPL mq_notify 693437 UNIMPL mq_getsetattr 694438 UNIMPL waitid 695439 UNIMPL add_key 696440 UNIMPL request_key 697441 UNIMPL keyctl 698442 UNIMPL ioprio_set 699443 UNIMPL ioprio_get 700444 UNIMPL inotify_init 701445 UNIMPL inotify_add_watch 702446 UNIMPL inotify_rm_watch 703447 UNIMPL fdatasync 704448 UNIMPL kexec_load 705449 UNIMPL migrate_pages 706450 STD { int|linux_sys||openat(int fd, const char *path, \ 707 int flags, ... linux_umode_t mode); } 708451 NOARGS { int|sys||mkdirat(int fd, const char *path, \ 709 linux_umode_t mode); } 710452 STD { int|linux_sys||mknodat(int fd, const char *path, \ 711 linux_umode_t mode, unsigned dev); } 712453 STD { int|linux_sys||fchownat(int fd, const char *path, \ 713 uid_t owner, gid_t group, int flag); } 714454 UNIMPL futimesat 715455 STD { int|linux_sys||fstatat64(int fd, const char *path, \ 716 struct linux_stat64 *sp, int flag); } 717456 STD { int|linux_sys||unlinkat(int fd, const char *path, \ 718 int flag); } 719457 NOARGS { int|sys||renameat(int fromfd, const char *from, \ 720 int tofd, const char *to); } 721458 STD { int|linux_sys||linkat(int fd1, const char *name1, \ 722 int fd2, const char *name2, int flags); } 723459 NOARGS { int|sys||symlinkat(const char *path1, int fd, \ 724 const char *path2); } 725460 NOARGS { int|sys||readlinkat(int fd, const char *path, \ 726 char *buf, size_t bufsize); } 727461 STD { int|linux_sys||fchmodat(int fd, const char *path, \ 728 linux_umode_t mode); } 729462 STD { int|linux_sys||faccessat(int fd, const char *path, \ 730 int amode); } 731463 UNIMPL pselect6 732464 STD { int|linux_sys||ppoll(struct pollfd *fds, int nfds, \ 733 struct linux_timespec *timeout, \ 734 linux_sigset_t *sigset); } 735465 UNIMPL unshare 736466 STD { int|linux_sys||set_robust_list( \ 737 struct linux_robust_list_head *head, size_t len); } 738467 STD { int|linux_sys||get_robust_list(int pid, \ 739 struct linux_robust_list_head **head, \ 740 size_t *len); } 741468 UNIMPL splice 742469 UNIMPL sync_file_range 743470 UNIMPL tee 744471 UNIMPL vmsplice 745472 UNIMPL move_pages 746473 UNIMPL getcpu 747474 UNIMPL epoll_wait 748475 STD { int|linux_sys||utimensat(int fd, const char *path, \ 749 struct linux_timespec *times, int flag); } 750476 UNIMPL signalfd 751477 UNIMPL timerfd 752478 UNIMPL eventfd 753479 UNIMPL recvmmsg 754480 UNIMPL fallocate 755481 UNIMPL timerfd_create 756482 UNIMPL timerfd_settime 757483 UNIMPL timerfd_gettime 758484 UNIMPL signalfd4 759485 UNIMPL eventfd2 760486 UNIMPL epoll_create1 761487 STD { int|linux_sys||dup3(int from, int to, int flags); } 762488 STD { int|linux_sys||pipe2(int *pfds, int flags); } 763489 UNIMPL inotify_init1 764490 UNIMPL preadv 765491 UNIMPL pwritev 766492 UNIMPL rt_tgsigqueueinfo 767493 UNIMPL perf_counter_open 768