head	1.50;
access;
symbols
	perseant-exfatfs-base-20250801:1.50
	perseant-exfatfs-base-20240630:1.50
	perseant-exfatfs:1.50.0.14
	perseant-exfatfs-base:1.50
	netbsd-8-3-RELEASE:1.49
	bouyer-sunxi-drm:1.50.0.12
	bouyer-sunxi-drm-base:1.50
	cjep_sun2x:1.50.0.10
	cjep_sun2x-base:1.50
	cjep_staticlib_x-base1:1.50
	cjep_staticlib_x:1.50.0.8
	cjep_staticlib_x-base:1.50
	thorpej-futex-base:1.50
	bouyer-xenpvh-base2:1.50
	phil-wifi-20200421:1.50
	bouyer-xenpvh-base1:1.50
	phil-wifi-20200411:1.50
	bouyer-xenpvh:1.50.0.6
	bouyer-xenpvh-base:1.50
	phil-wifi-20200406:1.50
	netbsd-8-2-RELEASE:1.49
	ad-namecache-base3:1.50
	ad-namecache-base2:1.50
	ad-namecache-base1:1.50
	ad-namecache:1.50.0.4
	ad-namecache-base:1.50
	netbsd-8-1-RELEASE:1.49
	netbsd-8-1-RC1:1.49
	isaki-audio2:1.50.0.2
	isaki-audio2-base:1.50
	pgoyette-compat-merge-20190127:1.49
	pgoyette-compat-20190127:1.49
	pgoyette-compat-20190118:1.49
	pgoyette-compat-1226:1.49
	pgoyette-compat-1126:1.49
	pgoyette-compat-1020:1.49
	pgoyette-compat-0930:1.49
	pgoyette-compat-0906:1.49
	netbsd-7-2-RELEASE:1.49
	pgoyette-compat-0728:1.49
	netbsd-8-0-RELEASE:1.49
	phil-wifi:1.49.0.30
	phil-wifi-base:1.49
	pgoyette-compat-0625:1.49
	netbsd-8-0-RC2:1.49
	pgoyette-compat-0521:1.49
	pgoyette-compat-0502:1.49
	pgoyette-compat-0422:1.49
	netbsd-8-0-RC1:1.49
	pgoyette-compat-0415:1.49
	pgoyette-compat-0407:1.49
	pgoyette-compat-0330:1.49
	pgoyette-compat-0322:1.49
	pgoyette-compat-0315:1.49
	netbsd-7-1-2-RELEASE:1.49
	pgoyette-compat:1.49.0.28
	pgoyette-compat-base:1.49
	netbsd-7-1-1-RELEASE:1.49
	tls-maxphys-base-20171202:1.49
	matt-nb8-mediatek:1.49.0.26
	matt-nb8-mediatek-base:1.49
	nick-nhusb-base-20170825:1.49
	perseant-stdc-iso10646:1.49.0.24
	perseant-stdc-iso10646-base:1.49
	netbsd-8:1.49.0.22
	netbsd-8-base:1.49
	prg-localcount2-base3:1.49
	prg-localcount2-base2:1.49
	prg-localcount2-base1:1.49
	prg-localcount2:1.49.0.20
	prg-localcount2-base:1.49
	pgoyette-localcount-20170426:1.49
	bouyer-socketcan-base1:1.49
	jdolecek-ncq:1.49.0.18
	jdolecek-ncq-base:1.49
	pgoyette-localcount-20170320:1.49
	netbsd-7-1:1.49.0.16
	netbsd-7-1-RELEASE:1.49
	netbsd-7-1-RC2:1.49
	nick-nhusb-base-20170204:1.49
	netbsd-7-nhusb-base-20170116:1.49
	bouyer-socketcan:1.49.0.14
	bouyer-socketcan-base:1.49
	pgoyette-localcount-20170107:1.49
	netbsd-7-1-RC1:1.49
	nick-nhusb-base-20161204:1.49
	pgoyette-localcount-20161104:1.49
	netbsd-7-0-2-RELEASE:1.49
	nick-nhusb-base-20161004:1.49
	localcount-20160914:1.49
	netbsd-7-nhusb:1.49.0.12
	netbsd-7-nhusb-base:1.49
	pgoyette-localcount-20160806:1.49
	pgoyette-localcount-20160726:1.49
	pgoyette-localcount:1.49.0.10
	pgoyette-localcount-base:1.49
	nick-nhusb-base-20160907:1.49
	nick-nhusb-base-20160529:1.49
	netbsd-7-0-1-RELEASE:1.49
	nick-nhusb-base-20160422:1.49
	nick-nhusb-base-20160319:1.49
	nick-nhusb-base-20151226:1.49
	netbsd-7-0:1.49.0.8
	netbsd-7-0-RELEASE:1.49
	nick-nhusb-base-20150921:1.49
	netbsd-7-0-RC3:1.49
	netbsd-7-0-RC2:1.49
	netbsd-7-0-RC1:1.49
	nick-nhusb-base-20150606:1.49
	nick-nhusb-base-20150406:1.49
	nick-nhusb:1.49.0.6
	nick-nhusb-base:1.49
	netbsd-5-2-3-RELEASE:1.45
	netbsd-5-1-5-RELEASE:1.45
	netbsd-6-0-6-RELEASE:1.48
	netbsd-6-1-5-RELEASE:1.48
	netbsd-7:1.49.0.4
	netbsd-7-base:1.49
	yamt-pagecache-base9:1.49
	yamt-pagecache-tag8:1.48
	netbsd-6-1-4-RELEASE:1.48
	netbsd-6-0-5-RELEASE:1.48
	tls-earlyentropy:1.49.0.2
	tls-earlyentropy-base:1.49
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.49
	riastradh-drm2-base3:1.49
	netbsd-6-1-3-RELEASE:1.48
	netbsd-6-0-4-RELEASE:1.48
	netbsd-5-2-2-RELEASE:1.45
	netbsd-5-1-4-RELEASE:1.45
	netbsd-6-1-2-RELEASE:1.48
	netbsd-6-0-3-RELEASE:1.48
	netbsd-5-2-1-RELEASE:1.45
	netbsd-5-1-3-RELEASE:1.45
	rmind-smpnet-nbase:1.49
	netbsd-6-1-1-RELEASE:1.48
	riastradh-drm2-base2:1.48
	riastradh-drm2-base1:1.48
	riastradh-drm2:1.48.0.36
	riastradh-drm2-base:1.48
	rmind-smpnet:1.48.0.28
	rmind-smpnet-base:1.49
	netbsd-6-1:1.48.0.34
	netbsd-6-0-2-RELEASE:1.48
	netbsd-6-1-RELEASE:1.48
	khorben-n900:1.48.0.32
	netbsd-6-1-RC4:1.48
	netbsd-6-1-RC3:1.48
	agc-symver:1.48.0.30
	agc-symver-base:1.48
	netbsd-6-1-RC2:1.48
	netbsd-6-1-RC1:1.48
	yamt-pagecache-base8:1.48
	netbsd-5-2:1.45.0.62
	netbsd-6-0-1-RELEASE:1.48
	yamt-pagecache-base7:1.48
	netbsd-5-2-RELEASE:1.45
	netbsd-5-2-RC1:1.45
	matt-nb6-plus-nbase:1.48
	yamt-pagecache-base6:1.48
	netbsd-6-0:1.48.0.26
	netbsd-6-0-RELEASE:1.48
	netbsd-6-0-RC2:1.48
	tls-maxphys:1.48.0.24
	tls-maxphys-base:1.49
	matt-nb6-plus:1.48.0.22
	matt-nb6-plus-base:1.48
	netbsd-6-0-RC1:1.48
	jmcneill-usbmp-base10:1.48
	yamt-pagecache-base5:1.48
	jmcneill-usbmp-base9:1.48
	yamt-pagecache-base4:1.48
	jmcneill-usbmp-base8:1.48
	jmcneill-usbmp-base7:1.48
	jmcneill-usbmp-base6:1.48
	jmcneill-usbmp-base5:1.48
	jmcneill-usbmp-base4:1.48
	jmcneill-usbmp-base3:1.48
	jmcneill-usbmp-pre-base2:1.48
	jmcneill-usbmp-base2:1.48
	netbsd-6:1.48.0.20
	netbsd-6-base:1.48
	netbsd-5-1-2-RELEASE:1.45
	netbsd-5-1-1-RELEASE:1.45
	jmcneill-usbmp:1.48.0.18
	jmcneill-usbmp-base:1.48
	jmcneill-audiomp3:1.48.0.16
	jmcneill-audiomp3-base:1.48
	yamt-pagecache-base3:1.48
	yamt-pagecache-base2:1.48
	yamt-pagecache:1.48.0.14
	yamt-pagecache-base:1.48
	rmind-uvmplock-nbase:1.48
	cherry-xenmp:1.48.0.12
	cherry-xenmp-base:1.48
	bouyer-quota2-nbase:1.48
	bouyer-quota2:1.48.0.10
	bouyer-quota2-base:1.48
	jruoho-x86intr:1.48.0.8
	jruoho-x86intr-base:1.48
	matt-mips64-premerge-20101231:1.48
	matt-nb5-mips64-premerge-20101231:1.45
	matt-nb5-pq3:1.45.0.60
	matt-nb5-pq3-base:1.45
	netbsd-5-1:1.45.0.58
	netbsd-5-1-RELEASE:1.45
	uebayasi-xip-base4:1.48
	uebayasi-xip-base3:1.48
	yamt-nfs-mp-base11:1.48
	netbsd-5-1-RC4:1.45
	matt-nb5-mips64-k15:1.45
	uebayasi-xip-base2:1.48
	yamt-nfs-mp-base10:1.48
	netbsd-5-1-RC3:1.45
	netbsd-5-1-RC2:1.45
	uebayasi-xip-base1:1.48
	netbsd-5-1-RC1:1.45
	rmind-uvmplock:1.48.0.6
	rmind-uvmplock-base:1.48
	yamt-nfs-mp-base9:1.48
	uebayasi-xip:1.48.0.4
	uebayasi-xip-base:1.48
	netbsd-5-0-2-RELEASE:1.45
	matt-nb5-mips64-premerge-20091211:1.45
	matt-premerge-20091211:1.48
	yamt-nfs-mp-base8:1.48
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.45
	matt-nb4-mips64-k7-u2a-k9b:1.45
	matt-nb5-mips64-u1-k1-k5:1.45
	yamt-nfs-mp-base7:1.48
	matt-nb5-mips64:1.45.0.56
	netbsd-5-0-1-RELEASE:1.45
	jymxensuspend-base:1.48
	yamt-nfs-mp-base6:1.48
	yamt-nfs-mp-base5:1.48
	yamt-nfs-mp-base4:1.48
	jym-xensuspend-nbase:1.48
	yamt-nfs-mp-base3:1.48
	nick-hppapmap-base4:1.48
	nick-hppapmap-base3:1.48
	netbsd-5-0:1.45.0.54
	netbsd-5-0-RELEASE:1.45
	netbsd-5-0-RC4:1.45
	netbsd-5-0-RC3:1.45
	nick-hppapmap-base2:1.48
	netbsd-5-0-RC2:1.45
	jym-xensuspend:1.48.0.2
	jym-xensuspend-base:1.48
	netbsd-5-0-RC1:1.45
	haad-dm-base2:1.47
	haad-nbase2:1.47
	ad-audiomp2:1.47.0.2
	ad-audiomp2-base:1.47
	netbsd-5:1.45.0.52
	netbsd-5-base:1.45
	nick-hppapmap:1.45.0.50
	nick-hppapmap-base:1.48
	matt-mips64-base2:1.45
	matt-mips64:1.45.0.48
	haad-dm-base1:1.45
	wrstuden-revivesa-base-4:1.45
	netbsd-4-0-1-RELEASE:1.43
	wrstuden-revivesa-base-3:1.45
	wrstuden-revivesa-base-2:1.45
	wrstuden-fixsa-newbase:1.43
	nick-csl-alignment-base5:1.45
	haad-dm:1.45.0.46
	haad-dm-base:1.47
	wrstuden-revivesa-base-1:1.45
	simonb-wapbl-nbase:1.45
	yamt-pf42-base4:1.45
	simonb-wapbl:1.45.0.44
	simonb-wapbl-base:1.45
	yamt-pf42-base3:1.45
	hpcarm-cleanup-nbase:1.45
	yamt-pf42-baseX:1.45
	yamt-pf42-base2:1.45
	yamt-nfs-mp-base2:1.45
	wrstuden-revivesa:1.45.0.42
	wrstuden-revivesa-base:1.45
	yamt-nfs-mp:1.45.0.40
	yamt-nfs-mp-base:1.45
	yamt-pf42:1.45.0.38
	yamt-pf42-base:1.45
	ad-socklock-base1:1.45
	yamt-lazymbuf-base15:1.45
	yamt-lazymbuf-base14:1.45
	keiichi-mipv6-nbase:1.45
	mjf-devfs2:1.45.0.36
	mjf-devfs2-base:1.48
	nick-net80211-sync:1.45.0.34
	nick-net80211-sync-base:1.45
	keiichi-mipv6:1.45.0.32
	keiichi-mipv6-base:1.45
	bouyer-xeni386-merge1:1.45
	matt-armv6-prevmlocking:1.45
	wrstuden-fixsa-base-1:1.43
	vmlocking2-base3:1.45
	netbsd-4-0:1.43.0.30
	netbsd-4-0-RELEASE:1.43
	bouyer-xeni386-nbase:1.45
	yamt-kmem-base3:1.45
	cube-autoconf:1.45.0.30
	cube-autoconf-base:1.45
	yamt-kmem-base2:1.45
	bouyer-xeni386:1.45.0.28
	bouyer-xeni386-base:1.45
	yamt-kmem:1.45.0.26
	yamt-kmem-base:1.45
	vmlocking2-base2:1.45
	reinoud-bufcleanup-nbase:1.45
	vmlocking2:1.45.0.24
	vmlocking2-base1:1.45
	netbsd-4-0-RC5:1.43
	matt-nb4-arm:1.43.0.28
	matt-nb4-arm-base:1.43
	matt-armv6-nbase:1.45
	jmcneill-base:1.45
	netbsd-4-0-RC4:1.43
	mjf-devfs:1.45.0.22
	mjf-devfs-base:1.45
	bouyer-xenamd64-base2:1.45
	vmlocking-nbase:1.45
	yamt-x86pmap-base4:1.45
	bouyer-xenamd64:1.45.0.20
	bouyer-xenamd64-base:1.45
	netbsd-4-0-RC3:1.43
	yamt-x86pmap-base3:1.45
	yamt-x86pmap-base2:1.45
	netbsd-4-0-RC2:1.43
	yamt-x86pmap:1.45.0.18
	yamt-x86pmap-base:1.45
	netbsd-4-0-RC1:1.43
	matt-armv6:1.45.0.16
	matt-armv6-base:1.45
	matt-mips64-base:1.45
	jmcneill-pm:1.45.0.14
	jmcneill-pm-base:1.45
	hpcarm-cleanup:1.45.0.12
	hpcarm-cleanup-base:1.45
	nick-csl-alignment:1.45.0.10
	nick-csl-alignment-base:1.45
	netbsd-3-1-1-RELEASE:1.41.2.1
	netbsd-3-0-3-RELEASE:1.41
	yamt-idlelwp-base8:1.45
	wrstuden-fixsa:1.43.0.26
	wrstuden-fixsa-base:1.43
	thorpej-atomic:1.45.0.8
	thorpej-atomic-base:1.45
	reinoud-bufcleanup:1.45.0.6
	reinoud-bufcleanup-base:1.45
	mjf-ufs-trans:1.45.0.4
	mjf-ufs-trans-base:1.45
	vmlocking:1.45.0.2
	vmlocking-base:1.45
	ad-audiomp:1.44.0.4
	ad-audiomp-base:1.44
	yamt-idlelwp:1.44.0.2
	post-newlock2-merge:1.44
	newlock2-nbase:1.43
	yamt-splraiseipl-base5:1.43
	yamt-splraiseipl-base4:1.43
	yamt-splraiseipl-base3:1.43
	abandoned-netbsd-4-base:1.43
	abandoned-netbsd-4:1.43.0.18
	netbsd-3-1:1.41.2.1.0.2
	netbsd-3-1-RELEASE:1.41.2.1
	netbsd-3-0-2-RELEASE:1.41
	yamt-splraiseipl-base2:1.43
	netbsd-3-1-RC4:1.41.2.1
	yamt-splraiseipl:1.43.0.22
	yamt-splraiseipl-base:1.43
	netbsd-3-1-RC3:1.41.2.1
	yamt-pdpolicy-base9:1.43
	newlock2:1.43.0.20
	newlock2-base:1.43
	yamt-pdpolicy-base8:1.43
	netbsd-3-1-RC2:1.41.2.1
	netbsd-3-1-RC1:1.41.2.1
	yamt-pdpolicy-base7:1.43
	netbsd-4:1.43.0.24
	netbsd-4-base:1.43
	yamt-pdpolicy-base6:1.43
	chap-midi-nbase:1.43
	netbsd-3-0-1-RELEASE:1.41
	gdamore-uart:1.43.0.16
	gdamore-uart-base:1.43
	simonb-timcounters-final:1.43
	yamt-pdpolicy-base5:1.43
	chap-midi:1.43.0.14
	chap-midi-base:1.43
	yamt-pdpolicy-base4:1.43
	yamt-pdpolicy-base3:1.43
	peter-altq-base:1.43
	peter-altq:1.43.0.12
	yamt-pdpolicy-base2:1.43
	elad-kernelauth-base:1.43
	elad-kernelauth:1.43.0.10
	yamt-pdpolicy:1.43.0.8
	yamt-pdpolicy-base:1.43
	yamt-uio_vmspace-base5:1.43
	simonb-timecounters:1.43.0.6
	simonb-timecounters-base:1.43
	rpaulo-netinet-merge-pcb:1.43.0.4
	rpaulo-netinet-merge-pcb-base:1.43
	yamt-uio_vmspace:1.43.0.2
	netbsd-3-0:1.41.0.4
	netbsd-3-0-RELEASE:1.41
	netbsd-3-0-RC6:1.41
	yamt-readahead-base3:1.42
	netbsd-3-0-RC5:1.41
	netbsd-3-0-RC4:1.41
	netbsd-3-0-RC3:1.41
	yamt-readahead-base2:1.42
	netbsd-3-0-RC2:1.41
	yamt-readahead-pervnode:1.42
	yamt-readahead-perfile:1.42
	yamt-readahead:1.42.0.8
	yamt-readahead-base:1.42
	netbsd-3-0-RC1:1.41
	yamt-vop-base3:1.42
	netbsd-2-0-3-RELEASE:1.40
	netbsd-2-1:1.40.0.16
	yamt-vop-base2:1.42
	thorpej-vnode-attr:1.42.0.6
	thorpej-vnode-attr-base:1.42
	netbsd-2-1-RELEASE:1.40
	yamt-vop:1.42.0.4
	yamt-vop-base:1.42
	netbsd-2-1-RC6:1.40
	netbsd-2-1-RC5:1.40
	netbsd-2-1-RC4:1.40
	netbsd-2-1-RC3:1.40
	netbsd-2-1-RC2:1.40
	netbsd-2-1-RC1:1.40
	yamt-lazymbuf:1.42.0.2
	yamt-km-base4:1.41
	netbsd-2-0-2-RELEASE:1.40
	yamt-km-base3:1.41
	netbsd-3:1.41.0.2
	netbsd-3-base:1.41
	yamt-km-base2:1.40
	yamt-km:1.40.0.12
	yamt-km-base:1.40
	kent-audio2:1.40.0.10
	kent-audio2-base:1.42
	netbsd-2-0-1-RELEASE:1.40
	kent-audio1-beforemerge:1.40
	netbsd-2:1.40.0.8
	netbsd-2-base:1.40
	kent-audio1:1.40.0.6
	kent-audio1-base:1.40
	netbsd-2-0-RELEASE:1.40
	netbsd-2-0-RC5:1.40
	netbsd-2-0-RC4:1.40
	netbsd-2-0-RC3:1.40
	netbsd-2-0-RC2:1.40
	netbsd-2-0-RC1:1.40
	netbsd-2-0:1.40.0.4
	netbsd-2-0-base:1.40
	netbsd-1-6-PATCH002-RELEASE:1.39
	netbsd-1-6-PATCH002:1.39
	netbsd-1-6-PATCH002-RC4:1.39
	netbsd-1-6-PATCH002-RC3:1.39
	netbsd-1-6-PATCH002-RC2:1.39
	netbsd-1-6-PATCH002-RC1:1.39
	ktrace-lwp:1.40.0.2
	ktrace-lwp-base:1.42
	netbsd-1-6-PATCH001:1.39
	netbsd-1-6-PATCH001-RELEASE:1.39
	netbsd-1-6-PATCH001-RC3:1.39
	netbsd-1-6-PATCH001-RC2:1.39
	netbsd-1-6-PATCH001-RC1:1.39
	nathanw_sa_end:1.34.2.5
	nathanw_sa_before_merge:1.39
	fvdl_fs64_base:1.39
	gmcgarry_ctxsw:1.39.0.20
	gmcgarry_ctxsw_base:1.39
	gmcgarry_ucred:1.39.0.18
	gmcgarry_ucred_base:1.39
	nathanw_sa_base:1.39
	kqueue-aftermerge:1.39
	kqueue-beforemerge:1.39
	netbsd-1-6-RELEASE:1.39
	netbsd-1-6-RC3:1.39
	netbsd-1-6-RC2:1.39
	netbsd-1-6-RC1:1.39
	netbsd-1-6:1.39.0.16
	netbsd-1-6-base:1.39
	gehenna-devsw:1.39.0.14
	gehenna-devsw-base:1.39
	netbsd-1-5-PATCH003:1.30.12.1
	eeh-devprop:1.39.0.12
	eeh-devprop-base:1.39
	newlock:1.39.0.10
	newlock-base:1.39
	ifpoll-base:1.39
	thorpej-mips-cache:1.39.0.6
	thorpej-mips-cache-base:1.39
	thorpej-devvp-base3:1.39
	thorpej-devvp-base2:1.39
	post-chs-ubcperf:1.39
	pre-chs-ubcperf:1.39
	thorpej-devvp:1.39.0.4
	thorpej-devvp-base:1.39
	netbsd-1-5-PATCH002:1.30
	kqueue:1.39.0.2
	kqueue-base:1.39
	netbsd-1-5-PATCH001:1.30
	thorpej_scsipi_beforemerge:1.35
	nathanw_sa:1.34.0.2
	thorpej_scsipi_nbase:1.35
	netbsd-1-5-RELEASE:1.30
	netbsd-1-5-BETA2:1.30
	netbsd-1-5-BETA:1.30
	netbsd-1-4-PATCH003:1.13.2.2
	netbsd-1-5-ALPHA2:1.30
	netbsd-1-5:1.30.0.12
	netbsd-1-5-base:1.30
	minoura-xpg4dl-base:1.30
	minoura-xpg4dl:1.30.0.10
	netbsd-1-4-PATCH002:1.13.2.2
	chs-ubc2-newbase:1.30
	wrstuden-devbsize-19991221:1.30
	wrstuden-devbsize:1.30.0.8
	wrstuden-devbsize-base:1.30
	kame_141_19991130:1.13.6.1
	comdex-fall-1999:1.30.0.6
	comdex-fall-1999-base:1.30
	fvdl-softdep:1.30.0.4
	fvdl-softdep-base:1.30
	thorpej_scsipi:1.30.0.2
	thorpej_scsipi_base:1.35
	netbsd-1-4-PATCH001:1.13.2.2
	kame_14_19990705:1.13
	kame_14_19990628:1.13
	kame:1.13.0.6
	chs-ubc2:1.13.0.4
	chs-ubc2-base:1.30
	netbsd-1-4-RELEASE:1.13
	netbsd-1-4:1.13.0.2
	netbsd-1-4-base:1.13
	netbsd-1-3-PATCH003:1.6
	netbsd-1-3-PATCH003-CANDIDATE2:1.6
	kenh-if-detach:1.11.0.6
	kenh-if-detach-base:1.11
	netbsd-1-3-PATCH003-CANDIDATE1:1.6
	netbsd-1-3-PATCH003-CANDIDATE0:1.6
	chs-ubc:1.11.0.4
	chs-ubc-base:1.11
	eeh-paddr_t:1.11.0.2
	eeh-paddr_t-base:1.11
	netbsd-1-3-PATCH002:1.6
	netbsd-1-3-PATCH001:1.6
	netbsd-1-3-RELEASE:1.6
	netbsd-1-3-BETA:1.6
	netbsd-1-3:1.6.0.8
	netbsd-1-3-base:1.6
	thorpej-signal:1.6.0.6
	thorpej-signal-base:1.6
	marc-pcmcia:1.6.0.4
	marc-pcmcia-bp:1.6
	marc-pcmcia-base:1.6
	bouyer-scsipi:1.6.0.2
	is-newarp-before-merge:1.5
	is-newarp:1.5.0.6
	is-newarp-base:1.5
	netbsd-1-2-PATCH001:1.2.6.1
	mrg-vm-swap:1.5.0.4
	thorpej-setroot:1.5.0.2
	netbsd-1-2-RELEASE:1.2
	netbsd-1-2-BETA:1.2
	netbsd-1-2:1.2.0.6
	netbsd-1-2-base:1.2
	date-03-may-96:1.1.1.1
	netbsd:1.1.1
	netbsd-1-1-PATCH001:1.2
	netbsd-1-1-RELEASE:1.2
	netbsd-1-1:1.2.0.2
	netbsd-1-1-base:1.2;
