syscalls.master revision 1.1
11.1Spooka	$NetBSD: syscalls.master,v 1.1 2013/04/10 16:44:54 pooka Exp $
21.1Spooka
31.1Spooka;	@(#)syscalls.master	8.2 (Berkeley) 1/13/94
41.1Spooka
51.1Spooka; NetBSD system call name/number "master" file.
61.1Spooka; (See syscalls.conf to see what it is processed into.)
71.1Spooka;
81.1Spooka; Fields: number type [type-dependent ...]
91.1Spooka;	number	system call number, must be in order
101.1Spooka;	type	one of NODEF, UNIMPL, or NOARGS
111.1Spooka;
121.1Spooka; types:
131.1Spooka;	NODEF	always included
141.1Spooka;	UNIMPL	unimplemented, not included in system
151.1Spooka;	NODEF	included, but don't define the syscall number
161.1Spooka;	NOARGS	included, but don't define the syscall args structure
171.1Spooka;
181.1Spooka; arguments:
191.1Spooka;	PAD	argument not part of the C interface, used only for padding
201.1Spooka;
211.1Spooka;
221.1Spooka; Support just enough syscalls to make fs-utils run (plus a few other
231.1Spooka; low-hanging fruit)
241.1Spooka;
251.1Spooka
261.1Spooka#include <sys/param.h>
271.1Spooka#include <sys/systm.h>
281.1Spooka#include <sys/signal.h>
291.1Spooka#include <sys/socket.h>
301.1Spooka#include <sys/mount.h>
311.1Spooka#include <sys/sched.h>
321.1Spooka#include <sys/syscallargs.h>
331.1Spooka
341.1Spooka#include "rump_cygwin_syscallargs.h"
351.1Spooka
361.1Spooka%%
371.1Spooka
381.1Spooka0	NOARGS		{ int|sys||nosys(void); }
391.1Spooka1	UNIMPL 		exit
401.1Spooka2	UNIMPL 		fork
411.1Spooka3	NOARGS		{ ssize_t|sys||read(int fd, void *buf, size_t nbyte); }
421.1Spooka4	NOARGS		{ ssize_t|sys||write(int fd, const void *buf, \
431.1Spooka			    size_t nbyte); }
441.1Spooka5	NODEF		{ int|rump_cygwin_sys||open(const char *path, \
451.1Spooka			    int flags, int mode); }
461.1Spooka6	NOARGS	 	{ int|sys||close(int fd); }
471.1Spooka7	UNIMPL		wait4
481.1Spooka8	UNIMPL		creat
491.1Spooka9	NOARGS 		{ int|sys||link(const char *path, const char *link); }
501.1Spooka10	NOARGS 	 	{ int|sys||unlink(const char *path); }
511.1Spooka11	UNIMPL		execv
521.1Spooka12	NOARGS 	 	{ int|sys||chdir(const char *path); }
531.1Spooka13	NOARGS 	 	{ int|sys||fchdir(int fd); }
541.1Spooka14	UNIMPL		mknod
551.1Spooka15	NOARGS 	 	{ int|sys||chmod(const char *path, int mode); }
561.1Spooka16	NOARGS 	 	{ int|sys||chown(const char *path, int uid, int gid); }
571.1Spooka17	UNIMPL		obreak
581.1Spooka18	UNIMPL		getfsstat
591.1Spooka19	UNIMPL		lseek
601.1Spooka20	NOARGS 		{ pid_t|sys||getpid_with_ppid(void); } getpid
611.1Spooka21	UNIMPL		mount
621.1Spooka22	UNIMPL		unmount
631.1Spooka23	NOARGS		{ int|sys||setuid(int uid); }
641.1Spooka24	NOARGS		{ int|sys||getuid_with_euid(void); } getuid
651.1Spooka25	NOARGS		{ int|sys||geteuid(void); }
661.1Spooka26	UNIMPL 		ptrace
671.1Spooka27	UNIMPL		recvmsg
681.1Spooka28	UNIMPL		sendmsg
691.1Spooka29	UNIMPL		recvfrom
701.1Spooka30	UNIMPL		accept
711.1Spooka31	UNIMPL		getpeername
721.1Spooka32	UNIMPL		getsockname
731.1Spooka33	NOARGS 		{ int|sys||access(const char *path, int flags); }
741.1Spooka34	UNIMPL		chflags
751.1Spooka35	UNIMPL		fchflags
761.1Spooka36	NOARGS		{ void|sys||sync(void); }
771.1Spooka37	UNIMPL 		kill
781.1Spooka38	UNIMPL		stat
791.1Spooka39	UNIMPL		getppid
801.1Spooka40	UNIMPL		lstat
811.1Spooka41	NOARGS 		{ int|sys||dup(int fd); }
821.1Spooka42	NOARGS 		{ int|sys||pipe(void); }
831.1Spooka43	UNIMPL		getegid
841.1Spooka44	UNIMPL 		profil
851.1Spooka45	UNIMPL 		ktrace
861.1Spooka46	UNIMPL		sigaction
871.1Spooka47	NOARGS 		{ int|sys||getgid_with_egid(void); } getgid
881.1Spooka48	UNIMPL		sigprocmask
891.1Spooka49	UNIMPL		__getlogin
901.1Spooka50	UNIMPL		__setlogin
911.1Spooka51	UNIMPL		acct
921.1Spooka52	UNIMPL  	sigpending
931.1Spooka53	UNIMPL  	sigaltstack
941.1Spooka54	UNIMPL		ioctl
951.1Spooka55	UNIMPL		reboot
961.1Spooka56	UNIMPL		revoke
971.1Spooka57	NOARGS 	 	{ int|sys||symlink(const char *path, \
981.1Spooka			    const char *link); }
991.1Spooka58	NOARGS 	 	{ ssize_t|sys||readlink(const char *path, char *buf, \
1001.1Spooka			    int count); }
1011.1Spooka59	UNIMPL 		execve
1021.1Spooka60	NOARGS 	 	{ mode_t|sys||umask(mode_t newmask); }
1031.1Spooka61	NOARGS 	 	{ int|sys||chroot(const char *path); }
1041.1Spooka62	UNIMPL		fstat43
1051.1Spooka63	UNIMPL		getkerninfo
1061.1Spooka64	UNIMPL		getpagesize
1071.1Spooka65	UNIMPL		msync
1081.1Spooka66	UNIMPL 		vfork
1091.1Spooka67	UNIMPL		vread
1101.1Spooka68	UNIMPL		vwrite
1111.1Spooka69	UNIMPL 		sbrk
1121.1Spooka70	UNIMPL 		sstk
1131.1Spooka71	UNIMPL  	mmap
1141.1Spooka72	UNIMPL 		ovadvise
1151.1Spooka73	UNIMPL 		munmap
1161.1Spooka74	UNIMPL 		mprotect
1171.1Spooka75	UNIMPL 		madvise
1181.1Spooka76	UNIMPL		vhangup
1191.1Spooka77	UNIMPL		vlimit
1201.1Spooka78	UNIMPL 		mincore
1211.1Spooka79	NOARGS 		{ int|sys||getgroups(int gidsetsize, \
1221.1Spooka			    int *gidset); }
1231.1Spooka80	NOARGS 		{ int|sys||setgroups(int gidsetsize, \
1241.1Spooka			    const int *gidset); }
1251.1Spooka81	NOARGS 		{ int|sys||getpgrp(void); }
1261.1Spooka82	NOARGS 		{ int|sys||setpgid(int pid, int pgid); }
1271.1Spooka83	UNIMPL		setitimer
1281.1Spooka84	UNIMPL		wait
1291.1Spooka85	UNIMPL		swapon
1301.1Spooka86	UNIMPL		getitimer
1311.1Spooka87	UNIMPL		gethostname
1321.1Spooka88	UNIMPL		sethostname
1331.1Spooka89	UNIMPL		getdtablesize
1341.1Spooka90	NOARGS 	 	{ int|sys||dup2(int from, int to); }
1351.1Spooka91	UNIMPL		getdopt
1361.1Spooka92	UNIMPL		fcntl
1371.1Spooka93	UNIMPL		select
1381.1Spooka94	UNIMPL		setdopt
1391.1Spooka95	NOARGS		{ int|sys||fsync(int fd); }
1401.1Spooka96	UNIMPL		setpriority
1411.1Spooka97	UNIMPL		socket
1421.1Spooka98	UNIMPL		connect
1431.1Spooka99	UNIMPL		accept
1441.1Spooka100	UNIMPL 		getpriority
1451.1Spooka
1461.1Spooka101	UNIMPL		send
1471.1Spooka102	UNIMPL		recv
1481.1Spooka
1491.1Spooka103	UNIMPL		sigreturn
1501.1Spooka104	UNIMPL		bind
1511.1Spooka105	UNIMPL		setsockopt
1521.1Spooka106	UNIMPL		listen
1531.1Spooka107	UNIMPL		vtimes
1541.1Spooka108	UNIMPL		sigvec
1551.1Spooka109	UNIMPL		sigblock
1561.1Spooka110	UNIMPL		sigsetmask
1571.1Spooka111	UNIMPL		sigsuspend
1581.1Spooka112	UNIMPL		sigstack
1591.1Spooka113	UNIMPL		orecvmsg
1601.1Spooka114	UNIMPL		osendmsg
1611.1Spooka115	UNIMPL		vtrace
1621.1Spooka116	UNIMPL		gettimeofday
1631.1Spooka117	UNIMPL 		getrusage
1641.1Spooka118	UNIMPL		getsockopt
1651.1Spooka119	UNIMPL		resuba
1661.1Spooka120	NOARGS 		{ ssize_t|sys||readv(int fd, \
1671.1Spooka			    struct iovec *iovp, int iovcnt); }
1681.1Spooka121	NOARGS 		{ ssize_t|sys||writev(int fd, \
1691.1Spooka			    struct iovec *iovp, int iovcnt); }
1701.1Spooka122	UNIMPL		settimeofday
1711.1Spooka123	NOARGS 	 	{ int|sys||fchown(int fd, int uid, int gid); }
1721.1Spooka124	NOARGS 	 	{ int|sys||fchmod(int fd, int mode); }
1731.1Spooka125	UNIMPL		orecvfrom
1741.1Spooka126	NOARGS 		{ int|sys||setreuid(int ruid, int euid); }
1751.1Spooka127	NOARGS 		{ int|sys||setregid(int rgid, int egid); }
1761.1Spooka128	NOARGS 	 	{ int|sys||rename(char *from, char *to); }
1771.1Spooka129	UNIMPL		otruncate
1781.1Spooka130	UNIMPL		oftruncate
1791.1Spooka131	NOARGS 	 	{ int|sys||flock(int fd, int how); }
1801.1Spooka132	UNIMPL 	 	mkfifo
1811.1Spooka133	UNIMPL 	 	sendto
1821.1Spooka134	UNIMPL	 	shutdown
1831.1Spooka135	UNIMPL	 	socketpair
1841.1Spooka136	NOARGS 	 	{ int|sys||mkdir(const char *path, int mode); }
1851.1Spooka137	NOARGS 	 	{ int|sys||rmdir(const char *path); }
1861.1Spooka138	UNIMPL		utimes
1871.1Spooka
1881.1Spooka139	UNIMPL		4.2 sigreturn
1891.1Spooka140	UNIMPL		adjtime
1901.1Spooka141	UNIMPL		ogetpeername
1911.1Spooka142	UNIMPL		ogethostid
1921.1Spooka143	UNIMPL		osethostid
1931.1Spooka144	UNIMPL		ogetrlimit
1941.1Spooka145	UNIMPL		osetrlimit
1951.1Spooka146	UNIMPL		okillpg
1961.1Spooka147	NOARGS 		{ int|sys||setsid(void); }
1971.1Spooka148	UNIMPL		quotactl
1981.1Spooka149	UNIMPL		oquota
1991.1Spooka150	UNIMPL		ogetsockname
2001.1Spooka
2011.1Spooka; Syscalls 151-180 inclusive are reserved for vendor-specific
2021.1Spooka; system calls.  (This includes various calls added for compatibity
2031.1Spooka; with other Unix variants.)
2041.1Spooka; Some of these calls are now supported by BSD...
2051.1Spooka151	UNIMPL
2061.1Spooka152	UNIMPL
2071.1Spooka153	UNIMPL
2081.1Spooka154	UNIMPL
2091.1Spooka155	UNIMPL		nfssvc
2101.1Spooka156	UNIMPL		ogetdirentries
2111.1Spooka157	UNIMPL		statfs12
2121.1Spooka158	UNIMPL		fstatfs12
2131.1Spooka159	UNIMPL
2141.1Spooka160	UNIMPL
2151.1Spooka161	UNIMPL		getfh30
2161.1Spooka162	UNIMPL		ogetdomainname
2171.1Spooka163	UNIMPL		osetdomainname
2181.1Spooka164	UNIMPL		ouname
2191.1Spooka165	UNIMPL 		sysarch
2201.1Spooka166	UNIMPL
2211.1Spooka167	UNIMPL
2221.1Spooka168	UNIMPL
2231.1Spooka169	UNIMPL		1.0 semsys
2241.1Spooka170	UNIMPL		1.0 msgsys
2251.1Spooka171	UNIMPL		1.0 shmsys
2261.1Spooka172	UNIMPL
2271.1Spooka173	NOARGS 	 	{ ssize_t|sys||pread(int fd, char *buf, \
2281.1Spooka			    size_t nbyte, int PAD, off_t offset); }
2291.1Spooka174	NOARGS 	 	{ ssize_t|sys||pwrite(int fd, char *buf, \
2301.1Spooka			    size_t nbyte, int PAD, off_t offset); }
2311.1Spooka175	UNIMPL		ntp_gettime
2321.1Spooka176	UNIMPL		ntp_adjtime
2331.1Spooka177	UNIMPL
2341.1Spooka178	UNIMPL
2351.1Spooka179	UNIMPL
2361.1Spooka180	UNIMPL
2371.1Spooka
2381.1Spooka; Syscalls 180-199 are used by/reserved for BSD
2391.1Spooka181	NOARGS 		{ int|sys||setgid(gid_t gid); }
2401.1Spooka182	NOARGS 		{ int|sys||setegid(gid_t egid); }
2411.1Spooka183	NOARGS 		{ int|sys||seteuid(uid_t euid); }
2421.1Spooka184	UNIMPL		lfs_bmapv
2431.1Spooka185	UNIMPL		lfs_markv
2441.1Spooka186	UNIMPL		lfs_segclean
2451.1Spooka187	UNIMPL		lfs_segwait
2461.1Spooka188	UNIMPL		stat12
2471.1Spooka189	UNIMPL		fstat12
2481.1Spooka190	UNIMPL		lstat12
2491.1Spooka191	UNIMPL 		pathconf
2501.1Spooka192	UNIMPL 		fpathconf
2511.1Spooka193	UNIMPL
2521.1Spooka194	UNIMPL 		getrlimit
2531.1Spooka195	UNIMPL 		setrlimit
2541.1Spooka196	UNIMPL		getdirentries
2551.1Spooka197	UNIMPL		mmap
2561.1Spooka198	UNIMPL		__syscall
2571.1Spooka199	NOARGS 	 	{ long|sys||lseek(int fd, int PAD, off_t offset, \
2581.1Spooka			    int whence); }
2591.1Spooka200	NOARGS 	 	{ int|sys||truncate(const char *path, int PAD, \
2601.1Spooka			    off_t length); }
2611.1Spooka201	NOARGS 	 	{ int|sys||ftruncate(int fd, int PAD, off_t length); }
2621.1Spooka202	UNIMPL		__sysctl
2631.1Spooka203	UNIMPL		mlock
2641.1Spooka204	UNIMPL		munlock
2651.1Spooka205	UNIMPL		undelete
2661.1Spooka206	UNIMPL		futimes
2671.1Spooka207	NOARGS 	 	{ pid_t|sys||getpgid(pid_t pid); }
2681.1Spooka208	UNIMPL	 	reboot
2691.1Spooka209	NOARGS 	 	{ int|sys||poll(struct pollfd *fds, u_int nfds, \
2701.1Spooka			    int timeout); }
2711.1Spooka;
2721.1Spooka; Syscalls 210-219 are reserved for dynamically loaded syscalls
2731.1Spooka;
2741.1Spooka210	UNIMPL	 	afssys
2751.1Spooka211	UNIMPL
2761.1Spooka212	UNIMPL
2771.1Spooka213	UNIMPL
2781.1Spooka214	UNIMPL
2791.1Spooka215	UNIMPL
2801.1Spooka216	UNIMPL
2811.1Spooka217	UNIMPL
2821.1Spooka218	UNIMPL
2831.1Spooka219	UNIMPL
2841.1Spooka220	UNIMPL		compat_14_semctl
2851.1Spooka221	UNIMPL		semget
2861.1Spooka222	UNIMPL		semop
2871.1Spooka223	UNIMPL		semconfig
2881.1Spooka224	UNIMPL 		compat_14_msgctl
2891.1Spooka225	UNIMPL 		msgget
2901.1Spooka226	UNIMPL 		msgsnd
2911.1Spooka227	UNIMPL 		msgrcv
2921.1Spooka228	UNIMPL		shmat
2931.1Spooka229	UNIMPL		compat_14_shmctl
2941.1Spooka230	UNIMPL		shmdt
2951.1Spooka231	UNIMPL		shmget
2961.1Spooka
2971.1Spooka232	UNIMPL		clock_gettime
2981.1Spooka233	UNIMPL		clock_settime
2991.1Spooka234	UNIMPL		clock_getres
3001.1Spooka235	UNIMPL		timer_create
3011.1Spooka236	UNIMPL		timer_delete
3021.1Spooka237	UNIMPL		timer_settime
3031.1Spooka238	UNIMPL		timer_gettime
3041.1Spooka239	UNIMPL		timer_getoverrun
3051.1Spooka;
3061.1Spooka; Syscalls 240-269 are reserved for other IEEE Std1003.1b syscalls
3071.1Spooka;
3081.1Spooka240	UNIMPL		nanosleep
3091.1Spooka241	UNIMPL 	 	fdatasync
3101.1Spooka242	UNIMPL		mlockall
3111.1Spooka243	UNIMPL		munlockall
3121.1Spooka244	UNIMPL		__sigtimedwait
3131.1Spooka245	UNIMPL		sigqueueinfo
3141.1Spooka246	UNIMPL		modctl
3151.1Spooka247	UNIMPL		_ksem_init
3161.1Spooka248	UNIMPL		_ksem_open
3171.1Spooka249	UNIMPL		_ksem_unlink
3181.1Spooka250	UNIMPL		_ksem_close
3191.1Spooka251	UNIMPL		_ksem_post
3201.1Spooka252	UNIMPL		_ksem_wait
3211.1Spooka253	UNIMPL		_ksem_trywait
3221.1Spooka254	UNIMPL		_ksem_getvalue
3231.1Spooka255	UNIMPL		_ksem_destroy
3241.1Spooka256	UNIMPL		_ksem_timedwait
3251.1Spooka
3261.1Spooka257	UNIMPL		mq_open
3271.1Spooka258	UNIMPL		mq_close
3281.1Spooka259	UNIMPL		mq_unlink
3291.1Spooka260	UNIMPL		mq_getattr
3301.1Spooka261	UNIMPL		mq_setattr
3311.1Spooka262	UNIMPL		mq_notify
3321.1Spooka263	UNIMPL		mq_send
3331.1Spooka264	UNIMPL		mq_receive
3341.1Spooka265	UNIMPL		mq_timedsend
3351.1Spooka266	UNIMPL		mq_timedreceive
3361.1Spooka267	UNIMPL
3371.1Spooka268	UNIMPL
3381.1Spooka269	UNIMPL
3391.1Spooka270	UNIMPL		__posix_rename
3401.1Spooka271	UNIMPL		swapctl
3411.1Spooka272	UNIMPL		getdents
3421.1Spooka273	UNIMPL		minherit
3431.1Spooka274	UNIMPL 	 	lchmod
3441.1Spooka275	UNIMPL 	 	lchown
3451.1Spooka276	UNIMPL		lutimes
3461.1Spooka277	UNIMPL		msync
3471.1Spooka278	UNIMPL		stat
3481.1Spooka279	UNIMPL		fstat
3491.1Spooka280	UNIMPL		lstat
3501.1Spooka281	UNIMPL		sigaltstack
3511.1Spooka282	UNIMPL		vfork
3521.1Spooka283	UNIMPL		__posix_chown
3531.1Spooka284	UNIMPL		__posix_fchown
3541.1Spooka285	UNIMPL		__posix_lchown
3551.1Spooka286	NOARGS 		{ pid_t|sys||getsid(pid_t pid); }
3561.1Spooka
3571.1Spooka287	UNIMPL		__clone
3581.1Spooka288	UNIMPL		fktrace
3591.1Spooka289	UNIMPL 		{ ssize_t|sys||preadv(int fd, \
3601.1Spooka			    const struct iovec *iovp, int iovcnt, \
3611.1Spooka			    int PAD, off_t offset); }
3621.1Spooka290	UNIMPL 		{ ssize_t|sys||pwritev(int fd, \
3631.1Spooka			    const struct iovec *iovp, int iovcnt, \
3641.1Spooka			    int PAD, off_t offset); }
3651.1Spooka291	UNIMPL		sigaction
3661.1Spooka292	UNIMPL		sigpending
3671.1Spooka293	UNIMPL		sigprocmask
3681.1Spooka294	UNIMPL		sigsuspend
3691.1Spooka295	UNIMPL		sigreturn
3701.1Spooka296	NOARGS 	 	{ int|sys||__getcwd(char *bufp, size_t length); }
3711.1Spooka297	NOARGS 	 	{ int|sys||fchroot(int fd); }
3721.1Spooka298	UNIMPL		fhopen
3731.1Spooka299	UNIMPL		fhstat
3741.1Spooka300	UNIMPL		fhstatfs
3751.1Spooka301	UNIMPL		____semctl13
3761.1Spooka302	UNIMPL		__msgctl13
3771.1Spooka303	UNIMPL		__shmctl13
3781.1Spooka304	UNIMPL 	 	lchflags
3791.1Spooka305	UNIMPL		issetugid
3801.1Spooka306	UNIMPL		utrace
3811.1Spooka307	UNIMPL		getcontext
3821.1Spooka308	UNIMPL		setcontext
3831.1Spooka309	UNIMPL		_lwp_create
3841.1Spooka310	UNIMPL		_lwp_exit
3851.1Spooka311	UNIMPL		_lwp_self
3861.1Spooka312	UNIMPL		_lwp_wait
3871.1Spooka313	UNIMPL		_lwp_suspend
3881.1Spooka314	UNIMPL		_lwp_continue
3891.1Spooka315	UNIMPL		_lwp_wakeup
3901.1Spooka316	UNIMPL		_lwp_getprivate
3911.1Spooka317	UNIMPL		_lwp_setprivate
3921.1Spooka318	UNIMPL		_lwp_kill
3931.1Spooka319	UNIMPL		_lwp_detach
3941.1Spooka320	UNIMPL		_lwp_park
3951.1Spooka321	UNIMPL		_lwp_unpark
3961.1Spooka322	UNIMPL		_lwp_unpark_all
3971.1Spooka323	UNIMPL		_lwp_setname
3981.1Spooka324	UNIMPL		_lwp_getname
3991.1Spooka325	UNIMPL		_lwp_ctl
4001.1Spooka
4011.1Spooka; Syscalls 326-339 reserved for LWP syscalls.
4021.1Spooka326	UNIMPL
4031.1Spooka327	UNIMPL
4041.1Spooka328	UNIMPL
4051.1Spooka329	UNIMPL
4061.1Spooka; SA system calls.
4071.1Spooka330	UNIMPL		sa_register
4081.1Spooka331	UNIMPL		sa_stacks
4091.1Spooka332	UNIMPL		sa_enable
4101.1Spooka333	UNIMPL		sa_setconcurrency
4111.1Spooka334	UNIMPL		sa_yield
4121.1Spooka335	UNIMPL		sa_preempt
4131.1Spooka336	UNIMPL 		sys_sa_unblockyield
4141.1Spooka;
4151.1Spooka; Syscalls 337-339 are reserved for other scheduler activation syscalls.
4161.1Spooka;
4171.1Spooka337	UNIMPL
4181.1Spooka338	UNIMPL
4191.1Spooka339	UNIMPL
4201.1Spooka
4211.1Spooka340	UNIMPL		__sigaction_sigtramp
4221.1Spooka341	UNIMPL		pmc_get_info
4231.1Spooka342	UNIMPL		pmc_control
4241.1Spooka343	UNIMPL		rasctl
4251.1Spooka344	UNIMPL		kqueue
4261.1Spooka345	UNIMPL		kevent
4271.1Spooka
4281.1Spooka; Scheduling system calls.
4291.1Spooka346	UNIMPL		_sched_setparam
4301.1Spooka347	UNIMPL		_sched_getparam
4311.1Spooka348	UNIMPL		_sched_setaffinity
4321.1Spooka349	UNIMPL		_sched_getaffinity
4331.1Spooka350	UNIMPL		sched_yield
4341.1Spooka351	UNIMPL
4351.1Spooka352	UNIMPL
4361.1Spooka353	UNIMPL
4371.1Spooka
4381.1Spooka354	UNIMPL		fsync_range
4391.1Spooka355	UNIMPL		uuidgen
4401.1Spooka356	UNIMPL		getvfsstat
4411.1Spooka357	UNIMPL		statvfs1
4421.1Spooka358	UNIMPL		fstatvfs1
4431.1Spooka359	UNIMPL		fhstatvfs1
4441.1Spooka360	UNIMPL		extattrctl
4451.1Spooka361	UNIMPL		extattr_set_file
4461.1Spooka362	UNIMPL		extattr_get_file
4471.1Spooka363	UNIMPL		extattr_delete_file
4481.1Spooka364	UNIMPL		extattr_set_fd
4491.1Spooka365	UNIMPL		extattr_get_fd
4501.1Spooka366	UNIMPL		extattr_delete_fd
4511.1Spooka367	UNIMPL		extattr_set_link
4521.1Spooka368	UNIMPL		extattr_get_link
4531.1Spooka369	UNIMPL		extattr_delete_link
4541.1Spooka370	UNIMPL		extattr_list_fd
4551.1Spooka371	UNIMPL		extattr_list_file
4561.1Spooka372	UNIMPL		extattr_list_link
4571.1Spooka373	UNIMPL		pselect
4581.1Spooka374	UNIMPL		pollts
4591.1Spooka375	UNIMPL		setxattr
4601.1Spooka376	UNIMPL		lsetxattr
4611.1Spooka377	UNIMPL		fsetxattr
4621.1Spooka378	UNIMPL		getxattr
4631.1Spooka379	UNIMPL		lgetxattr
4641.1Spooka380	UNIMPL		fgetxattr
4651.1Spooka381	UNIMPL		listxattr
4661.1Spooka382	UNIMPL		llistxattr
4671.1Spooka383	UNIMPL		flistxattr
4681.1Spooka384	UNIMPL		removexattr
4691.1Spooka385	UNIMPL		lremovexattr
4701.1Spooka386	UNIMPL		fremovexattr
4711.1Spooka387	UNIMPL		stat30
4721.1Spooka388	UNIMPL		fstat30
4731.1Spooka389	UNIMPL		lstat30
4741.1Spooka390	NODEF		{ int|rump_cygwin_sys||getdents(int fd, \
4751.1Spooka			    char *buf, size_t nbytes); }
4761.1Spooka391	UNIMPL		old posix_fadvise
4771.1Spooka392	UNIMPL		fhstat
4781.1Spooka393	UNIMPL		ntp_gettime
4791.1Spooka394	UNIMPL		socket
4801.1Spooka395	UNIMPL		getfh
4811.1Spooka396	UNIMPL		fhopen
4821.1Spooka397	UNIMPL		fhstatvfs1
4831.1Spooka398	UNIMPL		fhstat
4841.1Spooka
4851.1Spooka; Asynchronous I/O system calls
4861.1Spooka399	UNIMPL		aio_cancel
4871.1Spooka400	UNIMPL		aio_error
4881.1Spooka401	UNIMPL		aio_fsync
4891.1Spooka402	UNIMPL		aio_read
4901.1Spooka403	UNIMPL		aio_return
4911.1Spooka404	UNIMPL		aio_suspend
4921.1Spooka405	UNIMPL		aio_write
4931.1Spooka406	UNIMPL		lio_listio
4941.1Spooka
4951.1Spooka407	UNIMPL
4961.1Spooka408	UNIMPL
4971.1Spooka409	UNIMPL
4981.1Spooka
4991.1Spooka410	UNIMPL		mount
5001.1Spooka411	UNIMPL		mremap
5011.1Spooka
5021.1Spooka; Processor-sets system calls
5031.1Spooka412	UNIMPL		pset_create
5041.1Spooka413	UNIMPL		pset_destroy
5051.1Spooka414	UNIMPL		pset_assign
5061.1Spooka415	UNIMPL		_pset_bind
5071.1Spooka416	UNIMPL		fadvise
5081.1Spooka417	UNIMPL		select
5091.1Spooka418	UNIMPL		gettimeofday
5101.1Spooka419	UNIMPL		settimeofday
5111.1Spooka420	UNIMPL		utimes
5121.1Spooka421	UNIMPL		adjtime
5131.1Spooka422	UNIMPL		lfs_segwait
5141.1Spooka423	UNIMPL		futimes
5151.1Spooka424	UNIMPL		lutimes
5161.1Spooka425	UNIMPL		setitimer
5171.1Spooka426	UNIMPL		getitimer
5181.1Spooka427	UNIMPL		clock_gettime
5191.1Spooka428	UNIMPL		clock_settime
5201.1Spooka429	UNIMPL		clock_getres
5211.1Spooka430	UNIMPL		nanosleep
5221.1Spooka431	UNIMPL		__sigtimedwait
5231.1Spooka432	UNIMPL		mq_timedsend
5241.1Spooka433	UNIMPL		mq_timedreceive
5251.1Spooka434	UNIMPL		_lwp_park
5261.1Spooka435	UNIMPL		kevent
5271.1Spooka436	UNIMPL		pselect
5281.1Spooka437	UNIMPL		ppoll
5291.1Spooka438	UNIMPL		aio_suspend
5301.1Spooka439	NODEF 		{ int|rump_cygwin_sys||stat(const char *path, \
5311.1Spooka			    struct cygwin_stat *sp); }
5321.1Spooka440	NODEF 		{ int|rump_cygwin_sys||fstat(int fd, \
5331.1Spooka			    struct cygwin_stat *sp); }
5341.1Spooka441	NODEF 		{ int|rump_cygwin_sys||lstat(const char *path, \
5351.1Spooka			    struct cygwin_stat *sp); }
5361.1Spooka442	UNIMPL		__semctl
5371.1Spooka443	UNIMPL		shmctl
5381.1Spooka444	UNIMPL		msgctl
5391.1Spooka445	UNIMPL		getrusage
5401.1Spooka446	UNIMPL		timer_settime
5411.1Spooka447	UNIMPL		timer_gettime
5421.1Spooka448	UNIMPL		ntp_gettime
5431.1Spooka449	UNIMPL		wait4
5441.1Spooka450	NOARGS 		{ int|sys|50|mknod(const char *path, mode_t mode, \
5451.1Spooka			    int dev); }
5461.1Spooka451	UNIMPL		fhstat
5471.1Spooka
5481.1Spooka; 452 only ever appeared in 5.99.x and can be reused after netbsd-7
5491.1Spooka452	UNIMPL		5.99 quotactl
5501.1Spooka453	UNIMPL		pipe2
5511.1Spooka454	UNIMPL		dup3
5521.1Spooka455	UNIMPL		kqueue1
5531.1Spooka456	UNIMPL		paccept
5541.1Spooka457	UNIMPL		linkat
5551.1Spooka458	UNIMPL		renameat
5561.1Spooka459	UNIMPL		mkfifoat
5571.1Spooka460	UNIMPL		mknodat
5581.1Spooka461	UNIMPL		mkdirat
5591.1Spooka462	UNIMPL		faccessat
5601.1Spooka463	UNIMPL		fchmodat
5611.1Spooka464	UNIMPL		fchownat
5621.1Spooka465	UNIMPL		fexecve
5631.1Spooka466	UNIMPL		fstatat
5641.1Spooka467	UNIMPL		utimensat
5651.1Spooka468	UNIMPL		openat
5661.1Spooka469	UNIMPL		readlinkat
5671.1Spooka470	UNIMPL		symlinkat
5681.1Spooka471	UNIMPL		unlinkat
5691.1Spooka472	UNIMPL		futimens
5701.1Spooka473	UNIMPL		__quotactl
5711.1Spooka474	UNIMPL		posix_spawn
5721.1Spooka475	UNIMPL		recvmmsg
5731.1Spooka476	UNIMPL		sendmmsg
574