head	1.42;
access;
symbols
	perseant-exfatfs-base-20250801:1.42
	perseant-exfatfs-base-20240630:1.42
	perseant-exfatfs:1.42.0.14
	perseant-exfatfs-base:1.42
	netbsd-8-3-RELEASE:1.41
	bouyer-sunxi-drm:1.42.0.12
	bouyer-sunxi-drm-base:1.42
	cjep_sun2x:1.42.0.10
	cjep_sun2x-base:1.42
	cjep_staticlib_x-base1:1.42
	cjep_staticlib_x:1.42.0.8
	cjep_staticlib_x-base:1.42
	thorpej-futex-base:1.42
	bouyer-xenpvh-base2:1.42
	phil-wifi-20200421:1.42
	bouyer-xenpvh-base1:1.42
	phil-wifi-20200411:1.42
	bouyer-xenpvh:1.42.0.6
	bouyer-xenpvh-base:1.42
	phil-wifi-20200406:1.42
	netbsd-8-2-RELEASE:1.41
	ad-namecache-base3:1.42
	ad-namecache-base2:1.42
	ad-namecache-base1:1.42
	ad-namecache:1.42.0.4
	ad-namecache-base:1.42
	netbsd-8-1-RELEASE:1.41
	netbsd-8-1-RC1:1.41
	isaki-audio2:1.42.0.2
	isaki-audio2-base:1.42
	pgoyette-compat-merge-20190127:1.41.28.1
	pgoyette-compat-20190127:1.42
	pgoyette-compat-20190118:1.42
	pgoyette-compat-1226:1.41
	pgoyette-compat-1126:1.41
	pgoyette-compat-1020:1.41
	pgoyette-compat-0930:1.41
	pgoyette-compat-0906:1.41
	netbsd-7-2-RELEASE:1.41
	pgoyette-compat-0728:1.41
	netbsd-8-0-RELEASE:1.41
	phil-wifi:1.41.0.30
	phil-wifi-base:1.41
	pgoyette-compat-0625:1.41
	netbsd-8-0-RC2:1.41
	pgoyette-compat-0521:1.41
	pgoyette-compat-0502:1.41
	pgoyette-compat-0422:1.41
	netbsd-8-0-RC1:1.41
	pgoyette-compat-0415:1.41
	pgoyette-compat-0407:1.41
	pgoyette-compat-0330:1.41
	pgoyette-compat-0322:1.41
	pgoyette-compat-0315:1.41
	netbsd-7-1-2-RELEASE:1.41
	pgoyette-compat:1.41.0.28
	pgoyette-compat-base:1.41
	netbsd-7-1-1-RELEASE:1.41
	tls-maxphys-base-20171202:1.41
	matt-nb8-mediatek:1.41.0.26
	matt-nb8-mediatek-base:1.41
	nick-nhusb-base-20170825:1.41
	perseant-stdc-iso10646:1.41.0.24
	perseant-stdc-iso10646-base:1.41
	netbsd-8:1.41.0.22
	netbsd-8-base:1.41
	prg-localcount2-base3:1.41
	prg-localcount2-base2:1.41
	prg-localcount2-base1:1.41
	prg-localcount2:1.41.0.20
	prg-localcount2-base:1.41
	pgoyette-localcount-20170426:1.41
	bouyer-socketcan-base1:1.41
	jdolecek-ncq:1.41.0.18
	jdolecek-ncq-base:1.41
	pgoyette-localcount-20170320:1.41
	netbsd-7-1:1.41.0.16
	netbsd-7-1-RELEASE:1.41
	netbsd-7-1-RC2:1.41
	nick-nhusb-base-20170204:1.41
	netbsd-7-nhusb-base-20170116:1.41
	bouyer-socketcan:1.41.0.14
	bouyer-socketcan-base:1.41
	pgoyette-localcount-20170107:1.41
	netbsd-7-1-RC1:1.41
	nick-nhusb-base-20161204:1.41
	pgoyette-localcount-20161104:1.41
	netbsd-7-0-2-RELEASE:1.41
	nick-nhusb-base-20161004:1.41
	localcount-20160914:1.41
	netbsd-7-nhusb:1.41.0.12
	netbsd-7-nhusb-base:1.41
	pgoyette-localcount-20160806:1.41
	pgoyette-localcount-20160726:1.41
	pgoyette-localcount:1.41.0.10
	pgoyette-localcount-base:1.41
	nick-nhusb-base-20160907:1.41
	nick-nhusb-base-20160529:1.41
	netbsd-7-0-1-RELEASE:1.41
	nick-nhusb-base-20160422:1.41
	nick-nhusb-base-20160319:1.41
	nick-nhusb-base-20151226:1.41
	netbsd-7-0:1.41.0.8
	netbsd-7-0-RELEASE:1.41
	nick-nhusb-base-20150921:1.41
	netbsd-7-0-RC3:1.41
	netbsd-7-0-RC2:1.41
	netbsd-7-0-RC1:1.41
	nick-nhusb-base-20150606:1.41
	nick-nhusb-base-20150406:1.41
	nick-nhusb:1.41.0.6
	nick-nhusb-base:1.41
	netbsd-5-2-3-RELEASE:1.35
	netbsd-5-1-5-RELEASE:1.35
	netbsd-6-0-6-RELEASE:1.38
	netbsd-6-1-5-RELEASE:1.38
	netbsd-7:1.41.0.4
	netbsd-7-base:1.41
	yamt-pagecache-base9:1.41
	yamt-pagecache-tag8:1.38
	netbsd-6-1-4-RELEASE:1.38
	netbsd-6-0-5-RELEASE:1.38
	tls-earlyentropy:1.41.0.2
	tls-earlyentropy-base:1.41
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.41
	riastradh-drm2-base3:1.41
	netbsd-6-1-3-RELEASE:1.38
	netbsd-6-0-4-RELEASE:1.38
	netbsd-5-2-2-RELEASE:1.35
	netbsd-5-1-4-RELEASE:1.35
	netbsd-6-1-2-RELEASE:1.38
	netbsd-6-0-3-RELEASE:1.38
	netbsd-5-2-1-RELEASE:1.35
	netbsd-5-1-3-RELEASE:1.35
	rmind-smpnet-nbase:1.41
	netbsd-6-1-1-RELEASE:1.38
	riastradh-drm2-base2:1.40
	riastradh-drm2-base1:1.40
	riastradh-drm2:1.40.0.4
	riastradh-drm2-base:1.40
	rmind-smpnet:1.40.0.2
	rmind-smpnet-base:1.41
	netbsd-6-1:1.38.0.28
	netbsd-6-0-2-RELEASE:1.38
	netbsd-6-1-RELEASE:1.38
	khorben-n900:1.38.0.26
	netbsd-6-1-RC4:1.38
	netbsd-6-1-RC3:1.38
	agc-symver:1.38.0.24
	agc-symver-base:1.38
	netbsd-6-1-RC2:1.38
	netbsd-6-1-RC1:1.38
	yamt-pagecache-base8:1.38
	netbsd-5-2:1.35.0.18
	netbsd-6-0-1-RELEASE:1.38
	yamt-pagecache-base7:1.38
	netbsd-5-2-RELEASE:1.35
	netbsd-5-2-RC1:1.35
	matt-nb6-plus-nbase:1.38
	yamt-pagecache-base6:1.38
	netbsd-6-0:1.38.0.20
	netbsd-6-0-RELEASE:1.38
	netbsd-6-0-RC2:1.38
	tls-maxphys:1.38.0.18
	tls-maxphys-base:1.41
	matt-nb6-plus:1.38.0.16
	matt-nb6-plus-base:1.38
	netbsd-6-0-RC1:1.38
	jmcneill-usbmp-base10:1.38
	yamt-pagecache-base5:1.38
	jmcneill-usbmp-base9:1.38
	yamt-pagecache-base4:1.38
	jmcneill-usbmp-base8:1.38
	jmcneill-usbmp-base7:1.38
	jmcneill-usbmp-base6:1.38
	jmcneill-usbmp-base5:1.38
	jmcneill-usbmp-base4:1.38
	jmcneill-usbmp-base3:1.38
	jmcneill-usbmp-pre-base2:1.38
	jmcneill-usbmp-base2:1.38
	netbsd-6:1.38.0.14
	netbsd-6-base:1.38
	netbsd-5-1-2-RELEASE:1.35
	netbsd-5-1-1-RELEASE:1.35
	jmcneill-usbmp:1.38.0.12
	jmcneill-usbmp-base:1.38
	jmcneill-audiomp3:1.38.0.10
	jmcneill-audiomp3-base:1.38
	yamt-pagecache-base3:1.38
	yamt-pagecache-base2:1.38
	yamt-pagecache:1.38.0.8
	yamt-pagecache-base:1.38
	rmind-uvmplock-nbase:1.38
	cherry-xenmp:1.38.0.6
	cherry-xenmp-base:1.38
	bouyer-quota2-nbase:1.38
	bouyer-quota2:1.38.0.4
	bouyer-quota2-base:1.38
	jruoho-x86intr:1.38.0.2
	jruoho-x86intr-base:1.38
	matt-mips64-premerge-20101231:1.38
	matt-nb5-mips64-premerge-20101231:1.35
	matt-nb5-pq3:1.35.0.16
	matt-nb5-pq3-base:1.35
	netbsd-5-1:1.35.0.14
	netbsd-5-1-RELEASE:1.35
	uebayasi-xip-base4:1.38
	uebayasi-xip-base3:1.38
	yamt-nfs-mp-base11:1.38
	netbsd-5-1-RC4:1.35
	matt-nb5-mips64-k15:1.35
	uebayasi-xip-base2:1.38
	yamt-nfs-mp-base10:1.38
	netbsd-5-1-RC3:1.35
	netbsd-5-1-RC2:1.35
	uebayasi-xip-base1:1.37
	netbsd-5-1-RC1:1.35
	rmind-uvmplock:1.37.0.6
	rmind-uvmplock-base:1.38
	yamt-nfs-mp-base9:1.37
	uebayasi-xip:1.37.0.4
	uebayasi-xip-base:1.37
	netbsd-5-0-2-RELEASE:1.35
	matt-nb5-mips64-premerge-20091211:1.35
	matt-premerge-20091211:1.37
	yamt-nfs-mp-base8:1.37
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.35
	matt-nb4-mips64-k7-u2a-k9b:1.35
	matt-nb5-mips64-u1-k1-k5:1.35
	yamt-nfs-mp-base7:1.37
	matt-nb5-mips64:1.35.0.12
	netbsd-5-0-1-RELEASE:1.35
	jymxensuspend-base:1.37
	yamt-nfs-mp-base6:1.37
	yamt-nfs-mp-base5:1.37
	yamt-nfs-mp-base4:1.37
	jym-xensuspend-nbase:1.37
	yamt-nfs-mp-base3:1.37
	nick-hppapmap-base4:1.37
	nick-hppapmap-base3:1.37
	netbsd-5-0:1.35.0.10
	netbsd-5-0-RELEASE:1.35
	netbsd-5-0-RC4:1.35
	netbsd-5-0-RC3:1.35
	nick-hppapmap-base2:1.37
	netbsd-5-0-RC2:1.35
	jym-xensuspend:1.37.0.2
	jym-xensuspend-base:1.37
	netbsd-5-0-RC1:1.35
	haad-dm-base2:1.35
	haad-nbase2:1.35
	ad-audiomp2:1.35.0.8
	ad-audiomp2-base:1.35
	christos-time_t-nbase:1.35
	netbsd-5:1.35.0.6
	netbsd-5-base:1.35
	nick-hppapmap:1.35.0.4
	nick-hppapmap-base:1.37
	matt-mips64-base2:1.35
	matt-mips64:1.33.0.32
	haad-dm-base1:1.35
	wrstuden-revivesa-base-4:1.35
	netbsd-4-0-1-RELEASE:1.31
	wrstuden-revivesa-base-3:1.35
	wrstuden-revivesa-base-2:1.35
	wrstuden-fixsa-newbase:1.31
	nick-csl-alignment-base5:1.33
	haad-dm:1.35.0.2
	haad-dm-base:1.35
	wrstuden-revivesa-base-1:1.35
	simonb-wapbl-nbase:1.35
	yamt-pf42-base4:1.34
	simonb-wapbl:1.34.0.16
	simonb-wapbl-base:1.35
	yamt-pf42-base3:1.34
	hpcarm-cleanup-nbase:1.34
	yamt-pf42-baseX:1.34
	yamt-pf42-base2:1.34
	yamt-nfs-mp-base2:1.34
	wrstuden-revivesa:1.34.0.14
	wrstuden-revivesa-base:1.35
	yamt-nfs-mp:1.34.0.12
	yamt-nfs-mp-base:1.34
	yamt-pf42:1.34.0.10
	yamt-pf42-base:1.34
	christos-time_t:1.34.0.8
	christos-time_t-base:1.35
	ad-socklock-base1:1.34
	yamt-lazymbuf-base15:1.34
	yamt-lazymbuf-base14:1.34
	keiichi-mipv6-nbase:1.34
	mjf-devfs2:1.34.0.6
	mjf-devfs2-base:1.37
	nick-net80211-sync:1.34.0.4
	nick-net80211-sync-base:1.34
	keiichi-mipv6:1.34.0.2
	keiichi-mipv6-base:1.34
	bouyer-xeni386-merge1:1.33.28.1
	matt-armv6-prevmlocking:1.33
	wrstuden-fixsa-base-1:1.31
	vmlocking2-base3:1.34
	netbsd-4-0:1.31.0.30
	netbsd-4-0-RELEASE:1.31
	bouyer-xeni386-nbase:1.34
	yamt-kmem-base3:1.34
	cube-autoconf:1.33.0.30
	cube-autoconf-base:1.33
	yamt-kmem-base2:1.33
	bouyer-xeni386:1.33.0.28
	bouyer-xeni386-base:1.34
	yamt-kmem:1.33.0.26
	yamt-kmem-base:1.33
	vmlocking2-base2:1.33
	reinoud-bufcleanup-nbase:1.33
	vmlocking2:1.33.0.24
	vmlocking2-base1:1.33
	netbsd-4-0-RC5:1.31
	matt-nb4-arm:1.31.0.28
	matt-nb4-arm-base:1.31
	matt-armv6-nbase:1.34
	jmcneill-base:1.33
	netbsd-4-0-RC4:1.31
	mjf-devfs:1.33.0.22
	mjf-devfs-base:1.34
	bouyer-xenamd64-base2:1.33
	vmlocking-nbase:1.33
	yamt-x86pmap-base4:1.33
	bouyer-xenamd64:1.33.0.20
	bouyer-xenamd64-base:1.33
	netbsd-4-0-RC3:1.31
	yamt-x86pmap-base3:1.33
	yamt-x86pmap-base2:1.33
	netbsd-4-0-RC2:1.31
	yamt-x86pmap:1.33.0.18
	yamt-x86pmap-base:1.33
	netbsd-4-0-RC1:1.31
	matt-armv6:1.33.0.16
	matt-armv6-base:1.34
	matt-mips64-base:1.33
	jmcneill-pm:1.33.0.14
	jmcneill-pm-base:1.33
	hpcarm-cleanup:1.33.0.12
	hpcarm-cleanup-base:1.34
	nick-csl-alignment:1.33.0.10
	nick-csl-alignment-base:1.33
	netbsd-3-1-1-RELEASE:1.30
	netbsd-3-0-3-RELEASE:1.30
	yamt-idlelwp-base8:1.33
	wrstuden-fixsa:1.31.0.26
	wrstuden-fixsa-base:1.31
	thorpej-atomic:1.33.0.8
	thorpej-atomic-base:1.33
	reinoud-bufcleanup:1.33.0.6
	reinoud-bufcleanup-base:1.33
	mjf-ufs-trans:1.33.0.4
	mjf-ufs-trans-base:1.33
	vmlocking:1.33.0.2
	vmlocking-base:1.33
	ad-audiomp:1.32.0.4
	ad-audiomp-base:1.32
	yamt-idlelwp:1.32.0.2
	post-newlock2-merge:1.32
	newlock2-nbase:1.31
	yamt-splraiseipl-base5:1.31
	yamt-splraiseipl-base4:1.31
	yamt-splraiseipl-base3:1.31
	abandoned-netbsd-4-base:1.31
	abandoned-netbsd-4:1.31.0.18
	netbsd-3-1:1.30.0.28
	netbsd-3-1-RELEASE:1.30
	netbsd-3-0-2-RELEASE:1.30
	yamt-splraiseipl-base2:1.31
	netbsd-3-1-RC4:1.30
	yamt-splraiseipl:1.31.0.22
	yamt-splraiseipl-base:1.31
	netbsd-3-1-RC3:1.30
	yamt-pdpolicy-base9:1.31
	newlock2:1.31.0.20
	newlock2-base:1.31
	yamt-pdpolicy-base8:1.31
	netbsd-3-1-RC2:1.30
	netbsd-3-1-RC1:1.30
	yamt-pdpolicy-base7:1.31
	netbsd-4:1.31.0.24
	netbsd-4-base:1.31
	yamt-pdpolicy-base6:1.31
	chap-midi-nbase:1.31
	netbsd-3-0-1-RELEASE:1.30
	gdamore-uart:1.31.0.16
	gdamore-uart-base:1.31
	simonb-timcounters-final:1.31
	yamt-pdpolicy-base5:1.31
	chap-midi:1.31.0.14
	chap-midi-base:1.31
	yamt-pdpolicy-base4:1.31
	yamt-pdpolicy-base3:1.31
	peter-altq-base:1.31
	peter-altq:1.31.0.12
	yamt-pdpolicy-base2:1.31
	elad-kernelauth-base:1.31
	elad-kernelauth:1.31.0.10
	yamt-pdpolicy:1.31.0.8
	yamt-pdpolicy-base:1.31
	yamt-uio_vmspace-base5:1.31
	simonb-timecounters:1.31.0.6
	simonb-timecounters-base:1.31
	rpaulo-netinet-merge-pcb:1.31.0.4
	rpaulo-netinet-merge-pcb-base:1.31
	yamt-uio_vmspace:1.31.0.2
	netbsd-3-0:1.30.0.26
	netbsd-3-0-RELEASE:1.30
	netbsd-3-0-RC6:1.30
	yamt-readahead-base3:1.30
	netbsd-3-0-RC5:1.30
	netbsd-3-0-RC4:1.30
	netbsd-3-0-RC3:1.30
	yamt-readahead-base2:1.30
	netbsd-3-0-RC2:1.30
	yamt-readahead-pervnode:1.30
	yamt-readahead-perfile:1.30
	yamt-readahead:1.30.0.24
	yamt-readahead-base:1.30
	netbsd-3-0-RC1:1.30
	yamt-vop-base3:1.30
	netbsd-2-0-3-RELEASE:1.30
	netbsd-2-1:1.30.0.22
	yamt-vop-base2:1.30
	thorpej-vnode-attr:1.30.0.20
	thorpej-vnode-attr-base:1.30
	netbsd-2-1-RELEASE:1.30
	yamt-vop:1.30.0.18
	yamt-vop-base:1.30
	netbsd-2-1-RC6:1.30
	netbsd-2-1-RC5:1.30
	netbsd-2-1-RC4:1.30
	netbsd-2-1-RC3:1.30
	netbsd-2-1-RC2:1.30
	netbsd-2-1-RC1:1.30
	yamt-lazymbuf:1.30.0.16
	yamt-km-base4:1.30
	netbsd-2-0-2-RELEASE:1.30
	yamt-km-base3:1.30
	netbsd-3:1.30.0.14
	netbsd-3-base:1.30
	yamt-km-base2:1.30
	yamt-km:1.30.0.10
	yamt-km-base:1.30
	kent-audio2:1.30.0.8
	kent-audio2-base:1.30
	netbsd-2-0-1-RELEASE:1.30
	kent-audio1-beforemerge:1.30
	netbsd-2:1.30.0.6
	netbsd-2-base:1.30
	kent-audio1:1.30.0.4
	kent-audio1-base:1.30
	netbsd-2-0-RELEASE:1.30
	netbsd-2-0-RC5:1.30
	netbsd-2-0-RC4:1.30
	netbsd-2-0-RC3:1.30
	netbsd-2-0-RC2:1.30
	netbsd-2-0-RC1:1.30
	netbsd-2-0:1.30.0.2
	netbsd-2-0-base:1.30
	netbsd-1-6-PATCH002-RELEASE:1.26
	netbsd-1-6-PATCH002:1.26
	netbsd-1-6-PATCH002-RC4:1.26
	netbsd-1-6-PATCH002-RC3:1.26
	netbsd-1-6-PATCH002-RC2:1.26
	netbsd-1-6-PATCH002-RC1:1.26
	ktrace-lwp:1.27.0.2
	ktrace-lwp-base:1.30
	netbsd-1-6-PATCH001:1.26
	netbsd-1-6-PATCH001-RELEASE:1.26
	netbsd-1-6-PATCH001-RC3:1.26
	netbsd-1-6-PATCH001-RC2:1.26
	netbsd-1-6-PATCH001-RC1:1.26
	nathanw_sa_end:1.25.2.2
	nathanw_sa_before_merge:1.26
	fvdl_fs64_base:1.26
	gmcgarry_ctxsw:1.26.0.20
	gmcgarry_ctxsw_base:1.26
	gmcgarry_ucred:1.26.0.18
	gmcgarry_ucred_base:1.26
	nathanw_sa_base:1.26
	kqueue-aftermerge:1.26
	kqueue-beforemerge:1.26
	netbsd-1-6-RELEASE:1.26
	netbsd-1-6-RC3:1.26
	netbsd-1-6-RC2:1.26
	netbsd-1-6-RC1:1.26
	netbsd-1-6:1.26.0.16
	netbsd-1-6-base:1.26
	gehenna-devsw:1.26.0.14
	gehenna-devsw-base:1.26
	netbsd-1-5-PATCH003:1.21.4.1
	eeh-devprop:1.26.0.12
	eeh-devprop-base:1.26
	newlock:1.26.0.10
	newlock-base:1.26
	ifpoll-base:1.26
	thorpej-mips-cache:1.26.0.6
	thorpej-mips-cache-base:1.26
	thorpej-devvp-base3:1.26
	thorpej-devvp-base2:1.26
	post-chs-ubcperf:1.26
	pre-chs-ubcperf:1.26
	thorpej-devvp:1.26.0.4
	thorpej-devvp-base:1.26
	netbsd-1-5-PATCH002:1.21.4.1
	kqueue:1.26.0.2
	kqueue-base:1.26
	netbsd-1-5-PATCH001:1.21.4.1
	thorpej_scsipi_beforemerge:1.25
	nathanw_sa:1.25.0.2
	thorpej_scsipi_nbase:1.25
	netbsd-1-5-RELEASE:1.21.4.1
	netbsd-1-5-BETA2:1.21.4.1
	netbsd-1-5-BETA:1.21.4.1
	netbsd-1-4-PATCH003:1.20
	netbsd-1-5-ALPHA2:1.21
	netbsd-1-5:1.21.0.4
	netbsd-1-5-base:1.21
	minoura-xpg4dl-base:1.21
	minoura-xpg4dl:1.21.0.2
	netbsd-1-4-PATCH002:1.20
	chs-ubc2-newbase:1.21
	wrstuden-devbsize-19991221:1.20
	wrstuden-devbsize:1.20.0.14
	wrstuden-devbsize-base:1.20
	kame_141_19991130:1.20
	comdex-fall-1999:1.20.0.12
	comdex-fall-1999-base:1.20
	fvdl-softdep:1.20.0.10
	fvdl-softdep-base:1.20
	thorpej_scsipi:1.20.0.8
	thorpej_scsipi_base:1.25
	netbsd-1-4-PATCH001:1.20
	kame_14_19990705:1.20
	kame_14_19990628:1.20
	kame:1.20.0.6
	chs-ubc2:1.20.0.4
	chs-ubc2-base:1.20
	netbsd-1-4-RELEASE:1.20
	netbsd-1-4:1.20.0.2
	netbsd-1-4-base:1.20
	netbsd-1-3-PATCH003:1.10.14.1
	netbsd-1-3-PATCH003-CANDIDATE2:1.10.14.1
	kenh-if-detach:1.17.0.4
	kenh-if-detach-base:1.17
	netbsd-1-3-PATCH003-CANDIDATE1:1.10.14.1
	netbsd-1-3-PATCH003-CANDIDATE0:1.10.14.1
	chs-ubc:1.17.0.2
	chs-ubc-base:1.17
	eeh-paddr_t:1.14.0.2
	eeh-paddr_t-base:1.14
	netbsd-1-3-PATCH002:1.10.14.1
	netbsd-1-3-PATCH001:1.10
	netbsd-1-3-RELEASE:1.10
	netbsd-1-3-BETA:1.10
	netbsd-1-3:1.10.0.14
	netbsd-1-3-base:1.10
	thorpej-signal:1.10.0.12
	thorpej-signal-base:1.10
	marc-pcmcia:1.10.0.10
	marc-pcmcia-bp:1.10
	marc-pcmcia-base:1.10
	bouyer-scsipi:1.10.0.8
	is-newarp-before-merge:1.10
	is-newarp:1.10.0.6
	is-newarp-base:1.10
	netbsd-1-2-PATCH001:1.8
	mrg-vm-swap:1.10.0.4
	thorpej-setroot:1.10.0.2
	netbsd-1-2-RELEASE:1.8
	netbsd-1-2-BETA:1.8
	netbsd-1-2:1.8.0.4
	netbsd-1-2-base:1.8
	date-03-may-96:1.1.1.1
	netbsd:1.1.1
	netbsd-1-1-PATCH001:1.6
	netbsd-1-1-RELEASE:1.6
	netbsd-1-1:1.6.0.2
	netbsd-1-1-base:1.6
	netbsd-1-0-PATCH06:1.2
	netbsd-1-0-PATCH05:1.2
	netbsd-1-0-PATCH04:1.2
	netbsd-1-0-PATCH03:1.2
	netbsd-1-0-PATCH02:1.2
	netbsd-1-0-PATCH1:1.2
	netbsd-1-0-PATCH0:1.2
	netbsd-1-0-RELEASE:1.2
	netbsd-1-0:1.2.0.2
	netbsd-1-0-base:1.1;