locks; strict;
comment	@# @;


1.50
date	2019.03.25.19.24.30;	author maxv;	state dead;
branches;
next	1.49;
commitid	7PakLZpDC94CuMgB;

1.49
date	2013.11.07.19.37.19;	author njoly;	state Exp;
branches
	1.49.30.1;
next	1.48;

1.48
date	2009.01.13.22.27.43;	author pooka;	state Exp;
branches
	1.48.14.1
	1.48.24.1
	1.48.28.1;
next	1.47;

1.47
date	2008.12.02.13.45.02;	author njoly;	state Exp;
branches;
next	1.46;

1.46
date	2008.11.24.00.25.30;	author njoly;	state Exp;
branches;
next	1.45;

1.45
date	2007.03.04.06.01.28;	author christos;	state Exp;
branches
	1.45.36.1
	1.45.40.1
	1.45.42.1
	1.45.46.1
	1.45.50.1;
next	1.44;

1.44
date	2007.02.09.21.55.23;	author ad;	state Exp;
branches
	1.44.2.1;
next	1.43;

1.43
date	2005.12.11.12.20.23;	author christos;	state Exp;
branches
	1.43.20.1;
next	1.42;

1.42
date	2005.03.31.16.34.54;	author drochner;	state Exp;
branches
	1.42.2.1;
next	1.41;

1.41
date	2005.02.26.23.10.21;	author perry;	state Exp;
branches
	1.41.2.1;
next	1.40;

1.40
date	2003.01.18.08.32.05;	author thorpej;	state Exp;
branches
	1.40.2.1
	1.40.10.1
	1.40.12.1;
next	1.39;

1.39
date	2001.06.28.04.08.58;	author simonb;	state Exp;
branches;
next	1.38;

1.38
date	2001.06.28.01.48.22;	author dmcmahill;	state Exp;
branches;
next	1.37;

1.37
date	2001.06.23.02.45.54;	author dmcmahill;	state Exp;
branches;
next	1.36;

1.36
date	2001.05.30.11.37.30;	author mrg;	state Exp;
branches;
next	1.35;

1.35
date	2001.04.04.19.41.00;	author ross;	state Exp;
branches;
next	1.34;

1.34
date	2000.12.09.07.10.36;	author mycroft;	state Exp;
branches
	1.34.2.1;
next	1.33;

1.33
date	2000.12.09.05.27.30;	author mycroft;	state Exp;
branches;
next	1.32;

1.32
date	2000.11.30.19.05.27;	author jdolecek;	state Exp;
branches;
next	1.31;

1.31
date	2000.11.17.03.06.28;	author erh;	state Exp;
branches;
next	1.30;

1.30
date	99.05.10.05.58.44;	author cgd;	state Exp;
branches
	1.30.2.1
	1.30.12.1;
next	1.29;

1.29
date	99.05.10.03.33.04;	author cgd;	state Exp;
branches;
next	1.28;

1.28
date	99.05.10.02.54.57;	author cgd;	state Exp;
branches;
next	1.27;

1.27
date	99.05.10.01.58.37;	author cgd;	state Exp;
branches;
next	1.26;

1.26
date	99.05.04.05.17.22;	author cgd;	state Exp;
branches;
next	1.25;

1.25
date	99.05.04.04.59.21;	author cgd;	state Exp;
branches;
next	1.24;

1.24
date	99.05.04.02.12.15;	author cgd;	state Exp;
branches;
next	1.23;

1.23
date	99.04.30.04.33.51;	author cgd;	state Exp;
branches;
next	1.22;

1.22
date	99.04.29.22.08.49;	author cgd;	state Exp;
branches;
next	1.21;

1.21
date	99.04.29.17.19.47;	author thorpej;	state Exp;
branches;
next	1.20;

1.20
date	99.04.29.02.10.07;	author cgd;	state Exp;
branches;
next	1.19;

1.19
date	99.04.28.05.09.47;	author cgd;	state Exp;
branches;
next	1.18;

1.18
date	99.04.28.02.34.25;	author cgd;	state Exp;
branches;
next	1.17;

1.17
date	99.04.28.02.03.13;	author cgd;	state Exp;
branches;
next	1.16;

1.16
date	99.04.27.18.40.53;	author cgd;	state Exp;
branches;
next	1.15;

1.15
date	99.04.27.17.52.44;	author cgd;	state Exp;
branches;
next	1.14;

1.14
date	99.04.23.06.19.51;	author cgd;	state Exp;
branches;
next	1.13;

1.13
date	99.02.09.20.34.17;	author christos;	state Exp;
branches
	1.13.2.1
	1.13.4.1
	1.13.6.1;
next	1.12;

1.12
date	98.12.10.17.03.20;	author christos;	state Exp;
branches;
next	1.11;

1.11
date	98.07.01.00.41.36;	author thorpej;	state Exp;
branches;
next	1.10;

1.10
date	98.05.20.16.34.29;	author chs;	state Exp;
branches;
next	1.9;

1.9
date	98.02.19.00.42.15;	author thorpej;	state Exp;
branches;
next	1.8;

1.8
date	98.02.14.21.29.14;	author kleink;	state Exp;
branches;
next	1.7;

1.7
date	98.02.14.01.29.45;	author thorpej;	state Exp;
branches;
next	1.6;

1.6
date	97.06.27.05.29.37;	author kleink;	state Exp;
branches;
next	1.5;

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

1.4
date	96.09.07.12.40.46;	author mycroft;	state Exp;
branches;
next	1.3;

1.3
date	96.09.03.03.12.32;	author mycroft;	state Exp;
branches;
next	1.2;

1.2
date	95.10.07.06.27.28;	author mycroft;	state Exp;
branches
	1.2.6.1;
next	1.1;

1.1
date	95.02.13.21.39.10;	author cgd;	state Exp;
branches;
next	;

1.49.30.1
date	2019.06.10.22.07.02;	author christos;	state dead;
branches;
next	;
commitid	jtc8rnCzWiEEHGqB;

1.48.14.1
date	2014.05.22.11.40.17;	author yamt;	state Exp;
branches;
next	;

1.48.24.1
date	2014.08.20.00.03.33;	author tls;	state Exp;
branches;
next	;

1.48.28.1
date	2014.05.18.17.45.33;	author rmind;	state Exp;
branches;
next	;

1.45.36.1
date	2009.01.17.13.28.47;	author mjf;	state Exp;
branches;
next	;

1.45.40.1
date	2009.05.04.08.12.26;	author yamt;	state Exp;
branches;
next	;

1.45.42.1
date	2008.05.10.23.48.59;	author wrstuden;	state Exp;
branches;
next	1.45.42.2;

1.45.42.2
date	2008.05.14.01.35.10;	author wrstuden;	state Exp;
branches;
next	;

1.45.46.1
date	2008.12.13.01.14.03;	author haad;	state Exp;
branches;
next	;

1.45.50.1
date	2009.01.19.13.17.37;	author skrll;	state Exp;
branches;
next	;

1.44.2.1
date	2007.03.12.05.52.41;	author rmind;	state Exp;
branches;
next	;

1.43.20.1
date	2007.01.30.13.51.35;	author ad;	state Exp;
branches;
next	;

1.42.2.1
date	2007.02.26.09.09.36;	author yamt;	state Exp;
branches;
next	1.42.2.2;

1.42.2.2
date	2007.09.03.14.32.46;	author yamt;	state Exp;
branches;
next	;

1.41.2.1
date	2006.03.10.12.56.12;	author tron;	state Exp;
branches;
next	;

1.40.2.1
date	2005.03.04.16.40.23;	author skrll;	state Exp;
branches;
next	1.40.2.2;

1.40.2.2
date	2005.04.01.14.29.36;	author skrll;	state Exp;
branches;
next	;

1.40.10.1
date	2005.04.29.11.28.42;	author kent;	state Exp;
branches;
next	;

1.40.12.1
date	2005.03.19.08.33.43;	author yamt;	state Exp;
branches;
next	;

1.34.2.1
date	2001.04.09.01.55.48;	author nathanw;	state Exp;
branches;
next	1.34.2.2;

1.34.2.2
date	2001.06.21.20.00.21;	author nathanw;	state Exp;
branches;
next	1.34.2.3;

1.34.2.3
date	2001.08.24.00.08.55;	author nathanw;	state Exp;
branches;
next	1.34.2.4;

1.34.2.4
date	2002.03.01.00.02.20;	author nathanw;	state Exp;
branches;
next	1.34.2.5;

1.34.2.5
date	2002.05.29.21.32.54;	author nathanw;	state Exp;
branches;
next	;

1.30.2.1
date	2000.11.22.16.02.56;	author bouyer;	state Exp;
branches;
next	1.30.2.2;

1.30.2.2
date	2000.12.08.09.08.41;	author bouyer;	state Exp;
branches;
next	1.30.2.3;

1.30.2.3
date	2000.12.13.15.49.54;	author bouyer;	state Exp;
branches;
next	1.30.2.4;

1.30.2.4
date	2001.04.21.17.46.24;	author bouyer;	state Exp;
branches;
next	;

1.30.12.1
date	2002.03.20.23.37.18;	author he;	state Exp;
branches;
next	;

1.13.2.1
date	99.06.21.19.29.19;	author cgd;	state Exp;
branches;
next	1.13.2.2;

1.13.2.2
date	99.06.26.01.52.49;	author cgd;	state Exp;
branches;
next	;

1.13.4.1
date	99.06.21.01.08.41;	author thorpej;	state Exp;
branches;
next	;

1.13.6.1
date	99.11.30.13.33.37;	author itojun;	state Exp;
branches;
next	;

1.2.6.1
date	96.12.10.08.46.25;	author mycroft;	state Exp;
branches;
next	;


desc
@@


1.50
log
@Remove compat_osf1, discussed on tech-kern@@.
@
text
@	$NetBSD: syscalls.master,v 1.49 2013/11/07 19:37:19 njoly Exp $

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

; NetBSD COMPAT_OSF1 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_compat_43.h"
#endif

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

#include <compat/osf1/osf1.h>
#include <compat/osf1/osf1_syscallargs.h>

%%

0	NOARGS		{ int|sys||nosys(void); } syscall
1	NOARGS		{ int|sys||exit(int rval); }
2	NOARGS		{ int|sys||fork(void); }
3	NOARGS		{ int|sys||read(int fd, char *buf, u_int nbyte); }
4	NOARGS		{ int|sys||write(int fd, const char *buf, \
			    u_int nbyte); }
5	UNIMPL		old open
6	NOARGS		{ int|sys||close(int fd); }
7	STD		{ int|osf1_sys||wait4(int pid, int *status, \
			    int options, struct osf1_rusage *rusage); }
8	UNIMPL		old creat
9	NOARGS		{ int|sys||link(const char *path, const char *link); }
10	NOARGS		{ int|sys||unlink(const char *path); }
11	UNIMPL		execv
12	NOARGS		{ int|sys||chdir(const char *path); }
13	NOARGS		{ int|sys||fchdir(int fd); }
14	STD		{ int|osf1_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(char *nsize); }
18	STD		{ int|osf1_sys||getfsstat(struct osf1_statfs *buf, \
			    long bufsize, int flags); }
19	STD		{ off_t|osf1_sys||lseek(int fd, off_t offset, \
			    int whence); }
20	NOARGS		{ pid_t|sys||getpid_with_ppid(void); }
21	STD		{ int|osf1_sys||mount(int type, const char *path, \
			    int flags, void *data); }
22	STD		{ int|osf1_sys||unmount(const char *path, int flags); }
23	STD		{ int|osf1_sys||setuid(uid_t uid); }
24	NOARGS		{ uid_t|sys||getuid_with_euid(void); }
25	UNIMPL		exec_with_loader
26	UNIMPL		ptrace
27	STD		{ int|osf1_sys||recvmsg_xopen(int s, \
			    struct osf1_msghdr_xopen *msg, int flags); }
28	STD		{ int|osf1_sys||sendmsg_xopen(int s, \
			    const struct osf1_msghdr_xopen *msg, int flags); }
29	UNIMPL		recvfrom
30	UNIMPL		accept
31	UNIMPL		getpeername
32	UNIMPL		getsockname
33	STD		{ int|osf1_sys||access(const char *path, int flags); }
34	UNIMPL		chflags
35	UNIMPL		fchflags
36	NOARGS		{ int|sys||sync(void); }
37	NOARGS		{ int|sys||kill(int pid, int signum); }
38	UNIMPL		old stat
39	NOARGS		{ int|sys||setpgid(int pid, int pgid); }
40	UNIMPL		old lstat
41	NOARGS		{ int|sys||dup(int fd); }
42	NOARGS		{ int|sys||pipe(void); }
43	STD		{ int|osf1_sys||set_program_attributes( \
                          void *taddr, unsigned long tsize, \
                          void *daddr, unsigned long dsize); }
44	UNIMPL		profil
45	STD		{ int|osf1_sys||open(const char *path, int flags, \
			    int mode); }
46	OBSOL		sigaction
47	NOARGS		{ gid_t|sys||getgid_with_egid(void); }
; XXX
48	NOARGS		{ int|compat_13_sys||sigprocmask(int how, \
			    sigset13_t mask); }
49	NOARGS		{ int|sys||__getlogin(char *namebuf, u_int namelen); }
50	NOARGS		{ int|sys||__setlogin(const char *namebuf); }
51	NOARGS		{ int|sys||acct(const char *path); }
52	UNIMPL		sigpending
53	STD		{ int|osf1_sys||classcntl(int opcode, int arg1, \
			    int arg2, int arg3); }
54	STD		{ int|osf1_sys||ioctl(int fd, int com, void *data); }
55	STD		{ int|osf1_sys||reboot(int opt); }
56	NOARGS		{ int|sys||revoke(const char *path); }
57	NOARGS		{ int|sys||symlink(const char *path, \
			    const char *link); }
58	NOARGS		{ int|sys||readlink(const char *path, char *buf, \
			    int count); }
59	STD		{ int|osf1_sys||execve(const char *path, \
			    char * const *argp, char * const *envp); }
60	NOARGS		{ int|sys||umask(int newmask); }
61	NOARGS		{ int|sys||chroot(const char *path); }
62	UNIMPL		old fstat
63	NOARGS		{ int|sys||getpgrp(void); }
64	NOARGS		{ int|compat_43_sys||getpagesize(void); }
65	UNIMPL		mremap
66	NOARGS		{ int|sys||vfork(void); }
67	STD		{ int|osf1_sys||stat(const char *path, \
			    struct osf1_stat *ub); }
68	STD		{ int|osf1_sys||lstat(const char *path, \
			    struct osf1_stat *ub); }
69	UNIMPL		sbrk
70	UNIMPL		sstk
71	STD		{ void *|osf1_sys||mmap(void *addr, size_t len, \
			    int prot, int flags, int fd, off_t pos); }
72	UNIMPL		ovadvise
73	NOARGS		{ int|sys||munmap(void *addr, size_t len); }
74	STD		{ int|osf1_sys||mprotect(void *addr, size_t len, \
			    int prot); }
75	STD		{ int|osf1_sys||madvise(void *addr, size_t len, \
			    int behav); }
76	UNIMPL		old vhangup
77	UNIMPL		kmodcall
78	UNIMPL		mincore
79	NOARGS		{ int|sys||getgroups(u_int gidsetsize, gid_t *gidset); }
80	NOARGS		{ int|sys||setgroups(u_int gidsetsize, gid_t *gidset); }
81	UNIMPL		old getpgrp
; OSF/1 setpgrp(); identical in function to setpgid().  XXX
82	NOARGS		{ int|sys||setpgid(int pid, int pgid); } setpgrp
83	STD		{ int|osf1_sys||setitimer(u_int which, \
			    struct osf1_itimerval *itv, \
			    struct osf1_itimerval *oitv); }
84	UNIMPL		old wait
85	UNIMPL		table
86	STD		{ int|osf1_sys||getitimer(u_int which, struct osf1_itimerval *itv); }
87	NOARGS		{ int|compat_43_sys||gethostname(char *hostname, \
			    u_int len); }
88	NOARGS		{ int|compat_43_sys||sethostname(const char *hostname, \
			    u_int len); }
89	NOARGS		{ int|compat_43_sys||getdtablesize(void); }
90	NOARGS		{ int|sys||dup2(int from, int to); }
91	STD		{ int|osf1_sys||fstat(int fd, void *sb); }
92	STD		{ int|osf1_sys||fcntl(int fd, int cmd, void *arg); }
93	STD		{ int|osf1_sys||select(u_int nd, fd_set *in, \
			    fd_set *ou, fd_set *ex, struct osf1_timeval *tv); }
; maybe XXX
94	NOARGS		{ int|sys||poll(struct pollfd *fds, u_int nfds, \
			    int timeout); }
95	NOARGS		{ int|sys||fsync(int fd); }
96	NOARGS		{ int|sys||setpriority(int which, int who, int prio); }
97	STD		{ int|osf1_sys||socket(int domain, int type, \
			    int protocol); }
98	NOARGS		{ int|sys||connect(int s, void *name, int namelen); }
99	NOARGS		{ int|compat_43_sys||accept(int s, void *name, \
			    int *anamelen); }
100	NOARGS		{ int|sys||getpriority(int which, int who); }
101	NOARGS		{ int|compat_43_sys||send(int s, void *buf, int len, \
			    int flags); }
102	NOARGS		{ int|compat_43_sys||recv(int s, void *buf, int len, \
			    int flags); }
103	NOARGS		{ int|compat_13_sys||sigreturn(\
			    struct sigcontext13 *sigcntxp); }
104	NOARGS		{ int|sys||bind(int s, void *name, int namelen); }
105	NOARGS		{ int|sys||setsockopt(int s, int level, int name, \
			    void *val, int valsize); }
106	NOARGS		{ int|sys||listen(int s, int backlog); }
107	UNIMPL		plock
108	UNIMPL		old sigvec
109	UNIMPL		old sigblock
110	UNIMPL		old sigsetmask
111	NOARGS		{ int|compat_13_sys||sigsuspend(int mask); }
112	NOARGS		{ int|compat_43_sys||sigstack(struct sigstack *nss, \
			    struct sigstack *oss); }
113	UNIMPL		old recvmsg
114	UNIMPL		old sendmsg
115	OBSOL		vtrace
116	STD		{ int|osf1_sys||gettimeofday(struct osf1_timeval *tp, \
			    struct osf1_timezone *tzp); }
117	STD		{ int|osf1_sys||getrusage(int who, \
			    struct osf1_rusage *rusage); }
; XXX
118	NOARGS		{ int|sys||getsockopt(int s, int level, int name, \
			    void *val, int *avalsize); }
119	UNIMPL
120	STD		{ int|osf1_sys||readv(int fd, \
			    struct osf1_iovec *iovp, u_int iovcnt); }
121	STD		{ int|osf1_sys||writev(int fd, \
			    struct osf1_iovec *iovp, u_int iovcnt); }
122	STD		{ int|osf1_sys||settimeofday(struct osf1_timeval *tv, \
			    struct osf1_timezone *tzp); }
123	NOARGS		{ int|sys||__posix_fchown(int fd, int uid, int gid); }
124	NOARGS		{ int|sys||fchmod(int fd, int mode); }
125	NOARGS		{ int|compat_43_sys||recvfrom(int s, void *buf, \
			    size_t len, int flags, void *from, \
			    int *fromlenaddr); }
126	NOARGS		{ int|sys||setreuid(uid_t ruid, uid_t euid); }
127	NOARGS		{ int|sys||setregid(gid_t rgid, gid_t egid); }
128	NOARGS		{ int|sys||__posix_rename(const char *from, \
			    const char *to); }
129	STD		{ int|osf1_sys||truncate(const char *path, \
			    off_t length); }
130	STD		{ int|osf1_sys||ftruncate(int fd, off_t length); }
131	NOARGS		{ int|sys||flock(int fd, int operation); }
132	STD		{ int|osf1_sys||setgid(gid_t gid); }
133	STD		{ int|osf1_sys||sendto(int s, void *buf, size_t len, \
			    int flags, struct sockaddr *to, int tolen); }
134	NOARGS		{ int|sys||shutdown(int s, int how); }
135	STD		{ int|osf1_sys||socketpair(int domain, int type, \
			    int protocol, int *rsv); }
136	NOARGS		{ int|sys||mkdir(const char *path, int mode); }
137	NOARGS		{ int|sys||rmdir(const char *path); }
138	STD		{ int|osf1_sys||utimes(const char *path, \
			    const struct osf1_timeval *tptr); }
139	OBSOL		4.2 sigreturn
140	UNIMPL		adjtime
141	NOARGS		{ int|compat_43_sys||getpeername(int fdes, \
			    void *asa, int *alen); }
142	NOARGS		{ int32_t|compat_43_sys||gethostid(void); }
143	NOARGS		{ int|compat_43_sys||sethostid(int32_t hostid); }
; XXX
144	STD		{ int|osf1_sys||getrlimit(u_int which, \
			    struct rlimit *rlp); }
; XXX
145	STD		{ int|osf1_sys||setrlimit(u_int which, \
			    struct rlimit *rlp); }
146	UNIMPL		old killpg
147	NOARGS		{ int|sys||setsid(void); }
148	UNIMPL		quotactl
149	NOARGS		{ int|compat_43_sys||quota(void); }
150	NOARGS		{ int|compat_43_sys||getsockname(int fdec, \
			    void *asa, int *alen); }
151	UNIMPL		pread
152	UNIMPL		pwrite
153	UNIMPL		pid_block
154	UNIMPL		pid_unblock
155	UNIMPL		signal_urti
156	STD		{ int|osf1_sys||sigaction(int signum, \
			    struct osf1_sigaction *nsa, \
			    struct osf1_sigaction *osa); }
157	UNIMPL		sigwaitprim
158	UNIMPL		nfssvc
159	STD		{ int|osf1_sys||getdirentries(int fd, char *buf, \
			    int nbytes, long *basep); }
160	STD		{ int|osf1_sys||statfs(const char *path, \
			    struct osf1_statfs *buf, int len); }
161	STD		{ int|osf1_sys||fstatfs(int fd, \
			    struct osf1_statfs *buf, int len); }
162	UNIMPL
163	UNIMPL		async_daemon
164	UNIMPL		getfh
165	NOARGS		{ int|compat_09_sys||getdomainname(char *domainname, \
			    int len); }
166	NOARGS		{ int|compat_09_sys||setdomainname(char *domainname, \
			    int len); }
167	UNIMPL
168	UNIMPL
169	UNIMPL		exportfs
170	UNIMPL
171	UNIMPL
172	UNIMPL		alt msgctl
173	UNIMPL		alt msgget
174	UNIMPL		alt msgrcv
175	UNIMPL		alt msgsnd
176	UNIMPL		alt semctl
177	UNIMPL		alt semget
178	UNIMPL		alt semop
179	UNIMPL		alt uname
180	UNIMPL
181	UNIMPL		alt plock
182	UNIMPL		lockf
183	UNIMPL
184	UNIMPL		getmnt
185	UNIMPL
186	UNIMPL		unmount
187	UNIMPL		alt sigpending
188	UNIMPL		alt setsid
189	UNIMPL
190	UNIMPL
191	UNIMPL
192	UNIMPL
193	UNIMPL
194	UNIMPL
195	UNIMPL
196	UNIMPL
197	UNIMPL
198	UNIMPL
199	UNIMPL		swapon
200	UNIMPL		msgctl
201	UNIMPL		msgget
202	UNIMPL		msgrcv
203	UNIMPL		msgsnd
204	UNIMPL		semctl
205	UNIMPL		semget
206	UNIMPL		semop
207	STD		{ int|osf1_sys||uname(struct osf1_uname *name); }
208	NOARGS		{ int|sys||__posix_lchown(const char *path, int uid, \
			    int gid); }
209	STD		{ void *|osf1_sys||shmat(int shmid, \
			    const void *shmaddr, int shmflg); }
210	STD		{ int|osf1_sys||shmctl(int shmid, int cmd, \
			    struct osf1_shmid_ds *buf); }
211	STD		{ int|osf1_sys||shmdt(const void *shmaddr); }
212	STD		{ int|osf1_sys||shmget(osf1_key_t key, size_t size, \
			    int flags); }
213	UNIMPL		mvalid
214	UNIMPL		getaddressconf
215	UNIMPL		msleep
216	UNIMPL		mwakeup
217	UNIMPL		msync
218	UNIMPL		signal
219	UNIMPL		utc gettime
220	UNIMPL		utc adjtime
221	UNIMPL
222	UNIMPL		security
223	UNIMPL		kloadcall
224	STD		{ int|osf1_sys||stat2(const char *path, \
			    struct osf1_stat2 *ub); }
225	STD		{ int|osf1_sys||lstat2(const char *path, \
			    struct osf1_stat2 *ub); }
226	STD		{ int|osf1_sys||fstat2(int fd, \
			    struct osf1_stat2 *sb); }
227	UNIMPL		statfs2
228	UNIMPL		fstatfs2
229	UNIMPL		getfsstat2
230	UNIMPL
231	UNIMPL
232	UNIMPL
233	NOARGS		{ pid_t|sys||getpgid(pid_t pid); }
234	NOARGS		{ pid_t|sys||getsid(pid_t pid); }
235	STD		{ int|osf1_sys||sigaltstack( \
			    struct osf1_sigaltstack *nss, \
			    struct osf1_sigaltstack *oss); }
236	UNIMPL		waitid
237	UNIMPL		priocntlset
238	UNIMPL		sigsendset
239	UNIMPL		set_speculative
240	UNIMPL		msfs_syscall
241	STD		{ int|osf1_sys||sysinfo(int cmd, char *buf, long len); }
242	UNIMPL		uadmin
243	UNIMPL		fuser
244	UNIMPL		proplist_syscall
245	UNIMPL		ntp_adjtime
246	UNIMPL		ntp_gettime
247	STD		{ long|osf1_sys||pathconf(const char *path, int name); }
248	STD		{ long|osf1_sys||fpathconf(int fd, int name); }
249	UNIMPL
250	UNIMPL		uswitch
251	STD		{ int|osf1_sys||usleep_thread( \
			    struct osf1_timeval *sleep, \
			    struct osf1_timeval *slept); }
252	UNIMPL		audcntl
253	UNIMPL		audgen
254	UNIMPL		sysfs
255	UNIMPL		subsys_info
256	STD		{ int|osf1_sys||getsysinfo(u_long op, void *buffer, \
			    u_long nbytes, void *arg, u_long flag); }
257	STD		{ int|osf1_sys||setsysinfo(u_long op, void *buffer, \
			    u_long nbytes, void *arg, u_long flag); }
258	UNIMPL		afs_syscall
259	UNIMPL		swapctl
260	UNIMPL		memcntl
261	UNIMPL		fdatasync
262	UNIMPL		oflock
263	UNIMPL		_F64_readv
264	UNIMPL		_F64_writev
265	UNIMPL		cdslxlate
266	UNIMPL		sendfile
@


1.49
log
@Fix dup/dup2/dup3 argument types (u_int -> int).
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.48 2009/01/13 22:27:43 pooka Exp $
@


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


1.48
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.47 2008/12/02 13:45:02 njoly Exp $
d100 1
a100 1
41	NOARGS		{ int|sys||dup(u_int fd); }
d168 1
a168 1
90	NOARGS		{ int|sys||dup2(u_int from, u_int to); }
@


1.48.24.1
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
	$NetBSD$
d100 1
a100 1
41	NOARGS		{ int|sys||dup(int fd); }
d168 1
a168 1
90	NOARGS		{ int|sys||dup2(int from, int to); }
@


1.48.14.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.48 2009/01/13 22:27:43 pooka Exp $
d100 1
a100 1
41	NOARGS		{ int|sys||dup(int fd); }
d168 1
a168 1
90	NOARGS		{ int|sys||dup2(int from, int to); }
@


1.48.28.1
log
@sync with head
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.48 2009/01/13 22:27:43 pooka Exp $
d100 1
a100 1
41	NOARGS		{ int|sys||dup(int fd); }
d168 1
a168 1
90	NOARGS		{ int|sys||dup2(int from, int to); }
@