locks; strict;
comment	@# @;


1.42
date	2018.12.29.11.30.12;	author maxv;	state dead;
branches;
next	1.41;
commitid	3CBMnhBkMVRuDG5B;

1.41
date	2013.11.07.19.37.18;	author njoly;	state Exp;
branches
	1.41.28.1
	1.41.30.1;
next	1.40;

1.40
date	2013.06.26.16.29.41;	author christos;	state Exp;
branches
	1.40.2.1;
next	1.39;

1.39
date	2013.06.25.04.10.17;	author riz;	state Exp;
branches;
next	1.38;

1.38
date	2010.07.23.02.46.12;	author christos;	state Exp;
branches
	1.38.8.1
	1.38.18.1;
next	1.37;

1.37
date	2009.01.13.22.27.43;	author pooka;	state Exp;
branches
	1.37.4.1
	1.37.6.1;
next	1.36;

1.36
date	2009.01.11.02.45.48;	author christos;	state Exp;
branches;
next	1.35;

1.35
date	2008.06.19.12.24.22;	author hans;	state Exp;
branches
	1.35.4.1;
next	1.34;

1.34
date	2007.12.12.22.04.30;	author dsl;	state Exp;
branches
	1.34.6.1
	1.34.8.1
	1.34.12.1
	1.34.14.1
	1.34.16.1;
next	1.33;

1.33
date	2007.03.04.06.01.17;	author christos;	state Exp;
branches
	1.33.16.1
	1.33.24.1
	1.33.26.1
	1.33.28.1;
next	1.32;

1.32
date	2007.02.09.21.55.18;	author ad;	state Exp;
branches
	1.32.2.1;
next	1.31;

1.31
date	2005.12.11.12.20.03;	author christos;	state Exp;
branches
	1.31.20.1;
next	1.30;

1.30
date	2004.03.26.15.18.54;	author drochner;	state Exp;
branches
	1.30.16.1;
next	1.29;

1.29
date	2003.09.13.18.44.30;	author christos;	state Exp;
branches;
next	1.28;

1.28
date	2003.09.10.19.47.40;	author christos;	state Exp;
branches;
next	1.27;

1.27
date	2003.01.18.07.40.46;	author thorpej;	state Exp;
branches
	1.27.2.1;
next	1.26;

1.26
date	2001.05.30.11.37.24;	author mrg;	state Exp;
branches;
next	1.25;

1.25
date	2000.12.09.07.10.35;	author mycroft;	state Exp;
branches
	1.25.2.1;
next	1.24;

1.24
date	2000.12.09.05.27.29;	author mycroft;	state Exp;
branches;
next	1.23;

1.23
date	2000.11.30.19.05.27;	author jdolecek;	state Exp;
branches;
next	1.22;

1.22
date	2000.08.11.22.14.07;	author matt;	state Exp;
branches;
next	1.21;

1.21
date	2000.01.10.03.10.15;	author matt;	state Exp;
branches
	1.21.4.1;
next	1.20;

1.20
date	99.02.09.20.22.37;	author christos;	state Exp;
branches
	1.20.8.1;
next	1.19;

1.19
date	98.12.18.18.49.59;	author drochner;	state Exp;
branches;
next	1.18;

1.18
date	98.12.10.17.03.20;	author christos;	state Exp;
branches;
next	1.17;

1.17
date	98.10.19.22.34.49;	author tron;	state Exp;
branches;
next	1.16;

1.16
date	98.09.12.00.47.13;	author mycroft;	state Exp;
branches;
next	1.15;

1.15
date	98.09.11.12.50.08;	author mycroft;	state Exp;
branches;
next	1.14;

1.14
date	98.03.05.04.36.08;	author scottb;	state Exp;
branches;
next	1.13;

1.13
date	98.02.19.00.40.25;	author thorpej;	state Exp;
branches;
next	1.12;

1.12
date	98.02.14.20.58.21;	author kleink;	state Exp;
branches;
next	1.11;

1.11
date	98.02.09.02.30.59;	author scottb;	state Exp;
branches;
next	1.10;

1.10
date	96.09.07.14.21.59;	author mycroft;	state Exp;
branches
	1.10.14.1;
next	1.9;

1.9
date	96.09.07.12.40.44;	author mycroft;	state Exp;
branches;
next	1.8;

1.8
date	96.01.07.06.09.43;	author mycroft;	state Exp;
branches;
next	1.7;

1.7
date	96.01.06.03.23.55;	author scottb;	state Exp;
branches;
next	1.6;

1.6
date	95.10.07.06.26.56;	author mycroft;	state Exp;
branches;
next	1.5;

1.5
date	95.08.14.01.27.43;	author mycroft;	state Exp;
branches;
next	1.4;

1.4
date	95.03.14.15.12.52;	author scottb;	state Exp;
branches;
next	1.3;

1.3
date	94.10.26.02.53.19;	author cgd;	state Exp;
branches;
next	1.2;

1.2
date	94.09.05.01.29.06;	author mycroft;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	94.08.24.19.14.29;	author mycroft;	state Exp;
branches;
next	;

1.41.28.1
date	2019.01.18.08.50.25;	author pgoyette;	state dead;
branches;
next	;
commitid	Lmlzg3OVT2cd6f8B;

1.41.30.1
date	2019.06.10.22.06.58;	author christos;	state dead;
branches;
next	;
commitid	jtc8rnCzWiEEHGqB;

1.40.2.1
date	2014.05.18.17.45.31;	author rmind;	state Exp;
branches;
next	;

1.38.8.1
date	2014.05.22.11.40.15;	author yamt;	state Exp;
branches;
next	;

1.38.18.1
date	2014.08.20.00.03.31;	author tls;	state Exp;
branches;
next	;

1.37.4.1
date	2010.08.17.06.45.39;	author uebayasi;	state Exp;
branches;
next	;

1.37.6.1
date	2011.03.05.20.52.40;	author rmind;	state Exp;
branches;
next	;

1.35.4.1
date	2009.01.19.13.17.22;	author skrll;	state Exp;
branches;
next	;

1.34.6.1
date	2008.06.29.09.33.03;	author mjf;	state Exp;
branches;
next	1.34.6.2;

1.34.6.2
date	2009.01.17.13.28.42;	author mjf;	state Exp;
branches;
next	;

1.34.8.1
date	2008.03.29.20.46.58;	author christos;	state Exp;
branches;
next	1.34.8.2;

1.34.8.2
date	2008.11.01.21.22.26;	author christos;	state Exp;
branches;
next	;

1.34.12.1
date	2009.05.04.08.12.19;	author yamt;	state Exp;
branches;
next	1.34.12.2;

1.34.12.2
date	2010.08.11.22.53.02;	author yamt;	state Exp;
branches;
next	;

1.34.14.1
date	2008.05.10.23.48.49;	author wrstuden;	state Exp;
branches;
next	1.34.14.2;

1.34.14.2
date	2008.05.14.01.35.02;	author wrstuden;	state Exp;
branches;
next	1.34.14.3;

1.34.14.3
date	2008.06.23.04.30.52;	author wrstuden;	state Exp;
branches;
next	;

1.34.16.1
date	2008.06.27.15.11.19;	author simonb;	state Exp;
branches;
next	;

1.33.16.1
date	2008.01.09.01.50.48;	author matt;	state Exp;
branches;
next	;

1.33.24.1
date	2007.12.26.19.48.59;	author ad;	state Exp;
branches;
next	;

1.33.26.1
date	2007.12.13.05.05.29;	author yamt;	state Exp;
branches;
next	;

1.33.28.1
date	2007.12.13.21.55.10;	author bouyer;	state Exp;
branches;
next	;

1.32.2.1
date	2007.03.12.05.52.12;	author rmind;	state Exp;
branches;
next	;

1.31.20.1
date	2007.01.30.13.51.31;	author ad;	state Exp;
branches;
next	;

1.30.16.1
date	2007.02.26.09.09.10;	author yamt;	state Exp;
branches;
next	1.30.16.2;

1.30.16.2
date	2007.09.03.14.32.07;	author yamt;	state Exp;
branches;
next	1.30.16.3;

1.30.16.3
date	2008.01.21.09.41.02;	author yamt;	state Exp;
branches;
next	;

1.27.2.1
date	2004.08.03.10.43.46;	author skrll;	state Exp;
branches;
next	1.27.2.2;

1.27.2.2
date	2004.09.18.14.43.16;	author skrll;	state Exp;
branches;
next	1.27.2.3;

1.27.2.3
date	2004.09.21.13.25.13;	author skrll;	state Exp;
branches;
next	;

1.25.2.1
date	2001.06.21.19.59.23;	author nathanw;	state Exp;
branches;
next	1.25.2.2;

1.25.2.2
date	2002.05.29.21.32.27;	author nathanw;	state Exp;
branches;
next	;

1.21.4.1
date	2000.09.05.01.00.54;	author matt;	state Exp;
branches;
next	;

1.20.8.1
date	2000.11.20.18.08.17;	author bouyer;	state Exp;
branches;
next	1.20.8.2;

1.20.8.2
date	2000.12.08.09.08.20;	author bouyer;	state Exp;
branches;
next	1.20.8.3;

1.20.8.3
date	2000.12.13.15.49.44;	author bouyer;	state Exp;
branches;
next	;

1.10.14.1
date	98.05.05.09.40.00;	author mycroft;	state Exp;
branches;
next	;

1.2.2.1
date	94.09.05.01.29.06;	author mycroft;	state dead;
branches;
next	1.2.2.2;

1.2.2.2
date	94.09.05.01.29.07;	author mycroft;	state Exp;
branches;
next	;


desc
@@


1.42
log
@Retire compat_ibcs2, as discussed on tech-kern@@. FreeBSD did the same
recently.
@
text
@	$NetBSD: syscalls.master,v 1.41 2013/11/07 19:37:18 njoly Exp $

;	@@(#)syscalls.master	8.1 (Berkeley) 7/19/93

; NetBSD COMPAT_IBCS2 system call name/number "master" file.
; (See syscalls.conf to see what it is processed into.)
;
; Fields: number type [type-dependent ...]
;	number	system call number, must be in order
;	type	one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of
;		the compatibility options defined in syscalls.conf.
;
; types:
;	STD	always included
;	OBSOL	obsolete, not included in system
;	UNIMPL	unimplemented, not included in system
;	NODEF	included, but don't define the syscall number
;	NOARGS	included, but don't define the syscall args structure
;
; The compat options are defined in the syscalls.conf file, and the
; compat option name is prefixed to the syscall name.  Other than
; that, they're like NODEF (for 'compat' options), or STD (for
; 'libcompat' options).
;
; The type-dependent arguments are as follows:
; For STD, NODEF, NOARGS, and compat syscalls:
;	{ pseudo-proto } [alias]
; For other syscalls:
;	[comment]
;
; #ifdef's, etc. may be included, and are copied to the output files.
; #include's are copied to the syscall names and switch definition files only.

#if defined(_KERNEL_OPT)
#include "opt_sysv.h"
#endif

#include <sys/param.h>
#include <sys/systm.h>
#include <sys/signal.h>
#include <sys/mount.h>
#include <sys/sched.h>
#include <sys/syscallargs.h>

#include <compat/sys/time.h>

#include <compat/ibcs2/ibcs2_types.h>
#include <compat/ibcs2/ibcs2_signal.h>
#include <compat/ibcs2/ibcs2_syscallargs.h>
#include <compat/ibcs2/ibcs2_statfs.h>

%%

0	NOARGS		{ int|sys||nosys(void); } syscall
1	NOARGS		{ int|sys||exit(int rval); }
2	NOARGS		{ int|sys||fork(void); }
3	STD		{ int|ibcs2_sys||read(int fd, char *buf, u_int nbytes); }
4	NOARGS		{ int|sys||write(int fd, char *buf, u_int nbytes); }
5	STD		{ int|ibcs2_sys||open(const char *path, int flags, \
			    int mode); }
6	NOARGS		{ int|sys||close(int fd); }
7	STD		{ int|ibcs2_sys||waitsys(int a1, int a2, int a3); }
8	STD		{ int|ibcs2_sys||creat(const char *path, int mode); }
9	NOARGS		{ int|sys||link(char *path, char *link); }
10	NOARGS		{ int|sys||unlink(const char *path); }
11	STD		{ int|ibcs2_sys||execv(const char *path, char **argp); }
12	NOARGS		{ int|sys||chdir(const char *path); }
13	STD		{ int|ibcs2_sys||time(ibcs2_time_t *tp); }
14	STD		{ int|ibcs2_sys||mknod(const char* path, int mode, \
			    int dev); }
15	NOARGS		{ int|sys||chmod(const char *path, int mode); }
16	NOARGS		{ int|sys||__posix_chown(const char *path, int uid, \
			    int gid); }
17	NOARGS		{ int|sys||obreak(void *nsize); }
18	STD		{ int|ibcs2_sys||stat(const char* path, \
			    struct ibcs2_stat *st); }
19	NOARGS		{ long|compat_43_sys||lseek(int fd, long offset, \
			    int whence); }
20	NOARGS		{ pid_t|sys||getpid_with_ppid(void); }
21	STD		{ int|ibcs2_sys||mount(char *special, char *dir, \
			    int flags, int fstype, char *data, int len); }