1.47
log
@Fix getdirentries(2) by not calling compat_43_sys_getdirentries, but
letting do its own job instead (native and osf1 dirent structure have
different member number and types).
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.46 2008/11/24 00:25:30 njoly Exp $
d50 5
a54 5
0	NOARGS		{ int sys_nosys(void); } syscall
1	NOARGS		{ int sys_exit(int rval); }
2	NOARGS		{ int sys_fork(void); }
3	NOARGS		{ int sys_read(int fd, char *buf, u_int nbyte); }
4	NOARGS		{ int sys_write(int fd, const char *buf, \
d57 2
a58 2
6	NOARGS		{ int sys_close(int fd); }
7	STD		{ int osf1_sys_wait4(int pid, int *status, \
d61 2
a62 2
9	NOARGS		{ int sys_link(const char *path, const char *link); }
10	NOARGS		{ int sys_unlink(const char *path); }
d64 3
a66 3
12	NOARGS		{ int sys_chdir(const char *path); }
13	NOARGS		{ int sys_fchdir(int fd); }
14	STD		{ int osf1_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(char *nsize); }
18	STD		{ int osf1_sys_getfsstat(struct osf1_statfs *buf, \
d74 1
a74 1
19	STD		{ off_t osf1_sys_lseek(int fd, off_t offset, \
d76 2
a77 2
20	NOARGS		{ pid_t sys_getpid_with_ppid(void); }
21	STD		{ int osf1_sys_mount(int type, const char *path, \
d79 3
a81 3
22	STD		{ int osf1_sys_unmount(const char *path, int flags); }
23	STD		{ int osf1_sys_setuid(uid_t uid); }
24	NOARGS		{ uid_t sys_getuid_with_euid(void); }
d84 1
a84 1
27	STD		{ int osf1_sys_recvmsg_xopen(int s, \
d86 1
a86 1
28	STD		{ int osf1_sys_sendmsg_xopen(int s, \
d92 1
a92 1
33	STD		{ int osf1_sys_access(const char *path, int flags); }
d95 2
a96 2
36	NOARGS		{ int sys_sync(void); }
37	NOARGS		{ int sys_kill(int pid, int signum); }
d98 1
a98 1
39	NOARGS		{ int sys_setpgid(int pid, int pgid); }
d100 3
a102 3
41	NOARGS		{ int sys_dup(u_int fd); }
42	NOARGS		{ int sys_pipe(void); }
43	STD		{ int osf1_sys_set_program_attributes( \
d106 1
a106 1
45	STD		{ int osf1_sys_open(const char *path, int flags, \
d109 1
a109 1
47	NOARGS		{ gid_t sys_getgid_with_egid(void); }
d111 1
a111 1
48	NOARGS		{ int compat_13_sys_sigprocmask(int how, \
d113 3
a115 3
49	NOARGS		{ int sys___getlogin(char *namebuf, u_int namelen); }
50	NOARGS		{ int sys___setlogin(const char *namebuf); }
51	NOARGS		{ int sys_acct(const char *path); }
d117 1
a117 1
53	STD		{ int osf1_sys_classcntl(int opcode, int arg1, \
d119 4
a122 4
54	STD		{ int osf1_sys_ioctl(int fd, int com, void *data); }
55	STD		{ int osf1_sys_reboot(int opt); }
56	NOARGS		{ int sys_revoke(const char *path); }
57	NOARGS		{ int sys_symlink(const char *path, \
d124 1
a124 1
58	NOARGS		{ int sys_readlink(const char *path, char *buf, \
d126 1
a126 1
59	STD		{ int osf1_sys_execve(const char *path, \
d128 2
a129 2
60	NOARGS		{ int sys_umask(int newmask); }
61	NOARGS		{ int sys_chroot(const char *path); }
d131 2
a132 2
63	NOARGS		{ int sys_getpgrp(void); }
64	NOARGS		{ int compat_43_sys_getpagesize(void); }
d134 2
a135 2
66	NOARGS		{ int sys_vfork(void); }
67	STD		{ int osf1_sys_stat(const char *path, \
d137 1
a137 1
68	STD		{ int osf1_sys_lstat(const char *path, \
d141 1
a141 1
71	STD		{ void *osf1_sys_mmap(void *addr, size_t len, \
d144 2
a145 2
73	NOARGS		{ int sys_munmap(void *addr, size_t len); }
74	STD		{ int osf1_sys_mprotect(void *addr, size_t len, \
d147 1
a147 1
75	STD		{ int osf1_sys_madvise(void *addr, size_t len, \
d152 2
a153 2
79	NOARGS		{ int sys_getgroups(u_int gidsetsize, gid_t *gidset); }
80	NOARGS		{ int sys_setgroups(u_int gidsetsize, gid_t *gidset); }
d156 2
a157 2
82	NOARGS		{ int sys_setpgid(int pid, int pgid); } setpgrp
83	STD		{ int osf1_sys_setitimer(u_int which, \
d162 2
a163 2
86	STD		{ int osf1_sys_getitimer(u_int which, struct osf1_itimerval *itv); }
87	NOARGS		{ int compat_43_sys_gethostname(char *hostname, \
d165 1
a165 1
88	NOARGS		{ int compat_43_sys_sethostname(const char *hostname, \
d167 5
a171 5
89	NOARGS		{ int compat_43_sys_getdtablesize(void); }
90	NOARGS		{ int sys_dup2(u_int from, u_int to); }
91	STD		{ int osf1_sys_fstat(int fd, void *sb); }
92	STD		{ int osf1_sys_fcntl(int fd, int cmd, void *arg); }
93	STD		{ int osf1_sys_select(u_int nd, fd_set *in, \
d174 1
a174 1
94	NOARGS		{ int sys_poll(struct pollfd *fds, u_int nfds, \
d176 3
a178 3
95	NOARGS		{ int sys_fsync(int fd); }
96	NOARGS		{ int sys_setpriority(int which, int who, int prio); }
97	STD		{ int osf1_sys_socket(int domain, int type, \
d180 2
a181 2
98	NOARGS		{ int sys_connect(int s, void *name, int namelen); }
99	NOARGS		{ int compat_43_sys_accept(int s, void *name, \
d183 2
a184 2
100	NOARGS		{ int sys_getpriority(int which, int who); }
101	NOARGS		{ int compat_43_sys_send(int s, void *buf, int len, \
d186 1
a186 1
102	NOARGS		{ int compat_43_sys_recv(int s, void *buf, int len, \
d188 1
a188 1
103	NOARGS		{ int compat_13_sys_sigreturn(\
d190 2
a191 2
104	NOARGS		{ int sys_bind(int s, void *name, int namelen); }
105	NOARGS		{ int sys_setsockopt(int s, int level, int name, \
d193 1
a193 1
106	NOARGS		{ int sys_listen(int s, int backlog); }
d198 2
a199 2
111	NOARGS		{ int compat_13_sys_sigsuspend(int mask); }
112	NOARGS		{ int compat_43_sys_sigstack(struct sigstack *nss, \
d204 1
a204 1
116	STD		{ int osf1_sys_gettimeofday(struct osf1_timeval *tp, \
d206 1
a206 1
117	STD		{ int osf1_sys_getrusage(int who, \
d209 1
a209 1
118	NOARGS		{ int sys_getsockopt(int s, int level, int name, \
d212 1
a212 1
120	STD		{ int osf1_sys_readv(int fd, \
d214 1
a214 1
121	STD		{ int osf1_sys_writev(int fd, \
d216 1
a216 1
122	STD		{ int osf1_sys_settimeofday(struct osf1_timeval *tv, \
d218 3
a220 3
123	NOARGS		{ int sys___posix_fchown(int fd, int uid, int gid); }
124	NOARGS		{ int sys_fchmod(int fd, int mode); }
125	NOARGS		{ int compat_43_sys_recvfrom(int s, void *buf, \
d223 3
a225 3
126	NOARGS		{ int sys_setreuid(uid_t ruid, uid_t euid); }
127	NOARGS		{ int sys_setregid(gid_t rgid, gid_t egid); }
128	NOARGS		{ int sys___posix_rename(const char *from, \
d227 1
a227 1
129	STD		{ int osf1_sys_truncate(const char *path, \
d229 4
a232 4
130	STD		{ int osf1_sys_ftruncate(int fd, off_t length); }
131	NOARGS		{ int sys_flock(int fd, int operation); }
132	STD		{ int osf1_sys_setgid(gid_t gid); }
133	STD		{ int osf1_sys_sendto(int s, void *buf, size_t len, \
d234 2
a235 2
134	NOARGS		{ int sys_shutdown(int s, int how); }
135	STD		{ int osf1_sys_socketpair(int domain, int type, \
d237 3
a239 3
136	NOARGS		{ int sys_mkdir(const char *path, int mode); }
137	NOARGS		{ int sys_rmdir(const char *path); }
138	STD		{ int osf1_sys_utimes(const char *path, \
d243 1
a243 1
141	NOARGS		{ int compat_43_sys_getpeername(int fdes, \
d245 2
a246 2
142	NOARGS		{ int32_t compat_43_sys_gethostid(void); }
143	NOARGS		{ int compat_43_sys_sethostid(int32_t hostid); }
d248 1
a248 1
144	STD		{ int osf1_sys_getrlimit(u_int which, \
d251 1
a251 1
145	STD		{ int osf1_sys_setrlimit(u_int which, \
d254 1
a254 1
147	NOARGS		{ int sys_setsid(void); }
d256 2
a257 2
149	NOARGS		{ int compat_43_sys_quota(void); }
150	NOARGS		{ int compat_43_sys_getsockname(int fdec, \
d264 1
a264 1
156	STD		{ int osf1_sys_sigaction(int signum, \
d269 1
a269 1
159	STD		{ int osf1_sys_getdirentries(int fd, char *buf, \
d271 1
a271 1
160	STD		{ int osf1_sys_statfs(const char *path, \
d273 1
a273 1
161	STD		{ int osf1_sys_fstatfs(int fd, \
d278 1
a278 1
165	NOARGS		{ int compat_09_sys_getdomainname(char *domainname, \
d280 1
a280 1
166	NOARGS		{ int compat_09_sys_setdomainname(char *domainname, \
d322 2
a323 2
207	STD		{ int osf1_sys_uname(struct osf1_uname *name); }
208	NOARGS		{ int sys___posix_lchown(const char *path, int uid, \
d325 1
a325 1
209	STD		{ void *osf1_sys_shmat(int shmid, \
d327 1
a327 1
210	STD		{ int osf1_sys_shmctl(int shmid, int cmd, \
d329 2
a330 2
211	STD		{ int osf1_sys_shmdt(const void *shmaddr); }
212	STD		{ int osf1_sys_shmget(osf1_key_t key, size_t size, \
d343 1
a343 1
224	STD		{ int osf1_sys_stat2(const char *path, \
d345 1
a345 1
225	STD		{ int osf1_sys_lstat2(const char *path, \
d347 1
a347 1
226	STD		{ int osf1_sys_fstat2(int fd, \
d355 3
a357 3
233	NOARGS		{ pid_t sys_getpgid(pid_t pid); }
234	NOARGS		{ pid_t sys_getsid(pid_t pid); }
235	STD		{ int osf1_sys_sigaltstack( \
d365 1
a365 1
241	STD		{ int osf1_sys_sysinfo(int cmd, char *buf, long len); }
d371 2
a372 2
247	STD		{ long osf1_sys_pathconf(const char *path, int name); }
248	STD		{ long osf1_sys_fpathconf(int fd, int name); }
d375 1
a375 1
251	STD		{ int osf1_sys_usleep_thread( \
d382 1
a382 1
256	STD		{ int osf1_sys_getsysinfo(u_long op, void *buffer, \
d384 1
a384 1
257	STD		{ int osf1_sys_setsysinfo(u_long op, void *buffer, \
@


1.46
log
@Add getpgid, needed for Tru64 4.0g ksh.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.45 2007/03/04 06:01:28 christos Exp $
d269 2
a270 2
159	NOARGS		{ int compat_43_sys_getdirentries(int fd, char *buf, \
			    u_int count, long *basep); }
@


1.45
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.44 2007/02/09 21:55:23 ad Exp $
d355 1
a355 1
233	UNIMPL		getpgid
@


1.45.40.1
log
@sync with head.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.45 2007/03/04 06:01:28 christos Exp $
d50 5
a54 5
0	NOARGS		{ int|sys||nosys(void); } syscall
1	NOARGS		{ int|sys||exit(int rval); }
2	NOARGS		{ int|sys||fork(void); }
3	NOARGS		{ int|sys||read(int fd, char *buf, u_int nbyte); }
4	NOARGS		{ int|sys||write(int fd, const char *buf, \
d57 2
a58 2
6	NOARGS		{ int|sys||close(int fd); }
7	STD		{ int|osf1_sys||wait4(int pid, int *status, \
d61 2
a62 2
9	NOARGS		{ int|sys||link(const char *path, const char *link); }
10	NOARGS		{ int|sys||unlink(const char *path); }
d64 3
a66 3
12	NOARGS		{ int|sys||chdir(const char *path); }
13	NOARGS		{ int|sys||fchdir(int fd); }
14	STD		{ int|osf1_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(char *nsize); }
18	STD		{ int|osf1_sys||getfsstat(struct osf1_statfs *buf, \
d74 1
a74 1
19	STD		{ off_t|osf1_sys||lseek(int fd, off_t offset, \
d76 2
a77 2
20	NOARGS		{ pid_t|sys||getpid_with_ppid(void); }
21	STD		{ int|osf1_sys||mount(int type, const char *path, \
d79 3
a81 3
22	STD		{ int|osf1_sys||unmount(const char *path, int flags); }
23	STD		{ int|osf1_sys||setuid(uid_t uid); }
24	NOARGS		{ uid_t|sys||getuid_with_euid(void); }
d84 1
a84 1
27	STD		{ int|osf1_sys||recvmsg_xopen(int s, \
d86 1
a86 1
28	STD		{ int|osf1_sys||sendmsg_xopen(int s, \
d92 1
a92 1
33	STD		{ int|osf1_sys||access(const char *path, int flags); }
d95 2
a96 2
36	NOARGS		{ int|sys||sync(void); }
37	NOARGS		{ int|sys||kill(int pid, int signum); }
d98 1
a98 1
39	NOARGS		{ int|sys||setpgid(int pid, int pgid); }
d100 3
a102 3
41	NOARGS		{ int|sys||dup(u_int fd); }
42	NOARGS		{ int|sys||pipe(void); }
43	STD		{ int|osf1_sys||set_program_attributes( \
d106 1
a106 1
45	STD		{ int|osf1_sys||open(const char *path, int flags, \
d109 1
a109 1
47	NOARGS		{ gid_t|sys||getgid_with_egid(void); }
d111 1
a111 1
48	NOARGS		{ int|compat_13_sys||sigprocmask(int how, \
d113 3
a115 3
49	NOARGS		{ int|sys||__getlogin(char *namebuf, u_int namelen); }
50	NOARGS		{ int|sys||__setlogin(const char *namebuf); }
51	NOARGS		{ int|sys||acct(const char *path); }
d117 1
a117 1
53	STD		{ int|osf1_sys||classcntl(int opcode, int arg1, \
d119 4
a122 4
54	STD		{ int|osf1_sys||ioctl(int fd, int com, void *data); }
55	STD		{ int|osf1_sys||reboot(int opt); }
56	NOARGS		{ int|sys||revoke(const char *path); }
57	NOARGS		{ int|sys||symlink(const char *path, \
d124 1
a124 1
58	NOARGS		{ int|sys||readlink(const char *path, char *buf, \
d126 1
a126 1
59	STD		{ int|osf1_sys||execve(const char *path, \
d128 2
a129 2
60	NOARGS		{ int|sys||umask(int newmask); }
61	NOARGS		{ int|sys||chroot(const char *path); }
d131 2
a132 2
63	NOARGS		{ int|sys||getpgrp(void); }
64	NOARGS		{ int|compat_43_sys||getpagesize(void); }
d134 2
a135 2
66	NOARGS		{ int|sys||vfork(void); }
67	STD		{ int|osf1_sys||stat(const char *path, \
d137 1
a137 1
68	STD		{ int|osf1_sys||lstat(const char *path, \
d141 1
a141 1
71	STD		{ void *|osf1_sys||mmap(void *addr, size_t len, \
d144 2
a145 2
73	NOARGS		{ int|sys||munmap(void *addr, size_t len); }
74	STD		{ int|osf1_sys||mprotect(void *addr, size_t len, \
d147 1
a147 1
75	STD		{ int|osf1_sys||madvise(void *addr, size_t len, \
d152 2
a153 2
79	NOARGS		{ int|sys||getgroups(u_int gidsetsize, gid_t *gidset); }
80	NOARGS		{ int|sys||setgroups(u_int gidsetsize, gid_t *gidset); }
d156 2
a157 2
82	NOARGS		{ int|sys||setpgid(int pid, int pgid); } setpgrp
83	STD		{ int|osf1_sys||setitimer(u_int which, \
d162 2
a163 2
86	STD		{ int|osf1_sys||getitimer(u_int which, struct osf1_itimerval *itv); }
87	NOARGS		{ int|compat_43_sys||gethostname(char *hostname, \
d165 1
a165 1
88	NOARGS		{ int|compat_43_sys||sethostname(const char *hostname, \
d167 5
a171 5
89	NOARGS		{ int|compat_43_sys||getdtablesize(void); }
90	NOARGS		{ int|sys||dup2(u_int from, u_int to); }
91	STD		{ int|osf1_sys||fstat(int fd, void *sb); }
92	STD		{ int|osf1_sys||fcntl(int fd, int cmd, void *arg); }
93	STD		{ int|osf1_sys||select(u_int nd, fd_set *in, \
d174 1
a174 1
94	NOARGS		{ int|sys||poll(struct pollfd *fds, u_int nfds, \
d176 3
a178 3
95	NOARGS		{ int|sys||fsync(int fd); }
96	NOARGS		{ int|sys||setpriority(int which, int who, int prio); }
97	STD		{ int|osf1_sys||socket(int domain, int type, \
d180 2
a181 2
98	NOARGS		{ int|sys||connect(int s, void *name, int namelen); }
99	NOARGS		{ int|compat_43_sys||accept(int s, void *name, \
d183 2
a184 2
100	NOARGS		{ int|sys||getpriority(int which, int who); }
101	NOARGS		{ int|compat_43_sys||send(int s, void *buf, int len, \
d186 1
a186 1
102	NOARGS		{ int|compat_43_sys||recv(int s, void *buf, int len, \
d188 1
a188 1
103	NOARGS		{ int|compat_13_sys||sigreturn(\
d190 2
a191 2
104	NOARGS		{ int|sys||bind(int s, void *name, int namelen); }
105	NOARGS		{ int|sys||setsockopt(int s, int level, int name, \
d193 1
a193 1
106	NOARGS		{ int|sys||listen(int s, int backlog); }
d198 2
a199 2
111	NOARGS		{ int|compat_13_sys||sigsuspend(int mask); }
112	NOARGS		{ int|compat_43_sys||sigstack(struct sigstack *nss, \
d204 1
a204 1
116	STD		{ int|osf1_sys||gettimeofday(struct osf1_timeval *tp, \
d206 1
a206 1
117	STD		{ int|osf1_sys||getrusage(int who, \
d209 1
a209 1
118	NOARGS		{ int|sys||getsockopt(int s, int level, int name, \
d212 1
a212 1
120	STD		{ int|osf1_sys||readv(int fd, \
d214 1
a214 1
121	STD		{ int|osf1_sys||writev(int fd, \
d216 1
a216 1
122	STD		{ int|osf1_sys||settimeofday(struct osf1_timeval *tv, \
d218 3
a220 3
123	NOARGS		{ int|sys||__posix_fchown(int fd, int uid, int gid); }
124	NOARGS		{ int|sys||fchmod(int fd, int mode); }
125	NOARGS		{ int|compat_43_sys||recvfrom(int s, void *buf, \
d223 3
a225 3
126	NOARGS		{ int|sys||setreuid(uid_t ruid, uid_t euid); }
127	NOARGS		{ int|sys||setregid(gid_t rgid, gid_t egid); }
128	NOARGS		{ int|sys||__posix_rename(const char *from, \
d227 1
a227 1
129	STD		{ int|osf1_sys||truncate(const char *path, \
d229 4
a232 4
130	STD		{ int|osf1_sys||ftruncate(int fd, off_t length); }
131	NOARGS		{ int|sys||flock(int fd, int operation); }
132	STD		{ int|osf1_sys||setgid(gid_t gid); }
133	STD		{ int|osf1_sys||sendto(int s, void *buf, size_t len, \
d234 2
a235 2
134	NOARGS		{ int|sys||shutdown(int s, int how); }
135	STD		{ int|osf1_sys||socketpair(int domain, int type, \
d237 3
a239 3
136	NOARGS		{ int|sys||mkdir(const char *path, int mode); }
137	NOARGS		{ int|sys||rmdir(const char *path); }
138	STD		{ int|osf1_sys||utimes(const char *path, \
d243 1
a243 1
141	NOARGS		{ int|compat_43_sys||getpeername(int fdes, \
d245 2
a246 2
142	NOARGS		{ int32_t|compat_43_sys||gethostid(void); }
143	NOARGS		{ int|compat_43_sys||sethostid(int32_t hostid); }
d248 1
a248 1
144	STD		{ int|osf1_sys||getrlimit(u_int which, \
d251 1
a251 1
145	STD		{ int|osf1_sys||setrlimit(u_int which, \
d254 1
a254 1
147	NOARGS		{ int|sys||setsid(void); }
d256 2
a257 2
149	NOARGS		{ int|compat_43_sys||quota(void); }
150	NOARGS		{ int|compat_43_sys||getsockname(int fdec, \
d264 1
a264 1
156	STD		{ int|osf1_sys||sigaction(int signum, \
d269 3
a271 3
159	STD		{ int|osf1_sys||getdirentries(int fd, char *buf, \
			    int nbytes, long *basep); }
160	STD		{ int|osf1_sys||statfs(const char *path, \
d273 1
a273 1
161	STD		{ int|osf1_sys||fstatfs(int fd, \
d278 1
a278 1
165	NOARGS		{ int|compat_09_sys||getdomainname(char *domainname, \
d280 1
a280 1
166	NOARGS		{ int|compat_09_sys||setdomainname(char *domainname, \
d322 2
a323 2
207	STD		{ int|osf1_sys||uname(struct osf1_uname *name); }
208	NOARGS		{ int|sys||__posix_lchown(const char *path, int uid, \
d325 1
a325 1
209	STD		{ void *|osf1_sys||shmat(int shmid, \
d327 1
a327 1
210	STD		{ int|osf1_sys||shmctl(int shmid, int cmd, \
d329 2
a330 2
211	STD		{ int|osf1_sys||shmdt(const void *shmaddr); }
212	STD		{ int|osf1_sys||shmget(osf1_key_t key, size_t size, \
d343 1
a343 1
224	STD		{ int|osf1_sys||stat2(const char *path, \
d345 1
a345 1
225	STD		{ int|osf1_sys||lstat2(const char *path, \
d347 1
a347 1
226	STD		{ int|osf1_sys||fstat2(int fd, \
d355 3
a357 3
233	NOARGS		{ pid_t|sys||getpgid(pid_t pid); }
234	NOARGS		{ pid_t|sys||getsid(pid_t pid); }
235	STD		{ int|osf1_sys||sigaltstack( \
d365 1
a365 1
241	STD		{ int|osf1_sys||sysinfo(int cmd, char *buf, long len); }
d371 2
a372 2
247	STD		{ long|osf1_sys||pathconf(const char *path, int name); }
248	STD		{ long|osf1_sys||fpathconf(int fd, int name); }
d375 1
a375 1
251	STD		{ int|osf1_sys||usleep_thread( \
d382 1
a382 1
256	STD		{ int|osf1_sys||getsysinfo(u_long op, void *buffer, \
d384 1
a384 1
257	STD		{ int|osf1_sys||setsysinfo(u_long op, void *buffer, \
@


1.45.50.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.48 2009/01/13 22:27:43 pooka Exp $
d50 5
a54 5
0	NOARGS		{ int|sys||nosys(void); } syscall
1	NOARGS		{ int|sys||exit(int rval); }
2	NOARGS		{ int|sys||fork(void); }
3	NOARGS		{ int|sys||read(int fd, char *buf, u_int nbyte); }
4	NOARGS		{ int|sys||write(int fd, const char *buf, \
d57 2
a58 2
6	NOARGS		{ int|sys||close(int fd); }
7	STD		{ int|osf1_sys||wait4(int pid, int *status, \
d61 2
a62 2
9	NOARGS		{ int|sys||link(const char *path, const char *link); }
10	NOARGS		{ int|sys||unlink(const char *path); }
d64 3
a66 3
12	NOARGS		{ int|sys||chdir(const char *path); }
13	NOARGS		{ int|sys||fchdir(int fd); }
14	STD		{ int|osf1_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(char *nsize); }
18	STD		{ int|osf1_sys||getfsstat(struct osf1_statfs *buf, \
d74 1
a74 1
19	STD		{ off_t|osf1_sys||lseek(int fd, off_t offset, \
d76 2
a77 2
20	NOARGS		{ pid_t|sys||getpid_with_ppid(void); }
21	STD		{ int|osf1_sys||mount(int type, const char *path, \
d79 3
a81 3
22	STD		{ int|osf1_sys||unmount(const char *path, int flags); }
23	STD		{ int|osf1_sys||setuid(uid_t uid); }
24	NOARGS		{ uid_t|sys||getuid_with_euid(void); }
d84 1
a84 1
27	STD		{ int|osf1_sys||recvmsg_xopen(int s, \
d86 1
a86 1
28	STD		{ int|osf1_sys||sendmsg_xopen(int s, \
d92 1
a92 1
33	STD		{ int|osf1_sys||access(const char *path, int flags); }
d95 2
a96 2
36	NOARGS		{ int|sys||sync(void); }
37	NOARGS		{ int|sys||kill(int pid, int signum); }
d98 1
a98 1
39	NOARGS		{ int|sys||setpgid(int pid, int pgid); }
d100 3
a102 3
41	NOARGS		{ int|sys||dup(u_int fd); }
42	NOARGS		{ int|sys||pipe(void); }
43	STD		{ int|osf1_sys||set_program_attributes( \
d106 1
a106 1
45	STD		{ int|osf1_sys||open(const char *path, int flags, \
d109 1
a109 1
47	NOARGS		{ gid_t|sys||getgid_with_egid(void); }
d111 1
a111 1
48	NOARGS		{ int|compat_13_sys||sigprocmask(int how, \
d113 3
a115 3
49	NOARGS		{ int|sys||__getlogin(char *namebuf, u_int namelen); }
50	NOARGS		{ int|sys||__setlogin(const char *namebuf); }
51	NOARGS		{ int|sys||acct(const char *path); }
d117 1
a117 1
53	STD		{ int|osf1_sys||classcntl(int opcode, int arg1, \
d119 4
a122 4
54	STD		{ int|osf1_sys||ioctl(int fd, int com, void *data); }
55	STD		{ int|osf1_sys||reboot(int opt); }
56	NOARGS		{ int|sys||revoke(const char *path); }
57	NOARGS		{ int|sys||symlink(const char *path, \
d124 1
a124 1
58	NOARGS		{ int|sys||readlink(const char *path, char *buf, \
d126 1
a126 1
59	STD		{ int|osf1_sys||execve(const char *path, \
d128 2
a129 2
60	NOARGS		{ int|sys||umask(int newmask); }
61	NOARGS		{ int|sys||chroot(const char *path); }
d131 2
a132 2
63	NOARGS		{ int|sys||getpgrp(void); }
64	NOARGS		{ int|compat_43_sys||getpagesize(void); }
d134 2
a135 2
66	NOARGS		{ int|sys||vfork(void); }
67	STD		{ int|osf1_sys||stat(const char *path, \
d137 1
a137 1
68	STD		{ int|osf1_sys||lstat(const char *path, \
d141 1
a141 1
71	STD		{ void *|osf1_sys||mmap(void *addr, size_t len, \
d144 2
a145 2
73	NOARGS		{ int|sys||munmap(void *addr, size_t len); }
74	STD		{ int|osf1_sys||mprotect(void *addr, size_t len, \
d147 1
a147 1
75	STD		{ int|osf1_sys||madvise(void *addr, size_t len, \
d152 2
a153 2
79	NOARGS		{ int|sys||getgroups(u_int gidsetsize, gid_t *gidset); }
80	NOARGS		{ int|sys||setgroups(u_int gidsetsize, gid_t *gidset); }
d156 2
a157 2
82	NOARGS		{ int|sys||setpgid(int pid, int pgid); } setpgrp
83	STD		{ int|osf1_sys||setitimer(u_int which, \
d162 2
a163 2
86	STD		{ int|osf1_sys||getitimer(u_int which, struct osf1_itimerval *itv); }
87	NOARGS		{ int|compat_43_sys||gethostname(char *hostname, \
d165 1
a165 1
88	NOARGS		{ int|compat_43_sys||sethostname(const char *hostname, \
d167 5
a171 5
89	NOARGS		{ int|compat_43_sys||getdtablesize(void); }
90	NOARGS		{ int|sys||dup2(u_int from, u_int to); }
91	STD		{ int|osf1_sys||fstat(int fd, void *sb); }
92	STD		{ int|osf1_sys||fcntl(int fd, int cmd, void *arg); }
93	STD		{ int|osf1_sys||select(u_int nd, fd_set *in, \
d174 1
a174 1
94	NOARGS		{ int|sys||poll(struct pollfd *fds, u_int nfds, \
d176 3
a178 3
95	NOARGS		{ int|sys||fsync(int fd); }
96	NOARGS		{ int|sys||setpriority(int which, int who, int prio); }
97	STD		{ int|osf1_sys||socket(int domain, int type, \
d180 2
a181 2
98	NOARGS		{ int|sys||connect(int s, void *name, int namelen); }
99	NOARGS		{ int|compat_43_sys||accept(int s, void *name, \
d183 2
a184 2
100	NOARGS		{ int|sys||getpriority(int which, int who); }
101	NOARGS		{ int|compat_43_sys||send(int s, void *buf, int len, \
d186 1
a186 1
102	NOARGS		{ int|compat_43_sys||recv(int s, void *buf, int len, \
d188 1
a188 1
103	NOARGS		{ int|compat_13_sys||sigreturn(\
d190 2
a191 2
104	NOARGS		{ int|sys||bind(int s, void *name, int namelen); }
105	NOARGS		{ int|sys||setsockopt(int s, int level, int name, \
d193 1
a193 1
106	NOARGS		{ int|sys||listen(int s, int backlog); }
d198 2
a199 2
111	NOARGS		{ int|compat_13_sys||sigsuspend(int mask); }
112	NOARGS		{ int|compat_43_sys||sigstack(struct sigstack *nss, \
d204 1
a204 1
116	STD		{ int|osf1_sys||gettimeofday(struct osf1_timeval *tp, \
d206 1
a206 1
117	STD		{ int|osf1_sys||getrusage(int who, \
d209 1
a209 1
118	NOARGS		{ int|sys||getsockopt(int s, int level, int name, \
d212 1
a212 1
120	STD		{ int|osf1_sys||readv(int fd, \
d214 1
a214 1
121	STD		{ int|osf1_sys||writev(int fd, \
d216 1
a216 1
122	STD		{ int|osf1_sys||settimeofday(struct osf1_timeval *tv, \
d218 3
a220 3
123	NOARGS		{ int|sys||__posix_fchown(int fd, int uid, int gid); }
124	NOARGS		{ int|sys||fchmod(int fd, int mode); }
125	NOARGS		{ int|compat_43_sys||recvfrom(int s, void *buf, \
d223 3
a225 3
126	NOARGS		{ int|sys||setreuid(uid_t ruid, uid_t euid); }
127	NOARGS		{ int|sys||setregid(gid_t rgid, gid_t egid); }
128	NOARGS		{ int|sys||__posix_rename(const char *from, \
d227 1
a227 1
129	STD		{ int|osf1_sys||truncate(const char *path, \
d229 4
a232 4
130	STD		{ int|osf1_sys||ftruncate(int fd, off_t length); }
131	NOARGS		{ int|sys||flock(int fd, int operation); }
132	STD		{ int|osf1_sys||setgid(gid_t gid); }
133	STD		{ int|osf1_sys||sendto(int s, void *buf, size_t len, \
d234 2
a235 2
134	NOARGS		{ int|sys||shutdown(int s, int how); }
135	STD		{ int|osf1_sys||socketpair(int domain, int type, \
d237 3
a239 3
136	NOARGS		{ int|sys||mkdir(const char *path, int mode); }
137	NOARGS		{ int|sys||rmdir(const char *path); }
138	STD		{ int|osf1_sys||utimes(const char *path, \
d243 1
a243 1
141	NOARGS		{ int|compat_43_sys||getpeername(int fdes, \
d245 2
a246 2
142	NOARGS		{ int32_t|compat_43_sys||gethostid(void); }
143	NOARGS		{ int|compat_43_sys||sethostid(int32_t hostid); }
d248 1
a248 1
144	STD		{ int|osf1_sys||getrlimit(u_int which, \
d251 1
a251 1
145	STD		{ int|osf1_sys||setrlimit(u_int which, \
d254 1
a254 1
147	NOARGS		{ int|sys||setsid(void); }
d256 2
a257 2
149	NOARGS		{ int|compat_43_sys||quota(void); }
150	NOARGS		{ int|compat_43_sys||getsockname(int fdec, \
d264 1
a264 1
156	STD		{ int|osf1_sys||sigaction(int signum, \
d269 3
a271 3
159	STD		{ int|osf1_sys||getdirentries(int fd, char *buf, \
			    int nbytes, long *basep); }
160	STD		{ int|osf1_sys||statfs(const char *path, \
d273 1
a273 1
161	STD		{ int|osf1_sys||fstatfs(int fd, \
d278 1
a278 1
165	NOARGS		{ int|compat_09_sys||getdomainname(char *domainname, \
d280 1
a280 1
166	NOARGS		{ int|compat_09_sys||setdomainname(char *domainname, \
d322 2
a323 2
207	STD		{ int|osf1_sys||uname(struct osf1_uname *name); }
208	NOARGS		{ int|sys||__posix_lchown(const char *path, int uid, \
d325 1
a325 1
209	STD		{ void *|osf1_sys||shmat(int shmid, \
d327 1
a327 1
210	STD		{ int|osf1_sys||shmctl(int shmid, int cmd, \
d329 2
a330 2
211	STD		{ int|osf1_sys||shmdt(const void *shmaddr); }
212	STD		{ int|osf1_sys||shmget(osf1_key_t key, size_t size, \
d343 1
a343 1
224	STD		{ int|osf1_sys||stat2(const char *path, \
d345 1
a345 1
225	STD		{ int|osf1_sys||lstat2(const char *path, \
d347 1
a347 1
226	STD		{ int|osf1_sys||fstat2(int fd, \
d355 3
a357 3
233	NOARGS		{ pid_t|sys||getpgid(pid_t pid); }
234	NOARGS		{ pid_t|sys||getsid(pid_t pid); }
235	STD		{ int|osf1_sys||sigaltstack( \
d365 1
a365 1
241	STD		{ int|osf1_sys||sysinfo(int cmd, char *buf, long len); }
d371 2
a372 2
247	STD		{ long|osf1_sys||pathconf(const char *path, int name); }
248	STD		{ long|osf1_sys||fpathconf(int fd, int name); }
d375 1
a375 1
251	STD		{ int|osf1_sys||usleep_thread( \
d382 1
a382 1
256	STD		{ int|osf1_sys||getsysinfo(u_long op, void *buffer, \
d384 1
a384 1
257	STD		{ int|osf1_sys||setsysinfo(u_long op, void *buffer, \
@


1.45.36.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
	$NetBSD$
d50 5
a54 5
0	NOARGS		{ int|sys||nosys(void); } syscall
1	NOARGS		{ int|sys||exit(int rval); }
2	NOARGS		{ int|sys||fork(void); }
3	NOARGS		{ int|sys||read(int fd, char *buf, u_int nbyte); }
4	NOARGS		{ int|sys||write(int fd, const char *buf, \
d57 2
a58 2
6	NOARGS		{ int|sys||close(int fd); }
7	STD		{ int|osf1_sys||wait4(int pid, int *status, \
d61 2
a62 2
9	NOARGS		{ int|sys||link(const char *path, const char *link); }
10	NOARGS		{ int|sys||unlink(const char *path); }
d64 3
a66 3
12	NOARGS		{ int|sys||chdir(const char *path); }
13	NOARGS		{ int|sys||fchdir(int fd); }
14	STD		{ int|osf1_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(char *nsize); }
18	STD		{ int|osf1_sys||getfsstat(struct osf1_statfs *buf, \
d74 1
a74 1
19	STD		{ off_t|osf1_sys||lseek(int fd, off_t offset, \
d76 2
a77 2
20	NOARGS		{ pid_t|sys||getpid_with_ppid(void); }
21	STD		{ int|osf1_sys||mount(int type, const char *path, \
d79 3
a81 3
22	STD		{ int|osf1_sys||unmount(const char *path, int flags); }
23	STD		{ int|osf1_sys||setuid(uid_t uid); }
24	NOARGS		{ uid_t|sys||getuid_with_euid(void); }
d84 1
a84 1
27	STD		{ int|osf1_sys||recvmsg_xopen(int s, \
d86 1
a86 1
28	STD		{ int|osf1_sys||sendmsg_xopen(int s, \
d92 1
a92 1
33	STD		{ int|osf1_sys||access(const char *path, int flags); }
d95 2
a96 2
36	NOARGS		{ int|sys||sync(void); }
37	NOARGS		{ int|sys||kill(int pid, int signum); }
d98 1
a98 1
39	NOARGS		{ int|sys||setpgid(int pid, int pgid); }
d100 3
a102 3
41	NOARGS		{ int|sys||dup(u_int fd); }
42	NOARGS		{ int|sys||pipe(void); }
43	STD		{ int|osf1_sys||set_program_attributes( \
d106 1
a106 1
45	STD		{ int|osf1_sys||open(const char *path, int flags, \
d109 1
a109 1
47	NOARGS		{ gid_t|sys||getgid_with_egid(void); }
d111 1
a111 1
48	NOARGS		{ int|compat_13_sys||sigprocmask(int how, \
d113 3
a115 3
49	NOARGS		{ int|sys||__getlogin(char *namebuf, u_int namelen); }
50	NOARGS		{ int|sys||__setlogin(const char *namebuf); }
51	NOARGS		{ int|sys||acct(const char *path); }
d117 1
a117 1
53	STD		{ int|osf1_sys||classcntl(int opcode, int arg1, \
d119 4
a122 4
54	STD		{ int|osf1_sys||ioctl(int fd, int com, void *data); }
55	STD		{ int|osf1_sys||reboot(int opt); }
56	NOARGS		{ int|sys||revoke(const char *path); }
57	NOARGS		{ int|sys||symlink(const char *path, \
d124 1
a124 1
58	NOARGS		{ int|sys||readlink(const char *path, char *buf, \
d126 1
a126 1
59	STD		{ int|osf1_sys||execve(const char *path, \
d128 2
a129 2
60	NOARGS		{ int|sys||umask(int newmask); }
61	NOARGS		{ int|sys||chroot(const char *path); }
d131 2
a132 2
63	NOARGS		{ int|sys||getpgrp(void); }
64	NOARGS		{ int|compat_43_sys||getpagesize(void); }
d134 2
a135 2
66	NOARGS		{ int|sys||vfork(void); }
67	STD		{ int|osf1_sys||stat(const char *path, \
d137 1
a137 1
68	STD		{ int|osf1_sys||lstat(const char *path, \
d141 1
a141 1
71	STD		{ void *|osf1_sys||mmap(void *addr, size_t len, \
d144 2
a145 2
73	NOARGS		{ int|sys||munmap(void *addr, size_t len); }
74	STD		{ int|osf1_sys||mprotect(void *addr, size_t len, \
d147 1
a147 1
75	STD		{ int|osf1_sys||madvise(void *addr, size_t len, \
d152 2
a153 2
79	NOARGS		{ int|sys||getgroups(u_int gidsetsize, gid_t *gidset); }
80	NOARGS		{ int|sys||setgroups(u_int gidsetsize, gid_t *gidset); }
d156 2
a157 2
82	NOARGS		{ int|sys||setpgid(int pid, int pgid); } setpgrp
83	STD		{ int|osf1_sys||setitimer(u_int which, \
d162 2
a163 2
86	STD		{ int|osf1_sys||getitimer(u_int which, struct osf1_itimerval *itv); }
87	NOARGS		{ int|compat_43_sys||gethostname(char *hostname, \
d165 1
a165 1
88	NOARGS		{ int|compat_43_sys||sethostname(const char *hostname, \
d167 5
a171 5
89	NOARGS		{ int|compat_43_sys||getdtablesize(void); }
90	NOARGS		{ int|sys||dup2(u_int from, u_int to); }
91	STD		{ int|osf1_sys||fstat(int fd, void *sb); }
92	STD		{ int|osf1_sys||fcntl(int fd, int cmd, void *arg); }
93	STD		{ int|osf1_sys||select(u_int nd, fd_set *in, \
d174 1
a174 1
94	NOARGS		{ int|sys||poll(struct pollfd *fds, u_int nfds, \
d176 3
a178 3
95	NOARGS		{ int|sys||fsync(int fd); }
96	NOARGS		{ int|sys||setpriority(int which, int who, int prio); }
97	STD		{ int|osf1_sys||socket(int domain, int type, \
d180 2
a181 2
98	NOARGS		{ int|sys||connect(int s, void *name, int namelen); }
99	NOARGS		{ int|compat_43_sys||accept(int s, void *name, \
d183 2
a184 2
100	NOARGS		{ int|sys||getpriority(int which, int who); }
101	NOARGS		{ int|compat_43_sys||send(int s, void *buf, int len, \
d186 1
a186 1
102	NOARGS		{ int|compat_43_sys||recv(int s, void *buf, int len, \
d188 1
a188 1
103	NOARGS		{ int|compat_13_sys||sigreturn(\
d190 2
a191 2
104	NOARGS		{ int|sys||bind(int s, void *name, int namelen); }
105	NOARGS		{ int|sys||setsockopt(int s, int level, int name, \
d193 1
a193 1
106	NOARGS		{ int|sys||listen(int s, int backlog); }
d198 2
a199 2
111	NOARGS		{ int|compat_13_sys||sigsuspend(int mask); }
112	NOARGS		{ int|compat_43_sys||sigstack(struct sigstack *nss, \
d204 1
a204 1
116	STD		{ int|osf1_sys||gettimeofday(struct osf1_timeval *tp, \
d206 1
a206 1
117	STD		{ int|osf1_sys||getrusage(int who, \
d209 1
a209 1
118	NOARGS		{ int|sys||getsockopt(int s, int level, int name, \
d212 1
a212 1
120	STD		{ int|osf1_sys||readv(int fd, \
d214 1
a214 1
121	STD		{ int|osf1_sys||writev(int fd, \
d216 1
a216 1
122	STD		{ int|osf1_sys||settimeofday(struct osf1_timeval *tv, \
d218 3
a220 3
123	NOARGS		{ int|sys||__posix_fchown(int fd, int uid, int gid); }
124	NOARGS		{ int|sys||fchmod(int fd, int mode); }
125	NOARGS		{ int|compat_43_sys||recvfrom(int s, void *buf, \
d223 3
a225 3
126	NOARGS		{ int|sys||setreuid(uid_t ruid, uid_t euid); }
127	NOARGS		{ int|sys||setregid(gid_t rgid, gid_t egid); }
128	NOARGS		{ int|sys||__posix_rename(const char *from, \
d227 1
a227 1
129	STD		{ int|osf1_sys||truncate(const char *path, \
d229 4
a232 4
130	STD		{ int|osf1_sys||ftruncate(int fd, off_t length); }
131	NOARGS		{ int|sys||flock(int fd, int operation); }
132	STD		{ int|osf1_sys||setgid(gid_t gid); }
133	STD		{ int|osf1_sys||sendto(int s, void *buf, size_t len, \
d234 2
a235 2
134	NOARGS		{ int|sys||shutdown(int s, int how); }
135	STD		{ int|osf1_sys||socketpair(int domain, int type, \
d237 3
a239 3
136	NOARGS		{ int|sys||mkdir(const char *path, int mode); }
137	NOARGS		{ int|sys||rmdir(const char *path); }
138	STD		{ int|osf1_sys||utimes(const char *path, \
d243 1
a243 1
141	NOARGS		{ int|compat_43_sys||getpeername(int fdes, \
d245 2
a246 2
142	NOARGS		{ int32_t|compat_43_sys||gethostid(void); }
143	NOARGS		{ int|compat_43_sys||sethostid(int32_t hostid); }
d248 1
a248 1
144	STD		{ int|osf1_sys||getrlimit(u_int which, \
d251 1
a251 1
145	STD		{ int|osf1_sys||setrlimit(u_int which, \
d254 1
a254 1
147	NOARGS		{ int|sys||setsid(void); }
d256 2
a257 2
149	NOARGS		{ int|compat_43_sys||quota(void); }
150	NOARGS		{ int|compat_43_sys||getsockname(int fdec, \
d264 1
a264 1
156	STD		{ int|osf1_sys||sigaction(int signum, \
d269 3
a271 3
159	STD		{ int|osf1_sys||getdirentries(int fd, char *buf, \
			    int nbytes, long *basep); }
160	STD		{ int|osf1_sys||statfs(const char *path, \
d273 1
a273 1
161	STD		{ int|osf1_sys||fstatfs(int fd, \
d278 1
a278 1
165	NOARGS		{ int|compat_09_sys||getdomainname(char *domainname, \
d280 1
a280 1
166	NOARGS		{ int|compat_09_sys||setdomainname(char *domainname, \
d322 2
a323 2
207	STD		{ int|osf1_sys||uname(struct osf1_uname *name); }
208	NOARGS		{ int|sys||__posix_lchown(const char *path, int uid, \
d325 1
a325 1
209	STD		{ void *|osf1_sys||shmat(int shmid, \
d327 1
a327 1
210	STD		{ int|osf1_sys||shmctl(int shmid, int cmd, \
d329 2
a330 2
211	STD		{ int|osf1_sys||shmdt(const void *shmaddr); }
212	STD		{ int|osf1_sys||shmget(osf1_key_t key, size_t size, \
d343 1
a343 1
224	STD		{ int|osf1_sys||stat2(const char *path, \
d345 1
a345 1
225	STD		{ int|osf1_sys||lstat2(const char *path, \
d347 1
a347 1
226	STD		{ int|osf1_sys||fstat2(int fd, \
d355 3
a357 3
233	NOARGS		{ pid_t|sys||getpgid(pid_t pid); }
234	NOARGS		{ pid_t|sys||getsid(pid_t pid); }
235	STD		{ int|osf1_sys||sigaltstack( \
d365 1
a365 1
241	STD		{ int|osf1_sys||sysinfo(int cmd, char *buf, long len); }
d371 2
a372 2
247	STD		{ long|osf1_sys||pathconf(const char *path, int name); }
248	STD		{ long|osf1_sys||fpathconf(int fd, int name); }
d375 1
a375 1
251	STD		{ int|osf1_sys||usleep_thread( \
d382 1
a382 1
256	STD		{ int|osf1_sys||getsysinfo(u_long op, void *buffer, \
d384 1
a384 1
257	STD		{ int|osf1_sys||setsysinfo(u_long op, void *buffer, \
@


1.45.46.1
log
@Update haad-dm branch to haad-dm-base2.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.47 2008/12/02 13:45:02 njoly Exp $
d269 2
a270 2
159	STD		{ int osf1_sys_getdirentries(int fd, char *buf, \
			    int nbytes, long *basep); }
d355 1
a355 1
233	NOARGS		{ pid_t sys_getpgid(pid_t pid); }
@


1.45.42.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.45 2007/03/04 06:01:28 christos Exp $
a42 1
#include <sys/sa.h>
@


1.45.42.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.45.42.1 2008/05/10 23:48:59 wrstuden Exp $
d43 1
@


1.44
log
@Merge newlock2 to head.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.43 2005/12/11 12:20:23 christos Exp $
d78 1
a78 1
			    int flags, caddr_t data); }
d103 2
a104 2
                          caddr_t taddr, unsigned long tsize, \
                          caddr_t daddr, unsigned long dsize); }
d119 1
a119 1
54	STD		{ int osf1_sys_ioctl(int fd, int com, caddr_t data); }
d141 1
a141 1
71	STD		{ caddr_t osf1_sys_mmap(caddr_t addr, size_t len, \
d144 1
a144 1
73	NOARGS		{ int sys_munmap(caddr_t addr, size_t len); }
d180 2
a181 2
98	NOARGS		{ int sys_connect(int s, caddr_t name, int namelen); }
99	NOARGS		{ int compat_43_sys_accept(int s, caddr_t name, \
d184 1
a184 1
101	NOARGS		{ int compat_43_sys_send(int s, caddr_t buf, int len, \
d186 1
a186 1
102	NOARGS		{ int compat_43_sys_recv(int s, caddr_t buf, int len, \
d190 1
a190 1
104	NOARGS		{ int sys_bind(int s, caddr_t name, int namelen); }
d192 1
a192 1
			    caddr_t val, int valsize); }
d210 1
a210 1
			    caddr_t val, int *avalsize); }
d220 2
a221 2
125	NOARGS		{ int compat_43_sys_recvfrom(int s, caddr_t buf, \
			    size_t len, int flags, caddr_t from, \
d232 1
a232 1
133	STD		{ int osf1_sys_sendto(int s, caddr_t buf, size_t len, \
d244 1
a244 1
			    caddr_t asa, int *alen); }
d258 1
a258 1
			    caddr_t asa, int *alen); }
d382 4
a385 4
256	STD		{ int osf1_sys_getsysinfo(u_long op, caddr_t buffer, \
			    u_long nbytes, caddr_t arg, u_long flag); }
257	STD		{ int osf1_sys_setsysinfo(u_long op, caddr_t buffer, \
			    u_long nbytes, caddr_t arg, u_long flag); }
@


1.44.2.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.44 2007/02/09 21:55:23 ad Exp $
d78 1
a78 1
			    int flags, void *data); }
d103 2
a104 2
                          void *taddr, unsigned long tsize, \
                          void *daddr, unsigned long dsize); }
d119 1
a119 1
54	STD		{ int osf1_sys_ioctl(int fd, int com, void *data); }
d141 1
a141 1
71	STD		{ void *osf1_sys_mmap(void *addr, size_t len, \
d144 1
a144 1
73	NOARGS		{ int sys_munmap(void *addr, size_t len); }
d180 2
a181 2
98	NOARGS		{ int sys_connect(int s, void *name, int namelen); }
99	NOARGS		{ int compat_43_sys_accept(int s, void *name, \
d184 1
a184 1
101	NOARGS		{ int compat_43_sys_send(int s, void *buf, int len, \
d186 1
a186 1
102	NOARGS		{ int compat_43_sys_recv(int s, void *buf, int len, \
d190 1
a190 1
104	NOARGS		{ int sys_bind(int s, void *name, int namelen); }
d192 1
a192 1
			    void *val, int valsize); }
d210 1
a210 1
			    void *val, int *avalsize); }
d220 2
a221 2
125	NOARGS		{ int compat_43_sys_recvfrom(int s, void *buf, \
			    size_t len, int flags, void *from, \
d232 1
a232 1
133	STD		{ int osf1_sys_sendto(int s, void *buf, size_t len, \
d244 1
a244 1
			    void *asa, int *alen); }
d258 1
a258 1
			    void *asa, int *alen); }
d382 4
a385 4
256	STD		{ int osf1_sys_getsysinfo(u_long op, void *buffer, \
			    u_long nbytes, void *arg, u_long flag); }
257	STD		{ int osf1_sys_setsysinfo(u_long op, void *buffer, \
			    u_long nbytes, void *arg, u_long flag); }
@


1.43
log
@merge ktrace-lwp.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.40.2.2 2005/04/01 14:29:36 skrll Exp $
a42 1
#include <sys/sa.h>
@


1.43.20.1
log
@Remove support for SA. Ok core@@.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.43 2005/12/11 12:20:23 christos Exp $
d43 1
@


1.42
log
@emulate setreuid()/setregid(), from Eric Schnoebelen per PR
port-alpha/21870
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.41 2005/02/26 23:10:21 perry Exp $
@


1.42.2.1
log
@sync with head.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.42 2005/03/31 16:34:54 drochner Exp $
d43 1
@


1.42.2.2
log
@sync with head.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.42.2.1 2007/02/26 09:09:36 yamt Exp $
d78 1
a78 1
			    int flags, void *data); }
d103 2
a104 2
                          void *taddr, unsigned long tsize, \
                          void *daddr, unsigned long dsize); }
d119 1
a119 1
54	STD		{ int osf1_sys_ioctl(int fd, int com, void *data); }
d141 1
a141 1
71	STD		{ void *osf1_sys_mmap(void *addr, size_t len, \
d144 1
a144 1
73	NOARGS		{ int sys_munmap(void *addr, size_t len); }
d180 2
a181 2
98	NOARGS		{ int sys_connect(int s, void *name, int namelen); }
99	NOARGS		{ int compat_43_sys_accept(int s, void *name, \
d184 1
a184 1
101	NOARGS		{ int compat_43_sys_send(int s, void *buf, int len, \
d186 1
a186 1
102	NOARGS		{ int compat_43_sys_recv(int s, void *buf, int len, \
d190 1
a190 1
104	NOARGS		{ int sys_bind(int s, void *name, int namelen); }
d192 1
a192 1
			    void *val, int valsize); }
d210 1
a210 1
			    void *val, int *avalsize); }
d220 2
a221 2
125	NOARGS		{ int compat_43_sys_recvfrom(int s, void *buf, \
			    size_t len, int flags, void *from, \
d232 1
a232 1
133	STD		{ int osf1_sys_sendto(int s, void *buf, size_t len, \
d244 1
a244 1
			    void *asa, int *alen); }
d258 1
a258 1
			    void *asa, int *alen); }
d382 4
a385 4
256	STD		{ int osf1_sys_getsysinfo(u_long op, void *buffer, \
			    u_long nbytes, void *arg, u_long flag); }
257	STD		{ int osf1_sys_setsysinfo(u_long op, void *buffer, \
			    u_long nbytes, void *arg, u_long flag); }
@


1.41
log
@nuke trailing whitespace
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.40 2003/01/18 08:32:05 thorpej Exp $
d224 2
a225 2
126	UNIMPL		setreuid
127	UNIMPL		setregid
@


1.41.2.1
log
@Pull up following revision(s) (requested by drochner in ticket #1188):
	sys/compat/osf1/syscalls.master: revision 1.42
emulate setreuid()/setregid(), from Eric Schnoebelen per PR
port-alpha/21870
@
text
@d1 1
a1 1
	$NetBSD$
d224 2
a225 2
126	NOARGS		{ int sys_setreuid(uid_t ruid, uid_t euid); }
127	NOARGS		{ int sys_setregid(gid_t rgid, gid_t egid); }
@


1.40
log
@Merge the nathanw_sa branch.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.39 2001/06/28 04:08:58 simonb Exp $
d105 1
a105 1
                          caddr_t daddr, unsigned long dsize); }  
d332 1
a332 1
			    int flags); } 
@


1.40.10.1
log
@sync with -current
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.42 2005/03/31 16:34:54 drochner Exp $
d105 1
a105 1
                          caddr_t daddr, unsigned long dsize); }
d224 2
a225 2
126	NOARGS		{ int sys_setreuid(uid_t ruid, uid_t euid); }
127	NOARGS		{ int sys_setregid(gid_t rgid, gid_t egid); }
d332 1
a332 1
			    int flags); }
@


1.40.12.1
log
@sync with head.  xen and whitespace.  xen part is not finished.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.40 2003/01/18 08:32:05 thorpej Exp $
d105 1
a105 1
                          caddr_t daddr, unsigned long dsize); }
d332 1
a332 1
			    int flags); }
@


1.40.2.1
log
@Sync with HEAD.

Hi Perry!
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.41 2005/02/26 23:10:21 perry Exp $
d105 1
a105 1
                          caddr_t daddr, unsigned long dsize); }
d332 1
a332 1
			    int flags); }
@


1.40.2.2
log
@Sync with HEAD.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.40.2.1 2005/03/04 16:40:23 skrll Exp $
d224 2
a225 2
126	NOARGS		{ int sys_setreuid(uid_t ruid, uid_t euid); }
127	NOARGS		{ int sys_setregid(gid_t rgid, gid_t egid); }
@


1.39
log
@Add some (unimplemented) syscalls from Tru64 Unix 5.1a.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.38 2001/06/28 01:48:22 dmcmahill Exp $
d43 1
d115 1
a115 1
50	NOARGS		{ int sys_setlogin(const char *namebuf); }
@


1.38
log
@add COMPAT_OSF1 getitimer(2).  Patch submitted by Kevin Schoedel
<schoedel@@kw.igs.net> in PR port-alpha/13071, reviewed by Jason Thorpe.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.37 2001/06/23 02:45:54 dmcmahill Exp $
d390 5
@


1.37
log
@Add entry for flock() syscall.

From the NetBSD and OSF man pages, the arguments and operation of the
2 flocks are identical.  The only differences are in some of the possible
values for errno which may be set in the event of certain errors.  These
differences are (again from the manual pages):

The NetBSD flock may set errno to

     [EOPNOTSUPP]  The argument fd refers to an object other than a file.

and the OSF flock doesn't list this is a possible error code.

The OSF flock may set errno to:

  [EINTR]   A signal interuppted the flock call.
  [ENOLCK]  The lock table is full.  Too many regions are already locked.
  [EDEADLK] The lock is blocked by some lock from another process.  Putting
            the calling process to sleep while waiting for that lock to
            become free would cause a deadlock.

while the NetBSD flock does not list these as possibilities.

The remainder of the possible error codes are the same.

commit cleared with thorpej first.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.36 2001/05/30 11:37:30 mrg Exp $
d162 1
a162 1
86	UNIMPL		getitimer
@


1.36
log
@use _KERNEL_OPT.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.35 2001/04/04 19:41:00 ross Exp $
d230 1
a230 1
131	UNIMPL		flock
@


1.35
log
@prototypes and comments
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.34 2000/12/09 07:10:36 mycroft Exp $
d34 1
a34 1
#if defined(_KERNEL) && !defined(_LKM)
@


1.34
log
@Get rid of the damn EMUL_GET* flags.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.33 2000/12/09 05:27:30 mycroft Exp $
d343 9
a351 6
224	UNIMPL
225	UNIMPL
226	UNIMPL
227	UNIMPL
228	UNIMPL
229	UNIMPL
@


1.34.2.1
log
@Catch up with -current.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.35 2001/04/04 19:41:00 ross Exp $
d343 6
a348 9
224	STD		{ int osf1_sys_stat2(const char *path, \
			    struct osf1_stat2 *ub); }
225	STD		{ int osf1_sys_lstat2(const char *path, \
			    struct osf1_stat2 *ub); }
226	STD		{ int osf1_sys_fstat2(int fd, \
			    struct osf1_stat2 *sb); }
227	UNIMPL		statfs2
228	UNIMPL		fstatfs2
229	UNIMPL		getfsstat2
@


1.34.2.2
log
@Catch up to -current.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.34.2.1 2001/04/09 01:55:48 nathanw Exp $
d34 1
a34 1
#if defined(_KERNEL_OPT)
@


1.34.2.3
log
@Catch up with -current.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.34.2.2 2001/06/21 20:00:21 nathanw Exp $
d162 1
a162 1
86	STD		{ int osf1_sys_getitimer(u_int which, struct osf1_itimerval *itv); }
d230 1
a230 1
131	NOARGS		{ int sys_flock(int fd, int operation); }
a389 5
262	UNIMPL		oflock
263	UNIMPL		_F64_readv
264	UNIMPL		_F64_writev
265	UNIMPL		cdslxlate
266	UNIMPL		sendfile
@


1.34.2.4
log
@sys_setlogin() -> sys___setlogin().
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.34.2.3 2001/08/24 00:08:55 nathanw Exp $
d114 1
a114 1
50	NOARGS		{ int sys___setlogin(const char *namebuf); }
@


1.34.2.5
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.34.2.4 2002/03/01 00:02:20 nathanw Exp $
a42 1
#include <sys/sa.h>
@


1.33
log
@Add the %% separators.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.32 2000/11/30 19:05:27 jdolecek Exp $
d76 1
a76 1
20	NOARGS		{ pid_t sys_getpid(void); }
d81 1
a81 1
24	NOARGS		{ uid_t sys_getuid(void); }
d109 1
a109 1
47	NOARGS		{ gid_t sys_getgid(void); }
@


1.32
log
@LKMify
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.31 2000/11/17 03:06:28 erh Exp $
d34 1
a34 1
if defined(_KERNEL) && !defined(_LKM)
d36 1
a36 1
endif
d47 2
@


1.31
log
@Port FreeBSD's osf1_sys_getsysinfo() and fill in setsysinfo.  These are
incomplete at the moment (notable the fp_control stuff) but they need to
exist for the linux compatibilty code.  All other osf1 syscalls needed for
linux compat are already here.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.30 1999/05/10 05:58:44 cgd Exp $
d34 1
d36 1
@


1.30
log
@start at (new) sendmsg and recvmsg.  right now, the former doesn't
handle control messages and the latter is just a stub.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.29 1999/05/10 03:33:04 cgd Exp $
d375 2
a376 1
256	UNIMPL		getsysinfo
@


1.30.12.1
log
@Pull up revision 1.37 (requested by dmcmahill):
  Add entry for flock(), needed by Netscape communicator.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.30 1999/05/10 05:58:44 cgd Exp $
d226 1
a226 1
131	NOARGS		{ int sys_flock(int fd, int operation); }
@


1.30.2.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
	$NetBSD$
d375 1
a375 2
256	STD		{ int osf1_sys_getsysinfo(u_long op, caddr_t buffer, \
			    u_long nbytes, caddr_t arg, u_long flag); }
@


1.30.2.2
log
@Sync with HEAD.
@
text
@a33 1
if defined(_KERNEL) && !defined(_LKM)
a34 1
endif
@


1.30.2.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
%%

d74 1
a74 1
20	NOARGS		{ pid_t sys_getpid_with_ppid(void); }
d79 1
a79 1
24	NOARGS		{ uid_t sys_getuid_with_euid(void); }
d107 1
a107 1
47	NOARGS		{ gid_t sys_getgid_with_egid(void); }
@


1.30.2.4
log
@Sync with HEAD
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.30.2.3 2000/12/13 15:49:54 bouyer Exp $
d343 6
a348 9
224	STD		{ int osf1_sys_stat2(const char *path, \
			    struct osf1_stat2 *ub); }
225	STD		{ int osf1_sys_lstat2(const char *path, \
			    struct osf1_stat2 *ub); }
226	STD		{ int osf1_sys_fstat2(int fd, \
			    struct osf1_stat2 *sb); }
227	UNIMPL		statfs2
228	UNIMPL		fstatfs2
229	UNIMPL		getfsstat2
@


1.29
log
@old accept -> compat_43_sys_accept
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.28 1999/05/10 02:54:57 cgd Exp $
d80 4
a83 2
27	UNIMPL		recvmsg
28	UNIMPL		sendmsg
@


1.28
log
@listen is the same as native
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.27 1999/05/10 01:58:37 cgd Exp $
d175 2
a176 1
99	UNIMPL		old accept
@


1.27
log
@plink, plink.... socketpair!
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.26 1999/05/04 05:17:22 cgd Exp $
d186 1
a186 1
106	UNIMPL		listen
@


1.26
log
@stub classcntl().  for now, it returns ENOSYS.  (a stub for classcntl()
was suggested by Anders Magnusson <ragge@@ludd.luth.se>.)
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.25 1999/05/04 04:59:21 cgd Exp $
d228 2
a229 1
135	UNIMPL		socketpair
@


1.25
log
@emulate shm*(), but only so far as to return ENOSYS for now (until
they're really needed).  put them in their own file because when we
need to emulate them, they'll need a bunch of code.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.24 1999/05/04 02:12:15 cgd Exp $
d111 2
a112 1
53	UNIMPL		classcntl
@


1.24
log
@pathconf/fpathconf
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.23 1999/04/30 04:33:51 cgd Exp $
d43 1
d316 7
a322 4
209	UNIMPL		shmat
210	UNIMPL		shmctl
211	UNIMPL		shmdt
212	UNIMPL		shmget
@


1.23
log
@emulate wait4, clean up sigreturn args, emulate {get,set}domainname
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.22 1999/04/29 22:08:49 cgd Exp $
d355 2
a356 2
247	UNIMPL		pathconf
248	UNIMPL		fpathconf
@


1.22
log
@need to emulate setitimer and sysinfo
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.21 1999/04/29 17:19:47 thorpej Exp $
d53 2
a54 3
; XXX
7	NOARGS		{ int sys_wait4(int pid, int *status, int options, \
			    struct rusage *rusage); }
d180 1
a180 1
			    struct sigcontext *sigcntxp); }
d268 4
a271 2
165	UNIMPL		getdomainname
166	UNIMPL		setdomainname
@


1.21
log
@Add entry for set_program_attributes().
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.20 1999/04/29 02:10:07 cgd Exp $
d53 1
d104 1
d150 3
a152 2
83	NOARGS		{ int sys_setitimer(u_int which, \
			    struct itimerval *itv, struct itimerval *oitv); }
d166 1
d200 1
d238 1
d241 1
d348 1
a348 1
241	UNIMPL		sysinfo
@


1.20
log
@emulate access() and mprotect(), hook into COMPAT_43 get{peer,sock}name
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.19 1999/04/28 05:09:47 cgd Exp $
d95 3
a97 1
43	UNIMPL		set_program_attributes
@


1.19
log
@more timeval-related lossage.  fixed some fns, added settimeofday & utimes
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.18 1999/04/28 02:34:25 cgd Exp $
d85 1
a85 1
33	NOARGS		{ int sys_access(const char *path, int flags); }
d134 2
a135 1
74	UNIMPL		mprotect
d227 2
a228 1
141	UNIMPL		old getpeername
d239 2
a240 1
150	UNIMPL		old getsockname
@


1.18
log
@emulate select(), to get the timeval right.
And CGD said, "Let there be eyes!"  And there were eyes, and it was good.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.17 1999/04/28 02:03:13 cgd Exp $
d159 1
a159 1
			    fd_set *ou, fd_set *ex, struct timeval *tv); }
d190 1
a190 1
			    struct osf1_timezeon *tzp); }
d200 2
a201 2
122	NOARGS		{ int sys_settimeofday(struct timeval *tv, \
			    struct timezone *tzp); }
d222 2
a223 2
138	NOARGS		{ int sys_utimes(const char *path, \
			    struct timeval *tptr); }
d346 3
a348 2
251	STD		{ int osf1_sys_usleep_thread(struct timeval *sleep, \
			    struct timeval *slept); }
@


1.17
log
@can't use system gettimeofday, and need to implement uname
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.16 1999/04/27 18:40:53 cgd Exp $
d158 2
a159 2
93	NOARGS		{ int sys_select(u_int nd, fd_set *in, fd_set *ou, \
			    fd_set *ex, struct timeval *tv); }
@


1.16
log
@fix madvise args
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.15 1999/04/27 17:52:44 cgd Exp $
d189 2
a190 2
116	NOARGS		{ int sys_gettimeofday(struct timeval *tp, \
			    struct timezone *tzp); }
d299 1
a299 1
207	UNIMPL		uname
@


1.15
log
@fix getrusage args
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.14 1999/04/23 06:19:51 cgd Exp $
d135 2
a136 2
; XXX
75	STD		{ int osf1_sys_madvise(void); }
@


1.14
log
@const poisoning for strings, and minor cleanup
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.13 1999/02/09 20:34:17 christos Exp $
d191 2
a192 2
; XXX
117	STD		{ int osf1_sys_getrusage(void); }
@


1.13
log
@const poisoning.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.12 1998/12/10 17:03:20 christos Exp $
d49 2
a50 1
4	NOARGS		{ int sys_write(int fd, char *buf, u_int nbyte); }
d56 2
a57 2
9	NOARGS		{ int sys_link(char *path, char *link); }
10	NOARGS		{ int sys_unlink(char *path); }
d59 1
a59 1
12	NOARGS		{ int sys_chdir(char *path); }
d61 5
a65 3
14	STD		{ int osf1_sys_mknod(char *path, int mode, int dev); }
15	NOARGS		{ int sys_chmod(char *path, int mode); }
16	NOARGS		{ int sys___posix_chown(char *path, int uid, int gid); }
d72 3
a74 3
21	STD		{ int osf1_sys_mount(int type, char *path, int flags, \
			    caddr_t data); }
22	STD		{ int osf1_sys_unmount(char *path, int flags); }
d85 1
a85 1
33	NOARGS		{ int sys_access(char *path, int flags); }
d97 2
a98 1
45	STD		{ int osf1_sys_open(char *path, int flags, int mode); }
d104 2
a105 2
50	NOARGS		{ int sys_setlogin(char *namebuf); }
51	NOARGS		{ int sys_acct(char *path); }
d110 7
a116 5
56	NOARGS		{ int sys_revoke(char *path); }
57	NOARGS		{ int sys_symlink(char *path, char *link); }
58	NOARGS		{ int sys_readlink(char *path, char *buf, int count); }
59	STD		{ int osf1_sys_execve(const char *path, char **argp, \
			    char **envp); }
d118 1
a118 1
61	NOARGS		{ int sys_chroot(char *path); }
d124 3
a126 2
67	STD		{ int osf1_sys_stat(char *path, struct osf1_stat *ub); }
68	STD		{ int osf1_sys_lstat(char *path, \
d152 1
a152 1
88	NOARGS		{ int compat_43_sys_sethostname(char *hostname, \
d159 1
a159 1
                            fd_set *ex, struct timeval *tv); }
d177 1
a177 1
                            caddr_t val, int valsize); }
d194 1
a194 1
                            caddr_t val, int *avalsize); }
d196 4
a199 4
120	STD		{ int osf1_sys_readv(int fd, struct osf1_iovec *iovp, \
			    u_int iovcnt); }
121	STD		{ int osf1_sys_writev(int fd, struct osf1_iovec *iovp, \
			    u_int iovcnt); }
d211 2
a212 1
129	STD		{ int osf1_sys_truncate(char *path, off_t length); }
d220 4
a223 3
136	NOARGS		{ int sys_mkdir(char *path, int mode); }
137	NOARGS		{ int sys_rmdir(char *path); }
138	NOARGS		{ int sys_utimes(char *path, struct timeval *tptr); }
d250 1
a250 1
160     STD             { int osf1_sys_statfs(char *path, \
d252 1
a252 1
161     STD             { int osf1_sys_fstatfs(int fd, \
d300 1
a300 1
208	NOARGS		{ int sys___posix_lchown(char *path, int uid, \
d328 2
a329 1
235	STD		{ int osf1_sys_sigaltstack(struct osf1_sigaltstack *nss, \
@


1.13.6.1
log
@bring in latest KAME (as of 19991130, KAME/NetBSD141) into kame branch
just for reference purposes.
This commit includes 1.4 -> 1.4.1 sync for kame branch.

The branch does not compile at all (due to the lack of ALTQ and some other
source code).  Please do not try to modify the branch, this is just for
referenre purposes.

synchronization to latest KAME will take place on HEAD branch soon.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.13.2.2 1999/06/26 01:52:49 cgd Exp $
a42 1
#include <compat/osf1/osf1.h>
d49 1
a49 2
4	NOARGS		{ int sys_write(int fd, const char *buf, \
			    u_int nbyte); }
d52 2
a53 2
7	STD		{ int osf1_sys_wait4(int pid, int *status, \
			    int options, struct osf1_rusage *rusage); }
d55 2
a56 2
9	NOARGS		{ int sys_link(const char *path, const char *link); }
10	NOARGS		{ int sys_unlink(const char *path); }
d58 1
a58 1
12	NOARGS		{ int sys_chdir(const char *path); }
d60 3
a62 5
14	STD		{ int osf1_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); }
d69 3
a71 3
21	STD		{ int osf1_sys_mount(int type, const char *path, \
			    int flags, caddr_t data); }
22	STD		{ int osf1_sys_unmount(const char *path, int flags); }
d76 2
a77 4
27	STD		{ int osf1_sys_recvmsg_xopen(int s, \
			    struct osf1_msghdr_xopen *msg, int flags); }
28	STD		{ int osf1_sys_sendmsg_xopen(int s, \
			    const struct osf1_msghdr_xopen *msg, int flags); }
d82 1
a82 1
33	STD		{ int osf1_sys_access(const char *path, int flags); }
d92 1
a92 3
43	STD		{ int osf1_sys_set_program_attributes( \
                          caddr_t taddr, unsigned long tsize, \
                          caddr_t daddr, unsigned long dsize); }  
d94 1
a94 2
45	STD		{ int osf1_sys_open(const char *path, int flags, \
			    int mode); }
a96 1
; XXX
d100 2
a101 2
50	NOARGS		{ int sys_setlogin(const char *namebuf); }
51	NOARGS		{ int sys_acct(const char *path); }
d103 1
a103 2
53	STD		{ int osf1_sys_classcntl(int opcode, int arg1, \
			    int arg2, int arg3); }
d106 5
a110 7
56	NOARGS		{ int sys_revoke(const char *path); }
57	NOARGS		{ int sys_symlink(const char *path, \
			    const char *link); }
58	NOARGS		{ int sys_readlink(const char *path, char *buf, \
			    int count); }
59	STD		{ int osf1_sys_execve(const char *path, \
			    char * const *argp, char * const *envp); }
d112 1
a112 1
61	NOARGS		{ int sys_chroot(const char *path); }
d118 2
a119 3
67	STD		{ int osf1_sys_stat(const char *path, \
			    struct osf1_stat *ub); }
68	STD		{ int osf1_sys_lstat(const char *path, \
d127 3
a129 4
74	STD		{ int osf1_sys_mprotect(void *addr, size_t len, \
			    int prot); }
75	STD		{ int osf1_sys_madvise(void *addr, size_t len, \
			    int behav); }
d138 2
a139 3
83	STD		{ int osf1_sys_setitimer(u_int which, \
			    struct osf1_itimerval *itv, \
			    struct osf1_itimerval *oitv); }
d145 1
a145 1
88	NOARGS		{ int compat_43_sys_sethostname(const char *hostname, \
d151 2
a152 3
93	STD		{ int osf1_sys_select(u_int nd, fd_set *in, \
			    fd_set *ou, fd_set *ex, struct osf1_timeval *tv); }
; maybe XXX
d160 1
a160 2
99	NOARGS		{ int compat_43_sys_accept(int s, caddr_t name, \
			    int *anamelen); }
d167 1
a167 1
			    struct sigcontext13 *sigcntxp); }
d170 2
a171 2
			    caddr_t val, int valsize); }
106	NOARGS		{ int sys_listen(int s, int backlog); }
d182 2
a183 4
116	STD		{ int osf1_sys_gettimeofday(struct osf1_timeval *tp, \
			    struct osf1_timezone *tzp); }
117	STD		{ int osf1_sys_getrusage(int who, \
			    struct osf1_rusage *rusage); }
d185 1
d187 1
a187 1
			    caddr_t val, int *avalsize); }
d189 6
a194 6
120	STD		{ int osf1_sys_readv(int fd, \
			    struct osf1_iovec *iovp, u_int iovcnt); }
121	STD		{ int osf1_sys_writev(int fd, \
			    struct osf1_iovec *iovp, u_int iovcnt); }
122	STD		{ int osf1_sys_settimeofday(struct osf1_timeval *tv, \
			    struct osf1_timezone *tzp); }
d204 1
a204 2
129	STD		{ int osf1_sys_truncate(const char *path, \
			    off_t length); }
d211 4
a214 6
135	STD		{ int osf1_sys_socketpair(int domain, int type, \
			    int protocol, int *rsv); }
136	NOARGS		{ int sys_mkdir(const char *path, int mode); }
137	NOARGS		{ int sys_rmdir(const char *path); }
138	STD		{ int osf1_sys_utimes(const char *path, \
			    const struct osf1_timeval *tptr); }
d217 1
a217 2
141	NOARGS		{ int compat_43_sys_getpeername(int fdes, \
			    caddr_t asa, int *alen); }
a219 1
; XXX
a221 1
; XXX
d228 1
a228 2
150	NOARGS		{ int compat_43_sys_getsockname(int fdec, \
			    caddr_t asa, int *alen); }
d241 1
a241 1
160	STD		{ int osf1_sys_statfs(const char *path, \
d243 1
a243 1
161	STD		{ int osf1_sys_fstatfs(int fd, \
d248 2
a249 4
165	NOARGS		{ int compat_09_sys_getdomainname(char *domainname, \
			    int len); }
166	NOARGS		{ int compat_09_sys_setdomainname(char *domainname, \
			    int len); }
d290 2
a291 2
207	STD		{ int osf1_sys_uname(struct osf1_uname *name); }
208	NOARGS		{ int sys___posix_lchown(const char *path, int uid, \
d293 4
a296 7
209	STD		{ void *osf1_sys_shmat(int shmid, \
			    const void *shmaddr, int shmflg); }
210	STD		{ int osf1_sys_shmctl(int shmid, int cmd, \
			    struct osf1_shmid_ds *buf); }
211	STD		{ int osf1_sys_shmdt(const void *shmaddr); }
212	STD		{ int osf1_sys_shmget(osf1_key_t key, size_t size, \
			    int flags); } 
d319 1
a319 2
235	STD		{ int osf1_sys_sigaltstack( \
			    struct osf1_sigaltstack *nss, \
d326 1
a326 1
241	STD		{ int osf1_sys_sysinfo(int cmd, char *buf, long len); }
d332 2
a333 2
247	STD		{ long osf1_sys_pathconf(const char *path, int name); }
248	STD		{ long osf1_sys_fpathconf(int fd, int name); }
d336 2
a337 3
251	STD		{ int osf1_sys_usleep_thread( \
			    struct osf1_timeval *sleep, \
			    struct osf1_timeval *slept); }
@


1.13.2.1
log
@pull up rev(s) 1.14-1.28 from trunk. (cgd)
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.28 1999/05/10 02:54:57 cgd Exp $
a42 1
#include <compat/osf1/osf1.h>
d49 1
a49 2
4	NOARGS		{ int sys_write(int fd, const char *buf, \
			    u_int nbyte); }
d52 2
a53 2
7	STD		{ int osf1_sys_wait4(int pid, int *status, \
			    int options, struct osf1_rusage *rusage); }
d55 2
a56 2
9	NOARGS		{ int sys_link(const char *path, const char *link); }
10	NOARGS		{ int sys_unlink(const char *path); }
d58 1
a58 1
12	NOARGS		{ int sys_chdir(const char *path); }
d60 3
a62 5
14	STD		{ int osf1_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); }
d69 3
a71 3
21	STD		{ int osf1_sys_mount(int type, const char *path, \
			    int flags, caddr_t data); }
22	STD		{ int osf1_sys_unmount(const char *path, int flags); }
d82 1
a82 1
33	STD		{ int osf1_sys_access(const char *path, int flags); }
d92 1
a92 3
43	STD		{ int osf1_sys_set_program_attributes( \
                          caddr_t taddr, unsigned long tsize, \
                          caddr_t daddr, unsigned long dsize); }  
d94 1
a94 2
45	STD		{ int osf1_sys_open(const char *path, int flags, \
			    int mode); }
a96 1
; XXX
d100 2
a101 2
50	NOARGS		{ int sys_setlogin(const char *namebuf); }
51	NOARGS		{ int sys_acct(const char *path); }
d103 1
a103 2
53	STD		{ int osf1_sys_classcntl(int opcode, int arg1, \
			    int arg2, int arg3); }
d106 5
a110 7
56	NOARGS		{ int sys_revoke(const char *path); }
57	NOARGS		{ int sys_symlink(const char *path, \
			    const char *link); }
58	NOARGS		{ int sys_readlink(const char *path, char *buf, \
			    int count); }
59	STD		{ int osf1_sys_execve(const char *path, \
			    char * const *argp, char * const *envp); }
d112 1
a112 1
61	NOARGS		{ int sys_chroot(const char *path); }
d118 2
a119 3
67	STD		{ int osf1_sys_stat(const char *path, \
			    struct osf1_stat *ub); }
68	STD		{ int osf1_sys_lstat(const char *path, \
d127 3
a129 4
74	STD		{ int osf1_sys_mprotect(void *addr, size_t len, \
			    int prot); }
75	STD		{ int osf1_sys_madvise(void *addr, size_t len, \
			    int behav); }
d138 2
a139 3
83	STD		{ int osf1_sys_setitimer(u_int which, \
			    struct osf1_itimerval *itv, \
			    struct osf1_itimerval *oitv); }
d145 1
a145 1
88	NOARGS		{ int compat_43_sys_sethostname(const char *hostname, \
d151 2
a152 3
93	STD		{ int osf1_sys_select(u_int nd, fd_set *in, \
			    fd_set *ou, fd_set *ex, struct osf1_timeval *tv); }
; maybe XXX
d167 1
a167 1
			    struct sigcontext13 *sigcntxp); }
d170 2
a171 2
			    caddr_t val, int valsize); }
106	NOARGS		{ int sys_listen(int s, int backlog); }
d182 2
a183 4
116	STD		{ int osf1_sys_gettimeofday(struct osf1_timeval *tp, \
			    struct osf1_timezone *tzp); }
117	STD		{ int osf1_sys_getrusage(int who, \
			    struct osf1_rusage *rusage); }
d185 1
d187 1
a187 1
			    caddr_t val, int *avalsize); }
d189 6
a194 6
120	STD		{ int osf1_sys_readv(int fd, \
			    struct osf1_iovec *iovp, u_int iovcnt); }
121	STD		{ int osf1_sys_writev(int fd, \
			    struct osf1_iovec *iovp, u_int iovcnt); }
122	STD		{ int osf1_sys_settimeofday(struct osf1_timeval *tv, \
			    struct osf1_timezone *tzp); }
d204 1
a204 2
129	STD		{ int osf1_sys_truncate(const char *path, \
			    off_t length); }
d211 4
a214 6
135	STD		{ int osf1_sys_socketpair(int domain, int type, \
			    int protocol, int *rsv); }
136	NOARGS		{ int sys_mkdir(const char *path, int mode); }
137	NOARGS		{ int sys_rmdir(const char *path); }
138	STD		{ int osf1_sys_utimes(const char *path, \
			    const struct osf1_timeval *tptr); }
d217 1
a217 2
141	NOARGS		{ int compat_43_sys_getpeername(int fdes, \
			    caddr_t asa, int *alen); }
a219 1
; XXX
a221 1
; XXX
d228 1
a228 2
150	NOARGS		{ int compat_43_sys_getsockname(int fdec, \
			    caddr_t asa, int *alen); }
d241 1
a241 1
160	STD		{ int osf1_sys_statfs(const char *path, \
d243 1
a243 1
161	STD		{ int osf1_sys_fstatfs(int fd, \
d248 2
a249 4
165	NOARGS		{ int compat_09_sys_getdomainname(char *domainname, \
			    int len); }
166	NOARGS		{ int compat_09_sys_setdomainname(char *domainname, \
			    int len); }
d290 2
a291 2
207	STD		{ int osf1_sys_uname(struct osf1_uname *name); }
208	NOARGS		{ int sys___posix_lchown(const char *path, int uid, \
d293 4
a296 7
209	STD		{ void *osf1_sys_shmat(int shmid, \
			    const void *shmaddr, int shmflg); }
210	STD		{ int osf1_sys_shmctl(int shmid, int cmd, \
			    struct osf1_shmid_ds *buf); }
211	STD		{ int osf1_sys_shmdt(const void *shmaddr); }
212	STD		{ int osf1_sys_shmget(osf1_key_t key, size_t size, \
			    int flags); } 
d319 1
a319 2
235	STD		{ int osf1_sys_sigaltstack( \
			    struct osf1_sigaltstack *nss, \
d326 1
a326 1
241	STD		{ int osf1_sys_sysinfo(int cmd, char *buf, long len); }
d332 2
a333 2
247	STD		{ long osf1_sys_pathconf(const char *path, int name); }
248	STD		{ long osf1_sys_fpathconf(int fd, int name); }
d336 2
a337 3
251	STD		{ int osf1_sys_usleep_thread( \
			    struct osf1_timeval *sleep, \
			    struct osf1_timeval *slept); }
@


1.13.2.2
log
@pull up revs 1.29-1.30 from trunk. (cgd)
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.13.2.1 1999/06/21 19:29:19 cgd Exp $
d80 2
a81 4
27	STD		{ int osf1_sys_recvmsg_xopen(int s, \
			    struct osf1_msghdr_xopen *msg, int flags); }
28	STD		{ int osf1_sys_sendmsg_xopen(int s, \
			    const struct osf1_msghdr_xopen *msg, int flags); }
d175 1
a175 2
99	NOARGS		{ int compat_43_sys_accept(int s, caddr_t name, \
			    int *anamelen); }
@


1.13.4.1
log
@Sync w/ -current.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.30 1999/05/10 05:58:44 cgd Exp $
a42 1
#include <compat/osf1/osf1.h>
d49 1
a49 2
4	NOARGS		{ int sys_write(int fd, const char *buf, \
			    u_int nbyte); }
d52 2
a53 2
7	STD		{ int osf1_sys_wait4(int pid, int *status, \
			    int options, struct osf1_rusage *rusage); }
d55 2
a56 2
9	NOARGS		{ int sys_link(const char *path, const char *link); }
10	NOARGS		{ int sys_unlink(const char *path); }
d58 1
a58 1
12	NOARGS		{ int sys_chdir(const char *path); }
d60 3
a62 5
14	STD		{ int osf1_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); }
d69 3
a71 3
21	STD		{ int osf1_sys_mount(int type, const char *path, \
			    int flags, caddr_t data); }
22	STD		{ int osf1_sys_unmount(const char *path, int flags); }
d76 2
a77 4
27	STD		{ int osf1_sys_recvmsg_xopen(int s, \
			    struct osf1_msghdr_xopen *msg, int flags); }
28	STD		{ int osf1_sys_sendmsg_xopen(int s, \
			    const struct osf1_msghdr_xopen *msg, int flags); }
d82 1
a82 1
33	STD		{ int osf1_sys_access(const char *path, int flags); }
d92 1
a92 3
43	STD		{ int osf1_sys_set_program_attributes( \
                          caddr_t taddr, unsigned long tsize, \
                          caddr_t daddr, unsigned long dsize); }  
d94 1
a94 2
45	STD		{ int osf1_sys_open(const char *path, int flags, \
			    int mode); }
a96 1
; XXX
d100 2
a101 2
50	NOARGS		{ int sys_setlogin(const char *namebuf); }
51	NOARGS		{ int sys_acct(const char *path); }
d103 1
a103 2
53	STD		{ int osf1_sys_classcntl(int opcode, int arg1, \
			    int arg2, int arg3); }
d106 5
a110 7
56	NOARGS		{ int sys_revoke(const char *path); }
57	NOARGS		{ int sys_symlink(const char *path, \
			    const char *link); }
58	NOARGS		{ int sys_readlink(const char *path, char *buf, \
			    int count); }
59	STD		{ int osf1_sys_execve(const char *path, \
			    char * const *argp, char * const *envp); }
d112 1
a112 1
61	NOARGS		{ int sys_chroot(const char *path); }
d118 2
a119 3
67	STD		{ int osf1_sys_stat(const char *path, \
			    struct osf1_stat *ub); }
68	STD		{ int osf1_sys_lstat(const char *path, \
d127 3
a129 4
74	STD		{ int osf1_sys_mprotect(void *addr, size_t len, \
			    int prot); }
75	STD		{ int osf1_sys_madvise(void *addr, size_t len, \
			    int behav); }
d138 2
a139 3
83	STD		{ int osf1_sys_setitimer(u_int which, \
			    struct osf1_itimerval *itv, \
			    struct osf1_itimerval *oitv); }
d145 1
a145 1
88	NOARGS		{ int compat_43_sys_sethostname(const char *hostname, \
d151 2
a152 3
93	STD		{ int osf1_sys_select(u_int nd, fd_set *in, \
			    fd_set *ou, fd_set *ex, struct osf1_timeval *tv); }
; maybe XXX
d160 1
a160 2
99	NOARGS		{ int compat_43_sys_accept(int s, caddr_t name, \
			    int *anamelen); }
d167 1
a167 1
			    struct sigcontext13 *sigcntxp); }
d170 2
a171 2
			    caddr_t val, int valsize); }
106	NOARGS		{ int sys_listen(int s, int backlog); }
d182 2
a183 4
116	STD		{ int osf1_sys_gettimeofday(struct osf1_timeval *tp, \
			    struct osf1_timezone *tzp); }
117	STD		{ int osf1_sys_getrusage(int who, \
			    struct osf1_rusage *rusage); }
d185 1
d187 1
a187 1
			    caddr_t val, int *avalsize); }
d189 6
a194 6
120	STD		{ int osf1_sys_readv(int fd, \
			    struct osf1_iovec *iovp, u_int iovcnt); }
121	STD		{ int osf1_sys_writev(int fd, \
			    struct osf1_iovec *iovp, u_int iovcnt); }
122	STD		{ int osf1_sys_settimeofday(struct osf1_timeval *tv, \
			    struct osf1_timezone *tzp); }
d204 1
a204 2
129	STD		{ int osf1_sys_truncate(const char *path, \
			    off_t length); }
d211 4
a214 6
135	STD		{ int osf1_sys_socketpair(int domain, int type, \
			    int protocol, int *rsv); }
136	NOARGS		{ int sys_mkdir(const char *path, int mode); }
137	NOARGS		{ int sys_rmdir(const char *path); }
138	STD		{ int osf1_sys_utimes(const char *path, \
			    const struct osf1_timeval *tptr); }
d217 1
a217 2
141	NOARGS		{ int compat_43_sys_getpeername(int fdes, \
			    caddr_t asa, int *alen); }
a219 1
; XXX
a221 1
; XXX
d228 1
a228 2
150	NOARGS		{ int compat_43_sys_getsockname(int fdec, \
			    caddr_t asa, int *alen); }
d241 1
a241 1
160	STD		{ int osf1_sys_statfs(const char *path, \
d243 1
a243 1
161	STD		{ int osf1_sys_fstatfs(int fd, \
d248 2
a249 4
165	NOARGS		{ int compat_09_sys_getdomainname(char *domainname, \
			    int len); }
166	NOARGS		{ int compat_09_sys_setdomainname(char *domainname, \
			    int len); }
d290 2
a291 2
207	STD		{ int osf1_sys_uname(struct osf1_uname *name); }
208	NOARGS		{ int sys___posix_lchown(const char *path, int uid, \
d293 4
a296 7
209	STD		{ void *osf1_sys_shmat(int shmid, \
			    const void *shmaddr, int shmflg); }
210	STD		{ int osf1_sys_shmctl(int shmid, int cmd, \
			    struct osf1_shmid_ds *buf); }
211	STD		{ int osf1_sys_shmdt(const void *shmaddr); }
212	STD		{ int osf1_sys_shmget(osf1_key_t key, size_t size, \
			    int flags); } 
d319 1
a319 2
235	STD		{ int osf1_sys_sigaltstack( \
			    struct osf1_sigaltstack *nss, \
d326 1
a326 1
241	STD		{ int osf1_sys_sysinfo(int cmd, char *buf, long len); }
d332 2
a333 2
247	STD		{ long osf1_sys_pathconf(const char *path, int name); }
248	STD		{ long osf1_sys_fpathconf(int fd, int name); }
d336 2
a337 3
251	STD		{ int osf1_sys_usleep_thread( \
			    struct osf1_timeval *sleep, \
			    struct osf1_timeval *slept); }
@


1.12
log
@Defopt COMPAT_43
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.11 1998/07/01 00:41:36 thorpej Exp $
d97 2
a98 1
48	NOARGS		{ int sys_sigprocmask(int how, sigset_t mask); }
d109 1
a109 1
59	STD		{ int osf1_sys_execve(char *path, char **argp, \
d166 2
a167 1
103	NOARGS		{ int sys_sigreturn(struct sigcontext *sigcntxp); }
d176 1
a176 1
111	NOARGS		{ int sys_sigsuspend(int mask); }
@


1.11
log
@Add a bunch more system calls from Digital UNIX 4.0D.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.10 1998/05/20 16:34:29 chs Exp $
d33 2
@


1.10
log
@make this compile again.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.9 1998/02/19 00:42:15 thorpej Exp $
d100 1
a100 1
53	UNIMPL
d177 1
a177 1
115	UNIMPL		vtrace
d225 5
a229 5
151	UNIMPL
152	UNIMPL
153	UNIMPL
154	UNIMPL
155	UNIMPL
d233 1
a233 1
157	UNIMPL
d320 1
a320 1
239	UNIMPL
d325 5
a329 5
244	UNIMPL
245	UNIMPL
246	UNIMPL
247	UNIMPL
248	UNIMPL		
d337 1
a337 1
255	UNIMPL
d344 1
@


1.9
log
@Change a comment to reflect new makesyscalls.sh behavior.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.8 1998/02/14 21:29:14 kleink Exp $
d96 1
a96 1
49	NOARGS		{ int sys_getlogin(char *namebuf, u_int namelen); }
d198 2
a199 1
128	NOARGS		{ int sys_posix___posix_rename(char *from, char *to); }
d205 1
a205 1
			    int flags, caddr_t to, int tolen); }
@


1.8
log
@* Use sys___posix_{chown,fchown}() instead of sys_{chown,fchown}().
* Change reference from sys_posix_rename() to sys___posix_rename().
* Emulate lchown().
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.7 1998/02/14 01:29:45 thorpej Exp $
d32 1
a32 1
; #include's are copied to the syscall switch definition file only.
@


1.7
log
@We now have a native getsid(2), so there's no need to implement it here;
just use sys_getsid().
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.6 1997/06/27 05:29:37 kleink Exp $
d60 1
a60 1
16	NOARGS		{ int sys_chown(char *path, int uid, int gid); }
d191 1
a191 1
123	NOARGS		{ int sys_fchown(int fd, int uid, int gid); }
d198 1
a198 1
128	NOARGS		{ int sys_posix_rename(char *from, char *to); }
d286 2
a287 1
208	UNIMPL		lchown
@


1.6
log
@Use sys_posix_rename() instead of sys_rename() as it's the behaviour of the
native implementation.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.5 1996/09/07 14:22:00 mycroft Exp $
d312 1
a312 1
234	STD		{ pid_t osf1_sys_getsid(pid_t pid); }
@


1.5
log
@Modify poll(2) prototype.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.4 1996/09/07 12:40:46 mycroft Exp $
d198 1
a198 1
128	NOARGS		{ int sys_rename(char *from, char *to); }
@


1.4
log
@Implement poll(2).
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.3 1996/09/03 03:12:32 mycroft Exp $
d150 1
a150 1
94	NOARGS		{ int sys_poll(struct pollfd *fds, size_t nfds, \
@


1.3
log
@Define execv() and execve() consistently across emulations.
Do path name translation.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.2 1995/10/07 06:27:28 mycroft Exp $
d38 1
d40 1
d150 2
a151 1
94	UNIMPL		poll
@


1.2
log
@Prefix names of system call implementation functions with `sys_'.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.1 1995/02/13 21:39:10 cgd Exp $
d104 1
a104 1
59	NOARGS		{ int sys_execve(char *path, char **argp, \
@


1.2.6.1
log
@From trunk:
Do execv() and execve() path name translation consistently across
emulations.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.3 1996/09/03 03:12:32 mycroft Exp $
d104 1
a104 1
59	STD		{ int osf1_sys_execve(char *path, char **argp, \
@


1.1
log
@Initial support for DEC OSF/1 AXP binaries.  May be applicable to other OSF/1
systems running a BSD-ish server.  No dynamically linked executable support
(it requires weird execve() hacks...), nor any Mach trap support.  But it
ran lots of statically linked binaries well enough for me to get bootstrapped.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.32 1994/12/13 07:38:40 cgd Exp $
d3 3
a5 1
; OSF/1 system call name/number "master" file.
d11 1
a11 1
;		the copatibility options defined in syscalls.conf.
d16 1
a16 1
;	UNIMP	unimplemented, not included in system
d41 5
a45 5
0	NOARGS		{ int nosys(void); } syscall
1	NOARGS		{ int exit(int rval); }
2	NOARGS		{ int fork(void); }
3	NOARGS		{ int read(int fd, char *buf, u_int nbyte); }
4	NOARGS		{ int write(int fd, char *buf, u_int nbyte); }
d47 2
a48 2
6	NOARGS		{ int close(int fd); }
7	NOARGS		{ int wait4(int pid, int *status, int options, \
d51 2
a52 2
9	NOARGS		{ int link(char *path, char *link); }
10	NOARGS		{ int unlink(char *path); }
d54 7
a60 7
12	NOARGS		{ int chdir(char *path); }
13	NOARGS		{ int fchdir(int fd); }
14	STD		{ int osf1_mknod(char *path, int mode, int dev); }
15	NOARGS		{ int chmod(char *path, int mode); }
16	NOARGS		{ int chown(char *path, int uid, int gid); }
17	NOARGS		{ int obreak(char *nsize); }
18	STD		{ int osf1_getfsstat(struct osf1_statfs *buf, \
d62 4
a65 3
19	STD		{ off_t osf1_lseek(int fd, off_t offset, int whence); }
20	NOARGS		{ pid_t getpid(void); }
21	STD		{ int osf1_mount(int type, char *path, int flags, \
d67 3
a69 3
22	STD		{ int osf1_unmount(char *path, int flags); }
23	STD		{ int osf1_setuid(uid_t uid); }
24	NOARGS		{ uid_t getuid(void); }
d78 1
a78 1
33	NOARGS		{ int access(char *path, int flags); }
d81 2
a82 2
36	NOARGS		{ int sync(void); }
37	NOARGS		{ int kill(int pid, int signum); }
d84 1
a84 1
39	NOARGS		{ int setpgid(int pid, int pgid); }
d86 2
a87 2
41	NOARGS		{ int dup(u_int fd); }
42	NOARGS		{ int pipe(void); }
d90 1
a90 1
45	STD		{ int osf1_open(char *path, int flags, int mode); }
d92 5
a96 5
47	NOARGS		{ gid_t getgid(void); }
48	NOARGS		{ int sigprocmask(int how, sigset_t mask); }
49	NOARGS		{ int getlogin(char *namebuf, u_int namelen); }
50	NOARGS		{ int setlogin(char *namebuf); }
51	NOARGS		{ int acct(char *path); }
d99 6
a104 6
54	STD		{ int osf1_ioctl(int fd, int com, caddr_t data); }
55	STD		{ int osf1_reboot(int opt); }
56	NOARGS		{ int revoke(char *path); }
57	NOARGS		{ int symlink(char *path, char *link); }
58	NOARGS		{ int readlink(char *path, char *buf, int count); }
59	NOARGS		{ int execve(char *path, char **argp, \
d106 2
a107 2
60	NOARGS		{ int umask(int newmask); }
61	NOARGS		{ int chroot(char *path); }
d109 2
a110 2
63	NOARGS		{ int getpgrp(void); }
64	NOARGS		{ int compat_43_getpagesize(void); }
d112 4
a115 3
66	NOARGS		{ int vfork(void); }
67	STD		{ int osf1_stat(char *path, struct osf1_stat *ub); }
68	STD		{ int osf1_lstat(char *path, struct osf1_stat *ub); }
d118 1
a118 1
71	STD		{ caddr_t osf1_mmap(caddr_t addr, size_t len, \
d121 1
a121 1
73	NOARGS		{ int munmap(caddr_t addr, int len); }
d124 1
a124 1
75	STD		{ int osf1_madvise(void); }
d128 2
a129 2
79	NOARGS		{ int getgroups(u_int gidsetsize, gid_t *gidset); }
80	NOARGS		{ int setgroups(u_int gidsetsize, gid_t *gidset); }
d132 3
a134 3
82	NOARGS		{ int setpgid(int pid, int pgid); } setpgrp
83	NOARGS		{ int setitimer(u_int which, struct itimerval *itv, \
			    struct itimerval *oitv); }
d138 1
a138 1
87	NOARGS		{ int compat_43_gethostname(char *hostname, \
d140 1
a140 1
88	NOARGS		{ int compat_43_sethostname(char *hostname, \
d142 5
a146 5
89	NOARGS		{ int compat_43_getdtablesize(void); }
90	NOARGS		{ int dup2(u_int from, u_int to); }
91	STD		{ int osf1_fstat(int fd, void *sb); }
92	STD		{ int osf1_fcntl(int fd, int cmd, void *arg); }
93	NOARGS		{ int select(u_int nd, fd_set *in, fd_set *ou, \
d149 3
a151 3
95	NOARGS		{ int fsync(int fd); }
96	NOARGS		{ int setpriority(int which, int who, int prio); }
97	STD		{ int osf1_socket(int domain, int type, \
d153 1
a153 1
98	NOARGS		{ int connect(int s, caddr_t name, int namelen); }
d155 2
a156 2
100	NOARGS		{ int getpriority(int which, int who); }
101	NOARGS		{ int compat_43_send(int s, caddr_t buf, int len, \
d158 1
a158 1
102	NOARGS		{ int compat_43_recv(int s, caddr_t buf, int len, \
d160 3
a162 3
103	NOARGS		{ int sigreturn(struct sigcontext *sigcntxp); }
104	NOARGS		{ int bind(int s, caddr_t name, int namelen); }
105	NOARGS		{ int setsockopt(int s, int level, int name, \
d169 2
a170 2
111	NOARGS		{ int sigsuspend(int mask); }
112	NOARGS		{ int compat_43_sigstack(struct sigstack *nss, \
d175 1
a175 1
116	NOARGS		{ int gettimeofday(struct timeval *tp, \
d178 2
a179 2
117	STD		{ int osf1_getrusage(void); }
118	NOARGS		{ int getsockopt(int s, int level, int name, \
d182 1
a182 1
120	STD		{ int osf1_readv(int fd, struct osf1_iovec *iovp, \
d184 1
a184 1
121	STD		{ int osf1_writev(int fd, struct osf1_iovec *iovp, \
d186 1
a186 1
122	NOARGS		{ int settimeofday(struct timeval *tv, \
d188 3
a190 3
123	NOARGS		{ int fchown(int fd, int uid, int gid); }
124	NOARGS		{ int fchmod(int fd, int mode); }
125	NOARGS		{ int compat_43_recvfrom(int s, caddr_t buf, \
d195 3
a197 3
128	NOARGS		{ int rename(char *from, char *to); }
129	STD		{ int osf1_truncate(char *path, off_t length); }
130	STD		{ int osf1_ftruncate(int fd, off_t length); }
d199 2
a200 2
132	STD		{ int osf1_setgid(gid_t gid); }
133	STD		{ int osf1_sendto(int s, caddr_t buf, size_t len, \
d202 1
a202 1
134	NOARGS		{ int shutdown(int s, int how); }
d204 3
a206 3
136	NOARGS		{ int mkdir(char *path, int mode); }
137	NOARGS		{ int rmdir(char *path); }
138	NOARGS		{ int utimes(char *path, struct timeval *tptr); }
d210 6
a215 4
142	NOARGS		{ int32_t compat_43_gethostid(void); }
143	NOARGS		{ int compat_43_sethostid(int32_t hostid); }
144	STD		{ int osf1_getrlimit(u_int which, struct rlimit *rlp); }
145	STD		{ int osf1_setrlimit(u_int which, struct rlimit *rlp); }
d217 1
a217 1
147	NOARGS		{ int setsid(void); }
d219 1
a219 1
149	NOARGS		{ int compat_43_quota(void); }
d226 3
a228 2
156	STD		{ int osf1_sigaction(int signum, \
			    struct sigaction *nsa, struct sigaction *osa); }
d230 2
a231 2
158	UNIMPL
159	NOARGS		{ int compat_43_getdirentries(int fd, char *buf, \
d233 4
a236 4
160     STD             { int osf1_statfs(char *path, struct osf1_statfs *buf, \
			    int len); }
161     STD             { int osf1_fstatfs(int fd, struct osf1_statfs *buf, \
			    int len); }
d238 4
a241 4
163	UNIMPL
164	UNIMPL
165	UNIMPL
166	UNIMPL
d244 1
a244 1
169	UNIMPL
d247 8
a254 8
172	UNIMPL
173	UNIMPL
174	UNIMPL
175	UNIMPL
176	UNIMPL
177	UNIMPL
178	UNIMPL
179	UNIMPL
d256 2
a257 2
181	UNIMPL
182	UNIMPL
d259 1
a259 1
184	UNIMPL
d261 3
a263 3
186	UNIMPL
187	UNIMPL
188	UNIMPL
d274 9
a282 9
199	UNIMPL
200	UNIMPL
201	UNIMPL
202	UNIMPL
203	UNIMPL
204	UNIMPL
205	UNIMPL
206	UNIMPL
207	UNIMPL
d284 12
a295 12
209	UNIMPL
210	UNIMPL
211	UNIMPL
212	UNIMPL
213	UNIMPL
214	UNIMPL
215	UNIMPL
216	UNIMPL
217	UNIMPL
218	UNIMPL
219	UNIMPL
220	UNIMPL
d297 2
a298 2
222	UNIMPL
223	UNIMPL
d309 3
a311 2
234	STD		{ pid_t osf1_getsid(pid_t pid); }
235	UNIMPL		sigaltstack
d327 1
a327 1
251	STD		{ int osf1_usleep_thread(struct timeval *sleep, \
d334 1
a334 1
257	STD		{ int osf1_setsysinfo(u_long op, caddr_t buffer, \
@