22	STD		{ int|ibcs2_sys||umount(char *name); }
23	STD		{ int|ibcs2_sys||setuid(int uid); }
24	NOARGS		{ uid_t|sys||getuid_with_euid(void); }
25	STD		{ int|ibcs2_sys||stime(long *timep); }
26	UNIMPL		ibcs2_ptrace
27	STD		{ int|ibcs2_sys||alarm(unsigned sec); }
28	STD		{ int|ibcs2_sys||fstat(int fd, struct ibcs2_stat *st); }
29	STD		{ int|ibcs2_sys||pause(void); }
30	STD		{ int|ibcs2_sys||utime(const char *path, \
			    struct ibcs2_utimbuf *buf); }
31	UNIMPL		was stty
32	STD		{ int|ibcs2_sys||gtty(int fd, struct ibcs2_sgttyb *tb); }
33	STD		{ int|ibcs2_sys||access(const char *path, int flags); }
34	STD		{ int|ibcs2_sys||nice(int incr); }
35	STD		{ int|ibcs2_sys||statfs(const char *path, \
			    struct ibcs2_statfs *buf, int len, int fstype); }
36	NOARGS		{ int|sys||sync(void); }
37	STD		{ int|ibcs2_sys||kill(int pid, int signo); }
38	STD		{ int|ibcs2_sys||fstatfs(int fd, \
			    struct ibcs2_statfs *buf, int len, int fstype); }
39	STD		{ int|ibcs2_sys||pgrpsys(int type, void *dummy, \
			    int pid, int pgid); }
40	UNIMPL		ibcs2_xenix
41	NOARGS		{ int|sys||dup(int fd); }
42	NOARGS		{ int|sys||pipe(void); }
43	STD		{ int|ibcs2_sys||times(struct tms *tp); }
44	UNIMPL		profil
45	STD		{ int|ibcs2_sys||plock(int cmd); }
46	STD		{ int|ibcs2_sys||setgid(int gid); }
47	NOARGS		{ gid_t|sys||getgid_with_egid(void); }
48	STD		{ int|ibcs2_sys||sigsys(int sig, ibcs2_sig_t fp); }
#ifdef SYSVMSG
49	STD		{ int|ibcs2_sys||msgsys(int which, int a2, int a3, \
			    int a4, int a5, int a6); }
#else
49	UNIMPL		msgsys
#endif
50	STD		{ int|ibcs2_sys||sysmachine(int cmd, int arg); }
51	UNIMPL		ibcs2_acct
#ifdef SYSVSHM
52	STD		{ int|ibcs2_sys||shmsys(int which, int a2, int a3, \
			    int a4); }
#else
52	UNIMPL		shmsys
#endif
#ifdef SYSVSEM
53	STD		{ int|ibcs2_sys||semsys(int which, int a2, int a3, \
			    int a4, int a5); }
#else
53	UNIMPL		semsys
#endif
54	STD		{ int|ibcs2_sys||ioctl(int fd, int cmd, void *data); }
55	STD		{ int|ibcs2_sys||uadmin(int cmd, int func, \
			    void *data); }
56	UNIMPL
57	STD		{ int|ibcs2_sys||utssys(int a1, int a2, int flag); }
58	NOARGS		{ int|sys||fsync(int fd); }
59	STD		{ int|ibcs2_sys||execve(const char *path, char **argp, \
			    char **envp); }
60	NOARGS		{ int|sys||umask(int newmask); }
61	NOARGS		{ int|sys||chroot(char *path); }
62	STD		{ int|ibcs2_sys||fcntl(int fd, int cmd, char *arg); }
63	STD		{ long|ibcs2_sys||ulimit(int cmd, int newlimit); }
64	UNIMPL		reserved for unix/pc
65	UNIMPL		reserved for unix/pc
66	UNIMPL		reserved for unix/pc
67	UNIMPL		reserved for unix/pc
68	UNIMPL		reserved for unix/pc
69	UNIMPL		reserved for unix/pc
70	OBSOL		rfs_advfs
71	OBSOL		rfs_unadvfs
72	OBSOL		rfs_rmount
73	OBSOL		rfs_rumount
74	OBSOL		rfs_rfstart
75	OBSOL		rfs_sigret
76	OBSOL		rfs_rdebug
77	OBSOL		rfs_rfstop
78	UNIMPL		rfs_rfsys
79	NOARGS		{ int|sys||rmdir(const char *path); }
80	NOARGS		{ int|sys||mkdir(const char *path, int mode); }
81	STD		{ int|ibcs2_sys||getdents(int fd, char *buf, \
			    int nbytes); }
82	UNIMPL		libattach
83	UNIMPL		libdetach
84	STD		{ int|ibcs2_sys||sysfs(int cmd, void *d1, char *buf); }
85	STD		{ int|ibcs2_sys||getmsg(int fd, \
			    struct ibcs2_stropts *ctl, \
			    struct ibcs2_stropts *dat, int *flags); }
86	STD		{ int|ibcs2_sys||putmsg(int fd, \
			    struct ibcs2_stropts *ctl, \
			    struct ibcs2_stropts *dat, int flags); }
87	NOARGS		{ int|sys||poll(struct pollfd *fds, u_int nfds, \
			    int timeout); }
88	UNIMPL		unknown
89	UNIMPL		secure
90	NOARGS		{ int|sys||symlink(const char *path, \
			    const char *link); }
91	STD		{ int|ibcs2_sys||lstat(const char *path, \
			    struct ibcs2_stat *st); }
92	NOARGS		{ int|sys||readlink(const char *path, char *buf, \
			    int count); }
93	NOARGS		{ int|sys||fchmod(int fd, int mode); }
94	NOARGS		{ int|sys||__posix_fchown(int fd, int uid, int gid); } \
			    fchown
95	UNIMPL		sigprocmask
96	NOARGS		{ int|compat_16_sys|14|sigreturn(struct sigcontext \
			    *sigcntxp); } sigreturn
97	STD		{ int|ibcs2_sys||sigaltstack( \
			    const struct ibcs2_sigaltstack *nss, \
			    struct ibcs2_sigaltstack *oss); }
98	UNIMPL		sigaction
99	UNIMPL		sigpending
100	UNIMPL		getcontext/setcontext/sigsetjmp
101	UNIMPL		envsys
102	UNIMPL		evtrapret
103	STD		{ int|ibcs2_sys||statvfs(const char *path, \
			    struct ibcs2_statvfs *buf); }
104	STD		{ int|ibcs2_sys||fstatvfs(int fd, \
			    struct ibcs2_statvfs *buf); }
105	UNIMPL		isc
106	UNIMPL		nfssys
107	UNIMPL		waitsys
108	UNIMPL		sigsendsys
109	UNIMPL		hrtsys
110	UNIMPL		acancel
111	UNIMPL		async
112	UNIMPL		priocntlsys
113	UNIMPL		pathconf
114	UNIMPL		mincore
115	STD		{ ibcs2_caddr_t|ibcs2_sys||mmap(ibcs2_caddr_t addr, \
			    ibcs2_size_t len, int prot, int flags, int fd, \
			    ibcs2_off_t off); }
116     NOARGS          { int|sys||mprotect(void *addr, int len, int prot); }
117     NOARGS          { int|sys||munmap(void *addr, int len); }
118	UNIMPL		fpathconf
119	UNIMPL		vfork
120	NOARGS		{ int|sys||fchdir(int fd); }
121	NOARGS		{ int|sys||readv(int fd, struct iovec *iovp, u_int iovcnt); }
122	NOARGS		{ int|sys||writev(int fd, struct iovec *iovp, u_int iovcnt); }
123	UNIMPL		xstat
124	UNIMPL		lxstat
125	UNIMPL		fxstat
126	UNIMPL		xmknod
127	UNIMPL		clocal
128	UNIMPL		setrlimit
129	UNIMPL		getrlimit
130	UNIMPL		lchown
131	STD		{ int|ibcs2_sys||memcntl(ibcs2_caddr_t addr, \
                            ibcs2_size_t len, int cmd, ibcs2_caddr_t arg, \
                            int attr, int mask); }
132	UNIMPL		getpmsg
133	UNIMPL		putpmsg
134	UNIMPL		rename
135	UNIMPL		uname
136	UNIMPL		setegid
137	UNIMPL		sysconfig
138	UNIMPL		adjtime
139	UNIMPL		systeminfo
140	UNIMPL
141	UNIMPL		seteuid
142	UNIMPL
143	UNIMPL
144	UNIMPL
145	UNIMPL
146	UNIMPL
147	UNIMPL
148	UNIMPL
149	UNIMPL
150	UNIMPL
151	UNIMPL
152	UNIMPL
153	UNIMPL
154	UNIMPL
155	UNIMPL
156	UNIMPL
157	UNIMPL
158	UNIMPL
159	UNIMPL
160	UNIMPL
161	UNIMPL
162	UNIMPL
163	UNIMPL
164	UNIMPL
165	UNIMPL
166	UNIMPL
167	UNIMPL
168	UNIMPL
169	UNIMPL
170	UNIMPL
171	STD		{ int|ibcs2_sys||gettimeofday(struct timeval50 *tp); }
172	STD		{ int|ibcs2_sys||settimeofday(struct timeval50 *tp); }
173	UNIMPL
174	UNIMPL
175	UNIMPL
176	UNIMPL
177	UNIMPL
178	UNIMPL
179	UNIMPL
180	UNIMPL
181	UNIMPL
182	UNIMPL
183	UNIMPL
184	UNIMPL
185	UNIMPL
186	UNIMPL
187	UNIMPL
188	UNIMPL
189	UNIMPL
190	UNIMPL
191	NOARGS		{ int|compat_43_sys||truncate(char *path, long len); }
192	NOARGS		{ int|compat_43_sys||ftruncate(int fd, long len); }
193	UNIMPL
194	UNIMPL
195	UNIMPL
196	UNIMPL
197	UNIMPL
198	UNIMPL
199	UNIMPL
200	UNIMPL
201	STD		{ int|xenix_sys||locking(int fd, int blk, int size); }
202	UNIMPL		xenix_creatsem
203	UNIMPL		xenix_opensem
204	UNIMPL		xenix_sigsem
205	UNIMPL		xenix_waitsem
206	UNIMPL		xenix_nbwaitsem
207	STD		{ int|xenix_sys||rdchk(int fd); }
208	UNIMPL
209	UNIMPL
210	STD		{ int|xenix_sys||chsize(int fd, long size); }
211	STD		{ int|xenix_sys||ftime(struct xenix_timeb *tp); }
212	STD		{ int|xenix_sys||nap(long millisec); }
213	UNIMPL		xenix_sdget
214	UNIMPL		xenix_sdfree
215	UNIMPL		xenix_sdenter
216	UNIMPL		xenix_sdleave
217	UNIMPL		xenix_sdgetv
218	UNIMPL		xenix_sdwaitv
219	UNIMPL
220	UNIMPL
221	UNIMPL
222	UNIMPL
223	UNIMPL
224	UNIMPL
225	UNIMPL
226	UNIMPL
227	UNIMPL
228	UNIMPL
229	UNIMPL
230	UNIMPL
231	UNIMPL
232	UNIMPL		xenix_proctl
233	UNIMPL		xenix_execseg
234	UNIMPL		xenix_unexecseg
235	UNIMPL
236	NOARGS		{ int|compat_50_sys||select(u_int nd, fd_set *in, \
			    fd_set *ou, fd_set *ex, struct timeval50 *tv); }
237	STD		{ int|ibcs2_sys||eaccess(const char *path, int flags); }
238	UNIMPL		xenix_paccess
239	STD		{ int|ibcs2_sys||sigaction(int signum, \
			    const struct ibcs2_sigaction *nsa, \
			    struct ibcs2_sigaction *osa); }
240	STD		{ int|ibcs2_sys||sigprocmask(int how, \
			    const ibcs2_sigset_t *set, \
			    ibcs2_sigset_t *oset); }
241	STD		{ int|ibcs2_sys||sigpending( \
			    ibcs2_sigset_t *set); }
242	STD		{ int|ibcs2_sys||sigsuspend( \
			    const ibcs2_sigset_t *set); }
243	STD		{ int|ibcs2_sys||getgroups(int gidsetsize, \
			    ibcs2_gid_t *gidset); }
244	STD		{ int|ibcs2_sys||setgroups(int gidsetsize, \
			    ibcs2_gid_t *gidset); }
245	STD		{ int|ibcs2_sys||sysconf(int name); }
246	STD		{ int|ibcs2_sys||pathconf(char *path, int name); }
247	STD		{ int|ibcs2_sys||fpathconf(int fd, int name); }
248	NOARGS		{ int|sys||__posix_rename(const char *from, \
			    const char *to); }
249	UNIMPL
250	STD		{ int|ibcs2_sys||scoinfo(struct scoutsname *bp, int len); }
251	UNIMPL
252	UNIMPL
253	UNIMPL
254	UNIMPL
255	UNIMPL		getitimer
256	UNIMPL		setitimer
257	UNIMPL
258	UNIMPL		setreuid
259	UNIMPL		setregid
@


1.41
log
@Fix dup/dup2/dup3 argument types (u_int -> int).
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.40 2013/06/26 16:29:41 christos Exp $
@


1.41.30.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.41 2013/11/07 19:37:18 njoly Exp $
@


1.41.28.1
log
@Synch with HEAD
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.41 2013/11/07 19:37:18 njoly Exp $
@


1.40
log
@remove dups document more. From FreeBSD. Still there is disagreement as
to where sigreturn is.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.39 2013/06/25 04:10:17 riz Exp $
d105 1
a105 1
41	NOARGS		{ int|sys||dup(u_int fd); }
@


1.40.2.1
log
@sync with head
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.40 2013/06/26 16:29:41 christos Exp $
d105 1
a105 1
41	NOARGS		{ int|sys||dup(int fd); }
@


1.39
log
@UNIMP->UNIMPL
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.38 2010/07/23 02:46:12 christos Exp $
d175 2
a176 4
88	STD		{ int|ibcs2_sys||lstat(const char *path, \
			    struct ibcs2_stat *st); }
89	NOARGS		{ int|sys||symlink(const char *path, \
			    const char *link); }
d201 1
a201 1
105	UNIMPL
@


1.38
log
@document more unimplemented syscalls
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.37 2009/01/13 22:27:43 pooka Exp $
d198 1
a198 1
102	UNIMP		evtrapret
@


1.38.18.1
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
	$NetBSD$
d105 1
a105 1
41	NOARGS		{ int|sys||dup(int fd); }
d175 4
a178 2
88	UNIMPL		unknown
89	UNIMPL		secure
d198 1
a198 1
102	UNIMPL		evtrapret
d203 1
a203 1
105	UNIMPL		isc
@


1.38.8.1
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.38 2010/07/23 02:46:12 christos Exp $
d105 1
a105 1
41	NOARGS		{ int|sys||dup(int fd); }
d175 4
a178 2
88	UNIMPL		unknown
89	UNIMPL		secure
d198 1
a198 1
102	UNIMPL		evtrapret
d203 1
a203 1
105	UNIMPL		isc
@


1.37
log
@Convert the syscalls.master to a format from which it is easier
to parse and generate the compat name and basename (e.g. __stat50
and stat).  Use this to autogenerate __RENAME()'s to the rump_syscalls
header so that they can be called e.g. rump_sys_socket() instead
of rump_sys___socket30().
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.36 2009/01/11 02:45:48 christos Exp $
d164 2
a165 2
82	UNIMPL
83	UNIMPL
d175 4
a178 2
88	UNIMPL
89	UNIMPL
d188 1
a188 1
95	UNIMPL
d194 2
a195 2
98	UNIMPL
99	UNIMPL
d197 2
a198 2
101	UNIMPL
102	UNIMPL
d204 9
a212 9
106	UNIMPL
107	UNIMPL		waitid
108	UNIMPL		sigsendset
109	UNIMPL
110	UNIMPL
111	UNIMPL
112	UNIMPL		priocntl
113	UNIMPL
114	UNIMPL
d218 1
a218 1
118	UNIMPL
d226 2
a227 2
126	UNIMPL
127	UNIMPL
d236 2
a237 2
134	UNIMPL
135	UNIMPL
d239 1
a239 1
137	UNIMPL
d241 1
a241 1
139	UNIMPL
@


1.37.6.1
log
@sync with head
@
text
@d1 1
a1 1
	$NetBSD$
d164 2
a165 2
82	UNIMPL		libattach
83	UNIMPL		libdetach
d175 2
a176 4
88	STD		{ int|ibcs2_sys||lstat(const char *path, \
			    struct ibcs2_stat *st); }
89	NOARGS		{ int|sys||symlink(const char *path, \
			    const char *link); }
d186 1
a186 1
95	UNIMPL		sigprocmask
d192 2
a193 2
98	UNIMPL		sigaction
99	UNIMPL		sigpending
d195 2
a196 2
101	UNIMPL		envsys
102	UNIMP		evtrapret
d202 9
a210 9
106	UNIMPL		nfssys
107	UNIMPL		waitsys
108	UNIMPL		sigsendsys
109	UNIMPL		hrtsys
110	UNIMPL		acancel
111	UNIMPL		async
112	UNIMPL		priocntlsys
113	UNIMPL		pathconf
114	UNIMPL		mincore
d216 1
a216 1
118	UNIMPL		fpathconf
d224 2
a225 2
126	UNIMPL		xmknod
127	UNIMPL		clocal
d234 2
a235 2
134	UNIMPL		rename
135	UNIMPL		uname
d237 1
a237 1
137	UNIMPL		sysconfig
d239 1
a239 1
139	UNIMPL		systeminfo
@


1.37.4.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
	$NetBSD$
d164 2
a165 2
82	UNIMPL		libattach
83	UNIMPL		libdetach
d175 2
a176 4
88	STD		{ int|ibcs2_sys||lstat(const char *path, \
			    struct ibcs2_stat *st); }
89	NOARGS		{ int|sys||symlink(const char *path, \
			    const char *link); }
d186 1
a186 1
95	UNIMPL		sigprocmask
d192 2
a193 2
98	UNIMPL		sigaction
99	UNIMPL		sigpending
d195 2
a196 2
101	UNIMPL		envsys
102	UNIMP		evtrapret
d202 9
a210 9
106	UNIMPL		nfssys
107	UNIMPL		waitsys
108	UNIMPL		sigsendsys
109	UNIMPL		hrtsys
110	UNIMPL		acancel
111	UNIMPL		async
112	UNIMPL		priocntlsys
113	UNIMPL		pathconf
114	UNIMPL		mincore
d216 1
a216 1
118	UNIMPL		fpathconf
d224 2
a225 2
126	UNIMPL		xmknod
127	UNIMPL		clocal
d234 2
a235 2
134	UNIMPL		rename
135	UNIMPL		uname
d237 1
a237 1
137	UNIMPL		sysconfig
d239 1
a239 1
139	UNIMPL		systeminfo
@


1.36
log
@merge christos-time_t
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.34.8.2 2008/11/01 21:22:26 christos Exp $
d54 6
a59 6
0	NOARGS		{ int sys_nosys(void); } syscall
1	NOARGS		{ int sys_exit(int rval); }
2	NOARGS		{ int sys_fork(void); }
3	STD		{ int ibcs2_sys_read(int fd, char *buf, u_int nbytes); }
4	NOARGS		{ int sys_write(int fd, char *buf, u_int nbytes); }
5	STD		{ int ibcs2_sys_open(const char *path, int flags, \
d61 9
a69 9
6	NOARGS		{ int sys_close(int fd); }
7	STD		{ int ibcs2_sys_waitsys(int a1, int a2, int a3); }
8	STD		{ int ibcs2_sys_creat(const char *path, int mode); }
9	NOARGS		{ int sys_link(char *path, char *link); }
10	NOARGS		{ int sys_unlink(const char *path); }
11	STD		{ int ibcs2_sys_execv(const char *path, char **argp); }
12	NOARGS		{ int sys_chdir(const char *path); }
13	STD		{ int ibcs2_sys_time(ibcs2_time_t *tp); }
14	STD		{ int ibcs2_sys_mknod(const char* path, int mode, \
d71 2
a72 2
15	NOARGS		{ int sys_chmod(const char *path, int mode); }
16	NOARGS		{ int sys___posix_chown(const char *path, int uid, \
d74 2
a75 2
17	NOARGS		{ int sys_obreak(void *nsize); }
18	STD		{ int ibcs2_sys_stat(const char* path, \
d77 1
a77 1
19	NOARGS		{ long compat_43_sys_lseek(int fd, long offset, \
d79 2
a80 2
20	NOARGS		{ pid_t sys_getpid_with_ppid(void); }
21	STD		{ int ibcs2_sys_mount(char *special, char *dir, \
d82 4
a85 4
22	STD		{ int ibcs2_sys_umount(char *name); }
23	STD		{ int ibcs2_sys_setuid(int uid); }
24	NOARGS		{ uid_t sys_getuid_with_euid(void); }
25	STD		{ int ibcs2_sys_stime(long *timep); }
d87 4
a90 4
27	STD		{ int ibcs2_sys_alarm(unsigned sec); }
28	STD		{ int ibcs2_sys_fstat(int fd, struct ibcs2_stat *st); }
29	STD		{ int ibcs2_sys_pause(void); }
30	STD		{ int ibcs2_sys_utime(const char *path, \
d93 4
a96 4
32	STD		{ int ibcs2_sys_gtty(int fd, struct ibcs2_sgttyb *tb); }
33	STD		{ int ibcs2_sys_access(const char *path, int flags); }
34	STD		{ int ibcs2_sys_nice(int incr); }
35	STD		{ int ibcs2_sys_statfs(const char *path, \
d98 3
a100 3
36	NOARGS		{ int sys_sync(void); }
37	STD		{ int ibcs2_sys_kill(int pid, int signo); }
38	STD		{ int ibcs2_sys_fstatfs(int fd, \
d102 1
a102 1
39	STD		{ int ibcs2_sys_pgrpsys(int type, void *dummy, \
d105 3
a107 3
41	NOARGS		{ int sys_dup(u_int fd); }
42	NOARGS		{ int sys_pipe(void); }
43	STD		{ int ibcs2_sys_times(struct tms *tp); }
d109 4
a112 4
45	STD		{ int ibcs2_sys_plock(int cmd); }
46	STD		{ int ibcs2_sys_setgid(int gid); }
47	NOARGS		{ gid_t sys_getgid_with_egid(void); }
48	STD		{ int ibcs2_sys_sigsys(int sig, ibcs2_sig_t fp); }
d114 1
a114 1
49	STD		{ int ibcs2_sys_msgsys(int which, int a2, int a3, \
d119 1
a119 1
50	STD		{ int ibcs2_sys_sysmachine(int cmd, int arg); }
d122 1
a122 1
52	STD		{ int ibcs2_sys_shmsys(int which, int a2, int a3, \
d128 1
a128 1
53	STD		{ int ibcs2_sys_semsys(int which, int a2, int a3, \
d133 2
a134 2
54	STD		{ int ibcs2_sys_ioctl(int fd, int cmd, void *data); }
55	STD		{ int ibcs2_sys_uadmin(int cmd, int func, \
d137 3
a139 3
57	STD		{ int ibcs2_sys_utssys(int a1, int a2, int flag); }
58	NOARGS		{ int sys_fsync(int fd); }
59	STD		{ int ibcs2_sys_execve(const char *path, char **argp, \
d141 4
a144 4
60	NOARGS		{ int sys_umask(int newmask); }
61	NOARGS		{ int sys_chroot(char *path); }
62	STD		{ int ibcs2_sys_fcntl(int fd, int cmd, char *arg); }
63	STD		{ long ibcs2_sys_ulimit(int cmd, int newlimit); }
d160 3
a162 3
79	NOARGS		{ int sys_rmdir(const char *path); }
80	NOARGS		{ int sys_mkdir(const char *path, int mode); }
81	STD		{ int ibcs2_sys_getdents(int fd, char *buf, \
d166 2
a167 2
84	STD		{ int ibcs2_sys_sysfs(int cmd, void *d1, char *buf); }
85	STD		{ int ibcs2_sys_getmsg(int fd, \
d170 1
a170 1
86	STD		{ int ibcs2_sys_putmsg(int fd, \
d173 1
a173 1
87	NOARGS		{ int sys_poll(struct pollfd *fds, u_int nfds, \
d177 1
a177 1
90	NOARGS		{ int sys_symlink(const char *path, \
d179 1
a179 1
91	STD		{ int ibcs2_sys_lstat(const char *path, \
d181 1
a181 1
92	NOARGS		{ int sys_readlink(const char *path, char *buf, \
d183 2
a184 2
93	NOARGS		{ int sys_fchmod(int fd, int mode); }
94	NOARGS		{ int sys___posix_fchown(int fd, int uid, int gid); } \
d187 1
a187 1
96	NOARGS		{ int compat_16_sys___sigreturn14(struct sigcontext \
d189 1
a189 1
97	STD		{ int ibcs2_sys_sigaltstack( \
d197 1
a197 1
103	STD		{ int ibcs2_sys_statvfs(const char *path, \
d199 1
a199 1
104	STD		{ int ibcs2_sys_fstatvfs(int fd, \
d211 1
a211 1
115	STD		{ ibcs2_caddr_t ibcs2_sys_mmap(ibcs2_caddr_t addr, \
d214 2
a215 2
116     NOARGS          { int sys_mprotect(void *addr, int len, int prot); }
117     NOARGS          { int sys_munmap(void *addr, int len); }
d218 3
a220 3
120	NOARGS		{ int sys_fchdir(int fd); }
121	NOARGS		{ int sys_readv(int fd, struct iovec *iovp, u_int iovcnt); }
122	NOARGS		{ int sys_writev(int fd, struct iovec *iovp, u_int iovcnt); }
d229 1
a229 1
131	STD		{ int ibcs2_sys_memcntl(ibcs2_caddr_t addr, \
d271 2
a272 2
171	STD		{ int ibcs2_sys_gettimeofday(struct timeval50 *tp); }
172	STD		{ int ibcs2_sys_settimeofday(struct timeval50 *tp); }
d291 2
a292 2
191	NOARGS		{ int compat_43_sys_truncate(char *path, long len); }
192	NOARGS		{ int compat_43_sys_ftruncate(int fd, long len); }
d301 1
a301 1
201	STD		{ int xenix_sys_locking(int fd, int blk, int size); }
d307 1
a307 1
207	STD		{ int xenix_sys_rdchk(int fd); }
d310 3
a312 3
210	STD		{ int xenix_sys_chsize(int fd, long size); }
211	STD		{ int xenix_sys_ftime(struct xenix_timeb *tp); }
212	STD		{ int xenix_sys_nap(long millisec); }
d336 1
a336 1
236	NOARGS		{ int compat_50_sys_select(u_int nd, fd_set *in, \
d338 1
a338 1
237	STD		{ int ibcs2_sys_eaccess(const char *path, int flags); }
d340 1
a340 1
239	STD		{ int ibcs2_sys_sigaction(int signum, \
d343 1
a343 1
240	STD		{ int ibcs2_sys_sigprocmask(int how, \
d346 1
a346 1
241	STD		{ int ibcs2_sys_sigpending( \
d348 1
a348 1
242	STD		{ int ibcs2_sys_sigsuspend( \
d350 1
a350 1
243	STD		{ int ibcs2_sys_getgroups(int gidsetsize, \
d352 1
a352 1
244	STD		{ int ibcs2_sys_setgroups(int gidsetsize, \
d354 4
a357 4
245	STD		{ int ibcs2_sys_sysconf(int name); }
246	STD		{ int ibcs2_sys_pathconf(char *path, int name); }
247	STD		{ int ibcs2_sys_fpathconf(int fd, int name); }
248	NOARGS		{ int sys___posix_rename(const char *from, \
d360 1
a360 1
250	STD		{ int ibcs2_sys_scoinfo(struct scoutsname *bp, int len); }
@


1.35
log
@include <sys/sched.h> for cpuset_t
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.34 2007/12/12 22:04:30 dsl Exp $
d44 3
d271 2
a272 2
171	STD		{ int ibcs2_sys_gettimeofday(struct timeval *tp); }
172	STD		{ int ibcs2_sys_settimeofday(struct timeval *tp); }
d336 2
a337 2
236	NOARGS		{ int sys_select(u_int nd, fd_set *in, fd_set *ou, \
			    fd_set *ex, struct timeval *tv); }
@


1.35.4.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.37 2009/01/13 22:27:43 pooka Exp $
a43 3

#include <compat/sys/time.h>

d51 6
a56 6
0	NOARGS		{ int|sys||nosys(void); } syscall
1	NOARGS		{ int|sys||exit(int rval); }
2	NOARGS		{ int|sys||fork(void); }
3	STD		{ int|ibcs2_sys||read(int fd, char *buf, u_int nbytes); }
4	NOARGS		{ int|sys||write(int fd, char *buf, u_int nbytes); }
5	STD		{ int|ibcs2_sys||open(const char *path, int flags, \
d58 9
a66 9
6	NOARGS		{ int|sys||close(int fd); }
7	STD		{ int|ibcs2_sys||waitsys(int a1, int a2, int a3); }
8	STD		{ int|ibcs2_sys||creat(const char *path, int mode); }
9	NOARGS		{ int|sys||link(char *path, char *link); }
10	NOARGS		{ int|sys||unlink(const char *path); }
11	STD		{ int|ibcs2_sys||execv(const char *path, char **argp); }
12	NOARGS		{ int|sys||chdir(const char *path); }
13	STD		{ int|ibcs2_sys||time(ibcs2_time_t *tp); }
14	STD		{ int|ibcs2_sys||mknod(const char* path, int mode, \
d68 2
a69 2
15	NOARGS		{ int|sys||chmod(const char *path, int mode); }
16	NOARGS		{ int|sys||__posix_chown(const char *path, int uid, \
d71 2
a72 2
17	NOARGS		{ int|sys||obreak(void *nsize); }
18	STD		{ int|ibcs2_sys||stat(const char* path, \
d74 1
a74 1
19	NOARGS		{ long|compat_43_sys||lseek(int fd, long offset, \
d76 2
a77 2
20	NOARGS		{ pid_t|sys||getpid_with_ppid(void); }
21	STD		{ int|ibcs2_sys||mount(char *special, char *dir, \
d79 4
a82 4
22	STD		{ int|ibcs2_sys||umount(char *name); }
23	STD		{ int|ibcs2_sys||setuid(int uid); }
24	NOARGS		{ uid_t|sys||getuid_with_euid(void); }
25	STD		{ int|ibcs2_sys||stime(long *timep); }
d84 4
a87 4
27	STD		{ int|ibcs2_sys||alarm(unsigned sec); }
28	STD		{ int|ibcs2_sys||fstat(int fd, struct ibcs2_stat *st); }
29	STD		{ int|ibcs2_sys||pause(void); }
30	STD		{ int|ibcs2_sys||utime(const char *path, \
d90 4
a93 4
32	STD		{ int|ibcs2_sys||gtty(int fd, struct ibcs2_sgttyb *tb); }
33	STD		{ int|ibcs2_sys||access(const char *path, int flags); }
34	STD		{ int|ibcs2_sys||nice(int incr); }
35	STD		{ int|ibcs2_sys||statfs(const char *path, \
d95 3
a97 3
36	NOARGS		{ int|sys||sync(void); }
37	STD		{ int|ibcs2_sys||kill(int pid, int signo); }
38	STD		{ int|ibcs2_sys||fstatfs(int fd, \
d99 1
a99 1
39	STD		{ int|ibcs2_sys||pgrpsys(int type, void *dummy, \
d102 3
a104 3
41	NOARGS		{ int|sys||dup(u_int fd); }
42	NOARGS		{ int|sys||pipe(void); }
43	STD		{ int|ibcs2_sys||times(struct tms *tp); }
d106 4
a109 4
45	STD		{ int|ibcs2_sys||plock(int cmd); }
46	STD		{ int|ibcs2_sys||setgid(int gid); }
47	NOARGS		{ gid_t|sys||getgid_with_egid(void); }
48	STD		{ int|ibcs2_sys||sigsys(int sig, ibcs2_sig_t fp); }
d111 1
a111 1
49	STD		{ int|ibcs2_sys||msgsys(int which, int a2, int a3, \
d116 1
a116 1
50	STD		{ int|ibcs2_sys||sysmachine(int cmd, int arg); }
d119 1
a119 1
52	STD		{ int|ibcs2_sys||shmsys(int which, int a2, int a3, \
d125 1
a125 1
53	STD		{ int|ibcs2_sys||semsys(int which, int a2, int a3, \
d130 2
a131 2
54	STD		{ int|ibcs2_sys||ioctl(int fd, int cmd, void *data); }
55	STD		{ int|ibcs2_sys||uadmin(int cmd, int func, \
d134 3
a136 3
57	STD		{ int|ibcs2_sys||utssys(int a1, int a2, int flag); }
58	NOARGS		{ int|sys||fsync(int fd); }
59	STD		{ int|ibcs2_sys||execve(const char *path, char **argp, \
d138 4
a141 4
60	NOARGS		{ int|sys||umask(int newmask); }
61	NOARGS		{ int|sys||chroot(char *path); }
62	STD		{ int|ibcs2_sys||fcntl(int fd, int cmd, char *arg); }
63	STD		{ long|ibcs2_sys||ulimit(int cmd, int newlimit); }
d157 3
a159 3
79	NOARGS		{ int|sys||rmdir(const char *path); }
80	NOARGS		{ int|sys||mkdir(const char *path, int mode); }
81	STD		{ int|ibcs2_sys||getdents(int fd, char *buf, \
d163 2
a164 2
84	STD		{ int|ibcs2_sys||sysfs(int cmd, void *d1, char *buf); }
85	STD		{ int|ibcs2_sys||getmsg(int fd, \
d167 1
a167 1
86	STD		{ int|ibcs2_sys||putmsg(int fd, \
d170 1
a170 1
87	NOARGS		{ int|sys||poll(struct pollfd *fds, u_int nfds, \
d174 1
a174 1
90	NOARGS		{ int|sys||symlink(const char *path, \
d176 1
a176 1
91	STD		{ int|ibcs2_sys||lstat(const char *path, \
d178 1
a178 1
92	NOARGS		{ int|sys||readlink(const char *path, char *buf, \
d180 2
a181 2
93	NOARGS		{ int|sys||fchmod(int fd, int mode); }
94	NOARGS		{ int|sys||__posix_fchown(int fd, int uid, int gid); } \
d184 1
a184 1
96	NOARGS		{ int|compat_16_sys|14|sigreturn(struct sigcontext \
d186 1
a186 1
97	STD		{ int|ibcs2_sys||sigaltstack( \
d194 1
a194 1
103	STD		{ int|ibcs2_sys||statvfs(const char *path, \
d196 1
a196 1
104	STD		{ int|ibcs2_sys||fstatvfs(int fd, \
d208 1
a208 1
115	STD		{ ibcs2_caddr_t|ibcs2_sys||mmap(ibcs2_caddr_t addr, \
d211 2
a212 2
116     NOARGS          { int|sys||mprotect(void *addr, int len, int prot); }
117     NOARGS          { int|sys||munmap(void *addr, int len); }
d215 3
a217 3
120	NOARGS		{ int|sys||fchdir(int fd); }
121	NOARGS		{ int|sys||readv(int fd, struct iovec *iovp, u_int iovcnt); }
122	NOARGS		{ int|sys||writev(int fd, struct iovec *iovp, u_int iovcnt); }
d226 1
a226 1
131	STD		{ int|ibcs2_sys||memcntl(ibcs2_caddr_t addr, \
d268 2
a269 2
171	STD		{ int|ibcs2_sys||gettimeofday(struct timeval50 *tp); }
172	STD		{ int|ibcs2_sys||settimeofday(struct timeval50 *tp); }
d288 2
a289 2
191	NOARGS		{ int|compat_43_sys||truncate(char *path, long len); }
192	NOARGS		{ int|compat_43_sys||ftruncate(int fd, long len); }
d298 1
a298 1
201	STD		{ int|xenix_sys||locking(int fd, int blk, int size); }
d304 1
a304 1
207	STD		{ int|xenix_sys||rdchk(int fd); }
d307 3
a309 3
210	STD		{ int|xenix_sys||chsize(int fd, long size); }
211	STD		{ int|xenix_sys||ftime(struct xenix_timeb *tp); }
212	STD		{ int|xenix_sys||nap(long millisec); }
d333 3
a335 3
236	NOARGS		{ int|compat_50_sys||select(u_int nd, fd_set *in, \
			    fd_set *ou, fd_set *ex, struct timeval50 *tv); }
237	STD		{ int|ibcs2_sys||eaccess(const char *path, int flags); }
d337 1
a337 1
239	STD		{ int|ibcs2_sys||sigaction(int signum, \
d340 1
a340 1
240	STD		{ int|ibcs2_sys||sigprocmask(int how, \
d343 1
a343 1
241	STD		{ int|ibcs2_sys||sigpending( \
d345 1
a345 1
242	STD		{ int|ibcs2_sys||sigsuspend( \
d347 1
a347 1
243	STD		{ int|ibcs2_sys||getgroups(int gidsetsize, \
d349 1
a349 1
244	STD		{ int|ibcs2_sys||setgroups(int gidsetsize, \
d351 4
a354 4
245	STD		{ int|ibcs2_sys||sysconf(int name); }
246	STD		{ int|ibcs2_sys||pathconf(char *path, int name); }
247	STD		{ int|ibcs2_sys||fpathconf(int fd, int name); }
248	NOARGS		{ int|sys||__posix_rename(const char *from, \
d357 1
a357 1
250	STD		{ int|ibcs2_sys||scoinfo(struct scoutsname *bp, int len); }
@


1.34
log
@No need to wrap filename function to get the alt path stuff.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.33 2007/03/04 06:01:17 christos Exp $
d42 1
@


1.34.12.1
log
@sync with head.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.34 2007/12/12 22:04:30 dsl Exp $
a41 1
#include <sys/sched.h>
a42 3

#include <compat/sys/time.h>

d50 6
a55 6
0	NOARGS		{ int|sys||nosys(void); } syscall
1	NOARGS		{ int|sys||exit(int rval); }
2	NOARGS		{ int|sys||fork(void); }
3	STD		{ int|ibcs2_sys||read(int fd, char *buf, u_int nbytes); }
4	NOARGS		{ int|sys||write(int fd, char *buf, u_int nbytes); }
5	STD		{ int|ibcs2_sys||open(const char *path, int flags, \
d57 9
a65 9
6	NOARGS		{ int|sys||close(int fd); }
7	STD		{ int|ibcs2_sys||waitsys(int a1, int a2, int a3); }
8	STD		{ int|ibcs2_sys||creat(const char *path, int mode); }
9	NOARGS		{ int|sys||link(char *path, char *link); }
10	NOARGS		{ int|sys||unlink(const char *path); }
11	STD		{ int|ibcs2_sys||execv(const char *path, char **argp); }
12	NOARGS		{ int|sys||chdir(const char *path); }
13	STD		{ int|ibcs2_sys||time(ibcs2_time_t *tp); }
14	STD		{ int|ibcs2_sys||mknod(const char* path, int mode, \
d67 2
a68 2
15	NOARGS		{ int|sys||chmod(const char *path, int mode); }
16	NOARGS		{ int|sys||__posix_chown(const char *path, int uid, \
d70 2
a71 2
17	NOARGS		{ int|sys||obreak(void *nsize); }
18	STD		{ int|ibcs2_sys||stat(const char* path, \
d73 1
a73 1
19	NOARGS		{ long|compat_43_sys||lseek(int fd, long offset, \
d75 2
a76 2
20	NOARGS		{ pid_t|sys||getpid_with_ppid(void); }
21	STD		{ int|ibcs2_sys||mount(char *special, char *dir, \
d78 4
a81 4
22	STD		{ int|ibcs2_sys||umount(char *name); }
23	STD		{ int|ibcs2_sys||setuid(int uid); }
24	NOARGS		{ uid_t|sys||getuid_with_euid(void); }
25	STD		{ int|ibcs2_sys||stime(long *timep); }
d83 4
a86 4
27	STD		{ int|ibcs2_sys||alarm(unsigned sec); }
28	STD		{ int|ibcs2_sys||fstat(int fd, struct ibcs2_stat *st); }
29	STD		{ int|ibcs2_sys||pause(void); }
30	STD		{ int|ibcs2_sys||utime(const char *path, \
d89 4
a92 4
32	STD		{ int|ibcs2_sys||gtty(int fd, struct ibcs2_sgttyb *tb); }
33	STD		{ int|ibcs2_sys||access(const char *path, int flags); }
34	STD		{ int|ibcs2_sys||nice(int incr); }
35	STD		{ int|ibcs2_sys||statfs(const char *path, \
d94 3
a96 3
36	NOARGS		{ int|sys||sync(void); }
37	STD		{ int|ibcs2_sys||kill(int pid, int signo); }
38	STD		{ int|ibcs2_sys||fstatfs(int fd, \
d98 1
a98 1
39	STD		{ int|ibcs2_sys||pgrpsys(int type, void *dummy, \
d101 3
a103 3
41	NOARGS		{ int|sys||dup(u_int fd); }
42	NOARGS		{ int|sys||pipe(void); }
43	STD		{ int|ibcs2_sys||times(struct tms *tp); }
d105 4
a108 4
45	STD		{ int|ibcs2_sys||plock(int cmd); }
46	STD		{ int|ibcs2_sys||setgid(int gid); }
47	NOARGS		{ gid_t|sys||getgid_with_egid(void); }
48	STD		{ int|ibcs2_sys||sigsys(int sig, ibcs2_sig_t fp); }
d110 1
a110 1
49	STD		{ int|ibcs2_sys||msgsys(int which, int a2, int a3, \
d115 1
a115 1
50	STD		{ int|ibcs2_sys||sysmachine(int cmd, int arg); }
d118 1
a118 1
52	STD		{ int|ibcs2_sys||shmsys(int which, int a2, int a3, \
d124 1
a124 1
53	STD		{ int|ibcs2_sys||semsys(int which, int a2, int a3, \
d129 2
a130 2
54	STD		{ int|ibcs2_sys||ioctl(int fd, int cmd, void *data); }
55	STD		{ int|ibcs2_sys||uadmin(int cmd, int func, \
d133 3
a135 3
57	STD		{ int|ibcs2_sys||utssys(int a1, int a2, int flag); }
58	NOARGS		{ int|sys||fsync(int fd); }
59	STD		{ int|ibcs2_sys||execve(const char *path, char **argp, \
d137 4
a140 4
60	NOARGS		{ int|sys||umask(int newmask); }
61	NOARGS		{ int|sys||chroot(char *path); }
62	STD		{ int|ibcs2_sys||fcntl(int fd, int cmd, char *arg); }
63	STD		{ long|ibcs2_sys||ulimit(int cmd, int newlimit); }
d156 3
a158 3
79	NOARGS		{ int|sys||rmdir(const char *path); }
80	NOARGS		{ int|sys||mkdir(const char *path, int mode); }
81	STD		{ int|ibcs2_sys||getdents(int fd, char *buf, \
d162 2
a163 2
84	STD		{ int|ibcs2_sys||sysfs(int cmd, void *d1, char *buf); }
85	STD		{ int|ibcs2_sys||getmsg(int fd, \
d166 1
a166 1
86	STD		{ int|ibcs2_sys||putmsg(int fd, \
d169 1
a169 1
87	NOARGS		{ int|sys||poll(struct pollfd *fds, u_int nfds, \
d173 1
a173 1
90	NOARGS		{ int|sys||symlink(const char *path, \
d175 1
a175 1
91	STD		{ int|ibcs2_sys||lstat(const char *path, \
d177 1
a177 1
92	NOARGS		{ int|sys||readlink(const char *path, char *buf, \
d179 2
a180 2
93	NOARGS		{ int|sys||fchmod(int fd, int mode); }
94	NOARGS		{ int|sys||__posix_fchown(int fd, int uid, int gid); } \
d183 1
a183 1
96	NOARGS		{ int|compat_16_sys|14|sigreturn(struct sigcontext \
d185 1
a185 1
97	STD		{ int|ibcs2_sys||sigaltstack( \
d193 1
a193 1
103	STD		{ int|ibcs2_sys||statvfs(const char *path, \
d195 1
a195 1
104	STD		{ int|ibcs2_sys||fstatvfs(int fd, \
d207 1
a207 1
115	STD		{ ibcs2_caddr_t|ibcs2_sys||mmap(ibcs2_caddr_t addr, \
d210 2
a211 2
116     NOARGS          { int|sys||mprotect(void *addr, int len, int prot); }
117     NOARGS          { int|sys||munmap(void *addr, int len); }
d214 3
a216 3
120	NOARGS		{ int|sys||fchdir(int fd); }
121	NOARGS		{ int|sys||readv(int fd, struct iovec *iovp, u_int iovcnt); }
122	NOARGS		{ int|sys||writev(int fd, struct iovec *iovp, u_int iovcnt); }
d225 1
a225 1
131	STD		{ int|ibcs2_sys||memcntl(ibcs2_caddr_t addr, \
d267 2
a268 2
171	STD		{ int|ibcs2_sys||gettimeofday(struct timeval50 *tp); }
172	STD		{ int|ibcs2_sys||settimeofday(struct timeval50 *tp); }
d287 2
a288 2
191	NOARGS		{ int|compat_43_sys||truncate(char *path, long len); }
192	NOARGS		{ int|compat_43_sys||ftruncate(int fd, long len); }
d297 1
a297 1
201	STD		{ int|xenix_sys||locking(int fd, int blk, int size); }
d303 1
a303 1
207	STD		{ int|xenix_sys||rdchk(int fd); }
d306 3
a308 3
210	STD		{ int|xenix_sys||chsize(int fd, long size); }
211	STD		{ int|xenix_sys||ftime(struct xenix_timeb *tp); }
212	STD		{ int|xenix_sys||nap(long millisec); }
d332 3
a334 3
236	NOARGS		{ int|compat_50_sys||select(u_int nd, fd_set *in, \
			    fd_set *ou, fd_set *ex, struct timeval50 *tv); }
237	STD		{ int|ibcs2_sys||eaccess(const char *path, int flags); }
d336 1
a336 1
239	STD		{ int|ibcs2_sys||sigaction(int signum, \
d339 1
a339 1
240	STD		{ int|ibcs2_sys||sigprocmask(int how, \
d342 1
a342 1
241	STD		{ int|ibcs2_sys||sigpending( \
d344 1
a344 1
242	STD		{ int|ibcs2_sys||sigsuspend( \
d346 1
a346 1
243	STD		{ int|ibcs2_sys||getgroups(int gidsetsize, \
d348 1
a348 1
244	STD		{ int|ibcs2_sys||setgroups(int gidsetsize, \
d350 4
a353 4
245	STD		{ int|ibcs2_sys||sysconf(int name); }
246	STD		{ int|ibcs2_sys||pathconf(char *path, int name); }
247	STD		{ int|ibcs2_sys||fpathconf(int fd, int name); }
248	NOARGS		{ int|sys||__posix_rename(const char *from, \
d356 1
a356 1
250	STD		{ int|ibcs2_sys||scoinfo(struct scoutsname *bp, int len); }
@


1.34.12.2
log
@sync with head.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.34.12.1 2009/05/04 08:12:19 yamt Exp $
d164 2
a165 2
82	UNIMPL		libattach
83	UNIMPL		libdetach
d175 2
a176 4
88	STD		{ int|ibcs2_sys||lstat(const char *path, \
			    struct ibcs2_stat *st); }
89	NOARGS		{ int|sys||symlink(const char *path, \
			    const char *link); }
d186 1
a186 1
95	UNIMPL		sigprocmask
d192 2
a193 2
98	UNIMPL		sigaction
99	UNIMPL		sigpending
d195 2
a196 2
101	UNIMPL		envsys
102	UNIMP		evtrapret
d202 9
a210 9
106	UNIMPL		nfssys
107	UNIMPL		waitsys
108	UNIMPL		sigsendsys
109	UNIMPL		hrtsys
110	UNIMPL		acancel
111	UNIMPL		async
112	UNIMPL		priocntlsys
113	UNIMPL		pathconf
114	UNIMPL		mincore
d216 1
a216 1
118	UNIMPL		fpathconf
d224 2
a225 2
126	UNIMPL		xmknod
127	UNIMPL		clocal
d234 2
a235 2
134	UNIMPL		rename
135	UNIMPL		uname
d237 1
a237 1
137	UNIMPL		sysconfig
d239 1
a239 1
139	UNIMPL		systeminfo
@


1.34.6.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
	$NetBSD$
a41 1
#include <sys/sched.h>
@


1.34.6.2
log
@Sync with HEAD.
@
text
@a43 3

#include <compat/sys/time.h>

d51 6
a56 6
0	NOARGS		{ int|sys||nosys(void); } syscall
1	NOARGS		{ int|sys||exit(int rval); }
2	NOARGS		{ int|sys||fork(void); }
3	STD		{ int|ibcs2_sys||read(int fd, char *buf, u_int nbytes); }
4	NOARGS		{ int|sys||write(int fd, char *buf, u_int nbytes); }
5	STD		{ int|ibcs2_sys||open(const char *path, int flags, \
d58 9
a66 9
6	NOARGS		{ int|sys||close(int fd); }
7	STD		{ int|ibcs2_sys||waitsys(int a1, int a2, int a3); }
8	STD		{ int|ibcs2_sys||creat(const char *path, int mode); }
9	NOARGS		{ int|sys||link(char *path, char *link); }
10	NOARGS		{ int|sys||unlink(const char *path); }
11	STD		{ int|ibcs2_sys||execv(const char *path, char **argp); }
12	NOARGS		{ int|sys||chdir(const char *path); }
13	STD		{ int|ibcs2_sys||time(ibcs2_time_t *tp); }
14	STD		{ int|ibcs2_sys||mknod(const char* path, int mode, \
d68 2
a69 2
15	NOARGS		{ int|sys||chmod(const char *path, int mode); }
16	NOARGS		{ int|sys||__posix_chown(const char *path, int uid, \
d71 2
a72 2
17	NOARGS		{ int|sys||obreak(void *nsize); }
18	STD		{ int|ibcs2_sys||stat(const char* path, \
d74 1
a74 1
19	NOARGS		{ long|compat_43_sys||lseek(int fd, long offset, \
d76 2
a77 2
20	NOARGS		{ pid_t|sys||getpid_with_ppid(void); }
21	STD		{ int|ibcs2_sys||mount(char *special, char *dir, \
d79 4
a82 4
22	STD		{ int|ibcs2_sys||umount(char *name); }
23	STD		{ int|ibcs2_sys||setuid(int uid); }
24	NOARGS		{ uid_t|sys||getuid_with_euid(void); }
25	STD		{ int|ibcs2_sys||stime(long *timep); }
d84 4
a87 4
27	STD		{ int|ibcs2_sys||alarm(unsigned sec); }
28	STD		{ int|ibcs2_sys||fstat(int fd, struct ibcs2_stat *st); }
29	STD		{ int|ibcs2_sys||pause(void); }
30	STD		{ int|ibcs2_sys||utime(const char *path, \
d90 4
a93 4
32	STD		{ int|ibcs2_sys||gtty(int fd, struct ibcs2_sgttyb *tb); }
33	STD		{ int|ibcs2_sys||access(const char *path, int flags); }
34	STD		{ int|ibcs2_sys||nice(int incr); }
35	STD		{ int|ibcs2_sys||statfs(const char *path, \
d95 3
a97 3
36	NOARGS		{ int|sys||sync(void); }
37	STD		{ int|ibcs2_sys||kill(int pid, int signo); }
38	STD		{ int|ibcs2_sys||fstatfs(int fd, \
d99 1
a99 1
39	STD		{ int|ibcs2_sys||pgrpsys(int type, void *dummy, \
d102 3
a104 3
41	NOARGS		{ int|sys||dup(u_int fd); }
42	NOARGS		{ int|sys||pipe(void); }
43	STD		{ int|ibcs2_sys||times(struct tms *tp); }
d106 4
a109 4
45	STD		{ int|ibcs2_sys||plock(int cmd); }
46	STD		{ int|ibcs2_sys||setgid(int gid); }
47	NOARGS		{ gid_t|sys||getgid_with_egid(void); }
48	STD		{ int|ibcs2_sys||sigsys(int sig, ibcs2_sig_t fp); }
d111 1
a111 1
49	STD		{ int|ibcs2_sys||msgsys(int which, int a2, int a3, \
d116 1
a116 1
50	STD		{ int|ibcs2_sys||sysmachine(int cmd, int arg); }
d119 1
a119 1
52	STD		{ int|ibcs2_sys||shmsys(int which, int a2, int a3, \
d125 1
a125 1
53	STD		{ int|ibcs2_sys||semsys(int which, int a2, int a3, \
d130 2
a131 2
54	STD		{ int|ibcs2_sys||ioctl(int fd, int cmd, void *data); }
55	STD		{ int|ibcs2_sys||uadmin(int cmd, int func, \
d134 3
a136 3
57	STD		{ int|ibcs2_sys||utssys(int a1, int a2, int flag); }
58	NOARGS		{ int|sys||fsync(int fd); }
59	STD		{ int|ibcs2_sys||execve(const char *path, char **argp, \
d138 4
a141 4
60	NOARGS		{ int|sys||umask(int newmask); }
61	NOARGS		{ int|sys||chroot(char *path); }
62	STD		{ int|ibcs2_sys||fcntl(int fd, int cmd, char *arg); }
63	STD		{ long|ibcs2_sys||ulimit(int cmd, int newlimit); }
d157 3
a159 3
79	NOARGS		{ int|sys||rmdir(const char *path); }
80	NOARGS		{ int|sys||mkdir(const char *path, int mode); }
81	STD		{ int|ibcs2_sys||getdents(int fd, char *buf, \
d163 2
a164 2
84	STD		{ int|ibcs2_sys||sysfs(int cmd, void *d1, char *buf); }
85	STD		{ int|ibcs2_sys||getmsg(int fd, \
d167 1
a167 1
86	STD		{ int|ibcs2_sys||putmsg(int fd, \
d170 1
a170 1
87	NOARGS		{ int|sys||poll(struct pollfd *fds, u_int nfds, \
d174 1
a174 1
90	NOARGS		{ int|sys||symlink(const char *path, \
d176 1
a176 1
91	STD		{ int|ibcs2_sys||lstat(const char *path, \
d178 1
a178 1
92	NOARGS		{ int|sys||readlink(const char *path, char *buf, \
d180 2
a181 2
93	NOARGS		{ int|sys||fchmod(int fd, int mode); }
94	NOARGS		{ int|sys||__posix_fchown(int fd, int uid, int gid); } \
d184 1
a184 1
96	NOARGS		{ int|compat_16_sys|14|sigreturn(struct sigcontext \
d186 1
a186 1
97	STD		{ int|ibcs2_sys||sigaltstack( \
d194 1
a194 1
103	STD		{ int|ibcs2_sys||statvfs(const char *path, \
d196 1
a196 1
104	STD		{ int|ibcs2_sys||fstatvfs(int fd, \
d208 1
a208 1
115	STD		{ ibcs2_caddr_t|ibcs2_sys||mmap(ibcs2_caddr_t addr, \
d211 2
a212 2
116     NOARGS          { int|sys||mprotect(void *addr, int len, int prot); }
117     NOARGS          { int|sys||munmap(void *addr, int len); }
d215 3
a217 3
120	NOARGS		{ int|sys||fchdir(int fd); }
121	NOARGS		{ int|sys||readv(int fd, struct iovec *iovp, u_int iovcnt); }
122	NOARGS		{ int|sys||writev(int fd, struct iovec *iovp, u_int iovcnt); }
d226 1
a226 1
131	STD		{ int|ibcs2_sys||memcntl(ibcs2_caddr_t addr, \
d268 2
a269 2
171	STD		{ int|ibcs2_sys||gettimeofday(struct timeval50 *tp); }
172	STD		{ int|ibcs2_sys||settimeofday(struct timeval50 *tp); }
d288 2
a289 2
191	NOARGS		{ int|compat_43_sys||truncate(char *path, long len); }
192	NOARGS		{ int|compat_43_sys||ftruncate(int fd, long len); }
d298 1
a298 1
201	STD		{ int|xenix_sys||locking(int fd, int blk, int size); }
d304 1
a304 1
207	STD		{ int|xenix_sys||rdchk(int fd); }
d307 3
a309 3
210	STD		{ int|xenix_sys||chsize(int fd, long size); }
211	STD		{ int|xenix_sys||ftime(struct xenix_timeb *tp); }
212	STD		{ int|xenix_sys||nap(long millisec); }
d333 3
a335 3
236	NOARGS		{ int|compat_50_sys||select(u_int nd, fd_set *in, \
			    fd_set *ou, fd_set *ex, struct timeval50 *tv); }
237	STD		{ int|ibcs2_sys||eaccess(const char *path, int flags); }
d337 1
a337 1
239	STD		{ int|ibcs2_sys||sigaction(int signum, \
d340 1
a340 1
240	STD		{ int|ibcs2_sys||sigprocmask(int how, \
d343 1
a343 1
241	STD		{ int|ibcs2_sys||sigpending( \
d345 1
a345 1
242	STD		{ int|ibcs2_sys||sigsuspend( \
d347 1
a347 1
243	STD		{ int|ibcs2_sys||getgroups(int gidsetsize, \
d349 1
a349 1
244	STD		{ int|ibcs2_sys||setgroups(int gidsetsize, \
d351 4
a354 4
245	STD		{ int|ibcs2_sys||sysconf(int name); }
246	STD		{ int|ibcs2_sys||pathconf(char *path, int name); }
247	STD		{ int|ibcs2_sys||fpathconf(int fd, int name); }
248	NOARGS		{ int|sys||__posix_rename(const char *from, \
d357 1
a357 1
250	STD		{ int|ibcs2_sys||scoinfo(struct scoutsname *bp, int len); }
@


1.34.16.1
log
@Sync with head.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.35 2008/06/19 12:24:22 hans Exp $
a41 1
#include <sys/sched.h>
@


1.34.14.1
log
@Initial checkin of re-adding SA. Everything except kern_sa.c
compiles in GENERIC for i386. This is still a work-in-progress, but
this checkin covers most of the mechanical work (changing signalling
to be able to accomidate SA's process-wide signalling and re-adding
includes of sys/sa.h and savar.h). Subsequent changes will be much
more interesting.

Also, kern_sa.c has received partial cleanup. There's still more
to do, though.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.34 2007/12/12 22:04:30 dsl Exp $
a41 1
#include <sys/sa.h>
@


1.34.14.2
log
@Per discussion with ad, remove most of the #include <sys/sa.h> lines
as they were including sa.h just for the type(s) needed for syscallargs.h.

Instead, create a new file, sys/satypes.h, which contains just the
types needed for syscallargs.h. Yes, there's only one now, but that
may change and it's probably more likely to change if it'd be difficult
to handle. :-)

Per discussion with matt at n dot o, add an include of satypes.h to
sigtypes.h. Upcall handlers are kinda signal handlers, and signalling
is the header file that's already included for syscallargs.h that
closest matches SA.

This shaves about 3000 lines off of the diff of the branch relative
to the base. That also represents about 18% of the total before this
checkin.

I think this reduction is very good thing.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.34.14.1 2008/05/10 23:48:49 wrstuden Exp $
d42 1
@


1.34.14.3
log
@Sync w/ -current. 34 merge conflicts to follow.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.34.14.2 2008/05/14 01:35:02 wrstuden Exp $
a41 1
#include <sys/sched.h>
@


1.34.8.1
log
@Welcome to the time_t=long long dev_t=uint64_t branch.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.34 2007/12/12 22:04:30 dsl Exp $
a42 3

#include <compat/sys/time.h>

d267 2
a268 2
171	STD		{ int ibcs2_sys_gettimeofday(struct timeval50 *tp); }
172	STD		{ int ibcs2_sys_settimeofday(struct timeval50 *tp); }
d332 2
a333 2
236	NOARGS		{ int compat_50_sys_select(u_int nd, fd_set *in, \
			    fd_set *ou, fd_set *ex, struct timeval50 *tv); }
@


1.34.8.2
log
@Sync with head.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.35 2008/06/19 12:24:22 hans Exp $
a41 1
#include <sys/sched.h>
@


1.33
log
@Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.32 2007/02/09 21:55:18 ad Exp $
d61 1
a61 1
10	STD		{ int ibcs2_sys_unlink(const char *path); }
d63 1
a63 1
12	STD		{ int ibcs2_sys_chdir(const char *path); }
d67 2
a68 2
15	STD		{ int ibcs2_sys_chmod(const char *path, int mode); }
16	STD		{ int ibcs2_sys_chown(const char *path, int uid, \
d156 2
a157 2
79	STD		{ int ibcs2_sys_rmdir(const char *path); }
80	STD		{ int ibcs2_sys_mkdir(const char *path, int mode); }
d173 1
a173 1
90	STD		{ int ibcs2_sys_symlink(const char *path, \
d177 1
a177 1
92	STD		{ int ibcs2_sys_readlink(const char *path, char *buf, \
d353 1
a353 1
248	STD		{ int ibcs2_sys_rename(const char *from, \
@


1.33.16.1
log
@sync with HEAD
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.33 2007/03/04 06:01:17 christos Exp $
d61 1
a61 1
10	NOARGS		{ int sys_unlink(const char *path); }
d63 1
a63 1
12	NOARGS		{ int sys_chdir(const char *path); }
d67 2
a68 2
15	NOARGS		{ int sys_chmod(const char *path, int mode); }
16	NOARGS		{ int sys___posix_chown(const char *path, int uid, \
d156 2
a157 2
79	NOARGS		{ int sys_rmdir(const char *path); }
80	NOARGS		{ int sys_mkdir(const char *path, int mode); }
d173 1
a173 1
90	NOARGS		{ int sys_symlink(const char *path, \
d177 1
a177 1
92	NOARGS		{ int sys_readlink(const char *path, char *buf, \
d353 1
a353 1
248	NOARGS		{ int sys___posix_rename(const char *from, \
@


1.33.24.1
log
@Sync with head.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.34 2007/12/12 22:04:30 dsl Exp $
d61 1
a61 1
10	NOARGS		{ int sys_unlink(const char *path); }
d63 1
a63 1
12	NOARGS		{ int sys_chdir(const char *path); }
d67 2
a68 2
15	NOARGS		{ int sys_chmod(const char *path, int mode); }
16	NOARGS		{ int sys___posix_chown(const char *path, int uid, \
d156 2
a157 2
79	NOARGS		{ int sys_rmdir(const char *path); }
80	NOARGS		{ int sys_mkdir(const char *path, int mode); }
d173 1
a173 1
90	NOARGS		{ int sys_symlink(const char *path, \
d177 1
a177 1
92	NOARGS		{ int sys_readlink(const char *path, char *buf, \
d353 1
a353 1
248	NOARGS		{ int sys___posix_rename(const char *from, \
@


1.33.28.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
	$NetBSD$
d61 1
a61 1
10	NOARGS		{ int sys_unlink(const char *path); }
d63 1
a63 1
12	NOARGS		{ int sys_chdir(const char *path); }
d67 2
a68 2
15	NOARGS		{ int sys_chmod(const char *path, int mode); }
16	NOARGS		{ int sys___posix_chown(const char *path, int uid, \
d156 2
a157 2
79	NOARGS		{ int sys_rmdir(const char *path); }
80	NOARGS		{ int sys_mkdir(const char *path, int mode); }
d173 1
a173 1
90	NOARGS		{ int sys_symlink(const char *path, \
d177 1
a177 1
92	NOARGS		{ int sys_readlink(const char *path, char *buf, \
d353 1
a353 1
248	NOARGS		{ int sys___posix_rename(const char *from, \
@


1.33.26.1
log
@sync with head.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.33 2007/03/04 06:01:17 christos Exp $
d61 1
a61 1
10	NOARGS		{ int sys_unlink(const char *path); }
d63 1
a63 1
12	NOARGS		{ int sys_chdir(const char *path); }
d67 2
a68 2
15	NOARGS		{ int sys_chmod(const char *path, int mode); }
16	NOARGS		{ int sys___posix_chown(const char *path, int uid, \
d156 2
a157 2
79	NOARGS		{ int sys_rmdir(const char *path); }
80	NOARGS		{ int sys_mkdir(const char *path, int mode); }
d173 1
a173 1
90	NOARGS		{ int sys_symlink(const char *path, \
d177 1
a177 1
92	NOARGS		{ int sys_readlink(const char *path, char *buf, \
d353 1
a353 1
248	NOARGS		{ int sys___posix_rename(const char *from, \
@


1.32
log
@Merge newlock2 to head.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.31 2005/12/11 12:20:03 christos Exp $
d70 1
a70 1
17	NOARGS		{ int sys_obreak(caddr_t nsize); }
d98 1
a98 1
39	STD		{ int ibcs2_sys_pgrpsys(int type, caddr_t dummy, \
d129 1
a129 1
54	STD		{ int ibcs2_sys_ioctl(int fd, int cmd, caddr_t data); }
d131 1
a131 1
			    caddr_t data); }
d162 1
a162 1
84	STD		{ int ibcs2_sys_sysfs(int cmd, caddr_t d1, char *buf); }
@


1.32.2.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.32 2007/02/09 21:55:18 ad Exp $
d70 1
a70 1
17	NOARGS		{ int sys_obreak(void *nsize); }
d98 1
a98 1
39	STD		{ int ibcs2_sys_pgrpsys(int type, void *dummy, \
d129 1
a129 1
54	STD		{ int ibcs2_sys_ioctl(int fd, int cmd, void *data); }
d131 1
a131 1
			    void *data); }
d162 1
a162 1
84	STD		{ int ibcs2_sys_sysfs(int cmd, void *d1, char *buf); }
@


1.31
log
@merge ktrace-lwp.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.27.2.3 2004/09/21 13:25:13 skrll Exp $
a41 1
#include <sys/sa.h>
@


1.31.20.1
log
@Remove support for SA. Ok core@@.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.31 2005/12/11 12:20:03 christos Exp $
d42 1
@


1.30
log
@all ports define __HAVE_SIGINFO now, so remove the CPP conditionals
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.29 2003/09/13 18:44:30 christos Exp $
@


1.30.16.1
log
@sync with head.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.30 2004/03/26 15:18:54 drochner Exp $
d42 1
@


1.30.16.2
log
@sync with head.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.30.16.1 2007/02/26 09:09:10 yamt Exp $
d70 1
a70 1
17	NOARGS		{ int sys_obreak(void *nsize); }
d98 1
a98 1
39	STD		{ int ibcs2_sys_pgrpsys(int type, void *dummy, \
d129 1
a129 1
54	STD		{ int ibcs2_sys_ioctl(int fd, int cmd, void *data); }
d131 1
a131 1
			    void *data); }
d162 1
a162 1
84	STD		{ int ibcs2_sys_sysfs(int cmd, void *d1, char *buf); }
@


1.30.16.3
log
@sync with head
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.30.16.2 2007/09/03 14:32:07 yamt Exp $
d61 1
a61 1
10	NOARGS		{ int sys_unlink(const char *path); }
d63 1
a63 1
12	NOARGS		{ int sys_chdir(const char *path); }
d67 2
a68 2
15	NOARGS		{ int sys_chmod(const char *path, int mode); }
16	NOARGS		{ int sys___posix_chown(const char *path, int uid, \
d156 2
a157 2
79	NOARGS		{ int sys_rmdir(const char *path); }
80	NOARGS		{ int sys_mkdir(const char *path, int mode); }
d173 1
a173 1
90	NOARGS		{ int sys_symlink(const char *path, \
d177 1
a177 1
92	NOARGS		{ int sys_readlink(const char *path, char *buf, \
d353 1
a353 1
248	NOARGS		{ int sys___posix_rename(const char *from, \
@


1.29
log
@add __HAVE_SIGINFO
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.28 2003/09/10 19:47:40 christos Exp $
a183 1
#ifdef __HAVE_SIGINFO
a185 4
#else
96	NOARGS		{ int sys___sigreturn14(struct sigcontext *sigcntxp); \
			    } sigreturn
#endif
@


1.28
log
@sys__sigreturn14 -> compat_16_sys___sigreturn14
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.27 2003/01/18 07:40:46 thorpej Exp $
d184 7
a190 2
96	NOARGS		{ int compat_16_sys___sigreturn14(struct sigcontext *sigcntxp); } \
			    sigreturn
@


1.27
log
@Merge the nathanw_sa branch.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.26 2001/05/30 11:37:24 mrg Exp $
d184 1
a184 1
96	NOARGS		{ int sys___sigreturn14(struct sigcontext *sigcntxp); } \
@


1.27.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.30 2004/03/26 15:18:54 drochner Exp $
d184 2
a185 2
96	NOARGS		{ int compat_16_sys___sigreturn14(struct sigcontext \
			    *sigcntxp); } sigreturn
@


1.27.2.2
log
@Sync with HEAD.
@
text
@@


1.27.2.3
log
@Fix the sync with head I botched.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.27.2.1 2004/08/03 10:43:46 skrll Exp $
@


1.26
log
@use _KERNEL_OPT.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.25 2000/12/09 07:10:35 mycroft Exp $
d42 1
@


1.25
log
@Get rid of the damn EMUL_GET* flags.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.24 2000/12/09 05:27:29 mycroft Exp $
d34 1
a34 1
#if defined(_KERNEL) && !defined(_LKM)
@


1.25.2.1
log
@Catch up to -current.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.25 2000/12/09 07:10:35 mycroft Exp $
d34 1
a34 1
#if defined(_KERNEL_OPT)
@


1.25.2.2
log
@#include <sys/sa.h> before <sys/syscallargs.h>, to provide sa_upcall_t
now that <sys/param.h> doesn't include <sys/sa.h>.

(Behold the Power of Ed)
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.25.2.1 2001/06/21 19:59:23 nathanw Exp $
a41 1
#include <sys/sa.h>
@


1.24
log
@Add the %% separators.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.23 2000/11/30 19:05:27 jdolecek Exp $
d75 1
a75 1
20	NOARGS		{ pid_t sys_getpid(void); }
d80 1
a80 1
24	NOARGS		{ uid_t sys_getuid(void); }
d107 1
a107 1
47	NOARGS		{ gid_t sys_getgid(void); }
@


1.23
log
@LKMify
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.22 2000/08/11 22:14:07 matt Exp $
d34 1
a34 1
if defined(_KERNEL) && !defined(_LKM)
d36 1
a36 1
endif
d47 2
@


1.22
log
@add ibcs2_sys_gtty
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.21 2000/01/10 03:10:15 matt Exp $
d34 1
d36 1
@


1.21
log
@rename ibcs2_sysi86 to ibcs2_sysmachine (since ibcs2 now runs on other
things than i386).
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.20 1999/02/09 20:22:37 christos Exp $
d85 1
a85 1
32	UNIMPL		was gtty
@


1.21.4.1
log
@Approved by thorpej:
> Add gtty(2) emulation.
@
text
@d1 1
a1 1
	$NetBSD$
d85 1
a85 1
32	STD		{ int ibcs2_sys_gtty(int fd, struct ibcs2_sgttyb *tb); }
@


1.20
log
@const poisoning
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.19 1998/12/18 18:49:59 drochner Exp $
d111 1
a111 1
50	STD		{ int ibcs2_sys_sysi86(int cmd, int arg); }
@


1.20.8.1
log
@Update thorpej_scsipi to -current as of a month ago
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.22 2000/08/11 22:14:07 matt Exp $
d85 1
a85 1
32	STD		{ int ibcs2_sys_gtty(int fd, struct ibcs2_sgttyb *tb); }
d111 1
a111 1
50	STD		{ int ibcs2_sys_sysmachine(int cmd, int arg); }
@


1.20.8.2
log
@Sync with HEAD.
@
text
@d1 1
a1 1
	$NetBSD$
a33 1
if defined(_KERNEL) && !defined(_LKM)
a34 1
endif
@


1.20.8.3
log
@Sync with HEAD (for UBC fixes).
@
text
@d34 1
a34 1
#if defined(_KERNEL) && !defined(_LKM)
d36 1
a36 1
#endif
a47 2
%%

d73 1
a73 1
20	NOARGS		{ pid_t sys_getpid_with_ppid(void); }
d78 1
a78 1
24	NOARGS		{ uid_t sys_getuid_with_euid(void); }
d105 1
a105 1
47	NOARGS		{ gid_t sys_getgid_with_egid(void); }
@


1.19
log
@remove compat_xxx dependencies where they don't belong
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.18 1998/12/10 17:03:20 christos Exp $
d51 2
a52 1
5	STD		{ int ibcs2_sys_open(char *path, int flags, int mode); }
d55 1
a55 1
8	STD		{ int ibcs2_sys_creat(char *path, int mode); }
d57 3
a59 3
10	STD		{ int ibcs2_sys_unlink(char *path); }
11	STD		{ int ibcs2_sys_execv(char *path, char **argp); }
12	STD		{ int ibcs2_sys_chdir(char *path); }
d61 5
a65 3
14	STD		{ int ibcs2_sys_mknod(char* path, int mode, int dev); }
15	STD		{ int ibcs2_sys_chmod(char *path, int mode); }
16	STD		{ int ibcs2_sys_chown(char *path, int uid, int gid); }
d67 1
a67 1
18	STD		{ int ibcs2_sys_stat(char* path, \
d82 1
a82 1
30	STD		{ int ibcs2_sys_utime(char *path, \
d86 1
a86 1
33	STD		{ int ibcs2_sys_access(char *path, int flags); }
d88 1
a88 1
35	STD		{ int ibcs2_sys_statfs(char *path, \
d131 1
a131 1
59	STD		{ int ibcs2_sys_execve(char *path, char **argp, \
d152 2
a153 2
79	STD		{ int ibcs2_sys_rmdir(char *path); }
80	STD		{ int ibcs2_sys_mkdir(char *path, int mode); }
d169 3
a171 2
90	STD		{ int ibcs2_sys_symlink(char *path, char *link); }
91	STD		{ int ibcs2_sys_lstat(char *path, \
d173 1
a173 1
92	STD		{ int ibcs2_sys_readlink(char *path, char *buf, \
d189 1
a189 1
103	STD		{ int ibcs2_sys_statvfs(char *path, \
d330 1
a330 1
237	STD		{ int ibcs2_sys_eaccess(char *path, int flags); }
d349 2
a350 1
248	STD		{ int ibcs2_sys_rename(char *from, char *to); }
@


1.18
log
@Defopt COMPAT_43
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.17 1998/10/19 22:34:49 tron Exp $
a34 1
#include "opt_compat_43.h"
@


1.17
log
@Defopt SYSVMSG, SYSVSEM and SYSVSHM.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.16 1998/09/12 00:47:13 mycroft Exp $
d35 1
@


1.16
log
@Version sys_sigreturn, to avoid breaking programs that use it explicitly.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.15 1998/09/11 12:50:08 mycroft Exp $
d33 2
@


1.15
log
@Substantial signal handling changes:
* Increase the size of sigset_t to accomodate 128 signals -- adding new
  versions of sys_setprocmask(), sys_sigaction(), sys_sigpending() and
  sys_sigsuspend() to handle the changed arguments.
* Abstract the guts of sys_sigaltstack(), sys_setprocmask(), sys_sigaction(),
  sys_sigpending() and sys_sigsuspend() into separate functions, and call them
  from all the emulations rather than hard-coding everything.  (Avoids uses
  the stackgap crap for these system calls.)
* Add a new flag (p_checksig) to indicate that a process may have signals
  pending and userret() needs to do the full (slow) check.
* Eliminate SAS_ALTSTACK; it's exactly the inverse of SS_DISABLE.
* Correct emulation bugs with restoring SS_ONSTACK.
* Make the signal mask in the sigcontext always use the emulated mask format.
* Store signals internally in sigaction structures, rather than maintaining a
  bunch of little sigsets for each SA_* bit.
* Keep track of where we put the signal trampoline, rather than figuring it out
  in *_sendsig().
* Issue a warning when a non-emulated sigaction bit is observed.
* Add missing emulated signals, and a native SIGPWR (currently not used).
* Implement the `not reset when caught' semantics for relevant signals.

Note: Only code touched by the i386 port has been modified.  Other ports and
emulations need to be updated.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.14 1998/03/05 04:36:08 scottb Exp $
d170 2
a171 1
94	NOARGS		{ int sys___posix_fchown(int fd, int uid, int gid); }
d173 2
a174 1
96	NOARGS		{ int sys_sigreturn(struct sigcontext *sigcntxp); }
@


1.14
log
@Added support for ibcs2_sigcode.
Added new emulation structure, emul_ibcs2_xout, for XENIX.
Modified some syscalls to differentiate between XENIX and UNIX.
Fixed major bug in semaphore structure emulation size and conversion.
Check and cleanup copyin/copyout usage.
Add xenix_sys_locking patches from Andreas Wrede <andreas@@planix.com>.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.13 1998/02/19 00:40:25 thorpej Exp $
d173 3
a175 1
97	UNIMPL		sigaltstack
d325 1
a325 1
			    struct ibcs2_sigaction *nsa, \
d328 6
a333 3
			    ibcs2_sigset_t *set, ibcs2_sigset_t *oset); }
241	STD		{ int ibcs2_sys_sigpending(ibcs2_sigset_t *mask); }
242	STD		{ int ibcs2_sys_sigsuspend(ibcs2_sigset_t *mask); }
@


1.13
log
@Change a comment to reflect new makesyscalls.sh behavior.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.12 1998/02/14 20:58:21 kleink Exp $
d172 1
a172 1
96	UNIMPL
d179 4
a182 2
103	UNIMPL		statvfs
104	UNIMPL		fstatvfs
@


1.12
log
@Use sys___posix_fchown() instead of sys_fchown().
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.11 1998/02/09 02:30:59 scottb Exp $
d32 1
a32 1
; #include's are copied to the syscall switch definition file only.
@


1.11
log
@iBCS2 code cleanup
added support for ELF binaries
added support for ELF shared libs via mmap code borrowed from svr4_misc.c
incorporated a few XENIX patches from Andreas Wrede <andreas@@planix.com>
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.10 1996/09/07 14:21:59 mycroft Exp $
d170 1
a170 1
94	NOARGS		{ int sys_fchown(int fd, int uid, int gid); }
@


1.10
log
@Modify poll(2) prototype.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.9 1996/09/07 12:40:44 mycroft Exp $
d125 1
a125 1
58	UNIMPL
d169 2
a170 2
93	UNIMPL
94	UNIMPL
d173 1
a173 1
97	UNIMPL
d176 1
a176 1
100	UNIMPL
d179 2
a180 2
103	NOARGS		{ int sys_sigreturn(struct sigcontext *sigcntxp); }
104	UNIMPL
d183 2
a184 2
107	UNIMPL
108	UNIMPL
d188 1
a188 1
112	UNIMPL
d191 5
a195 3
115	UNIMPL
116	UNIMPL
117	UNIMPL
d197 7
a203 7
119	UNIMPL
120	UNIMPL
121	UNIMPL
122	UNIMPL
123	UNIMPL
124	UNIMPL
125	UNIMPL
d206 11
a216 9
128	UNIMPL
129	UNIMPL		xenix_xlocking
130	UNIMPL		xenix_creatsem
131	UNIMPL		xenix_opensem
132	UNIMPL		xenix_sigsem
133	UNIMPL		xenix_waitsem
134	UNIMPL		xenix_nbwaitsem
135	STD		{ int xenix_sys_rdchk(int fd); }
136	UNIMPL
d218 9
a226 9
138	STD		{ int xenix_sys_chsize(int fd, long size); }
139	STD		{ int xenix_sys_ftime(struct xenix_timeb *tp); }
140	STD		{ int xenix_sys_nap(int millisec); }
141	UNIMPL		xenix_sdget
142	UNIMPL		xenix_sdfree
143	UNIMPL		xenix_sdenter
144	UNIMPL		xenix_sdleave
145	UNIMPL		xenix_sdgetv
146	UNIMPL		xenix_sdwaitv
d240 3
a242 3
160	UNIMPL		xenix_proctl
161	UNIMPL		xenix_execseg
162	UNIMPL		xenix_unexecseg
d244 73
a316 1
164	NOARGS		{ int sys_select(u_int nd, fd_set *in, fd_set *ou, \
d318 3
a320 3
165	STD		{ int ibcs2_sys_eaccess(char *path, int flags); }
166	UNIMPL		xenix_paccess
167	STD		{ int ibcs2_sys_sigaction(int signum, \
d323 1
a323 1
168	STD		{ int ibcs2_sys_sigprocmask(int how, \
d325 3
a327 3
169	STD		{ int ibcs2_sys_sigpending(ibcs2_sigset_t *mask); }
170	STD		{ int ibcs2_sys_sigsuspend(ibcs2_sigset_t *mask); }
171	STD		{ int ibcs2_sys_getgroups(int gidsetsize, \
d329 1
a329 1
172	STD		{ int ibcs2_sys_setgroups(int gidsetsize, \
d331 15
a345 4
173	STD		{ int ibcs2_sys_sysconf(int name); }
174	STD		{ int ibcs2_sys_pathconf(char *path, int name); }
175	STD		{ int ibcs2_sys_fpathconf(int fd, int name); }
176	STD		{ int ibcs2_sys_rename(char *from, char *to); }
@


1.10.14.1
log
@Pull up 1.11 and 1.14, per request of scottb.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.11 1998/02/09 02:30:59 scottb Exp $
d125 1
a125 1
58	NOARGS		{ int sys_fsync(int fd); }
d169 2
a170 2
93	NOARGS		{ int sys_fchmod(int fd, int mode); }
94	NOARGS		{ int sys_fchown(int fd, int uid, int gid); }
d172 2
a173 2
96	NOARGS		{ int sys_sigreturn(struct sigcontext *sigcntxp); }
97	UNIMPL		sigaltstack
d176 1
a176 1
100	UNIMPL		getcontext/setcontext/sigsetjmp
d179 2
a180 4
103	STD		{ int ibcs2_sys_statvfs(char *path, \
			    struct ibcs2_statvfs *buf); }
104	STD		{ int ibcs2_sys_fstatvfs(int fd, \
			    struct ibcs2_statvfs *buf); }
d183 2
a184 2
107	UNIMPL		waitid
108	UNIMPL		sigsendset
d188 1
a188 1
112	UNIMPL		priocntl
d191 3
a193 5
115	STD		{ ibcs2_caddr_t ibcs2_sys_mmap(ibcs2_caddr_t addr, \
			    ibcs2_size_t len, int prot, int flags, int fd, \
			    ibcs2_off_t off); }
116     NOARGS          { int sys_mprotect(void *addr, int len, int prot); }
117     NOARGS          { int sys_munmap(void *addr, int len); }
d195 7
a201 7
119	UNIMPL		vfork
120	NOARGS		{ int sys_fchdir(int fd); }
121	NOARGS		{ int sys_readv(int fd, struct iovec *iovp, u_int iovcnt); }
122	NOARGS		{ int sys_writev(int fd, struct iovec *iovp, u_int iovcnt); }
123	UNIMPL		xstat
124	UNIMPL		lxstat
125	UNIMPL		fxstat
d204 9
a212 11
128	UNIMPL		setrlimit
129	UNIMPL		getrlimit
130	UNIMPL		lchown
131	STD		{ int ibcs2_sys_memcntl(ibcs2_caddr_t addr, \
                            ibcs2_size_t len, int cmd, ibcs2_caddr_t arg, \
                            int attr, int mask); }
132	UNIMPL		getpmsg
133	UNIMPL		putpmsg
134	UNIMPL
135	UNIMPL
136	UNIMPL		setegid
d214 9
a222 9
138	UNIMPL		adjtime
139	UNIMPL
140	UNIMPL
141	UNIMPL		seteuid
142	UNIMPL
143	UNIMPL
144	UNIMPL
145	UNIMPL
146	UNIMPL
d236 3
a238 3
160	UNIMPL
161	UNIMPL
162	UNIMPL
d240 1
a240 73
164	UNIMPL
165	UNIMPL
166	UNIMPL
167	UNIMPL
168	UNIMPL
169	UNIMPL
170	UNIMPL
171	STD		{ int ibcs2_sys_gettimeofday(struct timeval *tp); }
172	STD		{ int ibcs2_sys_settimeofday(struct timeval *tp); }
173	UNIMPL
174	UNIMPL
175	UNIMPL
176	UNIMPL
177	UNIMPL
178	UNIMPL
179	UNIMPL
180	UNIMPL
181	UNIMPL
182	UNIMPL
183	UNIMPL
184	UNIMPL
185	UNIMPL
186	UNIMPL
187	UNIMPL
188	UNIMPL
189	UNIMPL
190	UNIMPL
191	NOARGS		{ int compat_43_sys_truncate(char *path, long len); }
192	NOARGS		{ int compat_43_sys_ftruncate(int fd, long len); }
193	UNIMPL
194	UNIMPL
195	UNIMPL
196	UNIMPL
197	UNIMPL
198	UNIMPL
199	UNIMPL
200	UNIMPL
201	STD		{ int xenix_sys_locking(int fd, int blk, int size); }
202	UNIMPL		xenix_creatsem
203	UNIMPL		xenix_opensem
204	UNIMPL		xenix_sigsem
205	UNIMPL		xenix_waitsem
206	UNIMPL		xenix_nbwaitsem
207	STD		{ int xenix_sys_rdchk(int fd); }
208	UNIMPL
209	UNIMPL
210	STD		{ int xenix_sys_chsize(int fd, long size); }
211	STD		{ int xenix_sys_ftime(struct xenix_timeb *tp); }
212	STD		{ int xenix_sys_nap(long millisec); }
213	UNIMPL		xenix_sdget
214	UNIMPL		xenix_sdfree
215	UNIMPL		xenix_sdenter
216	UNIMPL		xenix_sdleave
217	UNIMPL		xenix_sdgetv
218	UNIMPL		xenix_sdwaitv
219	UNIMPL
220	UNIMPL
221	UNIMPL
222	UNIMPL
223	UNIMPL
224	UNIMPL
225	UNIMPL
226	UNIMPL
227	UNIMPL
228	UNIMPL
229	UNIMPL
230	UNIMPL
231	UNIMPL
232	UNIMPL		xenix_proctl
233	UNIMPL		xenix_execseg
234	UNIMPL		xenix_unexecseg
235	UNIMPL
236	NOARGS		{ int sys_select(u_int nd, fd_set *in, fd_set *ou, \
d242 3
a244 3
237	STD		{ int ibcs2_sys_eaccess(char *path, int flags); }
238	UNIMPL		xenix_paccess
239	STD		{ int ibcs2_sys_sigaction(int signum, \
d247 1
a247 1
240	STD		{ int ibcs2_sys_sigprocmask(int how, \
d249 3
a251 3
241	STD		{ int ibcs2_sys_sigpending(ibcs2_sigset_t *mask); }
242	STD		{ int ibcs2_sys_sigsuspend(ibcs2_sigset_t *mask); }
243	STD		{ int ibcs2_sys_getgroups(int gidsetsize, \
d253 1
a253 1
244	STD		{ int ibcs2_sys_setgroups(int gidsetsize, \
d255 4
a258 15
245	STD		{ int ibcs2_sys_sysconf(int name); }
246	STD		{ int ibcs2_sys_pathconf(char *path, int name); }
247	STD		{ int ibcs2_sys_fpathconf(int fd, int name); }
248	STD		{ int ibcs2_sys_rename(char *from, char *to); }
249	UNIMPL
250	STD		{ int ibcs2_sys_scoinfo(struct scoutsname *bp, int len); }
251	UNIMPL
252	UNIMPL
253	UNIMPL
254	UNIMPL
255	UNIMPL		getitimer
256	UNIMPL		setitimer
257	UNIMPL
258	UNIMPL		setreuid
259	UNIMPL		setregid
@


1.9
log
@Implement poll(2).
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.8 1996/01/07 06:09:43 mycroft Exp $
d160 1
a160 1
87	NOARGS		{ int sys_poll(struct pollfd *fds, size_t nfds, \
@


1.8
log
@Correct name of sysi86 function.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.7 1996/01/06 03:23:55 scottb Exp $
d160 2
a161 2
87	STD		{ int ibcs2_sys_poll(struct ibcs2_pollfd *fds, \
			    long nfds, int timeout); }
@


1.7
log
@Added support for sysi86 and eaccess syscalls
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.6 1995/10/07 06:26:56 mycroft Exp $
d106 1
a106 1
50	STD		{ int ibcs2_sysi86(int cmd, int arg); }
@


1.6
log
@Prefix names of system call implementation functions with `sys_'.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.5 1995/08/14 01:27:43 mycroft Exp $
d106 1
a106 1
50	UNIMPL		ibcs2_sys3b
d242 1
a242 1
165	UNIMPL		xenix_eaccess
@


1.5
log
@Rearrange #includes.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.4 1995/03/14 15:12:52 scottb Exp $
a3 2
; System call name/number master file (or rather, slave, from IBCS2).
; Processed to created ibcs2_sysent.c, ibcs2_syscalls.c and ibcs2_syscall.h.
d5 4
a8 1
; Columns: number type nargs name altname/comments
d10 23
a32 5
;	type	one of STD, OBSOL, UNIMPL, STD
;	nargs	number of arguments
;	name	name of syscall routine
;	altname	name of system call if different
;		for UNIMPL/OBSOL, name continues with comments
d44 29
a72 37
; types:
;	STD	always included
;	STD	included on COMPAT #ifdef
;	LIBSTD included on COMPAT #ifdef, and placed in syscall.h
;	OBSOL	obsolete, not included in system, only specifies name
;	UNIMPL	not implemented, placeholder only

; #ifdef's, etc. may be included, and are copied to the output files.

0	NOARGS		{ int nosys(void); } syscall
1	NOARGS		{ int exit(int rval); }
2	NOARGS		{ int fork(void); }
3	STD		{ int ibcs2_read(int fd, char *buf, u_int nbytes); }
4	NOARGS		{ int write(int fd, char *buf, u_int nbytes); }
5	STD		{ int ibcs2_open(char *path, int flags, int mode); }
6	NOARGS		{ int close(int fd); }
7	STD		{ int ibcs2_waitsys(int a1, int a2, int a3); }
8	STD		{ int ibcs2_creat(char *path, int mode); }
9	NOARGS		{ int link(char *path, char *link); }
10	STD		{ int ibcs2_unlink(char *path); }
11	STD		{ int ibcs2_execv(char *path, char **argp); }
12	STD		{ int ibcs2_chdir(char *path); }
13	STD		{ int ibcs2_time(ibcs2_time_t *tp); }
14	STD		{ int ibcs2_mknod(char* path, int mode, int dev); }
15	STD		{ int ibcs2_chmod(char *path, int mode); }
16	STD		{ int ibcs2_chown(char *path, int uid, int gid); }
17	NOARGS		{ int obreak(caddr_t nsize); }
18	STD		{ int ibcs2_stat(char* path, struct ibcs2_stat *st); }
19	NOARGS		{ long compat_43_lseek(int fd, long offset, \
					       int whence); }
20	NOARGS		{ pid_t getpid(void); }
21	STD		{ int ibcs2_mount(char *special, char *dir, int flags, \
				      int fstype, char *data, int len); }
22	STD		{ int ibcs2_umount(char *name); }
23	STD		{ int ibcs2_setuid(int uid); }
24	NOARGS		{ uid_t getuid(void); }
25	STD		{ int ibcs2_stime(long *timep); }
d74 5
a78 5
27	STD		{ int ibcs2_alarm(unsigned sec); }
28	STD		{ int ibcs2_fstat(int fd, struct ibcs2_stat *st); }
29	STD		{ int ibcs2_pause(void); }
30	STD		{ int ibcs2_utime(char *path, \
					  struct ibcs2_utimbuf *buf); }
d81 10
a90 11
33	STD		{ int ibcs2_access(char *path, int flags); }
34	STD		{ int ibcs2_nice(int incr); }
35	STD		{ int ibcs2_statfs(char *path, \
					   struct ibcs2_statfs *buf, \
					   int len, int fstype); }
36	NOARGS		{ int sync(void); }
37	STD		{ int ibcs2_kill(int pid, int signo); }
38	STD		{ int ibcs2_fstatfs(int fd, struct ibcs2_statfs *buf, \
					    int len, int fstype); }
39	STD		{ int ibcs2_pgrpsys(int type, caddr_t dummy, int pid, \
					    int pgid); }
d92 3
a94 3
41	NOARGS		{ int dup(u_int fd); }
42	NOARGS		{ int pipe(void); }
43	STD		{ int ibcs2_times(struct tms *tp); }
d96 4
a99 4
45	STD		{ int ibcs2_plock(int cmd); }
46	STD		{ int ibcs2_setgid(int gid); }
47	NOARGS		{ gid_t getgid(void); }
48	STD		{ int ibcs2_sigsys(int sig, ibcs2_sig_t fp); }
d101 2
a102 2
49	STD		{ int ibcs2_msgsys(int which, int a2, int a3, int a4, \
				     int a5, int a6); }
d104 1
a104 1
49	UNIMPL		nosys
d109 2
a110 1
52	STD		{ int ibcs2_shmsys(int which, int a2, int a3, int a4); }
d112 1
a112 1
52	UNIMPL		nosys
d115 2
a116 2
53	STD		{ int ibcs2_semsys(int which, int a2, int a3, int a4, \
				     int a5); }
d118 1
a118 1
53	UNIMPL		nosys
d120 12
a131 11
54	STD		{ int ibcs2_ioctl(int fd, int cmd, caddr_t data); }
55	STD		{ int ibcs2_uadmin(int cmd, int func, caddr_t data); }
56	UNIMPL		nosys
57	STD		{ int ibcs2_utssys(int a1, int a2, int flag); }
58	UNIMPL		nosys
59	STD		{ int ibcs2_execve(char *path, char **argp, \
					   char **envp); }
60	NOARGS		{ int umask(int newmask); }
61	NOARGS		{ int chroot(char *path); }
62	STD		{ int ibcs2_fcntl(int fd, int cmd, char *arg); }
63	STD		{ long ibcs2_ulimit(int cmd, int newlimit); }
d147 58
a204 55
79	STD		{ int ibcs2_rmdir(char *path); }
80	STD		{ int ibcs2_mkdir(char *path, int mode); }
81	STD		{ int ibcs2_getdents(int fd, char *buf, int nbytes); }
82	UNIMPL		nosys
83	UNIMPL		nosys
84	STD		{ int ibcs2_sysfs(int cmd, caddr_t d1, char *buf); }
85	STD		{ int ibcs2_getmsg(int fd, struct ibcs2_stropts *ctl, \
					  struct ibcs2_stropts *dat, \
					  int *flags); }
86	STD		{ int ibcs2_putmsg(int fd, struct ibcs2_stropts *ctl, \
					  struct ibcs2_stropts *dat, \
					  int flags); }
87	STD		{ int ibcs2_poll(struct ibcs2_pollfd *fds, long nfds, \
					int timeout); }
88	UNIMPL		nosys
89	UNIMPL		nosys
90	STD		{ int ibcs2_symlink(char *path, char *link); }
91	STD		{ int ibcs2_lstat(char *path, struct ibcs2_stat *st); }
92	STD		{ int ibcs2_readlink(char *path, char *buf, int count); }
93	UNIMPL		nosys
94	UNIMPL		nosys
95	UNIMPL		nosys
96	UNIMPL		nosys
97	UNIMPL		nosys
98	UNIMPL		nosys
99	UNIMPL		nosys
100	UNIMPL		nosys
101	UNIMPL		nosys
102	UNIMPL		nosys
103	NOARGS		{ int sigreturn(struct sigcontext *sigcntxp); }
104	UNIMPL		nosys
105	UNIMPL		nosys
106	UNIMPL		nosys
107	UNIMPL		nosys
108	UNIMPL		nosys
109	UNIMPL		nosys
110	UNIMPL		nosys
111	UNIMPL		nosys
112	UNIMPL		nosys
113	UNIMPL		nosys
114	UNIMPL		nosys
115	UNIMPL		nosys
116	UNIMPL		nosys
117	UNIMPL		nosys
118	UNIMPL		nosys
119	UNIMPL		nosys
120	UNIMPL		nosys
121	UNIMPL		nosys
122	UNIMPL		nosys
123	UNIMPL		nosys
124	UNIMPL		nosys
125	UNIMPL		nosys
126	UNIMPL		nosys
127	UNIMPL		nosys
128	UNIMPL		nosys
d211 6
a216 6
135	STD		{ int xenix_rdchk(int fd); }
136	UNIMPL		nosys
137	UNIMPL		nosys
138	STD		{ int xenix_chsize(int fd, long size); }
139	STD		{ int xenix_ftime(struct xenix_timeb *tp); }
140	STD		{ int xenix_nap(int millisec); }
d223 13
a235 13
147	UNIMPL		nosys
148	UNIMPL		nosys
149	UNIMPL		nosys
150	UNIMPL		nosys
151	UNIMPL		nosys
152	UNIMPL		nosys
153	UNIMPL		nosys
154	UNIMPL		nosys
155	UNIMPL		nosys
156	UNIMPL		nosys
157	UNIMPL		nosys
158	UNIMPL		nosys
159	UNIMPL		nosys
d239 3
a241 3
163	UNIMPL		nosys
164	NOARGS		{ int select(u_int nd, fd_set *in, fd_set *ou, \
				     fd_set *ex, struct timeval *tv); }
d244 15
a258 15
167	STD		{ int ibcs2_sigaction(int sig, \
					      struct ibcs2_sigaction *act, \
					      struct ibcs2_sigaction *oact); }
168	STD		{ int ibcs2_sigprocmask(int how, ibcs2_sigset_t *set, \
					        ibcs2_sigset_t *oset); }
169	STD		{ int ibcs2_sigpending(ibcs2_sigset_t *mask); }
170	STD		{ int ibcs2_sigsuspend(ibcs2_sigset_t *mask); }
171	STD		{ int ibcs2_getgroups(int gidsetsize, \
					      ibcs2_gid_t *gidset); }
172	STD		{ int ibcs2_setgroups(int gidsetsize, \
					      ibcs2_gid_t *gidset); }
173	STD		{ int ibcs2_sysconf(int name); }
174	STD		{ int ibcs2_pathconf(char *path, int name); }
175	STD		{ int ibcs2_fpathconf(int fd, int name); }
176	STD		{ int ibcs2_rename(char *from, char *to); }
@


1.4
log
@updated existing files to use new system call interface.
added new code to support socket interface.
borrowed code from linux/svr4 to use /emul pathnames.
split ibcs2_misc.c into more managable files.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.3 1994/10/26 02:53:19 cgd Exp $
a15 3
#include <compat/ibcs2/ibcs2_types.h>
#include <compat/ibcs2/ibcs2_signal.h>
#include <compat/ibcs2/ibcs2_statfs.h>
d20 2
d23 1
@


1.3
log
@new RCS ID format.
@
text
@d1 1
a1 1
	$NetBSD$
d4 1
a4 1
; System call name/number master file (or rather, slave, from SunOS).
d15 10
d34 56
a89 49
0	STD	0 nosys
1	STD	1 exit
2	STD	0 fork
3	STD	3 read
4	STD	3 write
5	STD	3 ibcs2_open
6	STD	1 close
7	STD	3 ibcs2_waitsys
8	STD	2 ocreat
9	STD	2 link
10	STD	1 unlink
11	STD	2 ibcs2_execv
12	STD	1 chdir
13	STD	1 ibcs2_time
14	STD	3 ibcs2_mknod
15	STD	2 chmod
16	STD	3 chown
17	STD	1 obreak break
18	STD	2 ibcs2_stat
19	STD	3 olseek
20	STD	0 getpid
21	STD	6 ibcs2_mount
22	STD	1 ibcs2_umount
23	STD	1 ibcs2_setuid
24	STD	0 getuid
25	STD	1 ibcs2_stime
26	STD	4 ibcs2_ptrace
27	STD	1 ibcs2_alarm
28	STD	2 ibcs2_fstat
29	STD	0 ibcs2_pause
30	STD	2 ibcs2_utime
31	UNIMPL	0 was stty
32	UNIMPL	0 was gtty
33	STD	2 access
34	STD	1 ibcs2_nice
35	STD	4 ibcs2_statfs
36	STD	0 sync
37	STD	2 ibcs2_kill
38	STD	4 ibcs2_fstatfs
39	STD	4 ibcs2_pgrpsys
40	UNIMPL	0 nosys		XENIX trampoline
41	STD	2 dup
42	STD	1 pipe
43	STD	1 ibcs2_times
44	STD	4 profil
45	STD	1 ibcs2_plock
46	STD	1 ibcs2_setgid
47	STD	0 getgid
48	STD	2 ibcs2_sigsys
d91 2
a92 1
49	STD	6 msgsys
d94 1
a94 1
49	UNIMPL	0 nosys
d96 2
a97 2
50	UNIMPL	1 ibcs2_sys3b
51	STD	1 acct
d99 1
a99 1
52	STD	4 shmsys
d101 1
a101 1
52	UNIMPL	0 nosys
d104 2
a105 1
53	STD	5 semsys
d107 1
a107 1
53	UNIMPL	0 nosys
d109 135
a243 123
54	STD	3 ibcs2_ioctl
55	STD	3 ibcs2_uadmin
56	UNIMPL	0 nosys
57	STD	3 ibcs2_utssys
58	UNIMPL	0 nosys
59	STD	3 execve
60	STD	1 umask
61	STD	1 chroot
62	STD	3 ibcs2_fcntl
63	STD	2 ibcs2_ulimit
64	UNIMPL	0 reserved for unix/pc
65	UNIMPL	0 reserved for unix/pc
66	UNIMPL	0 reserved for unix/pc
67	UNIMPL	0 reserved for unix/pc
68	UNIMPL	0 reserved for unix/pc
69	UNIMPL	0 reserved for unix/pc
70	OBSOL	0 rfs_advfs
71	OBSOL	0 rfs_unadvfs
72	OBSOL	0 rfs_rmount
73	OBSOL	0 rfs_rumount
74	OBSOL	0 rfs_rfstart
75	OBSOL	0 rfs_sigret
76	OBSOL	0 rfs_rdebug
77	OBSOL	0 rfs_rfstop
78	OBSOL	0 rfs_rfsys
79	STD	1 rmdir
80	STD	2 mkdir
81	STD	3 ibcs2_getdents
82	UNIMPL	0 nosys
83	UNIMPL	0 nosys
84	STD	3 ibcs2_sysfs
85	STD	0 ibcs2_getmsg
86	STD	0 ibcs2_putmsg
87	STD	3 ibcs2_poll
88	UNIMPL	0 nosys
89	UNIMPL	0 nosys
90	STD	2 symlink
91	STD	2 ibcs2_lstat
92	STD	3 readlink
93	UNIMPL	0 nosys
94	UNIMPL	0 nosys
95	UNIMPL	0 nosys
96	UNIMPL	0 nosys
97	UNIMPL	0 nosys
98	UNIMPL	0 nosys
99	UNIMPL	0 nosys
100	UNIMPL	0 nosys
101	UNIMPL	0 nosys
102	UNIMPL	0 nosys
103	STD	1 sigreturn
104	UNIMPL	0 nosys
105	UNIMPL	0 nosys
106	UNIMPL	0 nosys
107	UNIMPL	0 nosys
108	UNIMPL	0 nosys
109	UNIMPL	0 nosys
110	UNIMPL	0 nosys
111	UNIMPL	0 nosys
112	UNIMPL	0 nosys
113	UNIMPL	0 nosys
114	UNIMPL	0 nosys
115	UNIMPL	0 nosys
116	UNIMPL	0 nosys
117	UNIMPL	0 nosys
118	UNIMPL	0 nosys
119	UNIMPL	0 nosys
120	UNIMPL	0 nosys
121	UNIMPL	0 nosys
122	UNIMPL	0 nosys
123	UNIMPL	0 nosys
124	UNIMPL	0 nosys
125	UNIMPL	0 nosys
126	UNIMPL	0 nosys
127	UNIMPL	0 nosys
128	UNIMPL	0 nosys
129	UNIMPL	0 XENIX xlocking	0x0128
130	UNIMPL	0 XENIX creatsem	0x0228
131	UNIMPL	0 XENIX opensem		0x0328
132	UNIMPL	0 XENIX sigsem		0x0428
133	UNIMPL	0 XENIX waitsem		0x0528
134	UNIMPL	0 XENIX nbwaitsem	0x0628
135	STD	1 xenix_rdchk		0x0728
136	UNIMPL	0 XENIX nosys		0x0828
137	UNIMPL	0 XENIX nosys		0x0928
138	STD	2 xenix_chsize		0x0a28
139	STD	1 ibcs2_ftime		0x0b28
140	STD	1 xenix_nap		0x0c28
141	UNIMPL	0 XENIX sdget		0x0d28
142	UNIMPL	0 XENIX sdfree		0x0e28
143	UNIMPL	0 XENIX sdenter		0x0f28
144	UNIMPL	0 XENIX sdleave		0x1028
145	UNIMPL	0 XENIX sdgetv		0x1128
146	UNIMPL	0 XENIX sdwaitv		0x1228
147	UNIMPL	0 XENIX nosys		0x1328
148	UNIMPL	0 XENIX nosys		0x1428
149	UNIMPL	0 XENIX nosys		0x1528
150	UNIMPL	0 XENIX nosys		0x1628
151	UNIMPL	0 XENIX nosys		0x1728
152	UNIMPL	0 XENIX nosys		0x1828
153	UNIMPL	0 XENIX nosys		0x1928
154	UNIMPL	0 XENIX nosys		0x1a28
155	UNIMPL	0 XENIX nosys		0x1b28
156	UNIMPL	0 XENIX nosys		0x1c28
157	UNIMPL	0 XENIX nosys		0x1d28
158	UNIMPL	0 XENIX nosys		0x1e28
159	UNIMPL	0 XENIX nosys		0x1f28
160	UNIMPL	0 XENIX proctl		0x2028
161	UNIMPL	0 XENIX execseg		0x2128
162	UNIMPL	0 XENIX unexecseg	0x2228
163	UNIMPL	0 XENIX nosys		0x2328
164	STD	5 ibcs2_select		0x2428
165	UNIMPL	0 XENIX eaccess		0x2528
166	UNIMPL	0 XENIX paccess		0x2628
167	STD	3 ibcs2_sigaction	0x2728
168	STD	3 ibcs2_sigprocmask	0x2828
169	STD	1 ibcs2_sigpending	0x2928
170	STD	1 ibcs2_sigsuspend	0x2a28
171	STD	2 ibcs2_getgroups	0x2b28
172	STD	2 ibcs2_setgroups	0x2c28
173	STD	1 ibcs2_sysconf		0x2d28
174	STD	2 ibcs2_pathconf	0x2e28
175	STD	2 ibcs2_fpathconf	0x2f28
176	STD	2 rename		0x3028
@


1.2
log
@New iBCS2 code from Scott.
@
text
@d1 3
a3 2
	$Id: syscalls.master,v 1.1 1994/08/24 19:14:29 mycroft Exp $
;	from: @@(#)syscalls.master	8.1 (Berkeley) 7/19/93
@


1.2.2.1
log
@file syscalls.master was added on branch netbsd-1-0 on 1994-09-05 01:29:07 +0000
@
text
@d1 211
@


1.2.2.2
log
@New iBCS2 code from Scott.
@
text
@a0 211
	$Id: syscalls.master,v 1.2 1994/09/05 01:29:06 mycroft Exp $
;	from: @@(#)syscalls.master	8.1 (Berkeley) 7/19/93
; System call name/number master file (or rather, slave, from SunOS).
; Processed to created ibcs2_sysent.c, ibcs2_syscalls.c and ibcs2_syscall.h.

; Columns: number type nargs name altname/comments
;	number	system call number, must be in order
;	type	one of STD, OBSOL, UNIMPL, STD
;	nargs	number of arguments
;	name	name of syscall routine
;	altname	name of system call if different
;		for UNIMPL/OBSOL, name continues with comments

; types:
;	STD	always included
;	STD	included on COMPAT #ifdef
;	LIBSTD included on COMPAT #ifdef, and placed in syscall.h
;	OBSOL	obsolete, not included in system, only specifies name
;	UNIMPL	not implemented, placeholder only

; #ifdef's, etc. may be included, and are copied to the output files.

0	STD	0 nosys
1	STD	1 exit
2	STD	0 fork
3	STD	3 read
4	STD	3 write
5	STD	3 ibcs2_open
6	STD	1 close
7	STD	3 ibcs2_waitsys
8	STD	2 ocreat
9	STD	2 link
10	STD	1 unlink
11	STD	2 ibcs2_execv
12	STD	1 chdir
13	STD	1 ibcs2_time
14	STD	3 ibcs2_mknod
15	STD	2 chmod
16	STD	3 chown
17	STD	1 obreak break
18	STD	2 ibcs2_stat
19	STD	3 olseek
20	STD	0 getpid
21	STD	6 ibcs2_mount
22	STD	1 ibcs2_umount
23	STD	1 ibcs2_setuid
24	STD	0 getuid
25	STD	1 ibcs2_stime
26	STD	4 ibcs2_ptrace
27	STD	1 ibcs2_alarm
28	STD	2 ibcs2_fstat
29	STD	0 ibcs2_pause
30	STD	2 ibcs2_utime
31	UNIMPL	0 was stty
32	UNIMPL	0 was gtty
33	STD	2 access
34	STD	1 ibcs2_nice
35	STD	4 ibcs2_statfs
36	STD	0 sync
37	STD	2 ibcs2_kill
38	STD	4 ibcs2_fstatfs
39	STD	4 ibcs2_pgrpsys
40	UNIMPL	0 nosys		XENIX trampoline
41	STD	2 dup
42	STD	1 pipe
43	STD	1 ibcs2_times
44	STD	4 profil
45	STD	1 ibcs2_plock
46	STD	1 ibcs2_setgid
47	STD	0 getgid
48	STD	2 ibcs2_sigsys
#ifdef SYSVMSG
49	STD	6 msgsys
#else
49	UNIMPL	0 nosys
#endif
50	UNIMPL	1 ibcs2_sys3b
51	STD	1 acct
#ifdef SYSVSHM
52	STD	4 shmsys
#else
52	UNIMPL	0 nosys
#endif
#ifdef SYSVSEM
53	STD	5 semsys
#else
53	UNIMPL	0 nosys
#endif
54	STD	3 ibcs2_ioctl
55	STD	3 ibcs2_uadmin
56	UNIMPL	0 nosys
57	STD	3 ibcs2_utssys
58	UNIMPL	0 nosys
59	STD	3 execve
60	STD	1 umask
61	STD	1 chroot
62	STD	3 ibcs2_fcntl
63	STD	2 ibcs2_ulimit
64	UNIMPL	0 reserved for unix/pc
65	UNIMPL	0 reserved for unix/pc
66	UNIMPL	0 reserved for unix/pc
67	UNIMPL	0 reserved for unix/pc
68	UNIMPL	0 reserved for unix/pc
69	UNIMPL	0 reserved for unix/pc
70	OBSOL	0 rfs_advfs
71	OBSOL	0 rfs_unadvfs
72	OBSOL	0 rfs_rmount
73	OBSOL	0 rfs_rumount
74	OBSOL	0 rfs_rfstart
75	OBSOL	0 rfs_sigret
76	OBSOL	0 rfs_rdebug
77	OBSOL	0 rfs_rfstop
78	OBSOL	0 rfs_rfsys
79	STD	1 rmdir
80	STD	2 mkdir
81	STD	3 ibcs2_getdents
82	UNIMPL	0 nosys
83	UNIMPL	0 nosys
84	STD	3 ibcs2_sysfs
85	STD	0 ibcs2_getmsg
86	STD	0 ibcs2_putmsg
87	STD	3 ibcs2_poll
88	UNIMPL	0 nosys
89	UNIMPL	0 nosys
90	STD	2 symlink
91	STD	2 ibcs2_lstat
92	STD	3 readlink
93	UNIMPL	0 nosys
94	UNIMPL	0 nosys
95	UNIMPL	0 nosys
96	UNIMPL	0 nosys
97	UNIMPL	0 nosys
98	UNIMPL	0 nosys
99	UNIMPL	0 nosys
100	UNIMPL	0 nosys
101	UNIMPL	0 nosys
102	UNIMPL	0 nosys
103	STD	1 sigreturn
104	UNIMPL	0 nosys
105	UNIMPL	0 nosys
106	UNIMPL	0 nosys
107	UNIMPL	0 nosys
108	UNIMPL	0 nosys
109	UNIMPL	0 nosys
110	UNIMPL	0 nosys
111	UNIMPL	0 nosys
112	UNIMPL	0 nosys
113	UNIMPL	0 nosys
114	UNIMPL	0 nosys
115	UNIMPL	0 nosys
116	UNIMPL	0 nosys
117	UNIMPL	0 nosys
118	UNIMPL	0 nosys
119	UNIMPL	0 nosys
120	UNIMPL	0 nosys
121	UNIMPL	0 nosys
122	UNIMPL	0 nosys
123	UNIMPL	0 nosys
124	UNIMPL	0 nosys
125	UNIMPL	0 nosys
126	UNIMPL	0 nosys
127	UNIMPL	0 nosys
128	UNIMPL	0 nosys
129	UNIMPL	0 XENIX xlocking	0x0128
130	UNIMPL	0 XENIX creatsem	0x0228
131	UNIMPL	0 XENIX opensem		0x0328
132	UNIMPL	0 XENIX sigsem		0x0428
133	UNIMPL	0 XENIX waitsem		0x0528
134	UNIMPL	0 XENIX nbwaitsem	0x0628
135	STD	1 xenix_rdchk		0x0728
136	UNIMPL	0 XENIX nosys		0x0828
137	UNIMPL	0 XENIX nosys		0x0928
138	STD	2 xenix_chsize		0x0a28
139	STD	1 ibcs2_ftime		0x0b28
140	STD	1 xenix_nap		0x0c28
141	UNIMPL	0 XENIX sdget		0x0d28
142	UNIMPL	0 XENIX sdfree		0x0e28
143	UNIMPL	0 XENIX sdenter		0x0f28
144	UNIMPL	0 XENIX sdleave		0x1028
145	UNIMPL	0 XENIX sdgetv		0x1128
146	UNIMPL	0 XENIX sdwaitv		0x1228
147	UNIMPL	0 XENIX nosys		0x1328
148	UNIMPL	0 XENIX nosys		0x1428
149	UNIMPL	0 XENIX nosys		0x1528
150	UNIMPL	0 XENIX nosys		0x1628
151	UNIMPL	0 XENIX nosys		0x1728
152	UNIMPL	0 XENIX nosys		0x1828
153	UNIMPL	0 XENIX nosys		0x1928
154	UNIMPL	0 XENIX nosys		0x1a28
155	UNIMPL	0 XENIX nosys		0x1b28
156	UNIMPL	0 XENIX nosys		0x1c28
157	UNIMPL	0 XENIX nosys		0x1d28
158	UNIMPL	0 XENIX nosys		0x1e28
159	UNIMPL	0 XENIX nosys		0x1f28
160	UNIMPL	0 XENIX proctl		0x2028
161	UNIMPL	0 XENIX execseg		0x2128
162	UNIMPL	0 XENIX unexecseg	0x2228
163	UNIMPL	0 XENIX nosys		0x2328
164	STD	5 ibcs2_select		0x2428
165	UNIMPL	0 XENIX eaccess		0x2528
166	UNIMPL	0 XENIX paccess		0x2628
167	STD	3 ibcs2_sigaction	0x2728
168	STD	3 ibcs2_sigprocmask	0x2828
169	STD	1 ibcs2_sigpending	0x2928
170	STD	1 ibcs2_sigsuspend	0x2a28
171	STD	2 ibcs2_getgroups	0x2b28
172	STD	2 ibcs2_setgroups	0x2c28
173	STD	1 ibcs2_sysconf		0x2d28
174	STD	2 ibcs2_pathconf	0x2e28
175	STD	2 ibcs2_fpathconf	0x2f28
176	STD	2 rename		0x3028
@


1.1
log
@iBCS2 emulation code, written by Scott Bartram.
@
text
@d1 1
a1 1
	$Id: syscalls.master,v 1.1 1994/05/22 10:04:45 deraadt Exp $
d60 1
a60 1
37	STD	2 kill
d63 1
a63 1
40	STD	4 ibcs2_xenix
d170 1
a170 1
135	UNIMPL	0 XENIX rdchk		0x0728
d173 3
a175 3
138	UNIMPL	0 XENIX chsize		0x0a28
139	STD	1 ibcs2_ftime
140	UNIMPL	0 XENIX nap		0x0c28
d199 1
a199 1
164	STD	5 ibcs2_select
d202 10
a211 10
167	STD	3 ibcs2_sigaction
168	STD	3 ibcs2_sigprocmask
169	STD	1 ibcs2_sigpending
170	STD	1 ibcs2_sigsuspend
171	STD	2 ibcs2_getgroups
172	STD	2 ibcs2_setgroups
173	STD	1 ibcs2_sysconf
174	STD	2 ibcs2_pathconf
175	STD	2 ibcs2_fpathconf
176	STD	2 rename
@
