head	1.109;
access;
symbols
	netbsd-11-0-RC5:1.107
	netbsd-11-0-RC4:1.107
	netbsd-11-0-RC3:1.107
	netbsd-11-0-RC2:1.107
	netbsd-11-0-RC1:1.107
	perseant-exfatfs-base-20250801:1.107
	netbsd-11:1.107.0.2
	netbsd-11-base:1.107
	netbsd-10-1-RELEASE:1.101
	perseant-exfatfs-base-20240630:1.105
	perseant-exfatfs:1.105.0.2
	perseant-exfatfs-base:1.105
	netbsd-8-3-RELEASE:1.93
	netbsd-9-4-RELEASE:1.93
	netbsd-10-0-RELEASE:1.101
	netbsd-10-0-RC6:1.101
	netbsd-10-0-RC5:1.101
	netbsd-10-0-RC4:1.101
	netbsd-10-0-RC3:1.101
	netbsd-10-0-RC2:1.101
	thorpej-ifq:1.104.0.4
	thorpej-ifq-base:1.104
	thorpej-altq-separation:1.104.0.2
	thorpej-altq-separation-base:1.104
	netbsd-10-0-RC1:1.101
	netbsd-10:1.101.0.4
	netbsd-10-base:1.101
	bouyer-sunxi-drm:1.101.0.2
	bouyer-sunxi-drm-base:1.101
	netbsd-9-3-RELEASE:1.93
	thorpej-i2c-spi-conf2:1.95.0.16
	thorpej-i2c-spi-conf2-base:1.95
	thorpej-futex2:1.95.0.14
	thorpej-futex2-base:1.95
	thorpej-cfargs2:1.95.0.12
	thorpej-cfargs2-base:1.95
	cjep_sun2x-base1:1.95
	cjep_sun2x:1.95.0.10
	cjep_sun2x-base:1.95
	cjep_staticlib_x-base1:1.95
	netbsd-9-2-RELEASE:1.93
	cjep_staticlib_x:1.95.0.8
	cjep_staticlib_x-base:1.95
	thorpej-i2c-spi-conf:1.95.0.6
	thorpej-i2c-spi-conf-base:1.95
	thorpej-cfargs:1.95.0.4
	thorpej-cfargs-base:1.95
	thorpej-futex:1.95.0.2
	thorpej-futex-base:1.95
	netbsd-9-1-RELEASE:1.93
	bouyer-xenpvh-base2:1.94
	phil-wifi-20200421:1.94
	bouyer-xenpvh-base1:1.94
	phil-wifi-20200411:1.94
	bouyer-xenpvh:1.94.0.6
	bouyer-xenpvh-base:1.94
	is-mlppp:1.94.0.4
	is-mlppp-base:1.94
	phil-wifi-20200406:1.94
	netbsd-8-2-RELEASE:1.93
	ad-namecache-base3:1.94
	netbsd-9-0-RELEASE:1.93
	netbsd-9-0-RC2:1.93
	ad-namecache-base2:1.94
	ad-namecache-base1:1.94
	ad-namecache:1.94.0.2
	ad-namecache-base:1.94
	netbsd-9-0-RC1:1.93
	phil-wifi-20191119:1.94
	netbsd-9:1.93.0.18
	netbsd-9-base:1.93
	phil-wifi-20190609:1.93
	netbsd-8-1-RELEASE:1.93
	netbsd-8-1-RC1:1.93
	isaki-audio2:1.93.0.16
	isaki-audio2-base:1.93
	pgoyette-compat-merge-20190127:1.93
	pgoyette-compat-20190127:1.93
	pgoyette-compat-20190118:1.93
	pgoyette-compat-1226:1.93
	pgoyette-compat-1126:1.93
	pgoyette-compat-1020:1.93
	pgoyette-compat-0930:1.93
	pgoyette-compat-0906:1.93
	netbsd-7-2-RELEASE:1.88.2.1
	pgoyette-compat-0728:1.93
	netbsd-8-0-RELEASE:1.93
	phil-wifi:1.93.0.14
	phil-wifi-base:1.93
	pgoyette-compat-0625:1.93
	netbsd-8-0-RC2:1.93
	pgoyette-compat-0521:1.93
	pgoyette-compat-0502:1.93
	pgoyette-compat-0422:1.93
	netbsd-8-0-RC1:1.93
	pgoyette-compat-0415:1.93
	pgoyette-compat-0407:1.93
	pgoyette-compat-0330:1.93
	pgoyette-compat-0322:1.93
	pgoyette-compat-0315:1.93
	netbsd-7-1-2-RELEASE:1.88
	pgoyette-compat:1.93.0.12
	pgoyette-compat-base:1.93
	netbsd-7-1-1-RELEASE:1.88
	tls-maxphys-base-20171202:1.93
	matt-nb8-mediatek:1.93.0.10
	matt-nb8-mediatek-base:1.93
	nick-nhusb-base-20170825:1.93
	perseant-stdc-iso10646:1.93.0.8
	perseant-stdc-iso10646-base:1.93
	netbsd-8:1.93.0.6
	netbsd-8-base:1.93
	prg-localcount2-base3:1.93
	prg-localcount2-base2:1.93
	prg-localcount2-base1:1.93
	prg-localcount2:1.93.0.4
	prg-localcount2-base:1.93
	pgoyette-localcount-20170426:1.93
	bouyer-socketcan-base1:1.93
	jdolecek-ncq:1.93.0.2
	jdolecek-ncq-base:1.93
	pgoyette-localcount-20170320:1.93
	netbsd-7-1:1.88.0.8
	netbsd-7-1-RELEASE:1.88
	netbsd-7-1-RC2:1.88
	nick-nhusb-base-20170204:1.93
	netbsd-7-nhusb-base-20170116:1.88
	bouyer-socketcan:1.91.0.2
	bouyer-socketcan-base:1.91
	pgoyette-localcount-20170107:1.91
	netbsd-7-1-RC1:1.88
	nick-nhusb-base-20161204:1.90
	pgoyette-localcount-20161104:1.90
	netbsd-7-0-2-RELEASE:1.88
	nick-nhusb-base-20161004:1.90
	localcount-20160914:1.90
	netbsd-7-nhusb:1.88.0.6
	netbsd-7-nhusb-base:1.88
	pgoyette-localcount-20160806:1.90
	pgoyette-localcount-20160726:1.90
	pgoyette-localcount:1.89.0.4
	pgoyette-localcount-base:1.89
	nick-nhusb-base-20160907:1.89
	nick-nhusb-base-20160529:1.89
	netbsd-7-0-1-RELEASE:1.88
	nick-nhusb-base-20160422:1.89
	nick-nhusb-base-20160319:1.89
	nick-nhusb-base-20151226:1.89
	netbsd-7-0:1.88.0.4
	netbsd-7-0-RELEASE:1.88
	nick-nhusb-base-20150921:1.89
	netbsd-7-0-RC3:1.88
	netbsd-7-0-RC2:1.88
	netbsd-7-0-RC1:1.88
	nick-nhusb-base-20150606:1.89
	nick-nhusb-base-20150406:1.89
	nick-nhusb:1.89.0.2
	nick-nhusb-base:1.89
	netbsd-5-2-3-RELEASE:1.62.6.1
	netbsd-5-1-5-RELEASE:1.62.6.1
	netbsd-6-0-6-RELEASE:1.73
	netbsd-6-1-5-RELEASE:1.73
	netbsd-7:1.88.0.2
	netbsd-7-base:1.88
	yamt-pagecache-base9:1.84
	yamt-pagecache-tag8:1.72.2.2
	netbsd-6-1-4-RELEASE:1.73
	netbsd-6-0-5-RELEASE:1.73
	tls-earlyentropy:1.81.0.2
	tls-earlyentropy-base:1.88
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.81
	riastradh-drm2-base3:1.81
	netbsd-6-1-3-RELEASE:1.73
	netbsd-6-0-4-RELEASE:1.73
	netbsd-5-2-2-RELEASE:1.62.6.1
	netbsd-5-1-4-RELEASE:1.62.6.1
	netbsd-6-1-2-RELEASE:1.73
	netbsd-6-0-3-RELEASE:1.73
	netbsd-5-2-1-RELEASE:1.62.6.1
	netbsd-5-1-3-RELEASE:1.62.6.1
	rmind-smpnet-nbase:1.85
	netbsd-6-1-1-RELEASE:1.73
	riastradh-drm2-base2:1.75
	riastradh-drm2-base1:1.75
	riastradh-drm2:1.75.0.6
	riastradh-drm2-base:1.75
	rmind-smpnet:1.75.0.4
	rmind-smpnet-base:1.85
	netbsd-6-1:1.73.0.14
	netbsd-6-0-2-RELEASE:1.73
	netbsd-6-1-RELEASE:1.73
	khorben-n900:1.75.0.2
	netbsd-6-1-RC4:1.73
	netbsd-6-1-RC3:1.73
	agc-symver:1.74.0.4
	agc-symver-base:1.74
	netbsd-6-1-RC2:1.73
	netbsd-6-1-RC1:1.73
	yamt-pagecache-base8:1.74
	netbsd-5-2:1.62.6.1.0.10
	netbsd-6-0-1-RELEASE:1.73
	yamt-pagecache-base7:1.74
	netbsd-5-2-RELEASE:1.62.6.1
	netbsd-5-2-RC1:1.62.6.1
	matt-nb6-plus-nbase:1.73
	yamt-pagecache-base6:1.74
	netbsd-6-0:1.73.0.12
	netbsd-6-0-RELEASE:1.73
	netbsd-6-0-RC2:1.73
	tls-maxphys:1.73.0.10
	tls-maxphys-base:1.88
	matt-nb6-plus:1.73.0.8
	matt-nb6-plus-base:1.73
	netbsd-6-0-RC1:1.73
	jmcneill-usbmp-base10:1.73
	yamt-pagecache-base5:1.73
	jmcneill-usbmp-base9:1.73
	yamt-pagecache-base4:1.73
	jmcneill-usbmp-base8:1.73
	jmcneill-usbmp-base7:1.73
	jmcneill-usbmp-base6:1.73
	jmcneill-usbmp-base5:1.73
	jmcneill-usbmp-base4:1.73
	jmcneill-usbmp-base3:1.73
	jmcneill-usbmp-pre-base2:1.73
	jmcneill-usbmp-base2:1.73
	netbsd-6:1.73.0.6
	netbsd-6-base:1.73
	netbsd-5-1-2-RELEASE:1.62.6.1
	netbsd-5-1-1-RELEASE:1.62.6.1
	jmcneill-usbmp:1.73.0.4
	jmcneill-usbmp-base:1.73
	jmcneill-audiomp3:1.73.0.2
	jmcneill-audiomp3-base:1.73
	yamt-pagecache-base3:1.72
	yamt-pagecache-base2:1.72
	yamt-pagecache:1.72.0.2
	yamt-pagecache-base:1.72
	rmind-uvmplock-nbase:1.71
	cherry-xenmp:1.71.0.2
	cherry-xenmp-base:1.71
	bouyer-quota2-nbase:1.69
	bouyer-quota2:1.69.0.4
	bouyer-quota2-base:1.69
	jruoho-x86intr:1.69.0.2
	jruoho-x86intr-base:1.69
	matt-mips64-premerge-20101231:1.69
	matt-nb5-mips64-premerge-20101231:1.62.6.1
	matt-nb5-pq3:1.62.6.1.0.8
	matt-nb5-pq3-base:1.62.6.1
	netbsd-5-1:1.62.6.1.0.6
	netbsd-5-1-RELEASE:1.62.6.1
	uebayasi-xip-base4:1.69
	uebayasi-xip-base3:1.69
	yamt-nfs-mp-base11:1.69
	netbsd-5-1-RC4:1.62.6.1
	matt-nb5-mips64-k15:1.62.6.1
	uebayasi-xip-base2:1.69
	yamt-nfs-mp-base10:1.69
	netbsd-5-1-RC3:1.62.6.1
	netbsd-5-1-RC2:1.62.6.1
	uebayasi-xip-base1:1.68
	netbsd-5-1-RC1:1.62.6.1
	rmind-uvmplock:1.68.0.4
	rmind-uvmplock-base:1.71
	yamt-nfs-mp-base9:1.68
	uebayasi-xip:1.68.0.2
	uebayasi-xip-base:1.68
	netbsd-5-0-2-RELEASE:1.62.6.1
	matt-nb5-mips64-premerge-20091211:1.62.6.1
	matt-premerge-20091211:1.68
	yamt-nfs-mp-base8:1.67
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.62.6.1
	matt-nb4-mips64-k7-u2a-k9b:1.62.6.1
	matt-nb5-mips64-u1-k1-k5:1.62.6.1
	yamt-nfs-mp-base7:1.67
	matt-nb5-mips64:1.62.6.1.0.4
	netbsd-5-0-1-RELEASE:1.62.6.1
	jymxensuspend-base:1.67
	yamt-nfs-mp-base6:1.67
	yamt-nfs-mp-base5:1.67
	yamt-nfs-mp-base4:1.66
	jym-xensuspend-nbase:1.67
	yamt-nfs-mp-base3:1.66
	nick-hppapmap-base4:1.66
	nick-hppapmap-base3:1.66
	netbsd-5-0:1.62.6.1.0.2
	netbsd-5-0-RELEASE:1.62.6.1
	netbsd-5-0-RC4:1.62.6.1
	netbsd-5-0-RC3:1.62.6.1
	nick-hppapmap-base2:1.66
	netbsd-5-0-RC2:1.62.6.1
	jym-xensuspend:1.66.0.2
	jym-xensuspend-base:1.66
	netbsd-5-0-RC1:1.62.6.1
	haad-dm-base2:1.63
	haad-nbase2:1.63
	ad-audiomp2:1.63.0.2
	ad-audiomp2-base:1.63
	netbsd-5:1.62.0.6
	netbsd-5-base:1.62
	nick-hppapmap:1.62.0.4
	nick-hppapmap-base:1.66
	matt-mips64-base2:1.62
	matt-mips64:1.54.0.24
	haad-dm-base1:1.62
	wrstuden-revivesa-base-4:1.62
	netbsd-4-0-1-RELEASE:1.52
	wrstuden-revivesa-base-3:1.62
	wrstuden-revivesa-base-2:1.62
	wrstuden-fixsa-newbase:1.52
	nick-csl-alignment-base5:1.54
	haad-dm:1.62.0.2
	haad-dm-base:1.63
	wrstuden-revivesa-base-1:1.62
	simonb-wapbl-nbase:1.62
	yamt-pf42-base4:1.61
	simonb-wapbl:1.61.0.6
	simonb-wapbl-base:1.62
	yamt-pf42-base3:1.61
	hpcarm-cleanup-nbase:1.61
	yamt-pf42-baseX:1.60
	yamt-pf42-base2:1.61
	yamt-nfs-mp-base2:1.61
	wrstuden-revivesa:1.61.0.4
	wrstuden-revivesa-base:1.62
	yamt-nfs-mp:1.61.0.2
	yamt-nfs-mp-base:1.61
	yamt-pf42:1.60.0.2
	yamt-pf42-base:1.60
	ad-socklock-base1:1.59
	yamt-lazymbuf-base15:1.59
	yamt-lazymbuf-base14:1.59
	keiichi-mipv6-nbase:1.59
	mjf-devfs2:1.59.0.6
	mjf-devfs2-base:1.65
	nick-net80211-sync:1.59.0.4
	nick-net80211-sync-base:1.59
	keiichi-mipv6:1.59.0.2
	keiichi-mipv6-base:1.59
	bouyer-xeni386-merge1:1.55.6.1
	matt-armv6-prevmlocking:1.54
	wrstuden-fixsa-base-1:1.52
	vmlocking2-base3:1.58
	netbsd-4-0:1.52.0.12
	netbsd-4-0-RELEASE:1.52
	bouyer-xeni386-nbase:1.59
	yamt-kmem-base3:1.55
	cube-autoconf:1.55.0.8
	cube-autoconf-base:1.55
	yamt-kmem-base2:1.55
	bouyer-xeni386:1.55.0.6
	bouyer-xeni386-base:1.59
	yamt-kmem:1.55.0.4
	yamt-kmem-base:1.55
	vmlocking2-base2:1.55
	reinoud-bufcleanup-nbase:1.55
	vmlocking2:1.55.0.2
	vmlocking2-base1:1.55
	netbsd-4-0-RC5:1.52
	matt-nb4-arm:1.52.0.10
	matt-nb4-arm-base:1.52
	matt-armv6-nbase:1.59
	jmcneill-base:1.54
	netbsd-4-0-RC4:1.52
	mjf-devfs:1.54.0.22
	mjf-devfs-base:1.59
	bouyer-xenamd64-base2:1.55
	vmlocking-nbase:1.55
	yamt-x86pmap-base4:1.54
	bouyer-xenamd64:1.54.0.20
	bouyer-xenamd64-base:1.55
	netbsd-4-0-RC3:1.52
	yamt-x86pmap-base3:1.54
	yamt-x86pmap-base2:1.54
	netbsd-4-0-RC2:1.52
	yamt-x86pmap:1.54.0.18
	yamt-x86pmap-base:1.54
	netbsd-4-0-RC1:1.52
	matt-armv6:1.54.0.16
	matt-armv6-base:1.58
	matt-mips64-base:1.54
	jmcneill-pm:1.54.0.14
	jmcneill-pm-base:1.55
	hpcarm-cleanup:1.54.0.12
	hpcarm-cleanup-base:1.59
	nick-csl-alignment:1.54.0.10
	nick-csl-alignment-base:1.54
	netbsd-3-1-1-RELEASE:1.44
	netbsd-3-0-3-RELEASE:1.44
	yamt-idlelwp-base8:1.54
	wrstuden-fixsa:1.52.0.8
	wrstuden-fixsa-base:1.52
	thorpej-atomic:1.54.0.8
	thorpej-atomic-base:1.54
	reinoud-bufcleanup:1.54.0.6
	reinoud-bufcleanup-base:1.55
	mjf-ufs-trans:1.54.0.4
	mjf-ufs-trans-base:1.54
	vmlocking:1.54.0.2
	vmlocking-base:1.54
	ad-audiomp:1.53.0.4
	ad-audiomp-base:1.53
	yamt-idlelwp:1.53.0.2
	post-newlock2-merge:1.53
	newlock2-nbase:1.52
	yamt-splraiseipl-base5:1.52
	yamt-splraiseipl-base4:1.52
	yamt-splraiseipl-base3:1.52
	abandoned-netbsd-4-base:1.50
	abandoned-netbsd-4:1.50.0.4
	netbsd-3-1:1.44.0.14
	netbsd-3-1-RELEASE:1.44
	netbsd-3-0-2-RELEASE:1.44
	yamt-splraiseipl-base2:1.52
	netbsd-3-1-RC4:1.44
	yamt-splraiseipl:1.52.0.4
	yamt-splraiseipl-base:1.52
	netbsd-3-1-RC3:1.44
	yamt-pdpolicy-base9:1.52
	newlock2:1.52.0.2
	newlock2-base:1.52
	yamt-pdpolicy-base8:1.52
	netbsd-3-1-RC2:1.44
	netbsd-3-1-RC1:1.44
	yamt-pdpolicy-base7:1.50
	netbsd-4:1.52.0.6
	netbsd-4-base:1.52
	yamt-pdpolicy-base6:1.50
	chap-midi-nbase:1.50
	netbsd-3-0-1-RELEASE:1.44
	gdamore-uart:1.50.0.2
	gdamore-uart-base:1.50
	simonb-timcounters-final:1.48
	yamt-pdpolicy-base5:1.48
	chap-midi:1.48.0.14
	chap-midi-base:1.50
	yamt-pdpolicy-base4:1.48
	yamt-pdpolicy-base3:1.48
	peter-altq-base:1.48
	peter-altq:1.48.0.12
	yamt-pdpolicy-base2:1.48
	elad-kernelauth-base:1.48
	elad-kernelauth:1.48.0.10
	yamt-pdpolicy:1.48.0.8
	yamt-pdpolicy-base:1.48
	yamt-uio_vmspace-base5:1.48
	simonb-timecounters:1.48.0.6
	simonb-timecounters-base:1.48
	rpaulo-netinet-merge-pcb:1.48.0.4
	rpaulo-netinet-merge-pcb-base:1.52
	yamt-uio_vmspace:1.48.0.2
	netbsd-3-0:1.44.0.12
	netbsd-3-0-RELEASE:1.44
	netbsd-3-0-RC6:1.44
	yamt-readahead-base3:1.47
	netbsd-3-0-RC5:1.44
	netbsd-3-0-RC4:1.44
	netbsd-3-0-RC3:1.44
	yamt-readahead-base2:1.47
	netbsd-3-0-RC2:1.44
	yamt-readahead-pervnode:1.47
	yamt-readahead-perfile:1.47
	yamt-readahead:1.47.0.6
	yamt-readahead-base:1.47
	netbsd-3-0-RC1:1.44
	yamt-vop-base3:1.47
	netbsd-2-0-3-RELEASE:1.43
	netbsd-2-1:1.43.0.6
	yamt-vop-base2:1.47
	thorpej-vnode-attr:1.47.0.4
	thorpej-vnode-attr-base:1.47
	netbsd-2-1-RELEASE:1.43
	yamt-vop:1.47.0.2
	yamt-vop-base:1.47
	netbsd-2-1-RC6:1.43
	netbsd-2-1-RC5:1.43
	netbsd-2-1-RC4:1.43
	netbsd-2-1-RC3:1.43
	netbsd-2-1-RC2:1.43
	netbsd-2-1-RC1:1.43
	yamt-lazymbuf:1.46.0.2
	yamt-km-base4:1.44
	netbsd-2-0-2-RELEASE:1.43
	yamt-km-base3:1.44
	netbsd-3:1.44.0.10
	netbsd-3-base:1.44
	yamt-km-base2:1.44
	yamt-km:1.44.0.6
	yamt-km-base:1.44
	kent-audio2:1.44.0.4
	kent-audio2-base:1.44
	netbsd-2-0-1-RELEASE:1.43
	kent-audio1-beforemerge:1.44
	netbsd-2:1.43.0.4
	netbsd-2-base:1.43
	kent-audio1:1.44.0.2
	kent-audio1-base:1.44
	netbsd-2-0-RELEASE:1.43
	netbsd-2-0-RC5:1.43
	netbsd-2-0-RC4:1.43
	netbsd-2-0-RC3:1.43
	netbsd-2-0-RC2:1.43
	netbsd-2-0-RC1:1.43
	netbsd-2-0:1.43.0.2
	netbsd-2-0-base:1.43
	netbsd-1-6-PATCH002-RELEASE:1.39.4.2
	netbsd-1-6-PATCH002:1.39.4.2
	netbsd-1-6-PATCH002-RC4:1.39.4.2
	netbsd-1-6-PATCH002-RC3:1.39.4.2
	netbsd-1-6-PATCH002-RC2:1.39.4.1
	netbsd-1-6-PATCH002-RC1:1.39.4.1
	ktrace-lwp:1.42.0.2
	ktrace-lwp-base:1.47
	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.29.2.7
	nathanw_sa_before_merge:1.39
	fvdl_fs64_base:1.39
	gmcgarry_ctxsw:1.39.0.8
	gmcgarry_ctxsw_base:1.39
	gmcgarry_ucred:1.39.0.6
	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.4
	netbsd-1-6-base:1.39
	gehenna-devsw:1.39.0.2
	gehenna-devsw-base:1.39
	netbsd-1-5-PATCH003:1.14.4.2
	eeh-devprop:1.36.0.6
	eeh-devprop-base:1.36
	newlock:1.36.0.4
	newlock-base:1.36
	ifpoll-base:1.36
	thorpej-mips-cache:1.34.0.6
	thorpej-mips-cache-base:1.34
	thorpej-devvp-base3:1.34
	thorpej-devvp-base2:1.34
	post-chs-ubcperf:1.34
	pre-chs-ubcperf:1.34
	thorpej-devvp:1.34.0.4
	thorpej-devvp-base:1.34
	netbsd-1-5-PATCH002:1.14.4.2
	kqueue:1.34.0.2
	kqueue-base:1.39
	netbsd-1-5-PATCH001:1.14.4.2
	thorpej_scsipi_beforemerge:1.32
	nathanw_sa:1.29.0.2
	thorpej_scsipi_nbase:1.32
	netbsd-1-5-RELEASE:1.14
	netbsd-1-5-BETA2:1.14
	netbsd-1-5-BETA:1.14
	netbsd-1-4-PATCH003:1.5
	netbsd-1-5-ALPHA2:1.14
	netbsd-1-5:1.14.0.4
	netbsd-1-5-base:1.14
	minoura-xpg4dl-base:1.14
	minoura-xpg4dl:1.14.0.2
	netbsd-1-4-PATCH002:1.5
	chs-ubc2-newbase:1.13
	wrstuden-devbsize-19991221:1.12
	wrstuden-devbsize:1.9.0.8
	wrstuden-devbsize-base:1.12
	kame_141_19991130:1.5
	comdex-fall-1999:1.9.0.6
	comdex-fall-1999-base:1.9
	fvdl-softdep:1.9.0.4
	fvdl-softdep-base:1.9
	thorpej_scsipi:1.9.0.2
	thorpej_scsipi_base:1.32
	netbsd-1-4-PATCH001:1.5
	kame_14_19990705:1.5
	kame_14_19990628:1.5
	kame:1.5.0.6
	chs-ubc2:1.5.0.4
	chs-ubc2-base:1.7
	netbsd-1-4-RELEASE:1.5
	netbsd-1-4:1.5.0.2
	netbsd-1-4-base:1.5;
locks; strict;
comment	@# @;


1.109
date	2025.11.10.15.41.38;	author christos;	state Exp;
branches;
next	1.108;
commitid	4SBgjNJyEQqMp1iG;

1.108
date	2025.11.10.15.34.03;	author christos;	state Exp;
branches;
next	1.107;
commitid	d7uOeAT2cbx2n1iG;

1.107
date	2024.09.28.19.35.56;	author christos;	state Exp;
branches;
next	1.106;
commitid	fAPNzINKOT8BOBrF;

1.106
date	2024.07.01.01.35.53;	author christos;	state Exp;
branches;
next	1.105;
commitid	N1OpVh0jGoxTH4gF;

1.105
date	2024.06.29.13.46.10;	author christos;	state Exp;
branches
	1.105.2.1;
next	1.104;
commitid	jf6SXx4AuJarOSfF;

1.104
date	2023.08.19.17.49.49;	author christos;	state Exp;
branches;
next	1.103;
commitid	lq1Gy3ELP29XhqBE;

1.103
date	2023.07.29.15.04.29;	author christos;	state Exp;
branches;
next	1.102;
commitid	IPtJp17rLysK2IyE;

1.102
date	2023.07.28.19.01.11;	author christos;	state Exp;
branches;
next	1.101;
commitid	wqsI7WnCVTYeoByE;

1.101
date	2021.12.02.04.29.48;	author ryo;	state Exp;
branches;
next	1.100;
commitid	mKCsBN5foUfbX1jD;

1.100
date	2021.11.24.18.52.13;	author ryo;	state Exp;
branches;
next	1.99;
commitid	S35hARbOTkuZY4iD;

1.99
date	2021.09.20.02.20.02;	author thorpej;	state Exp;
branches;
next	1.98;
commitid	K8mXaSHdBZI2AD9D;

1.98
date	2021.09.20.00.09.01;	author thorpej;	state Exp;
branches;
next	1.97;
commitid	iO2ZHyElTHo8RC9D;

1.97
date	2021.09.19.23.51.36;	author thorpej;	state Exp;
branches;
next	1.96;
commitid	pcMYBy9yows8LC9D;

1.96
date	2021.09.19.23.01.50;	author thorpej;	state Exp;
branches;
next	1.95;
commitid	b0960e1aU60LtC9D;

1.95
date	2020.04.26.18.53.32;	author thorpej;	state Exp;
branches
	1.95.2.1;
next	1.94;
commitid	xaklHg2Aa3B2wV5C;

1.94
date	2019.11.09.23.44.32;	author jdolecek;	state Exp;
branches;
next	1.93;
commitid	yAyQ8W3yCAgtyeKB;

1.93
date	2017.02.03.16.44.12;	author christos;	state Exp;
branches
	1.93.14.1;
next	1.92;

1.92
date	2017.02.03.07.54.26;	author martin;	state Exp;
branches;
next	1.91;

1.91
date	2017.01.02.16.32.09;	author manu;	state Exp;
branches
	1.91.2.1;
next	1.90;

1.90
date	2016.07.24.13.22.01;	author njoly;	state Exp;
branches;
next	1.89;

1.89
date	2014.11.22.13.18.45;	author njoly;	state Exp;
branches
	1.89.2.1
	1.89.4.1;
next	1.88;

1.88
date	2014.05.31.08.51.19;	author njoly;	state Exp;
branches
	1.88.2.1;
next	1.87;

1.87
date	2014.05.29.10.35.27;	author njoly;	state Exp;
branches;
next	1.86;

1.86
date	2014.05.20.17.24.49;	author njoly;	state Exp;
branches;
next	1.85;

1.85
date	2014.05.17.09.23.51;	author njoly;	state Exp;
branches;
next	1.84;

1.84
date	2014.05.06.17.33.35;	author njoly;	state Exp;
branches;
next	1.83;

1.83
date	2014.05.04.10.08.53;	author njoly;	state Exp;
branches;
next	1.82;

1.82
date	2014.04.08.16.48.01;	author njoly;	state Exp;
branches;
next	1.81;

1.81
date	2014.02.15.22.35.08;	author njoly;	state Exp;
branches
	1.81.2.1;
next	1.80;

1.80
date	2013.12.24.13.41.25;	author njoly;	state Exp;
branches;
next	1.79;

1.79
date	2013.12.08.15.55.10;	author njoly;	state Exp;
branches;
next	1.78;

1.78
date	2013.11.19.03.52.07;	author chs;	state Exp;
branches;
next	1.77;

1.77
date	2013.11.07.19.37.19;	author njoly;	state Exp;
branches;
next	1.76;

1.76
date	2013.09.24.13.27.49;	author njoly;	state Exp;
branches;
next	1.75;

1.75
date	2013.04.08.20.54.48;	author pooka;	state Exp;
branches
	1.75.4.1;
next	1.74;

1.74
date	2012.09.19.21.19.14;	author pooka;	state Exp;
branches;
next	1.73;

1.73
date	2011.11.18.04.03.50;	author christos;	state Exp;
branches
	1.73.10.1;
next	1.72;

1.72
date	2011.07.09.14.49.40;	author christos;	state Exp;
branches
	1.72.2.1;
next	1.71;

1.71
date	2011.05.30.17.50.32;	author alnsn;	state Exp;
branches;
next	1.70;

1.70
date	2011.04.15.13.04.53;	author he;	state Exp;
branches;
next	1.69;

1.69
date	2010.07.07.01.30.34;	author chs;	state Exp;
branches
	1.69.2.1;
next	1.68;

1.68
date	2009.11.24.10.42.44;	author njoly;	state Exp;
branches
	1.68.2.1
	1.68.4.1;
next	1.67;

1.67
date	2009.06.08.13.26.57;	author njoly;	state Exp;
branches;
next	1.66;

1.66
date	2009.01.17.22.28.52;	author njoly;	state Exp;
branches
	1.66.2.1;
next	1.65;

1.65
date	2009.01.13.22.27.43;	author pooka;	state Exp;
branches;
next	1.64;

1.64
date	2009.01.11.12.59.34;	author tsutsui;	state Exp;
branches;
next	1.63;

1.63
date	2008.11.12.18.07.40;	author njoly;	state Exp;
branches;
next	1.62;

1.62
date	2008.06.18.12.21.20;	author tsutsui;	state Exp;
branches
	1.62.2.1
	1.62.4.1
	1.62.6.1;
next	1.61;

1.61
date	2008.04.23.14.07.50;	author ad;	state Exp;
branches
	1.61.2.1
	1.61.4.1
	1.61.6.1;
next	1.60;

1.60
date	2008.04.04.12.38.53;	author njoly;	state Exp;
branches
	1.60.2.1;
next	1.59;

1.59
date	2008.01.15.22.38.34;	author njoly;	state Exp;
branches
	1.59.6.1;
next	1.58;

1.58
date	2007.12.24.14.17.18;	author njoly;	state Exp;
branches;
next	1.57;

1.57
date	2007.12.21.22.26.21;	author njoly;	state Exp;
branches;
next	1.56;

1.56
date	2007.12.20.23.02.53;	author dsl;	state Exp;
branches;
next	1.55;

1.55
date	2007.11.16.12.51.55;	author njoly;	state Exp;
branches
	1.55.2.1
	1.55.6.1;
next	1.54;

1.54
date	2007.03.04.06.01.22;	author christos;	state Exp;
branches
	1.54.14.1
	1.54.16.1
	1.54.20.1
	1.54.22.1;
next	1.53;

1.53
date	2007.02.09.21.55.19;	author ad;	state Exp;
branches
	1.53.2.1;
next	1.52;

1.52
date	2006.09.01.20.58.18;	author matt;	state Exp;
branches
	1.52.2.1;
next	1.51;

1.51
date	2006.08.30.11.14.39;	author matt;	state Exp;
branches;
next	1.50;

1.50
date	2006.06.13.22.23.03;	author he;	state Exp;
branches;
next	1.49;

1.49
date	2006.06.10.21.15.33;	author christos;	state Exp;
branches;
next	1.48;

1.48
date	2005.12.11.12.20.16;	author christos;	state Exp;
branches
	1.48.4.1
	1.48.8.1
	1.48.14.1;
next	1.47;

1.47
date	2005.10.18.18.37.44;	author joerg;	state Exp;
branches;
next	1.46;

1.46
date	2005.05.23.23.21.49;	author jmc;	state Exp;
branches
	1.46.2.1;
next	1.45;

1.45
date	2005.05.16.16.02.20;	author fvdl;	state Exp;
branches;
next	1.44;

1.44
date	2004.08.01.15.34.22;	author jdolecek;	state Exp;
branches;
next	1.43;

1.43
date	2003.08.10.20.16.23;	author jdolecek;	state Exp;
branches;
next	1.42;

1.42
date	2003.06.29.16.07.58;	author thorpej;	state Exp;
branches
	1.42.2.1;
next	1.41;

1.41
date	2003.06.23.21.25.57;	author christos;	state Exp;
branches;
next	1.40;

1.40
date	2003.01.18.08.02.49;	author thorpej;	state Exp;
branches;
next	1.39;

1.39
date	2002.05.12.13.55.54;	author jdolecek;	state Exp;
branches
	1.39.4.1;
next	1.38;

1.38
date	2002.04.10.18.18.28;	author christos;	state Exp;
branches;
next	1.37;

1.37
date	2002.03.22.15.17.04;	author christos;	state Exp;
branches;
next	1.36;

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

1.35
date	2002.02.15.16.48.01;	author christos;	state Exp;
branches;
next	1.34;

1.34
date	2001.05.30.11.37.27;	author mrg;	state Exp;
branches
	1.34.2.1;
next	1.33;

1.33
date	2001.05.13.20.54.44;	author manu;	state Exp;
branches;
next	1.32;

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

1.31
date	2001.03.30.17.59.46;	author jdolecek;	state Exp;
branches;
next	1.30;

1.30
date	2001.03.30.17.16.34;	author jdolecek;	state Exp;
branches;
next	1.29;

1.29
date	2001.01.27.07.55.23;	author thorpej;	state Exp;
branches
	1.29.2.1;
next	1.28;

1.28
date	2000.12.29.20.10.17;	author fvdl;	state Exp;
branches;
next	1.27;

1.27
date	2000.12.27.22.04.05;	author fvdl;	state Exp;
branches;
next	1.26;

1.26
date	2000.12.26.01.57.10;	author itohy;	state Exp;
branches;
next	1.25;

1.25
date	2000.12.18.14.37.17;	author fvdl;	state Exp;
branches;
next	1.24;

1.24
date	2000.12.14.20.37.57;	author jdolecek;	state Exp;
branches;
next	1.23;

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

1.22
date	2000.12.12.19.02.00;	author jdolecek;	state Exp;
branches;
next	1.21;

1.21
date	2000.12.09.12.23.36;	author jdolecek;	state Exp;
branches;
next	1.20;

1.20
date	2000.12.09.05.31.10;	author mycroft;	state Exp;
branches;
next	1.19;

1.19
date	2000.12.09.05.27.29;	author mycroft;	state Exp;
branches;
next	1.18;

1.18
date	2000.12.02.16.43.51;	author jdolecek;	state Exp;
branches;
next	1.17;

1.17
date	2000.12.01.21.02.56;	author jdolecek;	state Exp;
branches;
next	1.16;

1.16
date	2000.11.01.20.38.50;	author jdolecek;	state Exp;
branches;
next	1.15;

1.15
date	2000.08.31.03.46.30;	author itohy;	state Exp;
branches;
next	1.14;

1.14
date	2000.03.18.22.16.46;	author erh;	state Exp;
branches
	1.14.4.1;
next	1.13;

1.13
date	2000.02.03.10.03.00;	author abs;	state Exp;
branches;
next	1.12;

1.12
date	99.12.16.15.13.02;	author tron;	state Exp;
branches;
next	1.11;

1.11
date	99.12.05.21.24.30;	author tron;	state Exp;
branches;
next	1.10;

1.10
date	99.12.04.22.14.15;	author tron;	state Exp;
branches;
next	1.9;

1.9
date	99.10.04.16.55.55;	author tron;	state Exp;
branches
	1.9.2.1
	1.9.8.1;
next	1.8;

1.8
date	99.08.16.19.13.02;	author tron;	state Exp;
branches;
next	1.7;

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

1.6
date	99.05.13.23.42.34;	author thorpej;	state Exp;
branches;
next	1.5;

1.5
date	99.03.30.07.29.05;	author tron;	state Exp;
branches
	1.5.4.1;
next	1.4;

1.4
date	99.03.27.01.10.57;	author tron;	state Exp;
branches;
next	1.3;

1.3
date	99.03.23.03.00.52;	author thorpej;	state Exp;
branches;
next	1.2;

1.2
date	99.02.10.10.36.26;	author itohy;	state Exp;
branches;
next	1.1;

1.1
date	98.12.15.19.25.41;	author itohy;	state Exp;
branches;
next	;

1.105.2.1
date	2025.08.02.05.56.24;	author perseant;	state Exp;
branches;
next	;
commitid	23j6GFaDws3O875G;

1.95.2.1
date	2020.12.15.14.07.21;	author thorpej;	state Exp;
branches;
next	1.95.2.2;
commitid	SxffrujSvDkrsQzC;

1.95.2.2
date	2020.12.17.03.14.15;	author thorpej;	state Exp;
branches;
next	;
commitid	mwKnDZaUAvwDM2AC;

1.93.14.1
date	2020.04.13.08.04.15;	author martin;	state Exp;
branches;
next	;
commitid	X01YhRUPVUDaec4C;

1.91.2.1
date	2017.04.21.16.53.41;	author bouyer;	state Exp;
branches;
next	;

1.89.2.1
date	2016.10.05.20.55.38;	author skrll;	state Exp;
branches;
next	1.89.2.2;

1.89.2.2
date	2017.02.05.13.40.25;	author skrll;	state Exp;
branches;
next	;

1.89.4.1
date	2016.07.26.03.24.20;	author pgoyette;	state Exp;
branches;
next	1.89.4.2;

1.89.4.2
date	2017.01.07.08.56.30;	author pgoyette;	state Exp;
branches;
next	1.89.4.3;

1.89.4.3
date	2017.03.20.06.57.24;	author pgoyette;	state Exp;
branches;
next	;

1.88.2.1
date	2017.04.17.05.19.09;	author snj;	state Exp;
branches;
next	;

1.81.2.1
date	2014.08.10.06.54.33;	author tls;	state Exp;
branches;
next	;

1.75.4.1
date	2014.05.18.17.45.32;	author rmind;	state Exp;
branches;
next	;

1.73.10.1
date	2012.11.20.03.01.55;	author tls;	state Exp;
branches;
next	1.73.10.2;

1.73.10.2
date	2013.06.23.06.20.15;	author tls;	state Exp;
branches;
next	1.73.10.3;

1.73.10.3
date	2014.08.20.00.03.32;	author tls;	state Exp;
branches;
next	1.73.10.4;

1.73.10.4
date	2017.12.03.11.36.54;	author jdolecek;	state Exp;
branches;
next	;
commitid	XcIYRZTAh1LmerhA;

1.72.2.1
date	2012.04.17.00.07.16;	author yamt;	state Exp;
branches;
next	1.72.2.2;

1.72.2.2
date	2012.10.30.17.20.42;	author yamt;	state Exp;
branches;
next	1.72.2.3;

1.72.2.3
date	2014.05.22.11.40.16;	author yamt;	state Exp;
branches;
next	;

1.69.2.1
date	2011.06.06.09.07.25;	author jruoho;	state Exp;
branches;
next	;

1.68.2.1
date	2010.08.17.06.45.45;	author uebayasi;	state Exp;
branches;
next	;

1.68.4.1
date	2011.03.05.20.52.45;	author rmind;	state Exp;
branches;
next	1.68.4.2;

1.68.4.2
date	2011.04.21.01.41.40;	author rmind;	state Exp;
branches;
next	1.68.4.3;

1.68.4.3
date	2011.05.31.03.04.29;	author rmind;	state Exp;
branches;
next	;

1.66.2.1
date	2009.07.23.23.31.40;	author jym;	state Exp;
branches;
next	;

1.62.2.1
date	2008.12.13.01.13.54;	author haad;	state Exp;
branches;
next	;

1.62.4.1
date	2009.01.19.13.17.26;	author skrll;	state Exp;
branches;
next	;

1.62.6.1
date	2008.11.20.03.03.05;	author snj;	state Exp;
branches;
next	;

1.61.2.1
date	2009.05.04.08.12.21;	author yamt;	state Exp;
branches;
next	1.61.2.2;

1.61.2.2
date	2009.06.20.07.20.16;	author yamt;	state Exp;
branches;
next	1.61.2.3;

1.61.2.3
date	2010.03.11.15.03.15;	author yamt;	state Exp;
branches;
next	1.61.2.4;

1.61.2.4
date	2010.08.11.22.53.06;	author yamt;	state Exp;
branches;
next	;

1.61.4.1
date	2008.05.10.23.48.53;	author wrstuden;	state Exp;
branches;
next	1.61.4.2;

1.61.4.2
date	2008.05.14.01.35.04;	author wrstuden;	state Exp;
branches;
next	1.61.4.3;

1.61.4.3
date	2008.06.23.04.30.54;	author wrstuden;	state Exp;
branches;
next	;

1.61.6.1
date	2008.06.18.16.32.55;	author simonb;	state Exp;
branches;
next	;

1.60.2.1
date	2008.05.18.12.33.16;	author yamt;	state Exp;
branches;
next	;

1.59.6.1
date	2008.06.02.13.23.01;	author mjf;	state Exp;
branches;
next	1.59.6.2;

1.59.6.2
date	2008.06.29.09.33.03;	author mjf;	state Exp;
branches;
next	1.59.6.3;

1.59.6.3
date	2009.01.17.13.28.44;	author mjf;	state Exp;
branches;
next	;

1.55.2.1
date	2007.12.26.19.49.11;	author ad;	state Exp;
branches;
next	;

1.55.6.1
date	2008.01.02.21.52.25;	author bouyer;	state Exp;
branches;
next	1.55.6.2;

1.55.6.2
date	2008.01.19.12.14.57;	author bouyer;	state Exp;
branches;
next	;

1.54.14.1
date	2007.11.21.21.53.51;	author joerg;	state Exp;
branches;
next	;

1.54.16.1
date	2008.01.09.01.51.03;	author matt;	state Exp;
branches;
next	1.54.16.2;

1.54.16.2
date	2008.03.23.02.04.32;	author matt;	state Exp;
branches;
next	;

1.54.20.1
date	2007.11.18.19.35.06;	author bouyer;	state Exp;
branches;
next	;

1.54.22.1
date	2007.11.19.00.47.23;	author mjf;	state Exp;
branches;
next	1.54.22.2;

1.54.22.2
date	2007.12.27.00.44.01;	author mjf;	state Exp;
branches;
next	1.54.22.3;

1.54.22.3
date	2008.02.18.21.05.26;	author mjf;	state Exp;
branches;
next	;

1.53.2.1
date	2007.03.12.05.52.17;	author rmind;	state Exp;
branches;
next	;

1.52.2.1
date	2007.01.30.13.51.32;	author ad;	state Exp;
branches;
next	;

1.48.4.1
date	2006.09.09.02.45.38;	author rpaulo;	state Exp;
branches;
next	;

1.48.8.1
date	2006.06.26.12.46.01;	author yamt;	state Exp;
branches;
next	;

1.48.14.1
date	2006.06.19.03.45.52;	author chap;	state Exp;
branches;
next	;

1.46.2.1
date	2006.06.21.14.59.11;	author yamt;	state Exp;
branches;
next	1.46.2.2;

1.46.2.2
date	2007.02.26.09.09.16;	author yamt;	state Exp;
branches;
next	1.46.2.3;

1.46.2.3
date	2007.09.03.14.32.18;	author yamt;	state Exp;
branches;
next	1.46.2.4;

1.46.2.4
date	2007.12.07.17.28.16;	author yamt;	state Exp;
branches;
next	1.46.2.5;

1.46.2.5
date	2008.01.21.09.41.17;	author yamt;	state Exp;
branches;
next	;

1.42.2.1
date	2004.08.03.10.44.03;	author skrll;	state Exp;
branches;
next	1.42.2.2;

1.42.2.2
date	2004.09.18.14.43.32;	author skrll;	state Exp;
branches;
next	1.42.2.3;

1.42.2.3
date	2004.09.21.13.25.27;	author skrll;	state Exp;
branches;
next	1.42.2.4;

1.42.2.4
date	2005.11.10.14.01.06;	author skrll;	state Exp;
branches;
next	;

1.39.4.1
date	2003.10.22.04.03.01;	author jmc;	state Exp;
branches;
next	1.39.4.2;

1.39.4.2
date	2003.11.20.04.21.35;	author jmc;	state Exp;
branches;
next	1.39.4.3;

1.39.4.3
date	2004.05.11.14.30.33;	author tron;	state Exp;
branches;
next	1.39.4.4;

1.39.4.4
date	2004.05.27.09.05.18;	author tron;	state Exp;
branches;
next	;

1.34.2.1
date	2002.03.16.16.00.34;	author jdolecek;	state Exp;
branches;
next	1.34.2.2;

1.34.2.2
date	2002.06.23.17.44.13;	author jdolecek;	state Exp;
branches;
next	;

1.29.2.1
date	2001.04.09.01.55.38;	author nathanw;	state Exp;
branches;
next	1.29.2.2;

1.29.2.2
date	2001.06.21.19.59.37;	author nathanw;	state Exp;
branches;
next	1.29.2.3;

1.29.2.3
date	2002.02.28.04.12.52;	author nathanw;	state Exp;
branches;
next	1.29.2.4;

1.29.2.4
date	2002.04.01.07.44.16;	author nathanw;	state Exp;
branches;
next	1.29.2.5;

1.29.2.5
date	2002.04.17.00.05.02;	author nathanw;	state Exp;
branches;
next	1.29.2.6;

1.29.2.6
date	2002.05.29.21.32.33;	author nathanw;	state Exp;
branches;
next	1.29.2.7;

1.29.2.7
date	2002.06.20.03.43.01;	author nathanw;	state Exp;
branches;
next	;

1.14.4.1
date	2001.03.30.21.36.23;	author he;	state Exp;
branches;
next	1.14.4.2;

1.14.4.2
date	2001.05.01.08.56.18;	author he;	state Exp;
branches;
next	;

1.9.2.1
date	2000.11.20.18.08.21;	author bouyer;	state Exp;
branches;
next	1.9.2.2;

1.9.2.2
date	2000.11.22.16.02.42;	author bouyer;	state Exp;
branches;
next	1.9.2.3;

1.9.2.3
date	2000.12.08.09.08.26;	author bouyer;	state Exp;
branches;
next	1.9.2.4;

1.9.2.4
date	2000.12.13.15.49.48;	author bouyer;	state Exp;
branches;
next	1.9.2.5;

1.9.2.5
date	2001.01.05.17.35.25;	author bouyer;	state Exp;
branches;
next	1.9.2.6;

1.9.2.6
date	2001.02.11.19.13.48;	author bouyer;	state Exp;
branches;
next	1.9.2.7;

1.9.2.7
date	2001.04.21.17.46.18;	author bouyer;	state Exp;
branches;
next	;

1.9.8.1
date	99.12.27.18.34.26;	author wrstuden;	state Exp;
branches;
next	;

1.5.4.1
date	99.06.21.01.07.37;	author thorpej;	state Exp;
branches;
next	;


desc
@@


1.109
log
@s/SYS_MAXSYSARGS/LINUX_SYS_MAXSYSARGS/
@
text
@	$NetBSD: syscalls.master,v 1.108 2025/11/10 15:34:03 christos Exp $

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

; NetBSD m68k COMPAT_LINUX 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
;	INDIR	included, but don't define the syscall args structure
;		and allow it to be "really" varargs.
;
; 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_netbsd.h"
#include "opt_compat_43.h"
#endif

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

#include <compat/linux/common/linux_types.h>
#include <compat/linux/common/linux_signal.h>
#include <compat/linux/common/linux_siginfo.h>
#include <compat/linux/common/linux_machdep.h>
#include <compat/linux/common/linux_mmap.h>
#include <compat/linux/common/linux_mqueue.h>
#include <compat/linux/common/linux_sched.h>

#include <compat/linux/linux_syscallargs.h>

%%

0	NOARGS		{ int|linux_sys||nosys(void); } syscall
1	STD		{ int|linux_sys||exit(int rval); }
2	NOARGS		{ int|sys||fork(void); }
3	NOARGS		{ ssize_t|sys||read(int fd, void *buf, size_t nbyte); }
4	NOARGS		{ ssize_t|sys||write(int fd, const void *buf, \
			    size_t nbyte); }
5	STD		{ int|linux_sys||open(const char *path, int flags, \
			    linux_umode_t mode); }
6	NOARGS		{ int|sys||close(int fd); }
7	STD		{ int|linux_sys||waitpid(int pid, int *status, \
			    int options);}
8	STD		{ int|linux_sys||creat(const char *path, linux_umode_t mode); }
9	NOARGS		{ int|sys||link(const char *path, const char *link); }
10	STD		{ int|linux_sys||unlink(const char *path); }
11	NOARGS		{ int|sys||execve(const char *path, char **argp, \
			    char **envp); }
12	NOARGS		{ int|sys||chdir(const char *path); }
13	STD		{ int|linux_sys||time(linux_time_t *t); }
14	STD		{ int|linux_sys||mknod(const char *path, linux_umode_t mode, \
			    unsigned dev); }
15	NOARGS		{ int|sys||chmod(const char *path, int mode); }
;16 lchown on i386; chown on m68k.
16	STD		{ int|linux_sys||chown16(const char *path, \
			    linux_uid16_t uid, linux_gid16_t gid); }
17	OBSOL		break
18	OBSOL		ostat
#if !defined(_KERNEL) || defined(COMPAT_43)
19	NOARGS		{ long|compat_43_sys||lseek(int fd, long offset, \
			    int whence); }
#else
19	UNIMPL		compat_43_sys_lseek
#endif
20	NOARGS 		{ pid_t|sys||getpid(void); }
21	UNIMPL		mount
22	OBSOL		umount
23	NOARGS		linux_setuid16 { int|sys||setuid(uid_t uid); }
24	NOARGS		linux_getuid16 { uid_t|sys||getuid(void); }
25	STD		{ int|linux_sys||stime(linux_time_t *t); }
26	STD		{ int|linux_sys||ptrace(int request, int pid, \
			  int addr, int data); }
27	STD		{ int|linux_sys||alarm(unsigned int secs); }
28	OBSOL		ofstat
29	STD		{ int|linux_sys||pause(void); }
30	STD		{ int|linux_sys||utime(const char *path, \
			    struct linux_utimbuf *times); }
31	OBSOL		stty
32	OBSOL		gtty
33	NOARGS		{ int|sys||access(const char *path, int flags); }
34	STD		{ int|linux_sys||nice(int incr); }
35	OBSOL		ftime
36	NOARGS		{ int|sys||sync(void); }
37	STD		{ int|linux_sys||kill(int pid, int signum); }
38	NOARGS		{ int|sys||__posix_rename(const char *from, \
			    const char *to); }
39	NOARGS		{ int|sys||mkdir(const char *path, linux_umode_t mode); }
40	NOARGS		{ int|sys||rmdir(const char *path); }
41	NOARGS		{ int|sys||dup(int fd); }
42	STD		{ int|linux_sys||pipe(int *pfds); }
43	STD		{ int|linux_sys||times(struct times *tms); }
44	OBSOL		prof
45	STD		{ int|linux_sys||brk(char *nsize); }
46	NOARGS		linux_setgid16 { int|sys||setgid(gid_t gid); }
47	NOARGS		linux_getgid16 { gid_t|sys||getgid(void); }
48	STD		{ int|linux_sys||signal(int signum, \
			    linux_handler_t handler); }
49	NOARGS		linux_geteuid16 { uid_t|sys||geteuid(void); }
50	NOARGS		linux_getegid16 { gid_t|sys||getegid(void); }
51	NOARGS		{ int|sys||acct(char *path); }
52	UNIMPL		umount
53	OBSOL		lock
54	STD		{ int|linux_sys||ioctl(int fd, u_long com, \
			    void *data); }
55	STD		{ int|linux_sys||fcntl(int fd, int cmd, void *arg); }
56	OBSOL		mpx
57	NOARGS		{ int|sys||setpgid(int pid, int pgid); }
58	OBSOL		ulimit
59	UNIMPL		oldolduname
60	NOARGS		{ int|sys||umask(int newmask); }
61	NOARGS		{ int|sys||chroot(char *path); }
62	UNIMPL		ustat
63	NOARGS		{ int|sys||dup2(int from, int to); }
64	NOARGS		{ pid_t|sys||getppid(void); }
65	NOARGS		{ int|sys||getpgrp(void); }
66	NOARGS		{ int|sys||setsid(void); }
67	STD		{ int|linux_sys||sigaction(int signum, \
			    const struct linux_old_sigaction *nsa, \
			    struct linux_old_sigaction *osa); }
68	STD		{ int|linux_sys||siggetmask(void); }
69	STD		{ int|linux_sys||sigsetmask(linux_old_sigset_t mask); }
70	STD		{ int|linux_sys||setreuid16(linux_uid16_t ruid, \
			    linux_uid16_t euid); }
71	STD		{ int|linux_sys||setregid16(linux_gid16_t rgid, \
			    linux_gid16_t egid); }
72	STD		{ int|linux_sys||sigsuspend(void *restart, \
			    int oldmask, int mask); }
73	STD		{ int|linux_sys||sigpending(linux_old_sigset_t *set); }
#if !defined(_KERNEL) || defined(COMPAT_43)
74	NOARGS		{ int|compat_43_sys||sethostname(char *hostname, \
			    u_int len);}
#else
74	UNIMPL		compat_43_sys_sethostname
#endif
75	STD		{ int|linux_sys||setrlimit(u_int which, \
			    struct orlimit *rlp); }
76	STD		{ int|linux_sys||getrlimit(u_int which, \
			    struct orlimit *rlp); }
77	NOARGS		{ int|compat_50_sys||getrusage(int who, \
			    struct rusage50 *rusage); }
78	STD		{ int|linux_sys||gettimeofday(struct timeval50 *tp, \
			    struct timezone *tzp); }
79	STD		{ int|linux_sys||settimeofday(struct timeval50 *tp, \
			    struct timezone *tzp); }
80	STD		{ int|linux_sys||getgroups16(int gidsetsize, \
			    linux_gid16_t *gidset); }
81	STD		{ int|linux_sys||setgroups16(int gidsetsize, \
			    linux_gid16_t *gidset); }
82	STD		{ int|linux_sys||oldselect(struct linux_oldselect *lsp); }
83	NOARGS		{ int|sys||symlink(const char *path, const char *to); }
#if !defined(_KERNEL) || defined(COMPAT_43)
84	NOARGS		{ int|compat_43_sys||lstat(const char *path, \
			    struct stat43 *up); } oolstat
#else
84	UNIMPL		compat_43_sys_lstat
#endif
85	NOARGS		{ ssize_t|sys||readlink(const char *path, char *buf, \
			    int count); }
#ifdef EXEC_AOUT
86	STD		{ int|linux_sys||uselib(const char *path); }
#else
86	UNIMPL		sys_uselib
#endif
87	STD		{ int|linux_sys||swapon(char *name); }
88	STD		{ int|linux_sys||reboot(int magic1, int magic2, \
			    int cmd, void *arg); }
89	STD		{ int|linux_sys||readdir(int fd, void *dent, \
			    unsigned int count); }
90	STD		{ int|linux_sys||old_mmap(struct linux_oldmmap *lmp); }
91	NOARGS		{ int|sys||munmap(void *addr, size_t len); }
92	NOARGS		{ int|compat_43_sys||truncate(const char *path, \
			    long length); }
#if !defined(_KERNEL) || defined(COMPAT_43)
93	NOARGS		{ int|compat_43_sys||ftruncate(int fd, long length); }
#else
93	UNIMPL		compat_43_sys_ftruncate
#endif
94	NOARGS		{ int|sys||fchmod(int fd, linux_umode_t mode); }
95	STD		{ int|linux_sys||fchown16(int fd, linux_uid16_t uid, \
			    linux_gid16_t gid); }
96	STD		{ int|linux_sys||getpriority(int which, int who); }
97	NOARGS		{ int|sys||setpriority(int which, int who, int prio); }
98	NOARGS		{ int|sys||profil(void *samples, u_int size, \
			    u_int offset, u_int scale); }
99	STD		{ int|linux_sys||statfs(const char *path, \
			    struct linux_statfs *sp); }
100	STD		{ int|linux_sys||fstatfs(int fd, \
			    struct linux_statfs *sp); }
101	UNIMPL		ioperm
102	STD		{ int|linux_sys||socketcall(int what, void *args); }
103	UNIMPL		syslog
104	NOARGS		{ int|compat_50_sys||setitimer(int which, \
			    struct itimerval50 *itv, \
			    struct itimerval50 *oitv); }
105	NOARGS		{ int|compat_50_sys||getitimer(int which, \
			    struct itimerval50 *itv); }
106	STD		{ int|linux_sys||stat(const char *path, \
			    struct linux_stat *sp); }
107	STD		{ int|linux_sys||lstat(const char *path, \
			    struct linux_stat *sp); }
108	STD		{ int|linux_sys||fstat(int fd, struct linux_stat *sp); }
109	UNIMPL		olduname
110	UNIMPL		iopl
111	UNIMPL		vhangup
112	UNIMPL		idle
113	UNIMPL		vm86old
114	STD		{ int|linux_sys||wait4(int pid, int *status, \
			    int options, struct rusage50 *rusage); }
115	STD		{ int|linux_sys||swapoff(const char *path); }
116	STD		{ int|linux_sys||sysinfo(struct linux_sysinfo *arg); }
117	STD		{ int|linux_sys||ipc(int what, int a1, int a2, int a3, \
			    void *ptr); }
118	NOARGS		{ int|sys||fsync(int fd); }
119	STD		{ int|linux_sys||sigreturn(void); }
120	STD		{ int|linux_sys||clone(int flags, void *stack, \
			    void *parent_tidptr, void *tls, void *child_tidptr); }
121	STD		{ int|linux_sys||setdomainname(char *domainname, \
			    int len); }
122	STD		{ int|linux_sys||uname(struct linux_utsname *up); }
123	STD		{ int|linux_sys||cacheflush(unsigned long addr, \
			    int scope, int cache, unsigned long len); }
124	UNIMPL		adjtimex
125	STD		{ int|linux_sys||mprotect(const void *start, \
			    unsigned long len, int prot); }
126	STD		{ int|linux_sys||sigprocmask(int how, \
			    const linux_old_sigset_t *set, \
			    linux_old_sigset_t *oset); }
127	UNIMPL		create_module
128	UNIMPL		init_module
129	UNIMPL		delete_module
130	UNIMPL		get_kernel_syms
131	UNIMPL		quotactl
132	NOARGS		{ pid_t|sys||getpgid(pid_t pid); }
133	NOARGS		{ int|sys||fchdir(int fd); }
134	UNIMPL		bdflush
135	UNIMPL		sysfs
136	STD		{ int|linux_sys||personality(unsigned long per); }
137	UNIMPL		afs_syscall
138	NOARGS		linux_setfsuid16 { int|linux_sys||setfsuid(uid_t uid); }
139	NOARGS		linux_setfsgid16 { int|linux_sys||setfsgid(gid_t gid); }
140	STD		{ int|linux_sys||llseek(int fd, u_int32_t ohigh, \
			    u_int32_t olow, void *res, int whence); }
141	STD		{ int|linux_sys||getdents(int fd, \
			    struct linux_dirent *dent, unsigned int count); }
142	STD		{ int|linux_sys||select(int nfds, fd_set *readfds, \
			    fd_set *writefds, fd_set *exceptfds, \
			    struct timeval50 *timeout); }
143	NOARGS		{ int|sys||flock(int fd, int how); }
144	NOARGS		{ int|sys|13|msync(void *addr, size_t len, int flags); }
145	NOARGS		{ ssize_t|sys||readv(int fd, \
			    const struct iovec *iovp, int iovcnt); }
146	NOARGS		{ ssize_t|sys||writev(int fd, \
			    const struct iovec *iovp, int iovcnt); }
147	NOARGS		{ pid_t|sys||getsid(pid_t pid); }
148	STD		{ int|linux_sys||fdatasync(int fd); }
149	STD		{ int|linux_sys||__sysctl(struct linux___sysctl *lsp); }
150	NOARGS		{ int|sys||mlock(void *addr, size_t len); }
151	NOARGS		{ int|sys||munlock(void *addr, size_t len); }
152	NOARGS		{ int|sys||mlockall(int flags); }
153	NOARGS		{ int|sys||munlockall(void); }
154	STD		{ int|linux_sys||sched_setparam(pid_t pid, \
			    const struct linux_sched_param *sp); }
155	STD		{ int|linux_sys||sched_getparam(pid_t pid, \
			    struct linux_sched_param *sp); }
156	STD		{ int|linux_sys||sched_setscheduler(pid_t pid, \
			    int policy, const struct linux_sched_param *sp); }
157	STD		{ int|linux_sys||sched_getscheduler(pid_t pid); }
158	STD		{ int|linux_sys||sched_yield(void); }
159	STD		{ int|linux_sys||sched_get_priority_max(int policy); }
160	STD		{ int|linux_sys||sched_get_priority_min(int policy); }
161	UNIMPL		sched_rr_get_interval
162	STD		{ int|linux_sys||nanosleep( \
			    const struct linux_timespec *rqtp, \
			    struct linux_timespec *rmtp); }
163	STD		{ void *|linux_sys||mremap(void *old_address, \
			    size_t old_size, size_t new_size, u_long flags); }
164	STD		{ int|linux_sys||setresuid16(linux_uid16_t ruid, \
			    linux_uid16_t euid, linux_uid16_t suid); }
165	STD		{ int|linux_sys||getresuid16(linux_uid16_t *ruid, \
			    linux_uid16_t *euid, linux_uid16_t *suid); }
166	UNIMPL		vm86
167	UNIMPL		query_module
168	NOARGS		{ int|sys||poll(struct pollfd *fds, u_int nfds, \
			    int timeout); }
169	UNIMPL		nfsservctl
170	STD		{ int|linux_sys||setresgid16(linux_gid16_t rgid, \
			    linux_gid16_t egid, linux_gid16_t sgid); }
171	STD		{ int|linux_sys||getresgid16(linux_gid16_t *rgid, \
			    linux_gid16_t *egid, linux_gid16_t *sgid); }
172	INDIR		{ int|linux_sys||__prctl(int code, \
                                  ... void * args[LINUX_SYS_MAXSYSARGS]); }
173	STD		{ int|linux_sys||rt_sigreturn(void); }
174	STD		{ int|linux_sys||rt_sigaction(int signum, \
			    const struct linux_sigaction *nsa, \
			    struct linux_sigaction *osa, \
			    size_t sigsetsize); }
175	STD		{ int|linux_sys||rt_sigprocmask(int how, \
			    const linux_sigset_t *set, \
			    linux_sigset_t *oset, \
			    size_t sigsetsize); }
176	STD		{ int|linux_sys||rt_sigpending( \
			    linux_sigset_t *set, \
			    size_t sigsetsize); }
177	STD		{ int|linux_sys||rt_sigtimedwait( \
			    const linux_sigset_t *set, \
			    linux_siginfo_t *info, \
			    const struct linux_timespec *timeout); }
178	STD		{ int|linux_sys||rt_queueinfo(int pid, int signum, \
			    linux_siginfo_t *uinfo); }
179	STD		{ int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \
			    size_t sigsetsize); }
180	STD		{ int|linux_sys||pread(int fd, char *buf, \
			    size_t nbyte, off_t offset); }
181	STD		{ int|linux_sys||pwrite(int fd, char *buf, \
			    size_t nbyte, off_t offset); }
;182 chown on i386; lchown on m68k.
182	STD		{ int|linux_sys||lchown16(const char *path, \
			    linux_uid16_t uid, linux_gid16_t gid); }
183	NOARGS		{ int|sys||__getcwd(char *bufp, size_t length); }
184	UNIMPL		capget
185	UNIMPL		capset
186	STD		{ int|linux_sys||sigaltstack( \
			    const struct linux_sigaltstack *ss, \
			    struct linux_sigaltstack *oss); }
187	UNIMPL		sendfile
188	UNIMPL		getpmsg
189	UNIMPL		putpmsg
190	NOARGS		{ int|sys|14|vfork(void); }
191	STD		{ int|linux_sys||ugetrlimit(int which, \
			    struct orlimit *rlp); }
#define linux_sys_mmap2_args linux_sys_mmap_args
192	NOARGS		{ linux_off_t|linux_sys||mmap2(unsigned long addr, \
			    size_t len, int prot, int flags, int fd, \
			    linux_off_t offset); }
193	STD		{ int|linux_sys||truncate64(const char *path, \
			    off_t length); }
194	STD		{ int|linux_sys||ftruncate64(unsigned int fd, \
			    off_t length); }
195	STD		{ int|linux_sys||stat64(const char *path, \
			    struct linux_stat64 *sp); }
196	STD		{ int|linux_sys||lstat64(const char *path, \
			    struct linux_stat64 *sp); }
197	STD		{ int|linux_sys||fstat64(int fd, \
			    struct linux_stat64 *sp); }
198	NOARGS		 { int|sys||__posix_chown(const char *path, uid_t uid, \
			    gid_t gid); }
199	NOARGS		{ uid_t|sys||getuid(void); }
200	NOARGS		{ gid_t|sys||getgid(void); }
201	NOARGS		{ uid_t|sys||geteuid(void); }
202	NOARGS		{ gid_t|sys||getegid(void); }
203	NOARGS		{ int|sys||setreuid(uid_t ruid, uid_t euid); }
204	NOARGS		{ int|sys||setregid(gid_t rgid, gid_t egid); }
205	NOARGS		{ int|sys||getgroups(int gidsetsize, gid_t *gidset); }
206	NOARGS		{ int|sys||setgroups(int gidsetsize, gid_t *gidset); }
207	NOARGS		{ int|sys||__posix_fchown(int fd, uid_t uid, \
			    gid_t gid); }
208	STD		{ int|linux_sys||setresuid(uid_t ruid, uid_t euid, \
			    uid_t suid); }
209	STD		{ int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \
			    uid_t *suid); }
210	STD		{ int|linux_sys||setresgid(gid_t rgid, gid_t egid, \
			    gid_t sgid); }
211	STD		{ int|linux_sys||getresgid(gid_t *rgid, gid_t *egid, \
			    gid_t *sgid); }
212	NOARGS		{ int|sys||__posix_lchown(const char *path, uid_t uid, \
			    gid_t gid); }
213	NOARGS		{ int|sys||setuid(uid_t uid); }
214	NOARGS		{ int|sys||setgid(gid_t gid); }
215	STD		{ int|linux_sys||setfsuid(uid_t uid); }
216	STD		{ int|linux_sys||setfsgid(gid_t gid); }
217	UNIMPL		/* unused */
218	UNIMPL		/* unused */
219	UNIMPL		/* unused */
220	STD		{ int|linux_sys||getdents64(int fd, \
			    struct linux_dirent64 *dent, unsigned int count); }
221	NOARGS		{ pid_t|linux_sys||gettid(void); }
222	STD		{ int|linux_sys||tkill(int tid, int sig); }
223	STD		{ int|linux_sys||setxattr(char *path, char *name, \
			    void *value, size_t size, int flags); }
224	STD		{ int|linux_sys||lsetxattr(char *path, char *name, \
			    void *value, size_t size, int flags); }
225	STD		{ int|linux_sys||fsetxattr(int fd, char *name, \
			    void *value, size_t size, int flags); }
226	STD		{ ssize_t|linux_sys||getxattr(char *path, char *name, \
			    void *value, size_t size); }
227	STD		{ ssize_t|linux_sys||lgetxattr(char *path, char *name, \
			    void *value, size_t size); }
228	STD		{ ssize_t|linux_sys||fgetxattr(int fd, char *name, \
			    void *value, size_t size); }
229	STD		{ ssize_t|linux_sys||listxattr(char *path, char *list, \
			    size_t size); }
230	STD		{ ssize_t|linux_sys||llistxattr(char *path, char *list, \
			    size_t size); }
231	STD		{ ssize_t|linux_sys||flistxattr(int fd, char *list, \
			    size_t size); }
232	STD		{ int|linux_sys||removexattr(char *path, char *name); }
233	STD		{ int|linux_sys||lremovexattr(char *path, char *name); }
234	STD		{ int|linux_sys||fremovexattr(int fd, char *name); }
235	STD		{ int|linux_sys||futex(int *uaddr, int op, int val, \
			    const struct linux_timespec *timeout, int *uaddr2, \
			    int val3); }
236	UNIMPL		sendfile64
237	NOARGS		{ int|sys||mincore(void *addr, size_t len, char *vec); }
238	NOARGS		{ int|sys||madvise(void *addr, size_t len, int behav); }
239	STD		{ int|linux_sys||fcntl64(int fd, int cmd, void *arg); }
240	STD		{ ssize_t|linux_sys||readahead(int fd, off_t offset, \
			    size_t count); }
241	UNIMPL		io_setup
242	UNIMPL		io_destroy
243	UNIMPL		io_getevents
244	UNIMPL		io_submit
245	UNIMPL		io_cancel
246	STD		{ int|linux_sys||fadvise64(int fd, off_t offset, \
			    size_t len, int advice); }
247	UNIMPL		exit_group
248	UNIMPL		lookup_dcookie
249	STD		{ int|linux_sys||epoll_create(int size); }
250	STD		{ int|linux_sys||epoll_ctl(int epfd, int op, int fd, \
			    struct linux_epoll_event *event); }
251	STD		{ int|linux_sys||epoll_wait(int epfd, \
			    struct linux_epoll_event *events, int maxevents, \
			    int timeout); }
252	UNIMPL		remap_file_pages
253	STD		{ int|linux_sys||set_tid_address(int *tid); }
254	STD		{ int|linux_sys||timer_create(clockid_t clockid, \
			    struct linux_sigevent *evp, timer_t *timerid); }
255	STD		{ int|linux_sys||timer_settime(timer_t timerid, \
			    int flags, const struct linux_itimerspec *tim, \
			    struct linux_itimerspec *otim); }
256	STD		{ int|linux_sys||timer_gettime(timer_t timerid, \
			    struct linux_itimerspec *tim); }
257	NOARGS		{ int|sys||timer_getoverrun(timer_t timerid); }
258	NOARGS		{ int|sys||timer_delete(timer_t timerid); }
259	STD		{ int|linux_sys||clock_settime(clockid_t which, \
			    struct linux_timespec *tp); }
260	STD		{ int|linux_sys||clock_gettime(clockid_t which, \
			    struct linux_timespec *tp); }
261	STD		{ int|linux_sys||clock_getres(clockid_t which, \
			    struct linux_timespec *tp); }
262	STD		{ int|linux_sys||clock_nanosleep(clockid_t which, \
			    int flags, struct linux_timespec *rqtp, \
			    struct linux_timespec *rmtp); }
263	STD		{ int|linux_sys||statfs64(const char *path, \
			    size_t sz, struct linux_statfs64 *sp); }
264	STD		{ int|linux_sys||fstatfs64(int fd, \
			    size_t sz, struct linux_statfs64 *sp); }
265	STD		{ int|linux_sys||tgkill(int tgid, int tid, int sig); }
266	NOARGS		{ int|compat_50_sys||utimes(const char *path, \
			    const struct timeval50 *tptr); }
267	STD		{ int|linux_sys||fadvise64_64(int fd, off_t offset, \
			    off_t len, int advice); }
268	UNIMPL		mbind
269	UNIMPL		get_mempolicy
270	UNIMPL		set_mempolicy
271	STD		{ linux_mqd_t|linux_sys||mq_open(const char *name, \
			    int oflag, linux_umode_t mode, \
			    struct linux_mq_attr *attr); }
272	STD		{ int|linux_sys||mq_unlink(const char *name); }
273	STD		{ int|linux_sys||mq_timedsend(linux_mqd_t mqdes, \
			    const char *msg_ptr, size_t msg_len, \
			    unsigned int msg_prio, \
			    const struct linux_timespec *abs_timeout); }
274	STD		{ ssize_t|linux_sys||mq_timedreceive(linux_mqd_t mqdes, \
			    char *msg_ptr, size_t msg_len, \
			    unsigned int *msg_prio, \
			    const struct linux_timespec *abs_timeout); }
275	STD		{ int|linux_sys||mq_notify(linux_mqd_t mqdes, \
			    const struct linux_sigevent *sevp); }
276	STD		{ int|linux_sys||mq_getsetattr(linux_mqd_t mqdes, \
			    const struct linux_mq_attr *newattr, \
			    struct linux_mq_attr *oldattr); }
277	UNIMPL		waitid
278	UNIMPL		vserver
279	UNIMPL		add_key
280	UNIMPL		request_key
281	UNIMPL		keyctl
282	UNIMPL		ioprio_set
283	UNIMPL		ioprio_get
284	STD		{ int|linux_sys||inotify_init(void); }
285	STD		{ int|linux_sys||inotify_add_watch(int fd, \
			    const char *pathname, uint32_t mask); }
286	STD		{ int|linux_sys||inotify_rm_watch(int fd, int wd); }
287	UNIMPL		migrate_pages
288	STD 		{ int|linux_sys||openat(int fd, const char *path, \
			    int flags, ... linux_umode_t mode); }
289	NOARGS		{ int|sys||mkdirat(int fd, const char *path, \
			    linux_umode_t mode); }
290	STD		{ int|linux_sys||mknodat(int fd, const char *path, \
			    linux_umode_t mode, unsigned dev); }
291	STD		{ int|linux_sys||fchownat(int fd, const char *path, \
			    uid_t owner, gid_t group, int flag); }
292	UNIMPL		futimesat
293	STD		{ int|linux_sys||fstatat64(int fd, const char *path, \
			    struct linux_stat64 *sp, int flag); }
294	STD		{ int|linux_sys||unlinkat(int fd, const char *path, \
			    int flag); }
295	NOARGS		{ int|sys||renameat(int fromfd, const char *from, \
			    int tofd, const char *to); }
296	STD		{ int|linux_sys||linkat(int fd1, const char *name1, \
			    int fd2, const char *name2, int flags); }
297	NOARGS		{ int|sys||symlinkat(const char *path1, int fd, \
			    const char *path2); }
298	NOARGS		{ ssize_t|sys||readlinkat(int fd, const char *path, \
			    char *buf, size_t bufsize); }
299	STD		{ int|linux_sys||fchmodat(int fd, const char *path, \
			    linux_umode_t mode); }
300	STD		{ int|linux_sys||faccessat(int fd, const char *path, \
			    int amode); }
301	STD		{ int|linux_sys||pselect6(int nfds, fd_set *readfds, \
			   fd_set *writefds, fd_set *exceptfds, \
			   struct linux_timespec *timeout, \
			   linux_sized_sigset_t *ss); }
302	STD             { int|linux_sys||ppoll(struct pollfd *fds, u_int nfds, \
			    struct linux_timespec *timeout, \
			    linux_sigset_t *sigset); }
303	UNIMPL		unshare
			;
			; The NetBSD native robust list calls have different
			; argument names / types, but they are ABI-compatible
			; with Linux.
			;
304	NOARGS		{ int|sys||__futex_set_robust_list(void *head, \
			    size_t len); }
305	NOARGS		{ int|sys||__futex_get_robust_list(lwpid_t lwpid, \
			    void **headp, size_t *lenp); }
306	UNIMPL		splice
307	STD		{ int|linux_sys||sync_file_range(int fd, \
			    off_t offset, off_t nbytes, unsigned int flags); }
308	UNIMPL		tee
309	UNIMPL		vmsplice
310	UNIMPL		move_pages
311	STD		{ int|linux_sys||sched_setaffinity(pid_t pid, \
			    unsigned int len, unsigned long *mask); }
312	STD		{ int|linux_sys||sched_getaffinity(pid_t pid, \
			    unsigned int len, unsigned long *mask); }
313	UNIMPL		kexec_load
314	STD		{ int|linux_sys||getcpu(unsigned int *cpu, \
			    unsigned int *node, \
			    struct linux_getcpu_cache *tcache); }
315	STD		{ int|linux_sys||epoll_pwait(int epfd, \
			    struct linux_epoll_event *events, int maxevents, \
			    int timeout, const linux_sigset_t *sigmask); }
316	STD		{ int|linux_sys||utimensat(int fd, const char *path, \
			    struct linux_timespec *times, int flag); }
317	UNIMPL		signalfd
318	STD		{ int|linux_sys||timerfd_create(clockid_t clock_id, \
			    int flags); }
319	STD		{ int|linux_sys||eventfd(unsigned int initval); }
320	STD		{ int|linux_sys||fallocate(int fd, int mode, \
			    off_t offset, off_t len); }
321	STD		{ int|linux_sys||timerfd_settime(int fd, int flags, \
			    const struct linux_itimerspec *tim, \
			    struct linux_itimerspec *otim); }
322	STD		{ int|linux_sys||timerfd_gettime(int fd, \
			    struct linux_itimerspec *tim); }
323	UNIMPL		signalfd4
324	STD		{ int|linux_sys||eventfd2(unsigned int initval, \
			    int flags); }
325	STD		{ int|linux_sys||epoll_create1(int flags); }
326	STD		{ int|linux_sys||dup3(int from, int to, int flags); }
327	STD		{ int|linux_sys||pipe2(int *pfds, int flags); }
328	STD		{ int|linux_sys||inotify_init1(int flags); }
329	STD		{ int|linux_sys||preadv(int fd, \
			    const struct iovec *iovp, int iovcnt, \
			    unsigned long off_lo, unsigned long off_hi); }
330	STD		{ int|linux_sys||pwritev(int fd, \
			    const struct iovcnt *iovp, int iovcnt, \
			    unsigned long off_lo, unsigned long off_hi); }
331	UNIMPL		rt_tgsigqueueinfo
332	UNIMPL		perf_counter_open
333	UNIMPL		set_thread_area
334	UNIMPL		get_thread_area
335	UNIMPL		atomic_cmpxchg_32
336	UNIMPL		atomic_barrier
337	UNIMPL		fanotify_init
338	UNIMPL		fanotify_mark
339	STD		{ int|linux_sys||prlimit64(pid_t pid, int which, \
			    struct rlimit *new_rlp, struct rlimit *old_rlp); }
340	UNIMPL		name_to_handle_at
341	UNIMPL		open_by_handle_at
342	UNIMPL		clock_adjtime
343	STD		{ int|linux_sys||syncfs(int fd); }
344	UNIMPL		setns
345	UNIMPL		process_vm_readv
346	UNIMPL		process_vm_writev
347	UNIMPL		kcmp
348	UNIMPL		finit_module
349	UNIMPL		sched_setattr
350	UNIMPL		sched_getattr
351	STD		{ int|linux_sys||renameat2(int fromfd, \
			    const char *from, int tofd, const char *to, \
			    unsigned int flags); }
352	NOARGS		{ ssize_t|sys||getrandom(void *buf, size_t buflen, \
			    unsigned int flags); }
353	UNIMPL		memfd_create
354	UNIMPL		bpf
355	UNIMPL		execveat
356	UNIMPL		socket
357	UNIMPL		socketpair
358	UNIMPL		bind
359	UNIMPL		connect
360	UNIMPL		listen
361	STD		{ int|linux_sys||accept4(int s, \
			    struct osockaddr *name, \
			    int *anamelen, int flags); }
362	UNIMPL		getsockopt
363	UNIMPL		setsockopt
364	UNIMPL		getsockname
365	UNIMPL		getpeername
366	UNIMPL		sendto
367	UNIMPL		sendmsg
368	UNIMPL		recvfrom
369	UNIMPL		recvmsg
370	UNIMPL		shutdown
371	STD		{ int|linux_sys||recvmmsg(int s, \
			    struct linux_mmsghdr *msgvec, unsigned int vlen, \
			    unsigned int flags, struct timespec *timeout); }
372	STD		{ int|linux_sys||sendmmsg(int s, \
			    struct linux_mmsghdr *msgvec, unsigned int vlen, \
			    unsigned int flags); }
373	UNIMPL		userfaultfd
374	UNIMPL		membarrier
375	UNIMPL		mlock2
376	STD		{ ssize_t|linux_sys||copy_file_range(int fd_in, \
			off_t * off_in, int fd_out, off_t * off_out, \
			size_t len, unsigned int flags); }
377	UNIMPL		preadv2
378	UNIMPL		pwritev2
379	STD		{ int|linux_sys||statx(int fd, const char *path, \
			    int flag, unsigned int mask, \
			    struct linux_statx *sp); }
380	UNIMPL
381	UNIMPL
382	UNIMPL
383	UNIMPL
384	UNIMPL
385	UNIMPL
386	UNIMPL
387	UNIMPL
388	UNIMPL
389	UNIMPL
390	UNIMPL
391	UNIMPL
392	UNIMPL
393	UNIMPL
394	UNIMPL
395	UNIMPL
396	UNIMPL
397	UNIMPL
398	UNIMPL
399	UNIMPL
400	UNIMPL
401	UNIMPL
402	UNIMPL
403	UNIMPL
404	UNIMPL
405	UNIMPL
406	UNIMPL
407	UNIMPL
408	UNIMPL
409	UNIMPL
410	UNIMPL
411	UNIMPL
412	UNIMPL
413	UNIMPL
414	UNIMPL
415	UNIMPL
416	UNIMPL
417	UNIMPL
418	UNIMPL
419	UNIMPL
420	UNIMPL
421	UNIMPL
422	UNIMPL
423	UNIMPL
424	UNIMPL
425	UNIMPL
426	UNIMPL
427	UNIMPL
428	UNIMPL
429	UNIMPL
430	UNIMPL
431	UNIMPL
432	UNIMPL
433	UNIMPL
434	UNIMPL
435	STD		{ int|linux_sys||clone3( \
			    struct linux_user_clone3_args *cl_args, \
			    size_t size); }
436	STD		{ int|linux_sys||close_range(unsigned int first, \
			    unsigned int last, unsigned int flags); }
437	UNIMPL
438	UNIMPL
439	STD		{ int|linux_sys||faccessat2(int fd, const char *path, \
			    int amode, int flags); }
440	UNIMPL
441	STD		{ int|linux_sys||epoll_pwait2(int epfd, \
			    struct linux_epoll_event *events, int maxevents, \
			    const struct linux_timespec *timeout, \
			    const linux_sigset_t *sigmask); }
@


1.108
log
@Add prctl(2) lwp_{g,s}etname for compat linux (Kevin Bloom)
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.107 2024/09/28 19:35:56 christos Exp $
d319 1
a319 1
                                  ... void * args[SYS_MAXSYSARGS]); }
@


1.107
log
@Linux GSoC-2024: renameat2, clone3, sync_file_range, syncfs (Shivraj Jamgade)
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.106 2024/07/01 01:35:53 christos Exp $
d318 2
a319 1
172	UNIMPL		prctl
@


1.106
log
@Add linux POSIX message queue support (Ricardo Branco)
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.105 2024/06/29 13:46:10 christos Exp $
d554 2
a555 1
307	UNIMPL		sync_file_range
d609 1
a609 1
343	UNIMPL		syncfs
d617 3
a619 1
351	UNIMPL		renameat2
d651 3
a653 1
376	UNIMPL		copy_file_range
d714 3
a716 1
435	UNIMPL
@


1.105
log
@From gsoc 2024: Implement faccessat2 and getcpu (Shivraz)
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.104 2023/08/19 17:49:49 christos Exp $
d54 1
d482 17
a498 6
271	UNIMPL		mq_open
272	UNIMPL		mq_unlink
273	UNIMPL		mq_timedsend
274	UNIMPL		mq_timedreceive
275	UNIMPL		mq_notify
276	UNIMPL		mq_getsetattr
@


1.105.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.107 2024/09/28 19:35:56 christos Exp $
a53 1
#include <compat/linux/common/linux_mqueue.h>
d481 6
a486 17
271	STD		{ linux_mqd_t|linux_sys||mq_open(const char *name, \
			    int oflag, linux_umode_t mode, \
			    struct linux_mq_attr *attr); }
272	STD		{ int|linux_sys||mq_unlink(const char *name); }
273	STD		{ int|linux_sys||mq_timedsend(linux_mqd_t mqdes, \
			    const char *msg_ptr, size_t msg_len, \
			    unsigned int msg_prio, \
			    const struct linux_timespec *abs_timeout); }
274	STD		{ ssize_t|linux_sys||mq_timedreceive(linux_mqd_t mqdes, \
			    char *msg_ptr, size_t msg_len, \
			    unsigned int *msg_prio, \
			    const struct linux_timespec *abs_timeout); }
275	STD		{ int|linux_sys||mq_notify(linux_mqd_t mqdes, \
			    const struct linux_sigevent *sevp); }
276	STD		{ int|linux_sys||mq_getsetattr(linux_mqd_t mqdes, \
			    const struct linux_mq_attr *newattr, \
			    struct linux_mq_attr *oldattr); }
d542 1
a542 2
307	STD		{ int|linux_sys||sync_file_range(int fd, \
			    off_t offset, off_t nbytes, unsigned int flags); }
d596 1
a596 1
343	STD		{ int|linux_sys||syncfs(int fd); }
d604 1
a604 3
351	STD		{ int|linux_sys||renameat2(int fromfd, \
			    const char *from, int tofd, const char *to, \
			    unsigned int flags); }
d636 1
a636 3
376	STD		{ ssize_t|linux_sys||copy_file_range(int fd_in, \
			off_t * off_in, int fd_out, off_t * off_out, \
			size_t len, unsigned int flags); }
d697 1
a697 3
435	STD		{ int|linux_sys||clone3( \
			    struct linux_user_clone3_args *cl_args, \
			    size_t size); }
@


1.104
log
@Add inotify* syscalls GSoC 2023 (Theodore Preduta)
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.103 2023/07/29 15:04:29 christos Exp $
d54 1
d551 3
a553 1
314	UNIMPL		getcpu
d702 2
a703 1
439	UNIMPL
@


1.103
log
@Add/fix statx, readahead, close_range. From GSoC 2023 by Theodore Preduta
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.102 2023/07/28 19:01:11 christos Exp $
d493 4
a496 3
284	UNIMPL		inotify_init
285	UNIMPL		inotify_add_watch
286	UNIMPL		inotify_rm_watch
d573 1
a573 1
328	UNIMPL		inotify_init1
d636 1
a636 1
379     STD		{ int|linux_sys||statx(int fd, const char *path, \
@


1.102
log
@add epoll syscalls
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.101 2021/12/02 04:29:48 ryo Exp $
d431 2
a432 1
240	UNIMPL		readahead
d635 3
a637 1
379	UNIMPL
d694 2
a695 1
436	UNIMPL
@


1.101
log
@add prlimit64(2) syscall to COMPAT_LINUX and COMPAT_LINUX32
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.100 2021/11/24 18:52:13 ryo Exp $
d441 6
a446 3
249	UNIMPL		epoll_create
250	UNIMPL		epoll_ctl
251	UNIMPL		epoll_wait
d549 3
a551 1
315	UNIMPL		epoll_wait
d568 1
a568 1
325	UNIMPL		epoll_create1
d634 66
@


1.100
log
@add getrandom(2) syscall entry
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.99 2021/09/20 02:20:02 thorpej Exp $
d581 2
a582 1
339	UNIMPL		prlimit64
@


1.99
log
@Add preadv(2) and pwritev(2) system calls to COMPAT_LINUX and COMPAT_LINUX32.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.98 2021/09/20 00:09:01 thorpej Exp $
d594 2
a595 1
352	UNIMPL		getrandom
@


1.98
log
@Add the eventfd system calls to COMPAT_LINUX and COMPAT_LINUX32.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.97 2021/09/19 23:51:36 thorpej Exp $
d567 6
a572 2
329	UNIMPL		preadv
330	UNIMPL		pwritev
@


1.97
log
@Add the timerfd syscalls to COMPAT_LINUX and COMPAT_LINUX32.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.96 2021/09/19 23:01:50 thorpej Exp $
d552 1
a552 1
319	UNIMPL		eventfd
d561 2
a562 1
324	UNIMPL		eventfd2
@


1.96
log
@Add the POSIX timer syscalls (timer_create(), timer_settime(), timer_gettime(),
timer_getoverrun(), and timer_delete()) to COMPAT_LINUX and COMPAT_LINUX32.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.95 2020/04/26 18:53:32 thorpej Exp $
d550 2
a551 1
318	UNIMPL		timerfd_create
d555 5
a559 2
321	UNIMPL		timerfd_settime
322	UNIMPL		timerfd_gettime
@


1.95
log
@Add a NetBSD native futex implementation, mostly written by riastradh@@.
Map the COMPAT_LINUX futex calls to the native ones.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.94 2019/11/09 23:44:32 jdolecek Exp $
d446 9
a454 5
254	UNIMPL		timer_create
255	UNIMPL		timer_settime
256	UNIMPL		timer_gettime
257	UNIMPL		timer_getoverrun
258	UNIMPL		timer_ delete
@


1.95.2.1
log
@Add Linux eventfd, timerfd, and POSIX timer calls.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.95 2020/04/26 18:53:32 thorpej Exp $
d446 5
a450 9
254	STD		{ int|linux_sys||timer_create(clockid_t clockid, \
			    struct linux_sigevent *evp, timer_t *timerid); }
255	STD		{ int|linux_sys||timer_settime(timer_t timerid, \
			    int flags, const struct linux_itimerspec *tim, \
			    struct linux_itimerspec *otim); }
256	STD		{ int|linux_sys||timer_gettime(timer_t timerid, \
			    struct linux_itimerspec *tim); }
257	NOARGS		{ int|sys||timer_getoverrun(timer_t timerid); }
258	NOARGS		{ int|sys||timer_delete(timer_t timerid); }
d546 2
a547 3
318	STD		{ int|linux_sys||timerfd_create(clockid_t clock_id, \
			    int flags); }
319	STD		{ int|linux_sys||eventfd(unsigned int initval); }
d550 2
a551 5
321	STD		{ int|linux_sys||timerfd_settime(int fd, int flags, \
			    const struct linux_itimerspec *new_value, \
			    struct linux_itimerspec *old_value); }
322	STD		{ int|linux_sys||timerfd_gettime(int fd, \
			    struct linux_itimerspec *curr_value); }
d553 1
a553 2
324	STD		{ int|linux_sys||eventfd2(unsigned int initval, \
			    int flags); }
@


1.95.2.2
log
@Add suppport for Linux preadv(2) and pwritev(2).  Same as native, except
for the silly way that the offset argument is passed in.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.95.2.1 2020/12/15 14:07:21 thorpej Exp $
d567 2
a568 6
329	STD		{ int|linux_sys||preadv(int fd, \
			    const struct iovec *iovp, int iovcnt, \
			    unsigned long off_lo, unsigned long off_hi); }
330	STD		{ int|linux_sys||pwritev(int fd, \
			    const struct iovcnt *iovp, int iovcnt, \
			    unsigned long off_lo, unsigned long off_hi); }
@


1.94
log
@add dummy implementation of linux fallocate() which just returns EOPNOTSUPP;
this is needed so that glibc falls back to emulation and apps behaving
properly, since EOPNOTSUPP is a documented and expected return code, but
ENOSYS is not

right now there are no filesystems in NetBSD tree supporting the fallocate
VOP, so no point trying to map this to a native call

supposed to help with problem reported in
https://mail-index.netbsd.org/tech-kern/2019/11/03/msg025641.html
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.93 2017/02/03 16:44:12 christos Exp $
d522 9
a530 5
304	STD		{ int|linux_sys||set_robust_list( \
			    struct linux_robust_list_head *head, size_t len); }
305	STD		{ int|linux_sys||get_robust_list(int pid, \
			    struct linux_robust_list_head **head, \
			    size_t *len); }
@


1.93
log
@and send and recv mmsg and unimpl
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.92 2017/02/03 07:54:26 martin Exp $
d544 2
a545 1
320	UNIMPL		fallocate
@


1.93.14.1
log
@Mostly merge changes from HEAD upto 20200411
@
text
@d1 1
a1 1
	$NetBSD$
d544 1
a544 2
320	STD		{ int|linux_sys||fallocate(int fd, int mode, \
			    off_t offset, off_t len); }
@


1.92
log
@Add accept4
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.91 2017/01/02 16:32:09 manu Exp $
d561 24
a584 24
337	UNIMPL
338	UNIMPL
339	UNIMPL
340	UNIMPL
341	UNIMPL
342	UNIMPL
343	UNIMPL
344	UNIMPL
345	UNIMPL
346	UNIMPL
347	UNIMPL
348	UNIMPL
349	UNIMPL
350	UNIMPL
351	UNIMPL
352	UNIMPL
353	UNIMPL
354	UNIMPL
355	UNIMPL
356	UNIMPL
357	UNIMPL
358	UNIMPL
359	UNIMPL
360	UNIMPL
d588 21
a608 1

@


1.91
log
@Add pselect6 Linux system call.
This lets Matlab R2016A run on NetBSD/amd64
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.90 2016/07/24 13:22:01 njoly Exp $
d561 28
@


1.91.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.93 2017/02/03 16:44:12 christos Exp $
a560 48
337	UNIMPL		fanotify_init
338	UNIMPL		fanotify_mark
339	UNIMPL		prlimit64
340	UNIMPL		name_to_handle_at
341	UNIMPL		open_by_handle_at
342	UNIMPL		clock_adjtime
343	UNIMPL		syncfs
344	UNIMPL		setns
345	UNIMPL		process_vm_readv
346	UNIMPL		process_vm_writev
347	UNIMPL		kcmp
348	UNIMPL		finit_module
349	UNIMPL		sched_setattr
350	UNIMPL		sched_getattr
351	UNIMPL		renameat2
352	UNIMPL		getrandom
353	UNIMPL		memfd_create
354	UNIMPL		bpf
355	UNIMPL		execveat
356	UNIMPL		socket
357	UNIMPL		socketpair
358	UNIMPL		bind
359	UNIMPL		connect
360	UNIMPL		listen
361	STD		{ int|linux_sys||accept4(int s, \
			    struct osockaddr *name, \
			    int *anamelen, int flags); }
362	UNIMPL		getsockopt
363	UNIMPL		setsockopt
364	UNIMPL		getsockname
365	UNIMPL		getpeername
366	UNIMPL		sendto
367	UNIMPL		sendmsg
368	UNIMPL		recvfrom
369	UNIMPL		recvmsg
370	UNIMPL		shutdown
371	STD		{ int|linux_sys||recvmmsg(int s, \
			    struct linux_mmsghdr *msgvec, unsigned int vlen, \
			    unsigned int flags, struct timespec *timeout); }
372	STD		{ int|linux_sys||sendmmsg(int s, \
			    struct linux_mmsghdr *msgvec, unsigned int vlen, \
			    unsigned int flags); }
373	UNIMPL		userfaultfd
374	UNIMPL		membarrier
375	UNIMPL		mlock2
376	UNIMPL		copy_file_range
377	UNIMPL		preadv2
378	UNIMPL		pwritev2
@


1.90
log
@Small cleanup. Adjust readlink/readlinkat signatures to reduce diffs with
native.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.89 2014/11/22 13:18:45 njoly Exp $
d514 4
a517 1
301	UNIMPL		pselect6
@


1.89
log
@Fix ppoll signature (int ->u_int)
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.88 2014/05/31 08:51:19 njoly Exp $
d183 1
a183 1
85	NOARGS		{ int|sys||readlink(const char *name, char *buf, \
d508 1
a508 1
298	NOARGS		{ int|sys||readlinkat(int fd, const char *path, \
@


1.89.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.90 2016/07/24 13:22:01 njoly Exp $
d183 1
a183 1
85	NOARGS		{ ssize_t|sys||readlink(const char *path, char *buf, \
d508 1
a508 1
298	NOARGS		{ ssize_t|sys||readlinkat(int fd, const char *path, \
@


1.89.2.2
log
@Sync with HEAD
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.89.2.1 2016/10/05 20:55:38 skrll Exp $
d514 1
a514 4
301	STD		{ int|linux_sys||pselect6(int nfds, fd_set *readfds, \
			   fd_set *writefds, fd_set *exceptfds, \
			   struct linux_timespec *timeout, \
			   linux_sized_sigset_t *ss); }
a557 48
337	UNIMPL		fanotify_init
338	UNIMPL		fanotify_mark
339	UNIMPL		prlimit64
340	UNIMPL		name_to_handle_at
341	UNIMPL		open_by_handle_at
342	UNIMPL		clock_adjtime
343	UNIMPL		syncfs
344	UNIMPL		setns
345	UNIMPL		process_vm_readv
346	UNIMPL		process_vm_writev
347	UNIMPL		kcmp
348	UNIMPL		finit_module
349	UNIMPL		sched_setattr
350	UNIMPL		sched_getattr
351	UNIMPL		renameat2
352	UNIMPL		getrandom
353	UNIMPL		memfd_create
354	UNIMPL		bpf
355	UNIMPL		execveat
356	UNIMPL		socket
357	UNIMPL		socketpair
358	UNIMPL		bind
359	UNIMPL		connect
360	UNIMPL		listen
361	STD		{ int|linux_sys||accept4(int s, \
			    struct osockaddr *name, \
			    int *anamelen, int flags); }
362	UNIMPL		getsockopt
363	UNIMPL		setsockopt
364	UNIMPL		getsockname
365	UNIMPL		getpeername
366	UNIMPL		sendto
367	UNIMPL		sendmsg
368	UNIMPL		recvfrom
369	UNIMPL		recvmsg
370	UNIMPL		shutdown
371	STD		{ int|linux_sys||recvmmsg(int s, \
			    struct linux_mmsghdr *msgvec, unsigned int vlen, \
			    unsigned int flags, struct timespec *timeout); }
372	STD		{ int|linux_sys||sendmmsg(int s, \
			    struct linux_mmsghdr *msgvec, unsigned int vlen, \
			    unsigned int flags); }
373	UNIMPL		userfaultfd
374	UNIMPL		membarrier
375	UNIMPL		mlock2
376	UNIMPL		copy_file_range
377	UNIMPL		preadv2
378	UNIMPL		pwritev2
@


1.89.4.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.90 2016/07/24 13:22:01 njoly Exp $
d183 1
a183 1
85	NOARGS		{ ssize_t|sys||readlink(const char *path, char *buf, \
d508 1
a508 1
298	NOARGS		{ ssize_t|sys||readlinkat(int fd, const char *path, \
@


1.89.4.2
log
@Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.91 2017/01/02 16:32:09 manu Exp $
d514 1
a514 4
301	STD		{ int|linux_sys||pselect6(int nfds, fd_set *readfds, \
			   fd_set *writefds, fd_set *exceptfds, \
			   struct linux_timespec *timeout, \
			   linux_sized_sigset_t *ss); }
@


1.89.4.3
log
@Sync with HEAD
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.93 2017/02/03 16:44:12 christos Exp $
a560 48
337	UNIMPL		fanotify_init
338	UNIMPL		fanotify_mark
339	UNIMPL		prlimit64
340	UNIMPL		name_to_handle_at
341	UNIMPL		open_by_handle_at
342	UNIMPL		clock_adjtime
343	UNIMPL		syncfs
344	UNIMPL		setns
345	UNIMPL		process_vm_readv
346	UNIMPL		process_vm_writev
347	UNIMPL		kcmp
348	UNIMPL		finit_module
349	UNIMPL		sched_setattr
350	UNIMPL		sched_getattr
351	UNIMPL		renameat2
352	UNIMPL		getrandom
353	UNIMPL		memfd_create
354	UNIMPL		bpf
355	UNIMPL		execveat
356	UNIMPL		socket
357	UNIMPL		socketpair
358	UNIMPL		bind
359	UNIMPL		connect
360	UNIMPL		listen
361	STD		{ int|linux_sys||accept4(int s, \
			    struct osockaddr *name, \
			    int *anamelen, int flags); }
362	UNIMPL		getsockopt
363	UNIMPL		setsockopt
364	UNIMPL		getsockname
365	UNIMPL		getpeername
366	UNIMPL		sendto
367	UNIMPL		sendmsg
368	UNIMPL		recvfrom
369	UNIMPL		recvmsg
370	UNIMPL		shutdown
371	STD		{ int|linux_sys||recvmmsg(int s, \
			    struct linux_mmsghdr *msgvec, unsigned int vlen, \
			    unsigned int flags, struct timespec *timeout); }
372	STD		{ int|linux_sys||sendmmsg(int s, \
			    struct linux_mmsghdr *msgvec, unsigned int vlen, \
			    unsigned int flags); }
373	UNIMPL		userfaultfd
374	UNIMPL		membarrier
375	UNIMPL		mlock2
376	UNIMPL		copy_file_range
377	UNIMPL		preadv2
378	UNIMPL		pwritev2
@


1.88
log
@Fix munmap(2) signature.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.87 2014/05/29 10:35:27 njoly Exp $
d515 1
a515 1
302	STD             { int|linux_sys||ppoll(struct pollfd *fds, int nfds, \
@


1.88.2.1
log
@Pull up following revision(s) (requested by manu in ticket #1354):
	sys/compat/linux/arch/alpha/syscalls.master: revision 1.92 via patch
	sys/compat/linux/arch/amd64/syscalls.master: revision 1.58 via patch
	sys/compat/linux/arch/arm/syscalls.master: revision 1.65 via patch
	sys/compat/linux/arch/i386/syscalls.master: revision 1.122 via patch
	sys/compat/linux/arch/m68k/syscalls.master: revision 1.91 via patch
	sys/compat/linux/arch/mips/syscalls.master: revision 1.61 via patch
	sys/compat/linux/arch/powerpc/syscalls.master: revision 1.70 via patch
	sys/compat/linux/common/linux_misc.c: revision 1.234
	sys/compat/linux/common/linux_signal.h: revision 1.31
Add pselect6 Linux system call.
This lets Matlab R2016A run on NetBSD/amd64
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.88 2014/05/31 08:51:19 njoly Exp $
d514 1
a514 4
301	STD		{ int|linux_sys||pselect6(int nfds, fd_set *readfds, \
			    fd_set *writefds, fd_set *exceptfds, \
			    struct linux_timespec *timeout, \
			    linux_sized_sigset_t *ss); }
@


1.87
log
@For utimes(2), use compat_50_sys_utimes() instead of local version.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.86 2014/05/20 17:24:49 njoly Exp $
d196 1
a196 1
91	NOARGS		{ int|sys||munmap(void *addr, int len); }
@


1.86
log
@Fix getgroups/setgroups signature.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.85 2014/05/17 09:23:51 njoly Exp $
d465 2
a466 1
266	STD		{ int|linux_sys||utimes(const char *path, struct linux_timeval *times); }
@


1.85
log
@Fix fadvise64 syscalls to use 64bit offset types.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.84 2014/05/06 17:33:35 njoly Exp $
d378 2
a379 2
205	NOARGS		{ int|sys||getgroups(u_int gidsetsize, gid_t *gidset); }
206	NOARGS		{ int|sys||setgroups(u_int gidsetsize, gid_t *gidset); }
@


1.84
log
@Reduce diffs between archs; make mknod device argument unsigned.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.83 2014/05/04 10:08:53 njoly Exp $
d437 2
a438 2
246	STD		{ int|linux_sys||fadvise64(int fd, \
			    linux_off_t offset, size_t len, int advice); }
d466 2
a467 2
267	STD		{ int|linux_sys||fadvise64_64(int fd, \
			    linux_off_t offset, linux_off_t len, int advice); }
@


1.83
log
@Fix pread/pwrite syscalls which need a 64bit offset argument.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.82 2014/04/08 16:48:01 njoly Exp $
d78 1
a78 1
			    int dev); }
@


1.82
log
@Adjust read/write/readv/writev signature to match native versions.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.81 2014/02/15 22:35:08 njoly Exp $
d338 1
a338 1
			    size_t nbyte, linux_off_t offset); }
d340 1
a340 1
			    size_t nbyte, linux_off_t offset); }
@


1.81
log
@Reduce diffs between archs, add mincore/madvise to m68k.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.80 2013/12/24 13:41:25 njoly Exp $
d62 3
a64 2
3	NOARGS		{ int|sys||read(int fd, char *buf, u_int nbyte); }
4	NOARGS		{ int|sys||write(int fd, char *buf, u_int nbyte); }
d276 4
a279 4
145	NOARGS		{ int|sys||readv(int fd, struct iovec *iovp, \
				u_int iovcnt); }
146	NOARGS		{ int|sys||writev(int fd, struct iovec *iovp, \
				u_int iovcnt); }
@


1.81.2.1
log
@Rebase.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.88 2014/05/31 08:51:19 njoly Exp $
d62 2
a63 3
3	NOARGS		{ ssize_t|sys||read(int fd, void *buf, size_t nbyte); }
4	NOARGS		{ ssize_t|sys||write(int fd, const void *buf, \
			    size_t nbyte); }
d77 1
a77 1
			    unsigned dev); }
d195 1
a195 1
91	NOARGS		{ int|sys||munmap(void *addr, size_t len); }
d275 4
a278 4
145	NOARGS		{ ssize_t|sys||readv(int fd, \
			    const struct iovec *iovp, int iovcnt); }
146	NOARGS		{ ssize_t|sys||writev(int fd, \
			    const struct iovec *iovp, int iovcnt); }
d337 1
a337 1
			    size_t nbyte, off_t offset); }
d339 1
a339 1
			    size_t nbyte, off_t offset); }
d377 2
a378 2
205	NOARGS		{ int|sys||getgroups(int gidsetsize, gid_t *gidset); }
206	NOARGS		{ int|sys||setgroups(int gidsetsize, gid_t *gidset); }
d436 2
a437 2
246	STD		{ int|linux_sys||fadvise64(int fd, off_t offset, \
			    size_t len, int advice); }
d464 3
a466 4
266	NOARGS		{ int|compat_50_sys||utimes(const char *path, \
			    const struct timeval50 *tptr); }
267	STD		{ int|linux_sys||fadvise64_64(int fd, off_t offset, \
			    off_t len, int advice); }
@


1.80
log
@Reduce diffs between arches, add fcntl64() to m68k.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.79 2013/12/08 15:55:10 njoly Exp $
d427 2
a428 2
237	UNIMPL		mincore
238	UNIMPL		madvise
@


1.79
log
@Sprinkle a few more linux_umode_t where appropriate.
Reduce diffs between archs.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.78 2013/11/19 03:52:07 chs Exp $
d429 1
a429 1
239	UNIMPL		fcntl64
@


1.78
log
@add the *at() syscalls.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.77 2013/11/07 19:37:19 njoly Exp $
d65 1
a65 1
			    int mode); }
d69 1
a69 1
8	STD		{ int|linux_sys||creat(const char *path, int mode); }
d76 1
a76 1
14	STD		{ int|linux_sys||mknod(const char *path, int mode, \
d112 1
a112 1
39	NOARGS		{ int|sys||mkdir(const char *path, int mode); }
d203 1
a203 1
94	NOARGS		{ int|sys||fchmod(int fd, int mode); }
@


1.77
log
@Fix dup/dup2/dup3 argument types (u_int -> int).
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.76 2013/09/24 13:27:49 njoly Exp $
d487 8
a494 4
288	UNIMPL		openat
289	UNIMPL		mkdirat
290	UNIMPL		mknodat
291	UNIMPL		fchownat
d496 16
a511 8
293	UNIMPL		fstatat64
294	UNIMPL		unlinkat
295	UNIMPL		renameat
296	UNIMPL		linkat
297	UNIMPL		symlinkat
298	UNIMPL		readlinkat
299	UNIMPL		fchmodat
300	UNIMPL		faccessat
@


1.76
log
@Add utimensat(2) for compat linux.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.75 2013/04/08 20:54:48 pooka Exp $
d114 1
a114 1
41	NOARGS		{ int|sys||dup(u_int fd); }
d138 1
a138 1
63	NOARGS		{ int|sys||dup2(u_int from, u_int to); }
@


1.75
log
@support utimes on non-alpha linux platforms
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.74 2012/09/19 21:19:14 pooka Exp $
d522 2
a523 1
316	UNIMPL		utimensat
@


1.75.4.1
log
@sync with head
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.75 2013/04/08 20:54:48 pooka Exp $
d62 2
a63 3
3	NOARGS		{ ssize_t|sys||read(int fd, void *buf, size_t nbyte); }
4	NOARGS		{ ssize_t|sys||write(int fd, const void *buf, \
			    size_t nbyte); }
d65 1
a65 1
			    linux_umode_t mode); }
d69 1
a69 1
8	STD		{ int|linux_sys||creat(const char *path, linux_umode_t mode); }
d76 2
a77 2
14	STD		{ int|linux_sys||mknod(const char *path, linux_umode_t mode, \
			    unsigned dev); }
d112 1
a112 1
39	NOARGS		{ int|sys||mkdir(const char *path, linux_umode_t mode); }
d114 1
a114 1
41	NOARGS		{ int|sys||dup(int fd); }
d138 1
a138 1
63	NOARGS		{ int|sys||dup2(int from, int to); }
d203 1
a203 1
94	NOARGS		{ int|sys||fchmod(int fd, linux_umode_t mode); }
d275 4
a278 4
145	NOARGS		{ ssize_t|sys||readv(int fd, \
			    const struct iovec *iovp, int iovcnt); }
146	NOARGS		{ ssize_t|sys||writev(int fd, \
			    const struct iovec *iovp, int iovcnt); }
d337 1
a337 1
			    size_t nbyte, off_t offset); }
d339 1
a339 1
			    size_t nbyte, off_t offset); }
d427 3
a429 3
237	NOARGS		{ int|sys||mincore(void *addr, size_t len, char *vec); }
238	NOARGS		{ int|sys||madvise(void *addr, size_t len, int behav); }
239	STD		{ int|linux_sys||fcntl64(int fd, int cmd, void *arg); }
d436 2
a437 2
246	STD		{ int|linux_sys||fadvise64(int fd, off_t offset, \
			    size_t len, int advice); }
d465 2
a466 2
267	STD		{ int|linux_sys||fadvise64_64(int fd, off_t offset, \
			    off_t len, int advice); }
d487 4
a490 8
288	STD 		{ int|linux_sys||openat(int fd, const char *path, \
			    int flags, ... linux_umode_t mode); }
289	NOARGS		{ int|sys||mkdirat(int fd, const char *path, \
			    linux_umode_t mode); }
290	STD		{ int|linux_sys||mknodat(int fd, const char *path, \
			    linux_umode_t mode, unsigned dev); }
291	STD		{ int|linux_sys||fchownat(int fd, const char *path, \
			    uid_t owner, gid_t group, int flag); }
d492 8
a499 16
293	STD		{ int|linux_sys||fstatat64(int fd, const char *path, \
			    struct linux_stat64 *sp, int flag); }
294	STD		{ int|linux_sys||unlinkat(int fd, const char *path, \
			    int flag); }
295	NOARGS		{ int|sys||renameat(int fromfd, const char *from, \
			    int tofd, const char *to); }
296	STD		{ int|linux_sys||linkat(int fd1, const char *name1, \
			    int fd2, const char *name2, int flags); }
297	NOARGS		{ int|sys||symlinkat(const char *path1, int fd, \
			    const char *path2); }
298	NOARGS		{ int|sys||readlinkat(int fd, const char *path, \
			    char *buf, size_t bufsize); }
299	STD		{ int|linux_sys||fchmodat(int fd, const char *path, \
			    linux_umode_t mode); }
300	STD		{ int|linux_sys||faccessat(int fd, const char *path, \
			    int amode); }
d522 1
a522 2
316	STD		{ int|linux_sys||utimensat(int fd, const char *path, \
			    struct linux_timespec *times, int flag); }
@


1.74
log
@emulate ppoll which is essentially our pollts
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.73 2011/11/18 04:03:50 christos Exp $
d464 1
a464 1
266	UNIMPL		utimes
@


1.73
log
@add sigtimedwait
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.72 2011/07/09 14:49:40 christos Exp $
d501 3
a503 1
302	UNIMPL		ppoll
@


1.73.10.1
log
@Resync to 2012-11-19 00:00:00 UTC
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.74 2012/09/19 21:19:14 pooka Exp $
d501 1
a501 3
302	STD             { int|linux_sys||ppoll(struct pollfd *fds, int nfds, \
			    struct linux_timespec *timeout, \
			    linux_sigset_t *sigset); }
@


1.73.10.2
log
@resync from head
@
text
@d1 1
a1 1
	$NetBSD$
d464 1
a464 1
266	STD		{ int|linux_sys||utimes(const char *path, struct linux_timeval *times); }
@


1.73.10.3
log
@Rebase to HEAD as of a few days ago.
@
text
@d62 2
a63 3
3	NOARGS		{ ssize_t|sys||read(int fd, void *buf, size_t nbyte); }
4	NOARGS		{ ssize_t|sys||write(int fd, const void *buf, \
			    size_t nbyte); }
d65 1
a65 1
			    linux_umode_t mode); }
d69 1
a69 1
8	STD		{ int|linux_sys||creat(const char *path, linux_umode_t mode); }
d76 2
a77 2
14	STD		{ int|linux_sys||mknod(const char *path, linux_umode_t mode, \
			    unsigned dev); }
d112 1
a112 1
39	NOARGS		{ int|sys||mkdir(const char *path, linux_umode_t mode); }
d114 1
a114 1
41	NOARGS		{ int|sys||dup(int fd); }
d138 1
a138 1
63	NOARGS		{ int|sys||dup2(int from, int to); }
d195 1
a195 1
91	NOARGS		{ int|sys||munmap(void *addr, size_t len); }
d203 1
a203 1
94	NOARGS		{ int|sys||fchmod(int fd, linux_umode_t mode); }
d275 4
a278 4
145	NOARGS		{ ssize_t|sys||readv(int fd, \
			    const struct iovec *iovp, int iovcnt); }
146	NOARGS		{ ssize_t|sys||writev(int fd, \
			    const struct iovec *iovp, int iovcnt); }
d337 1
a337 1
			    size_t nbyte, off_t offset); }
d339 1
a339 1
			    size_t nbyte, off_t offset); }
d377 2
a378 2
205	NOARGS		{ int|sys||getgroups(int gidsetsize, gid_t *gidset); }
206	NOARGS		{ int|sys||setgroups(int gidsetsize, gid_t *gidset); }
d427 3
a429 3
237	NOARGS		{ int|sys||mincore(void *addr, size_t len, char *vec); }
238	NOARGS		{ int|sys||madvise(void *addr, size_t len, int behav); }
239	STD		{ int|linux_sys||fcntl64(int fd, int cmd, void *arg); }
d436 2
a437 2
246	STD		{ int|linux_sys||fadvise64(int fd, off_t offset, \
			    size_t len, int advice); }
d464 3
a466 4
266	NOARGS		{ int|compat_50_sys||utimes(const char *path, \
			    const struct timeval50 *tptr); }
267	STD		{ int|linux_sys||fadvise64_64(int fd, off_t offset, \
			    off_t len, int advice); }
d487 4
a490 8
288	STD 		{ int|linux_sys||openat(int fd, const char *path, \
			    int flags, ... linux_umode_t mode); }
289	NOARGS		{ int|sys||mkdirat(int fd, const char *path, \
			    linux_umode_t mode); }
290	STD		{ int|linux_sys||mknodat(int fd, const char *path, \
			    linux_umode_t mode, unsigned dev); }
291	STD		{ int|linux_sys||fchownat(int fd, const char *path, \
			    uid_t owner, gid_t group, int flag); }
d492 8
a499 16
293	STD		{ int|linux_sys||fstatat64(int fd, const char *path, \
			    struct linux_stat64 *sp, int flag); }
294	STD		{ int|linux_sys||unlinkat(int fd, const char *path, \
			    int flag); }
295	NOARGS		{ int|sys||renameat(int fromfd, const char *from, \
			    int tofd, const char *to); }
296	STD		{ int|linux_sys||linkat(int fd1, const char *name1, \
			    int fd2, const char *name2, int flags); }
297	NOARGS		{ int|sys||symlinkat(const char *path1, int fd, \
			    const char *path2); }
298	NOARGS		{ int|sys||readlinkat(int fd, const char *path, \
			    char *buf, size_t bufsize); }
299	STD		{ int|linux_sys||fchmodat(int fd, const char *path, \
			    linux_umode_t mode); }
300	STD		{ int|linux_sys||faccessat(int fd, const char *path, \
			    int amode); }
d522 1
a522 2
316	STD		{ int|linux_sys||utimensat(int fd, const char *path, \
			    struct linux_timespec *times, int flag); }
@


1.73.10.4
log
@update from HEAD
@
text
@d183 1
a183 1
85	NOARGS		{ ssize_t|sys||readlink(const char *path, char *buf, \
d508 1
a508 1
298	NOARGS		{ ssize_t|sys||readlinkat(int fd, const char *path, \
d514 2
a515 5
301	STD		{ int|linux_sys||pselect6(int nfds, fd_set *readfds, \
			   fd_set *writefds, fd_set *exceptfds, \
			   struct linux_timespec *timeout, \
			   linux_sized_sigset_t *ss); }
302	STD             { int|linux_sys||ppoll(struct pollfd *fds, u_int nfds, \
a557 48
337	UNIMPL		fanotify_init
338	UNIMPL		fanotify_mark
339	UNIMPL		prlimit64
340	UNIMPL		name_to_handle_at
341	UNIMPL		open_by_handle_at
342	UNIMPL		clock_adjtime
343	UNIMPL		syncfs
344	UNIMPL		setns
345	UNIMPL		process_vm_readv
346	UNIMPL		process_vm_writev
347	UNIMPL		kcmp
348	UNIMPL		finit_module
349	UNIMPL		sched_setattr
350	UNIMPL		sched_getattr
351	UNIMPL		renameat2
352	UNIMPL		getrandom
353	UNIMPL		memfd_create
354	UNIMPL		bpf
355	UNIMPL		execveat
356	UNIMPL		socket
357	UNIMPL		socketpair
358	UNIMPL		bind
359	UNIMPL		connect
360	UNIMPL		listen
361	STD		{ int|linux_sys||accept4(int s, \
			    struct osockaddr *name, \
			    int *anamelen, int flags); }
362	UNIMPL		getsockopt
363	UNIMPL		setsockopt
364	UNIMPL		getsockname
365	UNIMPL		getpeername
366	UNIMPL		sendto
367	UNIMPL		sendmsg
368	UNIMPL		recvfrom
369	UNIMPL		recvmsg
370	UNIMPL		shutdown
371	STD		{ int|linux_sys||recvmmsg(int s, \
			    struct linux_mmsghdr *msgvec, unsigned int vlen, \
			    unsigned int flags, struct timespec *timeout); }
372	STD		{ int|linux_sys||sendmmsg(int s, \
			    struct linux_mmsghdr *msgvec, unsigned int vlen, \
			    unsigned int flags); }
373	UNIMPL		userfaultfd
374	UNIMPL		membarrier
375	UNIMPL		mlock2
376	UNIMPL		copy_file_range
377	UNIMPL		preadv2
378	UNIMPL		pwritev2
@


1.72
log
@the first argument of {g,s}etitimer() is int not u_int.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.71 2011/05/30 17:50:32 alnsn Exp $
d328 4
a331 1
177	UNIMPL		rt_sigtimedwait
@


1.72.2.1
log
@sync with head
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.72 2011/07/09 14:49:40 christos Exp $
d328 1
a328 4
177	STD		{ int|linux_sys||rt_sigtimedwait( \
			    const linux_sigset_t *set, \
			    linux_siginfo_t *info, \
			    const struct linux_timespec *timeout); }
@


1.72.2.2
log
@sync with head
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.72.2.1 2012/04/17 00:07:16 yamt Exp $
d501 1
a501 3
302	STD             { int|linux_sys||ppoll(struct pollfd *fds, int nfds, \
			    struct linux_timespec *timeout, \
			    linux_sigset_t *sigset); }
@


1.72.2.3
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.72.2.2 2012/10/30 17:20:42 yamt Exp $
d62 2
a63 3
3	NOARGS		{ ssize_t|sys||read(int fd, void *buf, size_t nbyte); }
4	NOARGS		{ ssize_t|sys||write(int fd, const void *buf, \
			    size_t nbyte); }
d65 1
a65 1
			    linux_umode_t mode); }
d69 1
a69 1
8	STD		{ int|linux_sys||creat(const char *path, linux_umode_t mode); }
d76 2
a77 2
14	STD		{ int|linux_sys||mknod(const char *path, linux_umode_t mode, \
			    unsigned dev); }
d112 1
a112 1
39	NOARGS		{ int|sys||mkdir(const char *path, linux_umode_t mode); }
d114 1
a114 1
41	NOARGS		{ int|sys||dup(int fd); }
d138 1
a138 1
63	NOARGS		{ int|sys||dup2(int from, int to); }
d203 1
a203 1
94	NOARGS		{ int|sys||fchmod(int fd, linux_umode_t mode); }
d275 4
a278 4
145	NOARGS		{ ssize_t|sys||readv(int fd, \
			    const struct iovec *iovp, int iovcnt); }
146	NOARGS		{ ssize_t|sys||writev(int fd, \
			    const struct iovec *iovp, int iovcnt); }
d337 1
a337 1
			    size_t nbyte, off_t offset); }
d339 1
a339 1
			    size_t nbyte, off_t offset); }
d427 3
a429 3
237	NOARGS		{ int|sys||mincore(void *addr, size_t len, char *vec); }
238	NOARGS		{ int|sys||madvise(void *addr, size_t len, int behav); }
239	STD		{ int|linux_sys||fcntl64(int fd, int cmd, void *arg); }
d464 1
a464 1
266	STD		{ int|linux_sys||utimes(const char *path, struct linux_timeval *times); }
d487 4
a490 8
288	STD 		{ int|linux_sys||openat(int fd, const char *path, \
			    int flags, ... linux_umode_t mode); }
289	NOARGS		{ int|sys||mkdirat(int fd, const char *path, \
			    linux_umode_t mode); }
290	STD		{ int|linux_sys||mknodat(int fd, const char *path, \
			    linux_umode_t mode, unsigned dev); }
291	STD		{ int|linux_sys||fchownat(int fd, const char *path, \
			    uid_t owner, gid_t group, int flag); }
d492 8
a499 16
293	STD		{ int|linux_sys||fstatat64(int fd, const char *path, \
			    struct linux_stat64 *sp, int flag); }
294	STD		{ int|linux_sys||unlinkat(int fd, const char *path, \
			    int flag); }
295	NOARGS		{ int|sys||renameat(int fromfd, const char *from, \
			    int tofd, const char *to); }
296	STD		{ int|linux_sys||linkat(int fd1, const char *name1, \
			    int fd2, const char *name2, int flags); }
297	NOARGS		{ int|sys||symlinkat(const char *path1, int fd, \
			    const char *path2); }
298	NOARGS		{ int|sys||readlinkat(int fd, const char *path, \
			    char *buf, size_t bufsize); }
299	STD		{ int|linux_sys||fchmodat(int fd, const char *path, \
			    linux_umode_t mode); }
300	STD		{ int|linux_sys||faccessat(int fd, const char *path, \
			    int amode); }
d522 1
a522 2
316	STD		{ int|linux_sys||utimensat(int fd, const char *path, \
			    struct linux_timespec *times, int flag); }
@


1.71
log
@Add fadvise64 and fadvise64_64 syscalls to compat_linux and compat_linux32.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.70 2011/04/15 13:04:53 he Exp $
d217 1
a217 1
104	NOARGS		{ int|compat_50_sys||setitimer(u_int which, \
d220 1
a220 1
105	NOARGS		{ int|compat_50_sys||getitimer(u_int which, \
@


1.70
log
@Add dup3() and pipe2() for these archs as well.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.69 2010/07/07 01:30:34 chs Exp $
d433 2
a434 1
246	UNIMPL		fadvise64
d462 2
a463 1
267	UNIMPL		fadvise64_64
@


1.69
log
@many changes for COMPAT_LINUX:
 - update the linux syscall table for each platform.
 - support new-style (NPTL) linux pthreads on all platforms.
   clone() with CLONE_THREAD uses 1 process with many LWPs
   instead of separate processes.
 - move the contents of sys__lwp_setprivate() into a new
   lwp_setprivate() and use that everywhere.
 - update linux_release[] and linux32_release[] to "2.6.18".
 - adjust placement of emul fork/exec/exit hooks as needed
   and adjust other emul code to match.
 - convert all struct emul definitions to use named initializers.
 - change the pid allocator to allow multiple pids to refer to the same proc.
 - remove a few fields from struct proc that are no longer needed.
 - disable the non-functional "vdso" code in linux32/amd64,
   glibc works fine without it.
 - fix a race in the futex code where we could miss a wakeup after
   a requeue operation.
 - redo futex locking to be a little more efficient.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.68 2009/11/24 10:42:44 njoly Exp $
d525 2
a526 2
326	UNIMPL		dup3
327	UNIMPL		pipe2
@


1.69.2.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.71 2011/05/30 17:50:32 alnsn Exp $
d433 1
a433 2
246	STD		{ int|linux_sys||fadvise64(int fd, \
			    linux_off_t offset, size_t len, int advice); }
d461 1
a461 2
267	STD		{ int|linux_sys||fadvise64_64(int fd, \
			    linux_off_t offset, linux_off_t len, int advice); }
d525 2
a526 2
326	STD		{ int|linux_sys||dup3(int from, int to, int flags); }
327	STD		{ int|linux_sys||pipe2(int *pfds, int flags); }
@


1.68
log
@Update personality(2) to match Linux definition where the argument is an
unsigned long.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.67 2009/06/08 13:26:57 njoly Exp $
d60 1
a60 1
1	NOARGS		{ int|sys||exit(int rval); }
d240 2
a241 1
120	STD		{ int|linux_sys||clone(int flags, void *stack); }
d397 2
a398 2
221	UNIMPL		gettid
222	UNIMPL		tkill
d420 3
a422 1
235	UNIMPL		futex
d440 1
a440 1
253	UNIMPL		set_tid_address
d445 1
a445 1
258	UNIMPL		timer_delete
d455 81
@


1.68.4.1
log
@sync with head
@
text
@d1 1
a1 1
	$NetBSD$
d60 1
a60 1
1	STD		{ int|linux_sys||exit(int rval); }
d240 1
a240 2
120	STD		{ int|linux_sys||clone(int flags, void *stack, \
			    void *parent_tidptr, void *tls, void *child_tidptr); }
d396 2
a397 2
221	NOARGS		{ pid_t|linux_sys||gettid(void); }
222	STD		{ int|linux_sys||tkill(int tid, int sig); }
d419 1
a419 3
235	STD		{ int|linux_sys||futex(int *uaddr, int op, int val, \
			    const struct linux_timespec *timeout, int *uaddr2, \
			    int val3); }
d437 1
a437 1
253	STD		{ int|linux_sys||set_tid_address(int *tid); }
d442 1
a442 1
258	UNIMPL		timer_ delete
a451 81
263	STD		{ int|linux_sys||statfs64(const char *path, \
			    size_t sz, struct linux_statfs64 *sp); }
264	STD		{ int|linux_sys||fstatfs64(int fd, \
			    size_t sz, struct linux_statfs64 *sp); }
265	STD		{ int|linux_sys||tgkill(int tgid, int tid, int sig); }
266	UNIMPL		utimes
267	UNIMPL		fadvise64_64
268	UNIMPL		mbind
269	UNIMPL		get_mempolicy
270	UNIMPL		set_mempolicy
271	UNIMPL		mq_open
272	UNIMPL		mq_unlink
273	UNIMPL		mq_timedsend
274	UNIMPL		mq_timedreceive
275	UNIMPL		mq_notify
276	UNIMPL		mq_getsetattr
277	UNIMPL		waitid
278	UNIMPL		vserver
279	UNIMPL		add_key
280	UNIMPL		request_key
281	UNIMPL		keyctl
282	UNIMPL		ioprio_set
283	UNIMPL		ioprio_get
284	UNIMPL		inotify_init
285	UNIMPL		inotify_add_watch
286	UNIMPL		inotify_rm_watch
287	UNIMPL		migrate_pages
288	UNIMPL		openat
289	UNIMPL		mkdirat
290	UNIMPL		mknodat
291	UNIMPL		fchownat
292	UNIMPL		futimesat
293	UNIMPL		fstatat64
294	UNIMPL		unlinkat
295	UNIMPL		renameat
296	UNIMPL		linkat
297	UNIMPL		symlinkat
298	UNIMPL		readlinkat
299	UNIMPL		fchmodat
300	UNIMPL		faccessat
301	UNIMPL		pselect6
302	UNIMPL		ppoll
303	UNIMPL		unshare
304	STD		{ int|linux_sys||set_robust_list( \
			    struct linux_robust_list_head *head, size_t len); }
305	STD		{ int|linux_sys||get_robust_list(int pid, \
			    struct linux_robust_list_head **head, \
			    size_t *len); }
306	UNIMPL		splice
307	UNIMPL		sync_file_range
308	UNIMPL		tee
309	UNIMPL		vmsplice
310	UNIMPL		move_pages
311	STD		{ int|linux_sys||sched_setaffinity(pid_t pid, \
			    unsigned int len, unsigned long *mask); }
312	STD		{ int|linux_sys||sched_getaffinity(pid_t pid, \
			    unsigned int len, unsigned long *mask); }
313	UNIMPL		kexec_load
314	UNIMPL		getcpu
315	UNIMPL		epoll_wait
316	UNIMPL		utimensat
317	UNIMPL		signalfd
318	UNIMPL		timerfd_create
319	UNIMPL		eventfd
320	UNIMPL		fallocate
321	UNIMPL		timerfd_settime
322	UNIMPL		timerfd_gettime
323	UNIMPL		signalfd4
324	UNIMPL		eventfd2
325	UNIMPL		epoll_create1
326	UNIMPL		dup3
327	UNIMPL		pipe2
328	UNIMPL		inotify_init1
329	UNIMPL		preadv
330	UNIMPL		pwritev
331	UNIMPL		rt_tgsigqueueinfo
332	UNIMPL		perf_counter_open
333	UNIMPL		set_thread_area
334	UNIMPL		get_thread_area
335	UNIMPL		atomic_cmpxchg_32
336	UNIMPL		atomic_barrier
@


1.68.4.2
log
@sync with head
@
text
@d525 2
a526 2
326	STD		{ int|linux_sys||dup3(int from, int to, int flags); }
327	STD		{ int|linux_sys||pipe2(int *pfds, int flags); }
@


1.68.4.3
log
@sync with head
@
text
@d433 1
a433 2
246	STD		{ int|linux_sys||fadvise64(int fd, \
			    linux_off_t offset, size_t len, int advice); }
d461 1
a461 2
267	STD		{ int|linux_sys||fadvise64_64(int fd, \
			    linux_off_t offset, linux_off_t len, int advice); }
@


1.68.2.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
	$NetBSD$
d60 1
a60 1
1	STD		{ int|linux_sys||exit(int rval); }
d240 1
a240 2
120	STD		{ int|linux_sys||clone(int flags, void *stack, \
			    void *parent_tidptr, void *tls, void *child_tidptr); }
d396 2
a397 2
221	NOARGS		{ pid_t|linux_sys||gettid(void); }
222	STD		{ int|linux_sys||tkill(int tid, int sig); }
d419 1
a419 3
235	STD		{ int|linux_sys||futex(int *uaddr, int op, int val, \
			    const struct linux_timespec *timeout, int *uaddr2, \
			    int val3); }
d437 1
a437 1
253	STD		{ int|linux_sys||set_tid_address(int *tid); }
d442 1
a442 1
258	UNIMPL		timer_ delete
a451 81
263	STD		{ int|linux_sys||statfs64(const char *path, \
			    size_t sz, struct linux_statfs64 *sp); }
264	STD		{ int|linux_sys||fstatfs64(int fd, \
			    size_t sz, struct linux_statfs64 *sp); }
265	STD		{ int|linux_sys||tgkill(int tgid, int tid, int sig); }
266	UNIMPL		utimes
267	UNIMPL		fadvise64_64
268	UNIMPL		mbind
269	UNIMPL		get_mempolicy
270	UNIMPL		set_mempolicy
271	UNIMPL		mq_open
272	UNIMPL		mq_unlink
273	UNIMPL		mq_timedsend
274	UNIMPL		mq_timedreceive
275	UNIMPL		mq_notify
276	UNIMPL		mq_getsetattr
277	UNIMPL		waitid
278	UNIMPL		vserver
279	UNIMPL		add_key
280	UNIMPL		request_key
281	UNIMPL		keyctl
282	UNIMPL		ioprio_set
283	UNIMPL		ioprio_get
284	UNIMPL		inotify_init
285	UNIMPL		inotify_add_watch
286	UNIMPL		inotify_rm_watch
287	UNIMPL		migrate_pages
288	UNIMPL		openat
289	UNIMPL		mkdirat
290	UNIMPL		mknodat
291	UNIMPL		fchownat
292	UNIMPL		futimesat
293	UNIMPL		fstatat64
294	UNIMPL		unlinkat
295	UNIMPL		renameat
296	UNIMPL		linkat
297	UNIMPL		symlinkat
298	UNIMPL		readlinkat
299	UNIMPL		fchmodat
300	UNIMPL		faccessat
301	UNIMPL		pselect6
302	UNIMPL		ppoll
303	UNIMPL		unshare
304	STD		{ int|linux_sys||set_robust_list( \
			    struct linux_robust_list_head *head, size_t len); }
305	STD		{ int|linux_sys||get_robust_list(int pid, \
			    struct linux_robust_list_head **head, \
			    size_t *len); }
306	UNIMPL		splice
307	UNIMPL		sync_file_range
308	UNIMPL		tee
309	UNIMPL		vmsplice
310	UNIMPL		move_pages
311	STD		{ int|linux_sys||sched_setaffinity(pid_t pid, \
			    unsigned int len, unsigned long *mask); }
312	STD		{ int|linux_sys||sched_getaffinity(pid_t pid, \
			    unsigned int len, unsigned long *mask); }
313	UNIMPL		kexec_load
314	UNIMPL		getcpu
315	UNIMPL		epoll_wait
316	UNIMPL		utimensat
317	UNIMPL		signalfd
318	UNIMPL		timerfd_create
319	UNIMPL		eventfd
320	UNIMPL		fallocate
321	UNIMPL		timerfd_settime
322	UNIMPL		timerfd_gettime
323	UNIMPL		signalfd4
324	UNIMPL		eventfd2
325	UNIMPL		epoll_create1
326	UNIMPL		dup3
327	UNIMPL		pipe2
328	UNIMPL		inotify_init1
329	UNIMPL		preadv
330	UNIMPL		pwritev
331	UNIMPL		rt_tgsigqueueinfo
332	UNIMPL		perf_counter_open
333	UNIMPL		set_thread_area
334	UNIMPL		get_thread_area
335	UNIMPL		atomic_cmpxchg_32
336	UNIMPL		atomic_barrier
@


1.67
log
@Update rt_queueinfo(2) definition, and kill a corresponding comment.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.66 2009/01/17 22:28:52 njoly Exp $
d261 1
a261 1
136	STD		{ int|linux_sys||personality(int per); }
@


1.66
log
@Convert linux/linux32 wait(4) to use a compat50 rusage structure.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.65 2009/01/13 22:27:43 pooka Exp $
a327 1
; XXX XAX int here?  sigset_t here?  siginfo_t
d329 1
a329 1
			    void *uinfo); }
@


1.66.2.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.67 2009/06/08 13:26:57 njoly Exp $
d328 1
d330 1
a330 1
			    linux_siginfo_t *uinfo); }
@


1.65
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.64 2009/01/11 12:59:34 tsutsui Exp $
d233 1
a233 1
			    int options, struct rusage *rusage); }
@


1.64
log
@Update for compat_50 stuff. (compile test only)
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.63 2008/11/12 18:07:40 njoly Exp $
d59 6
a64 6
0	NOARGS		{ int linux_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, char *buf, u_int nbyte); }
5	STD		{ int linux_sys_open(const char *path, int flags, \
d66 2
a67 2
6	NOARGS		{ int sys_close(int fd); }
7	STD		{ int linux_sys_waitpid(int pid, int *status, \
d69 4
a72 4
8	STD		{ int linux_sys_creat(const char *path, int mode); }
9	NOARGS		{ int sys_link(const char *path, const char *link); }
10	STD		{ int linux_sys_unlink(const char *path); }
11	NOARGS		{ int sys_execve(const char *path, char **argp, \
d74 3
a76 3
12	NOARGS		{ int sys_chdir(const char *path); }
13	STD		{ int linux_sys_time(linux_time_t *t); }
14	STD		{ int linux_sys_mknod(const char *path, int mode, \
d78 1
a78 1
15	NOARGS		{ int sys_chmod(const char *path, int mode); }
d80 1
a80 1
16	STD		{ int linux_sys_chown16(const char *path, \
d85 1
a85 1
19	NOARGS		{ long compat_43_sys_lseek(int fd, long offset, \
d90 1
a90 1
20	NOARGS 		{ pid_t sys_getpid(void); }
d93 4
a96 4
23	NOARGS		linux_setuid16 { int sys_setuid(uid_t uid); }
24	NOARGS		linux_getuid16 { uid_t sys_getuid(void); }
25	STD		{ int linux_sys_stime(linux_time_t *t); }
26	STD		{ int linux_sys_ptrace(int request, int pid, \
d98 1
a98 1
27	STD		{ int linux_sys_alarm(unsigned int secs); }
d100 2
a101 2
29	STD		{ int linux_sys_pause(void); }
30	STD		{ int linux_sys_utime(const char *path, \
d105 2
a106 2
33	NOARGS		{ int sys_access(const char *path, int flags); }
34	STD		{ int linux_sys_nice(int incr); }
d108 3
a110 3
36	NOARGS		{ int sys_sync(void); }
37	STD		{ int linux_sys_kill(int pid, int signum); }
38	NOARGS		{ int sys___posix_rename(const char *from, \
d112 5
a116 5
39	NOARGS		{ int sys_mkdir(const char *path, int mode); }
40	NOARGS		{ int sys_rmdir(const char *path); }
41	NOARGS		{ int sys_dup(u_int fd); }
42	STD		{ int linux_sys_pipe(int *pfds); }
43	STD		{ int linux_sys_times(struct times *tms); }
d118 4
a121 4
45	STD		{ int linux_sys_brk(char *nsize); }
46	NOARGS		linux_setgid16 { int sys_setgid(gid_t gid); }
47	NOARGS		linux_getgid16 { gid_t sys_getgid(void); }
48	STD		{ int linux_sys_signal(int signum, \
d123 3
a125 3
49	NOARGS		linux_geteuid16 { uid_t sys_geteuid(void); }
50	NOARGS		linux_getegid16 { gid_t sys_getegid(void); }
51	NOARGS		{ int sys_acct(char *path); }
d128 1
a128 1
54	STD		{ int linux_sys_ioctl(int fd, u_long com, \
d130 1
a130 1
55	STD		{ int linux_sys_fcntl(int fd, int cmd, void *arg); }
d132 1
a132 1
57	NOARGS		{ int sys_setpgid(int pid, int pgid); }
d135 2
a136 2
60	NOARGS		{ int sys_umask(int newmask); }
61	NOARGS		{ int sys_chroot(char *path); }
d138 5
a142 5
63	NOARGS		{ int sys_dup2(u_int from, u_int to); }
64	NOARGS		{ pid_t sys_getppid(void); }
65	NOARGS		{ int sys_getpgrp(void); }
66	NOARGS		{ int sys_setsid(void); }
67	STD		{ int linux_sys_sigaction(int signum, \
d145 3
a147 3
68	STD		{ int linux_sys_siggetmask(void); }
69	STD		{ int linux_sys_sigsetmask(linux_old_sigset_t mask); }
70	STD		{ int linux_sys_setreuid16(linux_uid16_t ruid, \
d149 1
a149 1
71	STD		{ int linux_sys_setregid16(linux_gid16_t rgid, \
d151 1
a151 1
72	STD		{ int linux_sys_sigsuspend(void *restart, \
d153 1
a153 1
73	STD		{ int linux_sys_sigpending(linux_old_sigset_t *set); }
d155 1
a155 1
74	NOARGS		{ int compat_43_sys_sethostname(char *hostname, \
d160 1
a160 1
75	STD		{ int linux_sys_setrlimit(u_int which, \
d162 1
a162 1
76	STD		{ int linux_sys_getrlimit(u_int which, \
d164 1
a164 1
77	NOARGS		{ int compat_50_sys_getrusage(int who, \
d166 1
a166 1
78	STD		{ int linux_sys_gettimeofday(struct timeval50 *tp, \
d168 1
a168 1
79	STD		{ int linux_sys_settimeofday(struct timeval50 *tp, \
d170 1
a170 1
80	STD		{ int linux_sys_getgroups16(int gidsetsize, \
d172 1
a172 1
81	STD		{ int linux_sys_setgroups16(int gidsetsize, \
d174 2
a175 2
82	STD		{ int linux_sys_oldselect(struct linux_oldselect *lsp); }
83	NOARGS		{ int sys_symlink(const char *path, const char *to); }
d177 1
a177 1
84	NOARGS		{ int compat_43_sys_lstat(const char *path, \
d182 1
a182 1
85	NOARGS		{ int sys_readlink(const char *name, char *buf, \
d185 1
a185 1
86	STD		{ int linux_sys_uselib(const char *path); }
d189 2
a190 2
87	STD		{ int linux_sys_swapon(char *name); }
88	STD		{ int linux_sys_reboot(int magic1, int magic2, \
d192 1
a192 1
89	STD		{ int linux_sys_readdir(int fd, void *dent, \
d194 3
a196 3
90	STD		{ int linux_sys_old_mmap(struct linux_oldmmap *lmp); }
91	NOARGS		{ int sys_munmap(void *addr, int len); }
92	NOARGS		{ int compat_43_sys_truncate(const char *path, \
d199 1
a199 1
93	NOARGS		{ int compat_43_sys_ftruncate(int fd, long length); }
d203 2
a204 2
94	NOARGS		{ int sys_fchmod(int fd, int mode); }
95	STD		{ int linux_sys_fchown16(int fd, linux_uid16_t uid, \
d206 3
a208 3
96	STD		{ int linux_sys_getpriority(int which, int who); }
97	NOARGS		{ int sys_setpriority(int which, int who, int prio); }
98	NOARGS		{ int sys_profil(void *samples, u_int size, \
d210 1
a210 1
99	STD		{ int linux_sys_statfs(const char *path, \
d212 1
a212 1
100	STD		{ int linux_sys_fstatfs(int fd, \
d215 1
a215 1
102	STD		{ int linux_sys_socketcall(int what, void *args); }
d217 1
a217 1
104	NOARGS		{ int compat_50_sys_setitimer(u_int which, \
d220 1
a220 1
105	NOARGS		{ int compat_50_sys_getitimer(u_int which, \
d222 1
a222 1
106	STD		{ int linux_sys_stat(const char *path, \
d224 1
a224 1
107	STD		{ int linux_sys_lstat(const char *path, \
d226 1
a226 1
108	STD		{ int linux_sys_fstat(int fd, struct linux_stat *sp); }
d232 1
a232 1
114	STD		{ int linux_sys_wait4(int pid, int *status, \
d234 3
a236 3
115	STD		{ int linux_sys_swapoff(const char *path); }
116	STD		{ int linux_sys_sysinfo(struct linux_sysinfo *arg); }
117	STD		{ int linux_sys_ipc(int what, int a1, int a2, int a3, \
d238 4
a241 4
118	NOARGS		{ int sys_fsync(int fd); }
119	STD		{ int linux_sys_sigreturn(void); }
120	STD		{ int linux_sys_clone(int flags, void *stack); }
121	STD		{ int linux_sys_setdomainname(char *domainname, \
d243 2
a244 2
122	STD		{ int linux_sys_uname(struct linux_utsname *up); }
123	STD		{ int linux_sys_cacheflush(unsigned long addr, \
d247 1
a247 1
125	STD		{ int linux_sys_mprotect(const void *start, \
d249 1
a249 1
126	STD		{ int linux_sys_sigprocmask(int how, \
d257 2
a258 2
132	NOARGS		{ pid_t sys_getpgid(pid_t pid); }
133	NOARGS		{ int sys_fchdir(int fd); }
d261 1
a261 1
136	STD		{ int linux_sys_personality(int per); }
d263 3
a265 3
138	NOARGS		linux_setfsuid16 { int linux_sys_setfsuid(uid_t uid); }
139	NOARGS		linux_setfsgid16 { int linux_sys_setfsgid(gid_t gid); }
140	STD		{ int linux_sys_llseek(int fd, u_int32_t ohigh, \
d267 1
a267 1
141	STD		{ int linux_sys_getdents(int fd, \
d269 1
a269 1
142	STD		{ int linux_sys_select(int nfds, fd_set *readfds, \
d272 3
a274 3
143	NOARGS		{ int sys_flock(int fd, int how); }
144	NOARGS		{ int sys___msync13(void *addr, size_t len, int flags); }
145	NOARGS		{ int sys_readv(int fd, struct iovec *iovp, \
d276 1
a276 1
146	NOARGS		{ int sys_writev(int fd, struct iovec *iovp, \
d278 8
a285 8
147	NOARGS		{ pid_t sys_getsid(pid_t pid); }
148	STD		{ int linux_sys_fdatasync(int fd); }
149	STD		{ int linux_sys___sysctl(struct linux___sysctl *lsp); }
150	NOARGS		{ int sys_mlock(void *addr, size_t len); }
151	NOARGS		{ int sys_munlock(void *addr, size_t len); }
152	NOARGS		{ int sys_mlockall(int flags); }
153	NOARGS		{ int sys_munlockall(void); }
154	STD		{ int linux_sys_sched_setparam(pid_t pid, \
d287 1
a287 1
155	STD		{ int linux_sys_sched_getparam(pid_t pid, \
d289 1
a289 1
156	STD		{ int linux_sys_sched_setscheduler(pid_t pid, \
d291 4
a294 4
157	STD		{ int linux_sys_sched_getscheduler(pid_t pid); }
158	STD		{ int linux_sys_sched_yield(void); }
159	STD		{ int linux_sys_sched_get_priority_max(int policy); }
160	STD		{ int linux_sys_sched_get_priority_min(int policy); }
d296 1
a296 1
162	STD		{ int linux_sys_nanosleep( \
d299 1
a299 1
163	STD		{ void *linux_sys_mremap(void *old_address, \
d301 1
a301 1
164	STD		{ int linux_sys_setresuid16(linux_uid16_t ruid, \
d303 1
a303 1
165	STD		{ int linux_sys_getresuid16(linux_uid16_t *ruid, \
d307 1
a307 1
168	NOARGS		{ int sys_poll(struct pollfd *fds, u_int nfds, \
d310 1
a310 1
170	STD		{ int linux_sys_setresgid16(linux_gid16_t rgid, \
d312 1
a312 1
171	STD		{ int linux_sys_getresgid16(linux_gid16_t *rgid, \
d315 2
a316 2
173	STD		{ int linux_sys_rt_sigreturn(void); }
174	STD		{ int linux_sys_rt_sigaction(int signum, \
d320 1
a320 1
175	STD		{ int linux_sys_rt_sigprocmask(int how, \
d324 1
a324 1
176	STD		{ int linux_sys_rt_sigpending( \
d329 1
a329 1
178	STD		{ int linux_sys_rt_queueinfo(int pid, int signum, \
d331 1
a331 1
179	STD		{ int linux_sys_rt_sigsuspend(linux_sigset_t *unewset, \
d333 1
a333 1
180	STD		{ int linux_sys_pread(int fd, char *buf, \
d335 1
a335 1
181	STD		{ int linux_sys_pwrite(int fd, char *buf, \
d338 1
a338 1
182	STD		{ int linux_sys_lchown16(const char *path, \
d340 1
a340 1
183	NOARGS		{ int sys___getcwd(char *bufp, size_t length); }
d343 1
a343 1
186	STD		{ int linux_sys_sigaltstack( \
d349 2
a350 2
190	NOARGS		{ int sys___vfork14(void); }
191	STD		{ int linux_sys_ugetrlimit(int which, \
d353 1
a353 1
192	NOARGS		{ linux_off_t linux_sys_mmap2(unsigned long addr, \
d356 1
a356 1
193	STD		{ int linux_sys_truncate64(const char *path, \
d358 1
a358 1
194	STD		{ int linux_sys_ftruncate64(unsigned int fd, \
d360 1
a360 1
195	STD		{ int linux_sys_stat64(const char *path, \
d362 1
a362 1
196	STD		{ int linux_sys_lstat64(const char *path, \
d364 1
a364 1
197	STD		{ int linux_sys_fstat64(int fd, \
d366 1
a366 1
198	NOARGS		 { int sys___posix_chown(const char *path, uid_t uid, \
d368 9
a376 9
199	NOARGS		{ uid_t sys_getuid(void); }
200	NOARGS		{ gid_t sys_getgid(void); }
201	NOARGS		{ uid_t sys_geteuid(void); }
202	NOARGS		{ gid_t sys_getegid(void); }
203	NOARGS		{ int sys_setreuid(uid_t ruid, uid_t euid); }
204	NOARGS		{ int sys_setregid(gid_t rgid, gid_t egid); }
205	NOARGS		{ int sys_getgroups(u_int gidsetsize, gid_t *gidset); }
206	NOARGS		{ int sys_setgroups(u_int gidsetsize, gid_t *gidset); }
207	NOARGS		{ int sys___posix_fchown(int fd, uid_t uid, \
d378 1
a378 1
208	STD		{ int linux_sys_setresuid(uid_t ruid, uid_t euid, \
d380 1
a380 1
209	STD		{ int linux_sys_getresuid(uid_t *ruid, uid_t *euid, \
d382 1
a382 1
210	STD		{ int linux_sys_setresgid(gid_t rgid, gid_t egid, \
d384 1
a384 1
211	STD		{ int linux_sys_getresgid(gid_t *rgid, gid_t *egid, \
d386 1
a386 1
212	NOARGS		{ int sys___posix_lchown(const char *path, uid_t uid, \
d388 4
a391 4
213	NOARGS		{ int sys_setuid(uid_t uid); }
214	NOARGS		{ int sys_setgid(gid_t gid); }
215	STD		{ int linux_sys_setfsuid(uid_t uid); }
216	STD		{ int linux_sys_setfsgid(gid_t gid); }
d395 1
a395 1
220	STD		{ int linux_sys_getdents64(int fd, \
d399 1
a399 1
223	STD		{ int linux_sys_setxattr(char *path, char *name, \
d401 1
a401 1
224	STD		{ int linux_sys_lsetxattr(char *path, char *name, \
d403 1
a403 1
225	STD		{ int linux_sys_fsetxattr(int fd, char *name, \
d405 1
a405 1
226	STD		{ ssize_t linux_sys_getxattr(char *path, char *name, \
d407 1
a407 1
227	STD		{ ssize_t linux_sys_lgetxattr(char *path, char *name, \
d409 1
a409 1
228	STD		{ ssize_t linux_sys_fgetxattr(int fd, char *name, \
d411 1
a411 1
229	STD		{ ssize_t linux_sys_listxattr(char *path, char *list, \
d413 1
a413 1
230	STD		{ ssize_t linux_sys_llistxattr(char *path, char *list, \
d415 1
a415 1
231	STD		{ ssize_t linux_sys_flistxattr(int fd, char *list, \
d417 3
a419 3
232	STD		{ int linux_sys_removexattr(char *path, char *name); }
233	STD		{ int linux_sys_lremovexattr(char *path, char *name); }
234	STD		{ int linux_sys_fremovexattr(int fd, char *name); }
d444 1
a444 1
259	STD		{ int linux_sys_clock_settime(clockid_t which, \
d446 1
a446 1
260	STD		{ int linux_sys_clock_gettime(clockid_t which, \
d448 1
a448 1
261	STD		{ int linux_sys_clock_getres(clockid_t which, \
d450 1
a450 1
262	STD		{ int linux_sys_clock_nanosleep(clockid_t which, \
@


1.63
log
@Fix nanosleep(2) on 64-bit archs. Do not call native nanosleep
syscall, but rather a modified version the will take care of `struct
timespec' conversions.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.62 2008/06/18 12:21:20 tsutsui Exp $
d164 3
a166 2
77	NOARGS		{ int sys_getrusage(int who, struct rusage *rusage); }
78	STD		{ int linux_sys_gettimeofday(struct timeval *tp, \
d168 1
a168 1
79	STD		{ int linux_sys_settimeofday(struct timeval *tp, \
d217 5
a221 4
104	NOARGS		{ int sys_setitimer(u_int which, \
			    struct itimerval *itv, struct itimerval *oitv); }
105	NOARGS		{ int sys_getitimer(u_int which, \
			    struct itimerval *itv); }
d271 1
a271 1
			    struct timeval *timeout); }
@


1.62
log
@Include <sys/sched.h> before <sys/syscallargs.h> for cpuset_t.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.61 2008/04/23 14:07:50 ad Exp $
d294 3
a296 2
162	NOARGS		{ int sys_nanosleep(const struct timespec *rqtp, \
				struct timespec *rmtp); }
@


1.62.4.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.66 2009/01/17 22:28:52 njoly Exp $
d59 6
a64 6
0	NOARGS		{ int|linux_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, char *buf, u_int nbyte); }
5	STD		{ int|linux_sys||open(const char *path, int flags, \
d66 2
a67 2
6	NOARGS		{ int|sys||close(int fd); }
7	STD		{ int|linux_sys||waitpid(int pid, int *status, \
d69 4
a72 4
8	STD		{ int|linux_sys||creat(const char *path, int mode); }
9	NOARGS		{ int|sys||link(const char *path, const char *link); }
10	STD		{ int|linux_sys||unlink(const char *path); }
11	NOARGS		{ int|sys||execve(const char *path, char **argp, \
d74 3
a76 3
12	NOARGS		{ int|sys||chdir(const char *path); }
13	STD		{ int|linux_sys||time(linux_time_t *t); }
14	STD		{ int|linux_sys||mknod(const char *path, int mode, \
d78 1
a78 1
15	NOARGS		{ int|sys||chmod(const char *path, int mode); }
d80 1
a80 1
16	STD		{ int|linux_sys||chown16(const char *path, \
d85 1
a85 1
19	NOARGS		{ long|compat_43_sys||lseek(int fd, long offset, \
d90 1
a90 1
20	NOARGS 		{ pid_t|sys||getpid(void); }
d93 4
a96 4
23	NOARGS		linux_setuid16 { int|sys||setuid(uid_t uid); }
24	NOARGS		linux_getuid16 { uid_t|sys||getuid(void); }
25	STD		{ int|linux_sys||stime(linux_time_t *t); }
26	STD		{ int|linux_sys||ptrace(int request, int pid, \
d98 1
a98 1
27	STD		{ int|linux_sys||alarm(unsigned int secs); }
d100 2
a101 2
29	STD		{ int|linux_sys||pause(void); }
30	STD		{ int|linux_sys||utime(const char *path, \
d105 2
a106 2
33	NOARGS		{ int|sys||access(const char *path, int flags); }
34	STD		{ int|linux_sys||nice(int incr); }
d108 3
a110 3
36	NOARGS		{ int|sys||sync(void); }
37	STD		{ int|linux_sys||kill(int pid, int signum); }
38	NOARGS		{ int|sys||__posix_rename(const char *from, \
d112 5
a116 5
39	NOARGS		{ int|sys||mkdir(const char *path, int mode); }
40	NOARGS		{ int|sys||rmdir(const char *path); }
41	NOARGS		{ int|sys||dup(u_int fd); }
42	STD		{ int|linux_sys||pipe(int *pfds); }
43	STD		{ int|linux_sys||times(struct times *tms); }
d118 4
a121 4
45	STD		{ int|linux_sys||brk(char *nsize); }
46	NOARGS		linux_setgid16 { int|sys||setgid(gid_t gid); }
47	NOARGS		linux_getgid16 { gid_t|sys||getgid(void); }
48	STD		{ int|linux_sys||signal(int signum, \
d123 3
a125 3
49	NOARGS		linux_geteuid16 { uid_t|sys||geteuid(void); }
50	NOARGS		linux_getegid16 { gid_t|sys||getegid(void); }
51	NOARGS		{ int|sys||acct(char *path); }
d128 1
a128 1
54	STD		{ int|linux_sys||ioctl(int fd, u_long com, \
d130 1
a130 1
55	STD		{ int|linux_sys||fcntl(int fd, int cmd, void *arg); }
d132 1
a132 1
57	NOARGS		{ int|sys||setpgid(int pid, int pgid); }
d135 2
a136 2
60	NOARGS		{ int|sys||umask(int newmask); }
61	NOARGS		{ int|sys||chroot(char *path); }
d138 5
a142 5
63	NOARGS		{ int|sys||dup2(u_int from, u_int to); }
64	NOARGS		{ pid_t|sys||getppid(void); }
65	NOARGS		{ int|sys||getpgrp(void); }
66	NOARGS		{ int|sys||setsid(void); }
67	STD		{ int|linux_sys||sigaction(int signum, \
d145 3
a147 3
68	STD		{ int|linux_sys||siggetmask(void); }
69	STD		{ int|linux_sys||sigsetmask(linux_old_sigset_t mask); }
70	STD		{ int|linux_sys||setreuid16(linux_uid16_t ruid, \
d149 1
a149 1
71	STD		{ int|linux_sys||setregid16(linux_gid16_t rgid, \
d151 1
a151 1
72	STD		{ int|linux_sys||sigsuspend(void *restart, \
d153 1
a153 1
73	STD		{ int|linux_sys||sigpending(linux_old_sigset_t *set); }
d155 1
a155 1
74	NOARGS		{ int|compat_43_sys||sethostname(char *hostname, \
d160 1
a160 1
75	STD		{ int|linux_sys||setrlimit(u_int which, \
d162 1
a162 1
76	STD		{ int|linux_sys||getrlimit(u_int which, \
d164 2
a165 3
77	NOARGS		{ int|compat_50_sys||getrusage(int who, \
			    struct rusage50 *rusage); }
78	STD		{ int|linux_sys||gettimeofday(struct timeval50 *tp, \
d167 1
a167 1
79	STD		{ int|linux_sys||settimeofday(struct timeval50 *tp, \
d169 1
a169 1
80	STD		{ int|linux_sys||getgroups16(int gidsetsize, \
d171 1
a171 1
81	STD		{ int|linux_sys||setgroups16(int gidsetsize, \
d173 2
a174 2
82	STD		{ int|linux_sys||oldselect(struct linux_oldselect *lsp); }
83	NOARGS		{ int|sys||symlink(const char *path, const char *to); }
d176 1
a176 1
84	NOARGS		{ int|compat_43_sys||lstat(const char *path, \
d181 1
a181 1
85	NOARGS		{ int|sys||readlink(const char *name, char *buf, \
d184 1
a184 1
86	STD		{ int|linux_sys||uselib(const char *path); }
d188 2
a189 2
87	STD		{ int|linux_sys||swapon(char *name); }
88	STD		{ int|linux_sys||reboot(int magic1, int magic2, \
d191 1
a191 1
89	STD		{ int|linux_sys||readdir(int fd, void *dent, \
d193 3
a195 3
90	STD		{ int|linux_sys||old_mmap(struct linux_oldmmap *lmp); }
91	NOARGS		{ int|sys||munmap(void *addr, int len); }
92	NOARGS		{ int|compat_43_sys||truncate(const char *path, \
d198 1
a198 1
93	NOARGS		{ int|compat_43_sys||ftruncate(int fd, long length); }
d202 2
a203 2
94	NOARGS		{ int|sys||fchmod(int fd, int mode); }
95	STD		{ int|linux_sys||fchown16(int fd, linux_uid16_t uid, \
d205 3
a207 3
96	STD		{ int|linux_sys||getpriority(int which, int who); }
97	NOARGS		{ int|sys||setpriority(int which, int who, int prio); }
98	NOARGS		{ int|sys||profil(void *samples, u_int size, \
d209 1
a209 1
99	STD		{ int|linux_sys||statfs(const char *path, \
d211 1
a211 1
100	STD		{ int|linux_sys||fstatfs(int fd, \
d214 1
a214 1
102	STD		{ int|linux_sys||socketcall(int what, void *args); }
d216 5
a220 6
104	NOARGS		{ int|compat_50_sys||setitimer(u_int which, \
			    struct itimerval50 *itv, \
			    struct itimerval50 *oitv); }
105	NOARGS		{ int|compat_50_sys||getitimer(u_int which, \
			    struct itimerval50 *itv); }
106	STD		{ int|linux_sys||stat(const char *path, \
d222 1
a222 1
107	STD		{ int|linux_sys||lstat(const char *path, \
d224 1
a224 1
108	STD		{ int|linux_sys||fstat(int fd, struct linux_stat *sp); }
d230 5
a234 5
114	STD		{ int|linux_sys||wait4(int pid, int *status, \
			    int options, struct rusage50 *rusage); }
115	STD		{ int|linux_sys||swapoff(const char *path); }
116	STD		{ int|linux_sys||sysinfo(struct linux_sysinfo *arg); }
117	STD		{ int|linux_sys||ipc(int what, int a1, int a2, int a3, \
d236 4
a239 4
118	NOARGS		{ int|sys||fsync(int fd); }
119	STD		{ int|linux_sys||sigreturn(void); }
120	STD		{ int|linux_sys||clone(int flags, void *stack); }
121	STD		{ int|linux_sys||setdomainname(char *domainname, \
d241 2
a242 2
122	STD		{ int|linux_sys||uname(struct linux_utsname *up); }
123	STD		{ int|linux_sys||cacheflush(unsigned long addr, \
d245 1
a245 1
125	STD		{ int|linux_sys||mprotect(const void *start, \
d247 1
a247 1
126	STD		{ int|linux_sys||sigprocmask(int how, \
d255 2
a256 2
132	NOARGS		{ pid_t|sys||getpgid(pid_t pid); }
133	NOARGS		{ int|sys||fchdir(int fd); }
d259 1
a259 1
136	STD		{ int|linux_sys||personality(int per); }
d261 3
a263 3
138	NOARGS		linux_setfsuid16 { int|linux_sys||setfsuid(uid_t uid); }
139	NOARGS		linux_setfsgid16 { int|linux_sys||setfsgid(gid_t gid); }
140	STD		{ int|linux_sys||llseek(int fd, u_int32_t ohigh, \
d265 1
a265 1
141	STD		{ int|linux_sys||getdents(int fd, \
d267 1
a267 1
142	STD		{ int|linux_sys||select(int nfds, fd_set *readfds, \
d269 4
a272 4
			    struct timeval50 *timeout); }
143	NOARGS		{ int|sys||flock(int fd, int how); }
144	NOARGS		{ int|sys|13|msync(void *addr, size_t len, int flags); }
145	NOARGS		{ int|sys||readv(int fd, struct iovec *iovp, \
d274 1
a274 1
146	NOARGS		{ int|sys||writev(int fd, struct iovec *iovp, \
d276 8
a283 8
147	NOARGS		{ pid_t|sys||getsid(pid_t pid); }
148	STD		{ int|linux_sys||fdatasync(int fd); }
149	STD		{ int|linux_sys||__sysctl(struct linux___sysctl *lsp); }
150	NOARGS		{ int|sys||mlock(void *addr, size_t len); }
151	NOARGS		{ int|sys||munlock(void *addr, size_t len); }
152	NOARGS		{ int|sys||mlockall(int flags); }
153	NOARGS		{ int|sys||munlockall(void); }
154	STD		{ int|linux_sys||sched_setparam(pid_t pid, \
d285 1
a285 1
155	STD		{ int|linux_sys||sched_getparam(pid_t pid, \
d287 1
a287 1
156	STD		{ int|linux_sys||sched_setscheduler(pid_t pid, \
d289 4
a292 4
157	STD		{ int|linux_sys||sched_getscheduler(pid_t pid); }
158	STD		{ int|linux_sys||sched_yield(void); }
159	STD		{ int|linux_sys||sched_get_priority_max(int policy); }
160	STD		{ int|linux_sys||sched_get_priority_min(int policy); }
d294 3
a296 4
162	STD		{ int|linux_sys||nanosleep( \
			    const struct linux_timespec *rqtp, \
			    struct linux_timespec *rmtp); }
163	STD		{ void *|linux_sys||mremap(void *old_address, \
d298 1
a298 1
164	STD		{ int|linux_sys||setresuid16(linux_uid16_t ruid, \
d300 1
a300 1
165	STD		{ int|linux_sys||getresuid16(linux_uid16_t *ruid, \
d304 1
a304 1
168	NOARGS		{ int|sys||poll(struct pollfd *fds, u_int nfds, \
d307 1
a307 1
170	STD		{ int|linux_sys||setresgid16(linux_gid16_t rgid, \
d309 1
a309 1
171	STD		{ int|linux_sys||getresgid16(linux_gid16_t *rgid, \
d312 2
a313 2
173	STD		{ int|linux_sys||rt_sigreturn(void); }
174	STD		{ int|linux_sys||rt_sigaction(int signum, \
d317 1
a317 1
175	STD		{ int|linux_sys||rt_sigprocmask(int how, \
d321 1
a321 1
176	STD		{ int|linux_sys||rt_sigpending( \
d326 1
a326 1
178	STD		{ int|linux_sys||rt_queueinfo(int pid, int signum, \
d328 1
a328 1
179	STD		{ int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \
d330 1
a330 1
180	STD		{ int|linux_sys||pread(int fd, char *buf, \
d332 1
a332 1
181	STD		{ int|linux_sys||pwrite(int fd, char *buf, \
d335 1
a335 1
182	STD		{ int|linux_sys||lchown16(const char *path, \
d337 1
a337 1
183	NOARGS		{ int|sys||__getcwd(char *bufp, size_t length); }
d340 1
a340 1
186	STD		{ int|linux_sys||sigaltstack( \
d346 2
a347 2
190	NOARGS		{ int|sys|14|vfork(void); }
191	STD		{ int|linux_sys||ugetrlimit(int which, \
d350 1
a350 1
192	NOARGS		{ linux_off_t|linux_sys||mmap2(unsigned long addr, \
d353 1
a353 1
193	STD		{ int|linux_sys||truncate64(const char *path, \
d355 1
a355 1
194	STD		{ int|linux_sys||ftruncate64(unsigned int fd, \
d357 1
a357 1
195	STD		{ int|linux_sys||stat64(const char *path, \
d359 1
a359 1
196	STD		{ int|linux_sys||lstat64(const char *path, \
d361 1
a361 1
197	STD		{ int|linux_sys||fstat64(int fd, \
d363 1
a363 1
198	NOARGS		 { int|sys||__posix_chown(const char *path, uid_t uid, \
d365 9
a373 9
199	NOARGS		{ uid_t|sys||getuid(void); }
200	NOARGS		{ gid_t|sys||getgid(void); }
201	NOARGS		{ uid_t|sys||geteuid(void); }
202	NOARGS		{ gid_t|sys||getegid(void); }
203	NOARGS		{ int|sys||setreuid(uid_t ruid, uid_t euid); }
204	NOARGS		{ int|sys||setregid(gid_t rgid, gid_t egid); }
205	NOARGS		{ int|sys||getgroups(u_int gidsetsize, gid_t *gidset); }
206	NOARGS		{ int|sys||setgroups(u_int gidsetsize, gid_t *gidset); }
207	NOARGS		{ int|sys||__posix_fchown(int fd, uid_t uid, \
d375 1
a375 1
208	STD		{ int|linux_sys||setresuid(uid_t ruid, uid_t euid, \
d377 1
a377 1
209	STD		{ int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \
d379 1
a379 1
210	STD		{ int|linux_sys||setresgid(gid_t rgid, gid_t egid, \
d381 1
a381 1
211	STD		{ int|linux_sys||getresgid(gid_t *rgid, gid_t *egid, \
d383 1
a383 1
212	NOARGS		{ int|sys||__posix_lchown(const char *path, uid_t uid, \
d385 4
a388 4
213	NOARGS		{ int|sys||setuid(uid_t uid); }
214	NOARGS		{ int|sys||setgid(gid_t gid); }
215	STD		{ int|linux_sys||setfsuid(uid_t uid); }
216	STD		{ int|linux_sys||setfsgid(gid_t gid); }
d392 1
a392 1
220	STD		{ int|linux_sys||getdents64(int fd, \
d396 1
a396 1
223	STD		{ int|linux_sys||setxattr(char *path, char *name, \
d398 1
a398 1
224	STD		{ int|linux_sys||lsetxattr(char *path, char *name, \
d400 1
a400 1
225	STD		{ int|linux_sys||fsetxattr(int fd, char *name, \
d402 1
a402 1
226	STD		{ ssize_t|linux_sys||getxattr(char *path, char *name, \
d404 1
a404 1
227	STD		{ ssize_t|linux_sys||lgetxattr(char *path, char *name, \
d406 1
a406 1
228	STD		{ ssize_t|linux_sys||fgetxattr(int fd, char *name, \
d408 1
a408 1
229	STD		{ ssize_t|linux_sys||listxattr(char *path, char *list, \
d410 1
a410 1
230	STD		{ ssize_t|linux_sys||llistxattr(char *path, char *list, \
d412 1
a412 1
231	STD		{ ssize_t|linux_sys||flistxattr(int fd, char *list, \
d414 3
a416 3
232	STD		{ int|linux_sys||removexattr(char *path, char *name); }
233	STD		{ int|linux_sys||lremovexattr(char *path, char *name); }
234	STD		{ int|linux_sys||fremovexattr(int fd, char *name); }
d441 1
a441 1
259	STD		{ int|linux_sys||clock_settime(clockid_t which, \
d443 1
a443 1
260	STD		{ int|linux_sys||clock_gettime(clockid_t which, \
d445 1
a445 1
261	STD		{ int|linux_sys||clock_getres(clockid_t which, \
d447 1
a447 1
262	STD		{ int|linux_sys||clock_nanosleep(clockid_t which, \
@


1.62.2.1
log
@Update haad-dm branch to haad-dm-base2.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.63 2008/11/12 18:07:40 njoly Exp $
d294 2
a295 3
162	STD		{ int linux_sys_nanosleep( \
			    const struct linux_timespec *rqtp, \
			    struct linux_timespec *rmtp); }
@


1.62.6.1
log
@Pull up following revision(s) (requested by njoly in ticket #81):
	sys/compat/linux/arch/mips/syscalls.master: revision 1.30
	sys/compat/linux/arch/m68k/syscalls.master: revision 1.63
	sys/compat/linux32/arch/amd64/syscalls.master: revision 1.39
	sys/compat/linux/arch/alpha/syscalls.master: revision 1.63
	sys/compat/linux/arch/powerpc/syscalls.master: revision 1.38
	sys/compat/linux32/common/linux32_time.c: revision 1.22
	sys/compat/linux/arch/amd64/syscalls.master: revision 1.25
	sys/compat/linux/arch/i386/syscalls.master: revision 1.94
	sys/compat/linux/arch/arm/syscalls.master: revision 1.36
	sys/compat/linux/common/linux_time.c: revision 1.26
Fix nanosleep(2) on 64-bit archs. Do not call native nanosleep
syscall, but rather a modified version the will take care of `struct
timespec' conversions.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.62 2008/06/18 12:21:20 tsutsui Exp $
d294 2
a295 3
162	STD		{ int linux_sys_nanosleep( \
			    const struct linux_timespec *rqtp, \
			    struct linux_timespec *rmtp); }
@


1.61
log
@-SYCALL_MPSAFE
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.60 2008/04/04 12:38:53 njoly Exp $
d46 1
@


1.61.2.1
log
@sync with head.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.61 2008/04/23 14:07:50 ad Exp $
a45 1
#include <sys/sched.h>
d58 6
a63 6
0	NOARGS		{ int|linux_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, char *buf, u_int nbyte); }
5	STD		{ int|linux_sys||open(const char *path, int flags, \
d65 2
a66 2
6	NOARGS		{ int|sys||close(int fd); }
7	STD		{ int|linux_sys||waitpid(int pid, int *status, \
d68 4
a71 4
8	STD		{ int|linux_sys||creat(const char *path, int mode); }
9	NOARGS		{ int|sys||link(const char *path, const char *link); }
10	STD		{ int|linux_sys||unlink(const char *path); }
11	NOARGS		{ int|sys||execve(const char *path, char **argp, \
d73 3
a75 3
12	NOARGS		{ int|sys||chdir(const char *path); }
13	STD		{ int|linux_sys||time(linux_time_t *t); }
14	STD		{ int|linux_sys||mknod(const char *path, int mode, \
d77 1
a77 1
15	NOARGS		{ int|sys||chmod(const char *path, int mode); }
d79 1
a79 1
16	STD		{ int|linux_sys||chown16(const char *path, \
d84 1
a84 1
19	NOARGS		{ long|compat_43_sys||lseek(int fd, long offset, \
d89 1
a89 1
20	NOARGS 		{ pid_t|sys||getpid(void); }
d92 4
a95 4
23	NOARGS		linux_setuid16 { int|sys||setuid(uid_t uid); }
24	NOARGS		linux_getuid16 { uid_t|sys||getuid(void); }
25	STD		{ int|linux_sys||stime(linux_time_t *t); }
26	STD		{ int|linux_sys||ptrace(int request, int pid, \
d97 1
a97 1
27	STD		{ int|linux_sys||alarm(unsigned int secs); }
d99 2
a100 2
29	STD		{ int|linux_sys||pause(void); }
30	STD		{ int|linux_sys||utime(const char *path, \
d104 2
a105 2
33	NOARGS		{ int|sys||access(const char *path, int flags); }
34	STD		{ int|linux_sys||nice(int incr); }
d107 3
a109 3
36	NOARGS		{ int|sys||sync(void); }
37	STD		{ int|linux_sys||kill(int pid, int signum); }
38	NOARGS		{ int|sys||__posix_rename(const char *from, \
d111 5
a115 5
39	NOARGS		{ int|sys||mkdir(const char *path, int mode); }
40	NOARGS		{ int|sys||rmdir(const char *path); }
41	NOARGS		{ int|sys||dup(u_int fd); }
42	STD		{ int|linux_sys||pipe(int *pfds); }
43	STD		{ int|linux_sys||times(struct times *tms); }
d117 4
a120 4
45	STD		{ int|linux_sys||brk(char *nsize); }
46	NOARGS		linux_setgid16 { int|sys||setgid(gid_t gid); }
47	NOARGS		linux_getgid16 { gid_t|sys||getgid(void); }
48	STD		{ int|linux_sys||signal(int signum, \
d122 3
a124 3
49	NOARGS		linux_geteuid16 { uid_t|sys||geteuid(void); }
50	NOARGS		linux_getegid16 { gid_t|sys||getegid(void); }
51	NOARGS		{ int|sys||acct(char *path); }
d127 1
a127 1
54	STD		{ int|linux_sys||ioctl(int fd, u_long com, \
d129 1
a129 1
55	STD		{ int|linux_sys||fcntl(int fd, int cmd, void *arg); }
d131 1
a131 1
57	NOARGS		{ int|sys||setpgid(int pid, int pgid); }
d134 2
a135 2
60	NOARGS		{ int|sys||umask(int newmask); }
61	NOARGS		{ int|sys||chroot(char *path); }
d137 5
a141 5
63	NOARGS		{ int|sys||dup2(u_int from, u_int to); }
64	NOARGS		{ pid_t|sys||getppid(void); }
65	NOARGS		{ int|sys||getpgrp(void); }
66	NOARGS		{ int|sys||setsid(void); }
67	STD		{ int|linux_sys||sigaction(int signum, \
d144 3
a146 3
68	STD		{ int|linux_sys||siggetmask(void); }
69	STD		{ int|linux_sys||sigsetmask(linux_old_sigset_t mask); }
70	STD		{ int|linux_sys||setreuid16(linux_uid16_t ruid, \
d148 1
a148 1
71	STD		{ int|linux_sys||setregid16(linux_gid16_t rgid, \
d150 1
a150 1
72	STD		{ int|linux_sys||sigsuspend(void *restart, \
d152 1
a152 1
73	STD		{ int|linux_sys||sigpending(linux_old_sigset_t *set); }
d154 1
a154 1
74	NOARGS		{ int|compat_43_sys||sethostname(char *hostname, \
d159 1
a159 1
75	STD		{ int|linux_sys||setrlimit(u_int which, \
d161 1
a161 1
76	STD		{ int|linux_sys||getrlimit(u_int which, \
d163 2
a164 3
77	NOARGS		{ int|compat_50_sys||getrusage(int who, \
			    struct rusage50 *rusage); }
78	STD		{ int|linux_sys||gettimeofday(struct timeval50 *tp, \
d166 1
a166 1
79	STD		{ int|linux_sys||settimeofday(struct timeval50 *tp, \
d168 1
a168 1
80	STD		{ int|linux_sys||getgroups16(int gidsetsize, \
d170 1
a170 1
81	STD		{ int|linux_sys||setgroups16(int gidsetsize, \
d172 2
a173 2
82	STD		{ int|linux_sys||oldselect(struct linux_oldselect *lsp); }
83	NOARGS		{ int|sys||symlink(const char *path, const char *to); }
d175 1
a175 1
84	NOARGS		{ int|compat_43_sys||lstat(const char *path, \
d180 1
a180 1
85	NOARGS		{ int|sys||readlink(const char *name, char *buf, \
d183 1
a183 1
86	STD		{ int|linux_sys||uselib(const char *path); }
d187 2
a188 2
87	STD		{ int|linux_sys||swapon(char *name); }
88	STD		{ int|linux_sys||reboot(int magic1, int magic2, \
d190 1
a190 1
89	STD		{ int|linux_sys||readdir(int fd, void *dent, \
d192 3
a194 3
90	STD		{ int|linux_sys||old_mmap(struct linux_oldmmap *lmp); }
91	NOARGS		{ int|sys||munmap(void *addr, int len); }
92	NOARGS		{ int|compat_43_sys||truncate(const char *path, \
d197 1
a197 1
93	NOARGS		{ int|compat_43_sys||ftruncate(int fd, long length); }
d201 2
a202 2
94	NOARGS		{ int|sys||fchmod(int fd, int mode); }
95	STD		{ int|linux_sys||fchown16(int fd, linux_uid16_t uid, \
d204 3
a206 3
96	STD		{ int|linux_sys||getpriority(int which, int who); }
97	NOARGS		{ int|sys||setpriority(int which, int who, int prio); }
98	NOARGS		{ int|sys||profil(void *samples, u_int size, \
d208 1
a208 1
99	STD		{ int|linux_sys||statfs(const char *path, \
d210 1
a210 1
100	STD		{ int|linux_sys||fstatfs(int fd, \
d213 1
a213 1
102	STD		{ int|linux_sys||socketcall(int what, void *args); }
d215 5
a219 6
104	NOARGS		{ int|compat_50_sys||setitimer(u_int which, \
			    struct itimerval50 *itv, \
			    struct itimerval50 *oitv); }
105	NOARGS		{ int|compat_50_sys||getitimer(u_int which, \
			    struct itimerval50 *itv); }
106	STD		{ int|linux_sys||stat(const char *path, \
d221 1
a221 1
107	STD		{ int|linux_sys||lstat(const char *path, \
d223 1
a223 1
108	STD		{ int|linux_sys||fstat(int fd, struct linux_stat *sp); }
d229 5
a233 5
114	STD		{ int|linux_sys||wait4(int pid, int *status, \
			    int options, struct rusage50 *rusage); }
115	STD		{ int|linux_sys||swapoff(const char *path); }
116	STD		{ int|linux_sys||sysinfo(struct linux_sysinfo *arg); }
117	STD		{ int|linux_sys||ipc(int what, int a1, int a2, int a3, \
d235 4
a238 4
118	NOARGS		{ int|sys||fsync(int fd); }
119	STD		{ int|linux_sys||sigreturn(void); }
120	STD		{ int|linux_sys||clone(int flags, void *stack); }
121	STD		{ int|linux_sys||setdomainname(char *domainname, \
d240 2
a241 2
122	STD		{ int|linux_sys||uname(struct linux_utsname *up); }
123	STD		{ int|linux_sys||cacheflush(unsigned long addr, \
d244 1
a244 1
125	STD		{ int|linux_sys||mprotect(const void *start, \
d246 1
a246 1
126	STD		{ int|linux_sys||sigprocmask(int how, \
d254 2
a255 2
132	NOARGS		{ pid_t|sys||getpgid(pid_t pid); }
133	NOARGS		{ int|sys||fchdir(int fd); }
d258 1
a258 1
136	STD		{ int|linux_sys||personality(int per); }
d260 3
a262 3
138	NOARGS		linux_setfsuid16 { int|linux_sys||setfsuid(uid_t uid); }
139	NOARGS		linux_setfsgid16 { int|linux_sys||setfsgid(gid_t gid); }
140	STD		{ int|linux_sys||llseek(int fd, u_int32_t ohigh, \
d264 1
a264 1
141	STD		{ int|linux_sys||getdents(int fd, \
d266 1
a266 1
142	STD		{ int|linux_sys||select(int nfds, fd_set *readfds, \
d268 4
a271 4
			    struct timeval50 *timeout); }
143	NOARGS		{ int|sys||flock(int fd, int how); }
144	NOARGS		{ int|sys|13|msync(void *addr, size_t len, int flags); }
145	NOARGS		{ int|sys||readv(int fd, struct iovec *iovp, \
d273 1
a273 1
146	NOARGS		{ int|sys||writev(int fd, struct iovec *iovp, \
d275 8
a282 8
147	NOARGS		{ pid_t|sys||getsid(pid_t pid); }
148	STD		{ int|linux_sys||fdatasync(int fd); }
149	STD		{ int|linux_sys||__sysctl(struct linux___sysctl *lsp); }
150	NOARGS		{ int|sys||mlock(void *addr, size_t len); }
151	NOARGS		{ int|sys||munlock(void *addr, size_t len); }
152	NOARGS		{ int|sys||mlockall(int flags); }
153	NOARGS		{ int|sys||munlockall(void); }
154	STD		{ int|linux_sys||sched_setparam(pid_t pid, \
d284 1
a284 1
155	STD		{ int|linux_sys||sched_getparam(pid_t pid, \
d286 1
a286 1
156	STD		{ int|linux_sys||sched_setscheduler(pid_t pid, \
d288 4
a291 4
157	STD		{ int|linux_sys||sched_getscheduler(pid_t pid); }
158	STD		{ int|linux_sys||sched_yield(void); }
159	STD		{ int|linux_sys||sched_get_priority_max(int policy); }
160	STD		{ int|linux_sys||sched_get_priority_min(int policy); }
d293 3
a295 4
162	STD		{ int|linux_sys||nanosleep( \
			    const struct linux_timespec *rqtp, \
			    struct linux_timespec *rmtp); }
163	STD		{ void *|linux_sys||mremap(void *old_address, \
d297 1
a297 1
164	STD		{ int|linux_sys||setresuid16(linux_uid16_t ruid, \
d299 1
a299 1
165	STD		{ int|linux_sys||getresuid16(linux_uid16_t *ruid, \
d303 1
a303 1
168	NOARGS		{ int|sys||poll(struct pollfd *fds, u_int nfds, \
d306 1
a306 1
170	STD		{ int|linux_sys||setresgid16(linux_gid16_t rgid, \
d308 1
a308 1
171	STD		{ int|linux_sys||getresgid16(linux_gid16_t *rgid, \
d311 2
a312 2
173	STD		{ int|linux_sys||rt_sigreturn(void); }
174	STD		{ int|linux_sys||rt_sigaction(int signum, \
d316 1
a316 1
175	STD		{ int|linux_sys||rt_sigprocmask(int how, \
d320 1
a320 1
176	STD		{ int|linux_sys||rt_sigpending( \
d325 1
a325 1
178	STD		{ int|linux_sys||rt_queueinfo(int pid, int signum, \
d327 1
a327 1
179	STD		{ int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \
d329 1
a329 1
180	STD		{ int|linux_sys||pread(int fd, char *buf, \
d331 1
a331 1
181	STD		{ int|linux_sys||pwrite(int fd, char *buf, \
d334 1
a334 1
182	STD		{ int|linux_sys||lchown16(const char *path, \
d336 1
a336 1
183	NOARGS		{ int|sys||__getcwd(char *bufp, size_t length); }
d339 1
a339 1
186	STD		{ int|linux_sys||sigaltstack( \
d345 2
a346 2
190	NOARGS		{ int|sys|14|vfork(void); }
191	STD		{ int|linux_sys||ugetrlimit(int which, \
d349 1
a349 1
192	NOARGS		{ linux_off_t|linux_sys||mmap2(unsigned long addr, \
d352 1
a352 1
193	STD		{ int|linux_sys||truncate64(const char *path, \
d354 1
a354 1
194	STD		{ int|linux_sys||ftruncate64(unsigned int fd, \
d356 1
a356 1
195	STD		{ int|linux_sys||stat64(const char *path, \
d358 1
a358 1
196	STD		{ int|linux_sys||lstat64(const char *path, \
d360 1
a360 1
197	STD		{ int|linux_sys||fstat64(int fd, \
d362 1
a362 1
198	NOARGS		 { int|sys||__posix_chown(const char *path, uid_t uid, \
d364 9
a372 9
199	NOARGS		{ uid_t|sys||getuid(void); }
200	NOARGS		{ gid_t|sys||getgid(void); }
201	NOARGS		{ uid_t|sys||geteuid(void); }
202	NOARGS		{ gid_t|sys||getegid(void); }
203	NOARGS		{ int|sys||setreuid(uid_t ruid, uid_t euid); }
204	NOARGS		{ int|sys||setregid(gid_t rgid, gid_t egid); }
205	NOARGS		{ int|sys||getgroups(u_int gidsetsize, gid_t *gidset); }
206	NOARGS		{ int|sys||setgroups(u_int gidsetsize, gid_t *gidset); }
207	NOARGS		{ int|sys||__posix_fchown(int fd, uid_t uid, \
d374 1
a374 1
208	STD		{ int|linux_sys||setresuid(uid_t ruid, uid_t euid, \
d376 1
a376 1
209	STD		{ int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \
d378 1
a378 1
210	STD		{ int|linux_sys||setresgid(gid_t rgid, gid_t egid, \
d380 1
a380 1
211	STD		{ int|linux_sys||getresgid(gid_t *rgid, gid_t *egid, \
d382 1
a382 1
212	NOARGS		{ int|sys||__posix_lchown(const char *path, uid_t uid, \
d384 4
a387 4
213	NOARGS		{ int|sys||setuid(uid_t uid); }
214	NOARGS		{ int|sys||setgid(gid_t gid); }
215	STD		{ int|linux_sys||setfsuid(uid_t uid); }
216	STD		{ int|linux_sys||setfsgid(gid_t gid); }
d391 1
a391 1
220	STD		{ int|linux_sys||getdents64(int fd, \
d395 1
a395 1
223	STD		{ int|linux_sys||setxattr(char *path, char *name, \
d397 1
a397 1
224	STD		{ int|linux_sys||lsetxattr(char *path, char *name, \
d399 1
a399 1
225	STD		{ int|linux_sys||fsetxattr(int fd, char *name, \
d401 1
a401 1
226	STD		{ ssize_t|linux_sys||getxattr(char *path, char *name, \
d403 1
a403 1
227	STD		{ ssize_t|linux_sys||lgetxattr(char *path, char *name, \
d405 1
a405 1
228	STD		{ ssize_t|linux_sys||fgetxattr(int fd, char *name, \
d407 1
a407 1
229	STD		{ ssize_t|linux_sys||listxattr(char *path, char *list, \
d409 1
a409 1
230	STD		{ ssize_t|linux_sys||llistxattr(char *path, char *list, \
d411 1
a411 1
231	STD		{ ssize_t|linux_sys||flistxattr(int fd, char *list, \
d413 3
a415 3
232	STD		{ int|linux_sys||removexattr(char *path, char *name); }
233	STD		{ int|linux_sys||lremovexattr(char *path, char *name); }
234	STD		{ int|linux_sys||fremovexattr(int fd, char *name); }
d440 1
a440 1
259	STD		{ int|linux_sys||clock_settime(clockid_t which, \
d442 1
a442 1
260	STD		{ int|linux_sys||clock_gettime(clockid_t which, \
d444 1
a444 1
261	STD		{ int|linux_sys||clock_getres(clockid_t which, \
d446 1
a446 1
262	STD		{ int|linux_sys||clock_nanosleep(clockid_t which, \
@


1.61.2.2
log
@sync with head
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.61.2.1 2009/05/04 08:12:21 yamt Exp $
d328 1
d330 1
a330 1
			    linux_siginfo_t *uinfo); }
@


1.61.2.3
log
@sync with head
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.61.2.2 2009/06/20 07:20:16 yamt Exp $
d261 1
a261 1
136	STD		{ int|linux_sys||personality(unsigned long per); }
@


1.61.2.4
log
@sync with head.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.61.2.3 2010/03/11 15:03:15 yamt Exp $
d60 1
a60 1
1	STD		{ int|linux_sys||exit(int rval); }
d240 1
a240 2
120	STD		{ int|linux_sys||clone(int flags, void *stack, \
			    void *parent_tidptr, void *tls, void *child_tidptr); }
d396 2
a397 2
221	NOARGS		{ pid_t|linux_sys||gettid(void); }
222	STD		{ int|linux_sys||tkill(int tid, int sig); }
d419 1
a419 3
235	STD		{ int|linux_sys||futex(int *uaddr, int op, int val, \
			    const struct linux_timespec *timeout, int *uaddr2, \
			    int val3); }
d437 1
a437 1
253	STD		{ int|linux_sys||set_tid_address(int *tid); }
d442 1
a442 1
258	UNIMPL		timer_ delete
a451 81
263	STD		{ int|linux_sys||statfs64(const char *path, \
			    size_t sz, struct linux_statfs64 *sp); }
264	STD		{ int|linux_sys||fstatfs64(int fd, \
			    size_t sz, struct linux_statfs64 *sp); }
265	STD		{ int|linux_sys||tgkill(int tgid, int tid, int sig); }
266	UNIMPL		utimes
267	UNIMPL		fadvise64_64
268	UNIMPL		mbind
269	UNIMPL		get_mempolicy
270	UNIMPL		set_mempolicy
271	UNIMPL		mq_open
272	UNIMPL		mq_unlink
273	UNIMPL		mq_timedsend
274	UNIMPL		mq_timedreceive
275	UNIMPL		mq_notify
276	UNIMPL		mq_getsetattr
277	UNIMPL		waitid
278	UNIMPL		vserver
279	UNIMPL		add_key
280	UNIMPL		request_key
281	UNIMPL		keyctl
282	UNIMPL		ioprio_set
283	UNIMPL		ioprio_get
284	UNIMPL		inotify_init
285	UNIMPL		inotify_add_watch
286	UNIMPL		inotify_rm_watch
287	UNIMPL		migrate_pages
288	UNIMPL		openat
289	UNIMPL		mkdirat
290	UNIMPL		mknodat
291	UNIMPL		fchownat
292	UNIMPL		futimesat
293	UNIMPL		fstatat64
294	UNIMPL		unlinkat
295	UNIMPL		renameat
296	UNIMPL		linkat
297	UNIMPL		symlinkat
298	UNIMPL		readlinkat
299	UNIMPL		fchmodat
300	UNIMPL		faccessat
301	UNIMPL		pselect6
302	UNIMPL		ppoll
303	UNIMPL		unshare
304	STD		{ int|linux_sys||set_robust_list( \
			    struct linux_robust_list_head *head, size_t len); }
305	STD		{ int|linux_sys||get_robust_list(int pid, \
			    struct linux_robust_list_head **head, \
			    size_t *len); }
306	UNIMPL		splice
307	UNIMPL		sync_file_range
308	UNIMPL		tee
309	UNIMPL		vmsplice
310	UNIMPL		move_pages
311	STD		{ int|linux_sys||sched_setaffinity(pid_t pid, \
			    unsigned int len, unsigned long *mask); }
312	STD		{ int|linux_sys||sched_getaffinity(pid_t pid, \
			    unsigned int len, unsigned long *mask); }
313	UNIMPL		kexec_load
314	UNIMPL		getcpu
315	UNIMPL		epoll_wait
316	UNIMPL		utimensat
317	UNIMPL		signalfd
318	UNIMPL		timerfd_create
319	UNIMPL		eventfd
320	UNIMPL		fallocate
321	UNIMPL		timerfd_settime
322	UNIMPL		timerfd_gettime
323	UNIMPL		signalfd4
324	UNIMPL		eventfd2
325	UNIMPL		epoll_create1
326	UNIMPL		dup3
327	UNIMPL		pipe2
328	UNIMPL		inotify_init1
329	UNIMPL		preadv
330	UNIMPL		pwritev
331	UNIMPL		rt_tgsigqueueinfo
332	UNIMPL		perf_counter_open
333	UNIMPL		set_thread_area
334	UNIMPL		get_thread_area
335	UNIMPL		atomic_cmpxchg_32
336	UNIMPL		atomic_barrier
@


1.61.6.1
log
@Sync with head.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.62 2008/06/18 12:21:20 tsutsui Exp $
a45 1
#include <sys/sched.h>
@


1.61.4.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.61 2008/04/23 14:07:50 ad Exp $
a45 1
#include <sys/sa.h>
@


1.61.4.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.61.4.1 2008/05/10 23:48:53 wrstuden Exp $
d46 1
@


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


1.60
log
@Cleanup. Kill linux_sys_msync and use sys___msync13 instead.
No functional changes expected.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.59 2008/01/15 22:38:34 njoly Exp $
d89 1
a89 1
20	NOARGS MPSAFE	{ pid_t sys_getpid(void); }
@


1.60.2.1
log
@sync with head.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.60 2008/04/04 12:38:53 njoly Exp $
d89 1
a89 1
20	NOARGS 		{ pid_t sys_getpid(void); }
@


1.59
log
@compat linux (and linux32) uid16 functions cleanup and fixes.

- Move uid16 functions to their own file linux_uid16.c, included by
  needed archs (arm, i386 and m68k).
- Add new MI types linux_{u,g}id16_t.
- Add macros to handle linux_uid16_t and uid_t conversions.
- Add linux_sys_getres{uid,gid}16 syscalls, to fix an overflow with
  bad sizes given to copyout when linux_sys_getres{uid,gid} are used.
- Update arm syscall table to use more uid16 functions.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.58 2007/12/24 14:17:18 njoly Exp $
d270 1
a270 1
144	STD		{ int linux_sys_msync(void *addr, int len, int fl); }
@


1.59.6.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
	$NetBSD$
d89 1
a89 1
20	NOARGS 		{ pid_t sys_getpid(void); }
d270 1
a270 1
144	NOARGS		{ int sys___msync13(void *addr, size_t len, int flags); }
@


1.59.6.2
log
@Sync with HEAD.
@
text
@a45 1
#include <sys/sched.h>
@


1.59.6.3
log
@Sync with HEAD.
@
text
@d59 6
a64 6
0	NOARGS		{ int|linux_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, char *buf, u_int nbyte); }
5	STD		{ int|linux_sys||open(const char *path, int flags, \
d66 2
a67 2
6	NOARGS		{ int|sys||close(int fd); }
7	STD		{ int|linux_sys||waitpid(int pid, int *status, \
d69 4
a72 4
8	STD		{ int|linux_sys||creat(const char *path, int mode); }
9	NOARGS		{ int|sys||link(const char *path, const char *link); }
10	STD		{ int|linux_sys||unlink(const char *path); }
11	NOARGS		{ int|sys||execve(const char *path, char **argp, \
d74 3
a76 3
12	NOARGS		{ int|sys||chdir(const char *path); }
13	STD		{ int|linux_sys||time(linux_time_t *t); }
14	STD		{ int|linux_sys||mknod(const char *path, int mode, \
d78 1
a78 1
15	NOARGS		{ int|sys||chmod(const char *path, int mode); }
d80 1
a80 1
16	STD		{ int|linux_sys||chown16(const char *path, \
d85 1
a85 1
19	NOARGS		{ long|compat_43_sys||lseek(int fd, long offset, \
d90 1
a90 1
20	NOARGS 		{ pid_t|sys||getpid(void); }
d93 4
a96 4
23	NOARGS		linux_setuid16 { int|sys||setuid(uid_t uid); }
24	NOARGS		linux_getuid16 { uid_t|sys||getuid(void); }
25	STD		{ int|linux_sys||stime(linux_time_t *t); }
26	STD		{ int|linux_sys||ptrace(int request, int pid, \
d98 1
a98 1
27	STD		{ int|linux_sys||alarm(unsigned int secs); }
d100 2
a101 2
29	STD		{ int|linux_sys||pause(void); }
30	STD		{ int|linux_sys||utime(const char *path, \
d105 2
a106 2
33	NOARGS		{ int|sys||access(const char *path, int flags); }
34	STD		{ int|linux_sys||nice(int incr); }
d108 3
a110 3
36	NOARGS		{ int|sys||sync(void); }
37	STD		{ int|linux_sys||kill(int pid, int signum); }
38	NOARGS		{ int|sys||__posix_rename(const char *from, \
d112 5
a116 5
39	NOARGS		{ int|sys||mkdir(const char *path, int mode); }
40	NOARGS		{ int|sys||rmdir(const char *path); }
41	NOARGS		{ int|sys||dup(u_int fd); }
42	STD		{ int|linux_sys||pipe(int *pfds); }
43	STD		{ int|linux_sys||times(struct times *tms); }
d118 4
a121 4
45	STD		{ int|linux_sys||brk(char *nsize); }
46	NOARGS		linux_setgid16 { int|sys||setgid(gid_t gid); }
47	NOARGS		linux_getgid16 { gid_t|sys||getgid(void); }
48	STD		{ int|linux_sys||signal(int signum, \
d123 3
a125 3
49	NOARGS		linux_geteuid16 { uid_t|sys||geteuid(void); }
50	NOARGS		linux_getegid16 { gid_t|sys||getegid(void); }
51	NOARGS		{ int|sys||acct(char *path); }
d128 1
a128 1
54	STD		{ int|linux_sys||ioctl(int fd, u_long com, \
d130 1
a130 1
55	STD		{ int|linux_sys||fcntl(int fd, int cmd, void *arg); }
d132 1
a132 1
57	NOARGS		{ int|sys||setpgid(int pid, int pgid); }
d135 2
a136 2
60	NOARGS		{ int|sys||umask(int newmask); }
61	NOARGS		{ int|sys||chroot(char *path); }
d138 5
a142 5
63	NOARGS		{ int|sys||dup2(u_int from, u_int to); }
64	NOARGS		{ pid_t|sys||getppid(void); }
65	NOARGS		{ int|sys||getpgrp(void); }
66	NOARGS		{ int|sys||setsid(void); }
67	STD		{ int|linux_sys||sigaction(int signum, \
d145 3
a147 3
68	STD		{ int|linux_sys||siggetmask(void); }
69	STD		{ int|linux_sys||sigsetmask(linux_old_sigset_t mask); }
70	STD		{ int|linux_sys||setreuid16(linux_uid16_t ruid, \
d149 1
a149 1
71	STD		{ int|linux_sys||setregid16(linux_gid16_t rgid, \
d151 1
a151 1
72	STD		{ int|linux_sys||sigsuspend(void *restart, \
d153 1
a153 1
73	STD		{ int|linux_sys||sigpending(linux_old_sigset_t *set); }
d155 1
a155 1
74	NOARGS		{ int|compat_43_sys||sethostname(char *hostname, \
d160 1
a160 1
75	STD		{ int|linux_sys||setrlimit(u_int which, \
d162 1
a162 1
76	STD		{ int|linux_sys||getrlimit(u_int which, \
d164 2
a165 3
77	NOARGS		{ int|compat_50_sys||getrusage(int who, \
			    struct rusage50 *rusage); }
78	STD		{ int|linux_sys||gettimeofday(struct timeval50 *tp, \
d167 1
a167 1
79	STD		{ int|linux_sys||settimeofday(struct timeval50 *tp, \
d169 1
a169 1
80	STD		{ int|linux_sys||getgroups16(int gidsetsize, \
d171 1
a171 1
81	STD		{ int|linux_sys||setgroups16(int gidsetsize, \
d173 2
a174 2
82	STD		{ int|linux_sys||oldselect(struct linux_oldselect *lsp); }
83	NOARGS		{ int|sys||symlink(const char *path, const char *to); }
d176 1
a176 1
84	NOARGS		{ int|compat_43_sys||lstat(const char *path, \
d181 1
a181 1
85	NOARGS		{ int|sys||readlink(const char *name, char *buf, \
d184 1
a184 1
86	STD		{ int|linux_sys||uselib(const char *path); }
d188 2
a189 2
87	STD		{ int|linux_sys||swapon(char *name); }
88	STD		{ int|linux_sys||reboot(int magic1, int magic2, \
d191 1
a191 1
89	STD		{ int|linux_sys||readdir(int fd, void *dent, \
d193 3
a195 3
90	STD		{ int|linux_sys||old_mmap(struct linux_oldmmap *lmp); }
91	NOARGS		{ int|sys||munmap(void *addr, int len); }
92	NOARGS		{ int|compat_43_sys||truncate(const char *path, \
d198 1
a198 1
93	NOARGS		{ int|compat_43_sys||ftruncate(int fd, long length); }
d202 2
a203 2
94	NOARGS		{ int|sys||fchmod(int fd, int mode); }
95	STD		{ int|linux_sys||fchown16(int fd, linux_uid16_t uid, \
d205 3
a207 3
96	STD		{ int|linux_sys||getpriority(int which, int who); }
97	NOARGS		{ int|sys||setpriority(int which, int who, int prio); }
98	NOARGS		{ int|sys||profil(void *samples, u_int size, \
d209 1
a209 1
99	STD		{ int|linux_sys||statfs(const char *path, \
d211 1
a211 1
100	STD		{ int|linux_sys||fstatfs(int fd, \
d214 1
a214 1
102	STD		{ int|linux_sys||socketcall(int what, void *args); }
d216 5
a220 6
104	NOARGS		{ int|compat_50_sys||setitimer(u_int which, \
			    struct itimerval50 *itv, \
			    struct itimerval50 *oitv); }
105	NOARGS		{ int|compat_50_sys||getitimer(u_int which, \
			    struct itimerval50 *itv); }
106	STD		{ int|linux_sys||stat(const char *path, \
d222 1
a222 1
107	STD		{ int|linux_sys||lstat(const char *path, \
d224 1
a224 1
108	STD		{ int|linux_sys||fstat(int fd, struct linux_stat *sp); }
d230 1
a230 1
114	STD		{ int|linux_sys||wait4(int pid, int *status, \
d232 3
a234 3
115	STD		{ int|linux_sys||swapoff(const char *path); }
116	STD		{ int|linux_sys||sysinfo(struct linux_sysinfo *arg); }
117	STD		{ int|linux_sys||ipc(int what, int a1, int a2, int a3, \
d236 4
a239 4
118	NOARGS		{ int|sys||fsync(int fd); }
119	STD		{ int|linux_sys||sigreturn(void); }
120	STD		{ int|linux_sys||clone(int flags, void *stack); }
121	STD		{ int|linux_sys||setdomainname(char *domainname, \
d241 2
a242 2
122	STD		{ int|linux_sys||uname(struct linux_utsname *up); }
123	STD		{ int|linux_sys||cacheflush(unsigned long addr, \
d245 1
a245 1
125	STD		{ int|linux_sys||mprotect(const void *start, \
d247 1
a247 1
126	STD		{ int|linux_sys||sigprocmask(int how, \
d255 2
a256 2
132	NOARGS		{ pid_t|sys||getpgid(pid_t pid); }
133	NOARGS		{ int|sys||fchdir(int fd); }
d259 1
a259 1
136	STD		{ int|linux_sys||personality(int per); }
d261 3
a263 3
138	NOARGS		linux_setfsuid16 { int|linux_sys||setfsuid(uid_t uid); }
139	NOARGS		linux_setfsgid16 { int|linux_sys||setfsgid(gid_t gid); }
140	STD		{ int|linux_sys||llseek(int fd, u_int32_t ohigh, \
d265 1
a265 1
141	STD		{ int|linux_sys||getdents(int fd, \
d267 1
a267 1
142	STD		{ int|linux_sys||select(int nfds, fd_set *readfds, \
d269 4
a272 4
			    struct timeval50 *timeout); }
143	NOARGS		{ int|sys||flock(int fd, int how); }
144	NOARGS		{ int|sys|13|msync(void *addr, size_t len, int flags); }
145	NOARGS		{ int|sys||readv(int fd, struct iovec *iovp, \
d274 1
a274 1
146	NOARGS		{ int|sys||writev(int fd, struct iovec *iovp, \
d276 8
a283 8
147	NOARGS		{ pid_t|sys||getsid(pid_t pid); }
148	STD		{ int|linux_sys||fdatasync(int fd); }
149	STD		{ int|linux_sys||__sysctl(struct linux___sysctl *lsp); }
150	NOARGS		{ int|sys||mlock(void *addr, size_t len); }
151	NOARGS		{ int|sys||munlock(void *addr, size_t len); }
152	NOARGS		{ int|sys||mlockall(int flags); }
153	NOARGS		{ int|sys||munlockall(void); }
154	STD		{ int|linux_sys||sched_setparam(pid_t pid, \
d285 1
a285 1
155	STD		{ int|linux_sys||sched_getparam(pid_t pid, \
d287 1
a287 1
156	STD		{ int|linux_sys||sched_setscheduler(pid_t pid, \
d289 4
a292 4
157	STD		{ int|linux_sys||sched_getscheduler(pid_t pid); }
158	STD		{ int|linux_sys||sched_yield(void); }
159	STD		{ int|linux_sys||sched_get_priority_max(int policy); }
160	STD		{ int|linux_sys||sched_get_priority_min(int policy); }
d294 3
a296 4
162	STD		{ int|linux_sys||nanosleep( \
			    const struct linux_timespec *rqtp, \
			    struct linux_timespec *rmtp); }
163	STD		{ void *|linux_sys||mremap(void *old_address, \
d298 1
a298 1
164	STD		{ int|linux_sys||setresuid16(linux_uid16_t ruid, \
d300 1
a300 1
165	STD		{ int|linux_sys||getresuid16(linux_uid16_t *ruid, \
d304 1
a304 1
168	NOARGS		{ int|sys||poll(struct pollfd *fds, u_int nfds, \
d307 1
a307 1
170	STD		{ int|linux_sys||setresgid16(linux_gid16_t rgid, \
d309 1
a309 1
171	STD		{ int|linux_sys||getresgid16(linux_gid16_t *rgid, \
d312 2
a313 2
173	STD		{ int|linux_sys||rt_sigreturn(void); }
174	STD		{ int|linux_sys||rt_sigaction(int signum, \
d317 1
a317 1
175	STD		{ int|linux_sys||rt_sigprocmask(int how, \
d321 1
a321 1
176	STD		{ int|linux_sys||rt_sigpending( \
d326 1
a326 1
178	STD		{ int|linux_sys||rt_queueinfo(int pid, int signum, \
d328 1
a328 1
179	STD		{ int|linux_sys||rt_sigsuspend(linux_sigset_t *unewset, \
d330 1
a330 1
180	STD		{ int|linux_sys||pread(int fd, char *buf, \
d332 1
a332 1
181	STD		{ int|linux_sys||pwrite(int fd, char *buf, \
d335 1
a335 1
182	STD		{ int|linux_sys||lchown16(const char *path, \
d337 1
a337 1
183	NOARGS		{ int|sys||__getcwd(char *bufp, size_t length); }
d340 1
a340 1
186	STD		{ int|linux_sys||sigaltstack( \
d346 2
a347 2
190	NOARGS		{ int|sys|14|vfork(void); }
191	STD		{ int|linux_sys||ugetrlimit(int which, \
d350 1
a350 1
192	NOARGS		{ linux_off_t|linux_sys||mmap2(unsigned long addr, \
d353 1
a353 1
193	STD		{ int|linux_sys||truncate64(const char *path, \
d355 1
a355 1
194	STD		{ int|linux_sys||ftruncate64(unsigned int fd, \
d357 1
a357 1
195	STD		{ int|linux_sys||stat64(const char *path, \
d359 1
a359 1
196	STD		{ int|linux_sys||lstat64(const char *path, \
d361 1
a361 1
197	STD		{ int|linux_sys||fstat64(int fd, \
d363 1
a363 1
198	NOARGS		 { int|sys||__posix_chown(const char *path, uid_t uid, \
d365 9
a373 9
199	NOARGS		{ uid_t|sys||getuid(void); }
200	NOARGS		{ gid_t|sys||getgid(void); }
201	NOARGS		{ uid_t|sys||geteuid(void); }
202	NOARGS		{ gid_t|sys||getegid(void); }
203	NOARGS		{ int|sys||setreuid(uid_t ruid, uid_t euid); }
204	NOARGS		{ int|sys||setregid(gid_t rgid, gid_t egid); }
205	NOARGS		{ int|sys||getgroups(u_int gidsetsize, gid_t *gidset); }
206	NOARGS		{ int|sys||setgroups(u_int gidsetsize, gid_t *gidset); }
207	NOARGS		{ int|sys||__posix_fchown(int fd, uid_t uid, \
d375 1
a375 1
208	STD		{ int|linux_sys||setresuid(uid_t ruid, uid_t euid, \
d377 1
a377 1
209	STD		{ int|linux_sys||getresuid(uid_t *ruid, uid_t *euid, \
d379 1
a379 1
210	STD		{ int|linux_sys||setresgid(gid_t rgid, gid_t egid, \
d381 1
a381 1
211	STD		{ int|linux_sys||getresgid(gid_t *rgid, gid_t *egid, \
d383 1
a383 1
212	NOARGS		{ int|sys||__posix_lchown(const char *path, uid_t uid, \
d385 4
a388 4
213	NOARGS		{ int|sys||setuid(uid_t uid); }
214	NOARGS		{ int|sys||setgid(gid_t gid); }
215	STD		{ int|linux_sys||setfsuid(uid_t uid); }
216	STD		{ int|linux_sys||setfsgid(gid_t gid); }
d392 1
a392 1
220	STD		{ int|linux_sys||getdents64(int fd, \
d396 1
a396 1
223	STD		{ int|linux_sys||setxattr(char *path, char *name, \
d398 1
a398 1
224	STD		{ int|linux_sys||lsetxattr(char *path, char *name, \
d400 1
a400 1
225	STD		{ int|linux_sys||fsetxattr(int fd, char *name, \
d402 1
a402 1
226	STD		{ ssize_t|linux_sys||getxattr(char *path, char *name, \
d404 1
a404 1
227	STD		{ ssize_t|linux_sys||lgetxattr(char *path, char *name, \
d406 1
a406 1
228	STD		{ ssize_t|linux_sys||fgetxattr(int fd, char *name, \
d408 1
a408 1
229	STD		{ ssize_t|linux_sys||listxattr(char *path, char *list, \
d410 1
a410 1
230	STD		{ ssize_t|linux_sys||llistxattr(char *path, char *list, \
d412 1
a412 1
231	STD		{ ssize_t|linux_sys||flistxattr(int fd, char *list, \
d414 3
a416 3
232	STD		{ int|linux_sys||removexattr(char *path, char *name); }
233	STD		{ int|linux_sys||lremovexattr(char *path, char *name); }
234	STD		{ int|linux_sys||fremovexattr(int fd, char *name); }
d441 1
a441 1
259	STD		{ int|linux_sys||clock_settime(clockid_t which, \
d443 1
a443 1
260	STD		{ int|linux_sys||clock_gettime(clockid_t which, \
d445 1
a445 1
261	STD		{ int|linux_sys||clock_getres(clockid_t which, \
d447 1
a447 1
262	STD		{ int|linux_sys||clock_nanosleep(clockid_t which, \
@


1.58
log
@Kill unneeded linux_sys_getpgid and use native sys_getpgid instead.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.57 2007/12/21 22:26:21 njoly Exp $
d80 1
a80 1
			    int uid, int gid); }
d146 4
a149 2
70	STD		{ int linux_sys_setreuid16(int ruid, int euid); }
71	STD		{ int linux_sys_setregid16(int rgid, int egid); }
d168 4
a171 2
80	STD		{ int linux_sys_getgroups16(u_int gidsetsize, linux_gid_t *gidset); }
81	STD		{ int linux_sys_setgroups16(u_int gidsetsize, linux_gid_t *gidset); }
d202 2
a203 1
95	STD		{ int linux_sys_fchown16(int fd, int uid, int gid); }
d297 4
a300 4
164	STD		{ int linux_sys_setresuid16(uid_t ruid, uid_t euid, \
			    uid_t suid); }
165	NOARGS		linux_getresuid16 { int linux_sys_getresuid( \
			    uid_t *ruid, uid_t *euid, uid_t *suid); }
d306 4
a309 4
170	STD		{ int linux_sys_setresgid16(gid_t rgid, gid_t egid, \
			    gid_t sgid); }
171	NOARGS		linux_getresgid16 { int linux_sys_getresgid( \
			    gid_t *rgid, gid_t *egid, gid_t *sgid); }
d334 2
a335 2
182	STD		{ int linux_sys_lchown16(const char *path, int uid, \
			    int gid); }
@


1.57
log
@- Fix setfsuid to return uid on success.
- Replace getfsuid, which never existed on Linux, by correct setfsgid
  syscall.

ok by christos and dsl.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.56 2007/12/20 23:02:53 dsl Exp $
d249 1
a249 1
132	STD		{ int linux_sys_getpgid(int pid); }
@


1.56
log
@Convert all the system call entry points from:
    int foo(struct lwp *l, void *v, register_t *retval)
to:
    int foo(struct lwp *l, const struct foo_args *uap, register_t *retval)
Fixup compat code to not write into 'uap' and (in some cases) to actually
pass a correctly formatted 'uap' structure with the right name to the
next routine.
A few 'compat' routines that just call standard ones have been deleted.
All the 'compat' code compiles (along with the kernels required to test
build it).
98% done by automated scripts.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.55 2007/11/16 12:51:55 njoly Exp $
d256 1
a256 1
139	NOARGS		linux_getfsuid16 { int linux_sys_getfsuid(void); }
d382 1
a382 1
216	NOARGS		{ int linux_sys_getfsuid(void); }
@


1.55
log
@Cleanup. Remove a few linux syscalls definitions, now identical to
native ones (with stackgap and ALT_CHECK_xxx removal). No functional
changes expected.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.54 2007/03/04 06:01:22 christos Exp $
d343 1
@


1.55.6.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
	$NetBSD$
d249 1
a249 1
132	NOARGS		{ pid_t sys_getpgid(pid_t pid); }
d256 1
a256 1
139	NOARGS		linux_setfsgid16 { int linux_sys_setfsgid(gid_t gid); }
a342 1
#define linux_sys_mmap2_args linux_sys_mmap_args
d381 1
a381 1
216	STD		{ int linux_sys_setfsgid(gid_t gid); }
@


1.55.6.2
log
@Sync with HEAD
@
text
@d80 1
a80 1
			    linux_uid16_t uid, linux_gid16_t gid); }
d146 2
a147 4
70	STD		{ int linux_sys_setreuid16(linux_uid16_t ruid, \
			    linux_uid16_t euid); }
71	STD		{ int linux_sys_setregid16(linux_gid16_t rgid, \
			    linux_gid16_t egid); }
d166 2
a167 4
80	STD		{ int linux_sys_getgroups16(int gidsetsize, \
			    linux_gid16_t *gidset); }
81	STD		{ int linux_sys_setgroups16(int gidsetsize, \
			    linux_gid16_t *gidset); }
d198 1
a198 2
95	STD		{ int linux_sys_fchown16(int fd, linux_uid16_t uid, \
			    linux_gid16_t gid); }
d292 4
a295 4
164	STD		{ int linux_sys_setresuid16(linux_uid16_t ruid, \
			    linux_uid16_t euid, linux_uid16_t suid); }
165	STD		{ int linux_sys_getresuid16(linux_uid16_t *ruid, \
			    linux_uid16_t *euid, linux_uid16_t *suid); }
d301 4
a304 4
170	STD		{ int linux_sys_setresgid16(linux_gid16_t rgid, \
			    linux_gid16_t egid, linux_gid16_t sgid); }
171	STD		{ int linux_sys_getresgid16(linux_gid16_t *rgid, \
			    linux_gid16_t *egid, linux_gid16_t *sgid); }
d329 2
a330 2
182	STD		{ int linux_sys_lchown16(const char *path, \
			    linux_uid16_t uid, linux_gid16_t gid); }
@


1.55.2.1
log
@Sync with head.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.58 2007/12/24 14:17:18 njoly Exp $
d249 1
a249 1
132	NOARGS		{ pid_t sys_getpgid(pid_t pid); }
d256 1
a256 1
139	NOARGS		linux_setfsgid16 { int linux_sys_setfsgid(gid_t gid); }
a342 1
#define linux_sys_mmap2_args linux_sys_mmap_args
d381 1
a381 1
216	STD		{ int linux_sys_setfsgid(gid_t gid); }
@


1.54
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.53 2007/02/09 21:55:19 ad Exp $
d69 1
a69 1
9	STD		{ int linux_sys_link(const char *path, const char *link); }
d71 1
a71 1
11	STD		{ int linux_sys_execve(const char *path, char **argp, \
d73 1
a73 1
12	STD		{ int linux_sys_chdir(const char *path); }
d77 1
a77 1
15	STD		{ int linux_sys_chmod(const char *path, int mode); }
d104 1
a104 1
33	STD		{ int linux_sys_access(const char *path, int flags); }
d109 1
a109 1
38	STD		{ int linux_sys_rename(const char *from, \
d111 2
a112 2
39	STD		{ int linux_sys_mkdir(const char *path, int mode); }
40	STD		{ int linux_sys_rmdir(const char *path); }
d169 1
a169 2
83	STD		{ int linux_sys_symlink(const char *path, \
			    const char *to); }
d176 1
a176 1
85	STD		{ int linux_sys_readlink(const char *name, char *buf, \
d190 1
a190 1
92	STD		{ int linux_sys_truncate(const char *path, \
d356 1
a356 1
198	STD		 { int linux_sys_chown(const char *path, uid_t uid, \
d376 1
a376 1
212	STD		{ int linux_sys_lchown(const char *path, uid_t uid, \
@


1.54.16.1
log
@sync with HEAD
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.54 2007/03/04 06:01:22 christos Exp $
d69 1
a69 1
9	NOARGS		{ int sys_link(const char *path, const char *link); }
d71 1
a71 1
11	NOARGS		{ int sys_execve(const char *path, char **argp, \
d73 1
a73 1
12	NOARGS		{ int sys_chdir(const char *path); }
d77 1
a77 1
15	NOARGS		{ int sys_chmod(const char *path, int mode); }
d104 1
a104 1
33	NOARGS		{ int sys_access(const char *path, int flags); }
d109 1
a109 1
38	NOARGS		{ int sys___posix_rename(const char *from, \
d111 2
a112 2
39	NOARGS		{ int sys_mkdir(const char *path, int mode); }
40	NOARGS		{ int sys_rmdir(const char *path); }
d169 2
a170 1
83	NOARGS		{ int sys_symlink(const char *path, const char *to); }
d177 1
a177 1
85	NOARGS		{ int sys_readlink(const char *name, char *buf, \
d191 1
a191 1
92	NOARGS		{ int compat_43_sys_truncate(const char *path, \
d250 1
a250 1
132	NOARGS		{ pid_t sys_getpgid(pid_t pid); }
d257 1
a257 1
139	NOARGS		linux_setfsgid16 { int linux_sys_setfsgid(gid_t gid); }
a343 1
#define linux_sys_mmap2_args linux_sys_mmap_args
d357 1
a357 1
198	NOARGS		 { int sys___posix_chown(const char *path, uid_t uid, \
d377 1
a377 1
212	NOARGS		{ int sys___posix_lchown(const char *path, uid_t uid, \
d382 1
a382 1
216	STD		{ int linux_sys_setfsgid(gid_t gid); }
@


1.54.16.2
log
@sync with HEAD
@
text
@d1 1
a1 1
	syscalls.master,v 1.54.16.1 2008/01/09 01:51:03 matt Exp
d80 1
a80 1
			    linux_uid16_t uid, linux_gid16_t gid); }
d146 2
a147 4
70	STD		{ int linux_sys_setreuid16(linux_uid16_t ruid, \
			    linux_uid16_t euid); }
71	STD		{ int linux_sys_setregid16(linux_gid16_t rgid, \
			    linux_gid16_t egid); }
d166 2
a167 4
80	STD		{ int linux_sys_getgroups16(int gidsetsize, \
			    linux_gid16_t *gidset); }
81	STD		{ int linux_sys_setgroups16(int gidsetsize, \
			    linux_gid16_t *gidset); }
d198 1
a198 2
95	STD		{ int linux_sys_fchown16(int fd, linux_uid16_t uid, \
			    linux_gid16_t gid); }
d292 4
a295 4
164	STD		{ int linux_sys_setresuid16(linux_uid16_t ruid, \
			    linux_uid16_t euid, linux_uid16_t suid); }
165	STD		{ int linux_sys_getresuid16(linux_uid16_t *ruid, \
			    linux_uid16_t *euid, linux_uid16_t *suid); }
d301 4
a304 4
170	STD		{ int linux_sys_setresgid16(linux_gid16_t rgid, \
			    linux_gid16_t egid, linux_gid16_t sgid); }
171	STD		{ int linux_sys_getresgid16(linux_gid16_t *rgid, \
			    linux_gid16_t *egid, linux_gid16_t *sgid); }
d329 2
a330 2
182	STD		{ int linux_sys_lchown16(const char *path, \
			    linux_uid16_t uid, linux_gid16_t gid); }
@


1.54.14.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.55 2007/11/16 12:51:55 njoly Exp $
d69 1
a69 1
9	NOARGS		{ int sys_link(const char *path, const char *link); }
d71 1
a71 1
11	NOARGS		{ int sys_execve(const char *path, char **argp, \
d73 1
a73 1
12	NOARGS		{ int sys_chdir(const char *path); }
d77 1
a77 1
15	NOARGS		{ int sys_chmod(const char *path, int mode); }
d104 1
a104 1
33	NOARGS		{ int sys_access(const char *path, int flags); }
d109 1
a109 1
38	NOARGS		{ int sys___posix_rename(const char *from, \
d111 2
a112 2
39	NOARGS		{ int sys_mkdir(const char *path, int mode); }
40	NOARGS		{ int sys_rmdir(const char *path); }
d169 2
a170 1
83	NOARGS		{ int sys_symlink(const char *path, const char *to); }
d177 1
a177 1
85	NOARGS		{ int sys_readlink(const char *name, char *buf, \
d191 1
a191 1
92	NOARGS		{ int compat_43_sys_truncate(const char *path, \
d357 1
a357 1
198	NOARGS		 { int sys___posix_chown(const char *path, uid_t uid, \
d377 1
a377 1
212	NOARGS		{ int sys___posix_lchown(const char *path, uid_t uid, \
@


1.54.22.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.55 2007/11/16 12:51:55 njoly Exp $
d69 1
a69 1
9	NOARGS		{ int sys_link(const char *path, const char *link); }
d71 1
a71 1
11	NOARGS		{ int sys_execve(const char *path, char **argp, \
d73 1
a73 1
12	NOARGS		{ int sys_chdir(const char *path); }
d77 1
a77 1
15	NOARGS		{ int sys_chmod(const char *path, int mode); }
d104 1
a104 1
33	NOARGS		{ int sys_access(const char *path, int flags); }
d109 1
a109 1
38	NOARGS		{ int sys___posix_rename(const char *from, \
d111 2
a112 2
39	NOARGS		{ int sys_mkdir(const char *path, int mode); }
40	NOARGS		{ int sys_rmdir(const char *path); }
d169 2
a170 1
83	NOARGS		{ int sys_symlink(const char *path, const char *to); }
d177 1
a177 1
85	NOARGS		{ int sys_readlink(const char *name, char *buf, \
d191 1
a191 1
92	NOARGS		{ int compat_43_sys_truncate(const char *path, \
d357 1
a357 1
198	NOARGS		 { int sys___posix_chown(const char *path, uid_t uid, \
d377 1
a377 1
212	NOARGS		{ int sys___posix_lchown(const char *path, uid_t uid, \
@


1.54.22.2
log
@Sync with HEAD.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.58 2007/12/24 14:17:18 njoly Exp $
d249 1
a249 1
132	NOARGS		{ pid_t sys_getpgid(pid_t pid); }
d256 1
a256 1
139	NOARGS		linux_setfsgid16 { int linux_sys_setfsgid(gid_t gid); }
a342 1
#define linux_sys_mmap2_args linux_sys_mmap_args
d381 1
a381 1
216	STD		{ int linux_sys_setfsgid(gid_t gid); }
@


1.54.22.3
log
@Sync with HEAD.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.59 2008/01/15 22:38:34 njoly Exp $
d80 1
a80 1
			    linux_uid16_t uid, linux_gid16_t gid); }
d146 2
a147 4
70	STD		{ int linux_sys_setreuid16(linux_uid16_t ruid, \
			    linux_uid16_t euid); }
71	STD		{ int linux_sys_setregid16(linux_gid16_t rgid, \
			    linux_gid16_t egid); }
d166 2
a167 4
80	STD		{ int linux_sys_getgroups16(int gidsetsize, \
			    linux_gid16_t *gidset); }
81	STD		{ int linux_sys_setgroups16(int gidsetsize, \
			    linux_gid16_t *gidset); }
d198 1
a198 2
95	STD		{ int linux_sys_fchown16(int fd, linux_uid16_t uid, \
			    linux_gid16_t gid); }
d292 4
a295 4
164	STD		{ int linux_sys_setresuid16(linux_uid16_t ruid, \
			    linux_uid16_t euid, linux_uid16_t suid); }
165	STD		{ int linux_sys_getresuid16(linux_uid16_t *ruid, \
			    linux_uid16_t *euid, linux_uid16_t *suid); }
d301 4
a304 4
170	STD		{ int linux_sys_setresgid16(linux_gid16_t rgid, \
			    linux_gid16_t egid, linux_gid16_t sgid); }
171	STD		{ int linux_sys_getresgid16(linux_gid16_t *rgid, \
			    linux_gid16_t *egid, linux_gid16_t *sgid); }
d329 2
a330 2
182	STD		{ int linux_sys_lchown16(const char *path, \
			    linux_uid16_t uid, linux_gid16_t gid); }
@


1.54.20.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
	$NetBSD$
d69 1
a69 1
9	NOARGS		{ int sys_link(const char *path, const char *link); }
d71 1
a71 1
11	NOARGS		{ int sys_execve(const char *path, char **argp, \
d73 1
a73 1
12	NOARGS		{ int sys_chdir(const char *path); }
d77 1
a77 1
15	NOARGS		{ int sys_chmod(const char *path, int mode); }
d104 1
a104 1
33	NOARGS		{ int sys_access(const char *path, int flags); }
d109 1
a109 1
38	NOARGS		{ int sys___posix_rename(const char *from, \
d111 2
a112 2
39	NOARGS		{ int sys_mkdir(const char *path, int mode); }
40	NOARGS		{ int sys_rmdir(const char *path); }
d169 2
a170 1
83	NOARGS		{ int sys_symlink(const char *path, const char *to); }
d177 1
a177 1
85	NOARGS		{ int sys_readlink(const char *name, char *buf, \
d191 1
a191 1
92	NOARGS		{ int compat_43_sys_truncate(const char *path, \
d357 1
a357 1
198	NOARGS		 { int sys___posix_chown(const char *path, uid_t uid, \
d377 1
a377 1
212	NOARGS		{ int sys___posix_lchown(const char *path, uid_t uid, \
@


1.53
log
@Merge newlock2 to head.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.52 2006/09/01 20:58:18 matt Exp $
d128 1
a128 1
			    caddr_t data); }
d148 1
a148 1
72	STD		{ int linux_sys_sigsuspend(caddr_t restart, \
d187 1
a187 1
89	STD		{ int linux_sys_readdir(int fd, caddr_t dent, \
d190 1
a190 1
91	NOARGS		{ int sys_munmap(caddr_t addr, int len); }
d202 1
a202 1
98	NOARGS		{ int sys_profil(caddr_t samples, u_int size, \
d230 1
a230 1
			    caddr_t ptr); }
d259 1
a259 1
			    u_int32_t olow, caddr_t res, int whence); }
d266 1
a266 1
144	STD		{ int linux_sys_msync(caddr_t addr, int len, int fl); }
d274 2
a275 2
150	NOARGS		{ int sys_mlock(caddr_t addr, size_t len); }
151	NOARGS		{ int sys_munlock(caddr_t addr, size_t len); }
@


1.53.2.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.53 2007/02/09 21:55:19 ad Exp $
d128 1
a128 1
			    void *data); }
d148 1
a148 1
72	STD		{ int linux_sys_sigsuspend(void *restart, \
d187 1
a187 1
89	STD		{ int linux_sys_readdir(int fd, void *dent, \
d190 1
a190 1
91	NOARGS		{ int sys_munmap(void *addr, int len); }
d202 1
a202 1
98	NOARGS		{ int sys_profil(void *samples, u_int size, \
d230 1
a230 1
			    void *ptr); }
d259 1
a259 1
			    u_int32_t olow, void *res, int whence); }
d266 1
a266 1
144	STD		{ int linux_sys_msync(void *addr, int len, int fl); }
d274 2
a275 2
150	NOARGS		{ int sys_mlock(void *addr, size_t len); }
151	NOARGS		{ int sys_munlock(void *addr, size_t len); }
@


1.52
log
@Don't conditionalize *sys_ptrace.  The lack of sys_ptrace will be dealt
with differently.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.51 2006/08/30 11:14:39 matt Exp $
a45 1
#include <sys/sa.h>
@


1.52.2.1
log
@Remove support for SA. Ok core@@.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.52 2006/09/01 20:58:18 matt Exp $
d46 1
@


1.51
log
@Update to deal with options PTRACE
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.50 2006/06/13 22:23:03 he Exp $
a38 1
#include "opt_ptrace.h"
a95 1
#ifdef PTRACE
a97 3
#else
26	EXCL		ptrace
#endf
@


1.50
log
@We need the argument structure for the getpriority syscall defined, so
change NOARGS to STD.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.49 2006/06/10 21:15:33 christos Exp $
d39 1
d97 1
d100 3
@


1.49
log
@linux getpriority is off-by-20 so use our own function.
From PR/33671: Nicolas Joly
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.48 2005/12/11 12:20:16 christos Exp $
d201 1
a201 1
96	NOARGS		{ int linux_sys_getpriority(int which, int who); }
@


1.48
log
@merge ktrace-lwp.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.42.2.4 2005/11/10 14:01:06 skrll Exp $
d201 1
a201 1
96	NOARGS		{ int sys_getpriority(int which, int who); }
@


1.48.4.1
log
@sync with head
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.52 2006/09/01 20:58:18 matt Exp $
d201 1
a201 1
96	STD		{ int linux_sys_getpriority(int which, int who); }
@


1.48.8.1
log
@sync with head.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.48 2005/12/11 12:20:16 christos Exp $
d201 1
a201 1
96	STD		{ int linux_sys_getpriority(int which, int who); }
@


1.48.14.1
log
@Sync with head.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.50 2006/06/13 22:23:03 he Exp $
d201 1
a201 1
96	STD		{ int linux_sys_getpriority(int which, int who); }
@


1.47
log
@sys_uselib is needed by COMPAT_LINUX for EXEC_AOUT. Since it doesn't get
build when EXEC_AOUT is not defined, the syscalls.master entry has to be
conditionalized. Alpha did so already, so let the other archs catch up
with it.

Go-on: christos
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.46 2005/05/23 23:21:49 jmc Exp $
@


1.46
log
@Add clock_* POSIX functions.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.45 2005/05/16 16:02:20 fvdl Exp $
d180 1
d182 3
@


1.46.2.1
log
@sync with head.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.46 2005/05/23 23:21:49 jmc Exp $
a179 1
#ifdef EXEC_AOUT
a180 3
#else
86	UNIMPL		sys_uselib
#endif
d197 1
a197 1
96	STD		{ int linux_sys_getpriority(int which, int who); }
@


1.46.2.2
log
@sync with head.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.46.2.1 2006/06/21 14:59:11 yamt Exp $
d46 1
@


1.46.2.3
log
@sync with head.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.46.2.2 2007/02/26 09:09:16 yamt Exp $
d128 1
a128 1
			    void *data); }
d148 1
a148 1
72	STD		{ int linux_sys_sigsuspend(void *restart, \
d187 1
a187 1
89	STD		{ int linux_sys_readdir(int fd, void *dent, \
d190 1
a190 1
91	NOARGS		{ int sys_munmap(void *addr, int len); }
d202 1
a202 1
98	NOARGS		{ int sys_profil(void *samples, u_int size, \
d230 1
a230 1
			    void *ptr); }
d259 1
a259 1
			    u_int32_t olow, void *res, int whence); }
d266 1
a266 1
144	STD		{ int linux_sys_msync(void *addr, int len, int fl); }
d274 2
a275 2
150	NOARGS		{ int sys_mlock(void *addr, size_t len); }
151	NOARGS		{ int sys_munlock(void *addr, size_t len); }
@


1.46.2.4
log
@sync with head
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.46.2.3 2007/09/03 14:32:18 yamt Exp $
d69 1
a69 1
9	NOARGS		{ int sys_link(const char *path, const char *link); }
d71 1
a71 1
11	NOARGS		{ int sys_execve(const char *path, char **argp, \
d73 1
a73 1
12	NOARGS		{ int sys_chdir(const char *path); }
d77 1
a77 1
15	NOARGS		{ int sys_chmod(const char *path, int mode); }
d104 1
a104 1
33	NOARGS		{ int sys_access(const char *path, int flags); }
d109 1
a109 1
38	NOARGS		{ int sys___posix_rename(const char *from, \
d111 2
a112 2
39	NOARGS		{ int sys_mkdir(const char *path, int mode); }
40	NOARGS		{ int sys_rmdir(const char *path); }
d169 2
a170 1
83	NOARGS		{ int sys_symlink(const char *path, const char *to); }
d177 1
a177 1
85	NOARGS		{ int sys_readlink(const char *name, char *buf, \
d191 1
a191 1
92	NOARGS		{ int compat_43_sys_truncate(const char *path, \
d357 1
a357 1
198	NOARGS		 { int sys___posix_chown(const char *path, uid_t uid, \
d377 1
a377 1
212	NOARGS		{ int sys___posix_lchown(const char *path, uid_t uid, \
@


1.46.2.5
log
@sync with head
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.46.2.4 2007/12/07 17:28:16 yamt Exp $
d80 1
a80 1
			    linux_uid16_t uid, linux_gid16_t gid); }
d146 2
a147 4
70	STD		{ int linux_sys_setreuid16(linux_uid16_t ruid, \
			    linux_uid16_t euid); }
71	STD		{ int linux_sys_setregid16(linux_gid16_t rgid, \
			    linux_gid16_t egid); }
d166 2
a167 4
80	STD		{ int linux_sys_getgroups16(int gidsetsize, \
			    linux_gid16_t *gidset); }
81	STD		{ int linux_sys_setgroups16(int gidsetsize, \
			    linux_gid16_t *gidset); }
d198 1
a198 2
95	STD		{ int linux_sys_fchown16(int fd, linux_uid16_t uid, \
			    linux_gid16_t gid); }
d249 1
a249 1
132	NOARGS		{ pid_t sys_getpgid(pid_t pid); }
d256 1
a256 1
139	NOARGS		linux_setfsgid16 { int linux_sys_setfsgid(gid_t gid); }
d292 4
a295 4
164	STD		{ int linux_sys_setresuid16(linux_uid16_t ruid, \
			    linux_uid16_t euid, linux_uid16_t suid); }
165	STD		{ int linux_sys_getresuid16(linux_uid16_t *ruid, \
			    linux_uid16_t *euid, linux_uid16_t *suid); }
d301 4
a304 4
170	STD		{ int linux_sys_setresgid16(linux_gid16_t rgid, \
			    linux_gid16_t egid, linux_gid16_t sgid); }
171	STD		{ int linux_sys_getresgid16(linux_gid16_t *rgid, \
			    linux_gid16_t *egid, linux_gid16_t *sgid); }
d329 2
a330 2
182	STD		{ int linux_sys_lchown16(const char *path, \
			    linux_uid16_t uid, linux_gid16_t gid); }
a342 1
#define linux_sys_mmap2_args linux_sys_mmap_args
d381 1
a381 1
216	STD		{ int linux_sys_setfsgid(gid_t gid); }
@


1.45
log
@Add *xattr functions (they all return EOPNOTSUPP).
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.44 2004/08/01 15:34:22 jdolecek Exp $
d409 32
@


1.44
log
@sync the syscall lists with Linux kernel 2.6.7
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.43 2003/08/10 20:16:23 jdolecek Exp $
d387 21
a407 12
223	UNIMPL		setxattr
224	UNIMPL		lsetxattr
225	UNIMPL		fsetxattr
226	UNIMPL		getxattr
227	UNIMPL		lgetxattr
228	UNIMPL		fgetxattr
229	UNIMPL		listxattr
230	UNIMPL		llistxattr
231	UNIMPL		flistxattr
232	UNIMPL		removexattr
233	UNIMPL		lremovexattr
234	UNIMPL		fremovexattr
@


1.43
log
@add Linux compat arg wrapper for ftruncate64(), and change linux compat
truncate64() wrapper to translate args structure
NetBSD truncate() and ftrucate() have hidden 'pad' argument, so we have
to do the argument translation

Problem found and patch supplied in PR kern/22360 by Ales Krenek

This is the last of syscalls with hidden 'pad' arg we didn't have
wrapper for; all the others (lseek, mmap, pwrite, pread) already had
wrapper before.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.42 2003/06/29 16:07:58 thorpej Exp $
d387 13
@


1.42
log
@Adapt to linux mmap2 changes.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.41 2003/06/23 21:25:57 christos Exp $
d346 2
a347 1
194	NOARGS		ftruncate64 { int sys_ftruncate(int fd, off_t length); }
@


1.42.2.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.43 2003/08/10 20:16:23 jdolecek Exp $
d346 1
a346 2
194	STD		{ int linux_sys_ftruncate64(unsigned int fd, \
			    off_t length); }
a385 13
223	UNIMPL		setxattr
224	UNIMPL		lsetxattr
225	UNIMPL		fsetxattr
226	UNIMPL		getxattr
227	UNIMPL		lgetxattr
228	UNIMPL		fgetxattr
229	UNIMPL		listxattr
230	UNIMPL		llistxattr
231	UNIMPL		flistxattr
232	UNIMPL		removexattr
233	UNIMPL		lremovexattr
234	UNIMPL		fremovexattr
235	UNIMPL		futex
@


1.42.2.2
log
@Sync with HEAD.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.44 2004/08/01 15:34:22 jdolecek Exp $
@


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


1.42.2.4
log
@Sync with HEAD. Here we go again...
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.42.2.3 2004/09/21 13:25:27 skrll Exp $
a179 1
#ifdef EXEC_AOUT
a180 3
#else
86	UNIMPL		sys_uselib
#endif
d387 12
a398 21
223	STD		{ int linux_sys_setxattr(char *path, char *name, \
			    void *value, size_t size, int flags); }
224	STD		{ int linux_sys_lsetxattr(char *path, char *name, \
			    void *value, size_t size, int flags); }
225	STD		{ int linux_sys_fsetxattr(int fd, char *name, \
			    void *value, size_t size, int flags); }
226	STD		{ ssize_t linux_sys_getxattr(char *path, char *name, \
			    void *value, size_t size); }
227	STD		{ ssize_t linux_sys_lgetxattr(char *path, char *name, \
			    void *value, size_t size); }
228	STD		{ ssize_t linux_sys_fgetxattr(int fd, char *name, \
			    void *value, size_t size); }
229	STD		{ ssize_t linux_sys_listxattr(char *path, char *list, \
			    size_t size); }
230	STD		{ ssize_t linux_sys_llistxattr(char *path, char *list, \
			    size_t size); }
231	STD		{ ssize_t linux_sys_flistxattr(int fd, char *list, \
			    size_t size); }
232	STD		{ int linux_sys_removexattr(char *path, char *name); }
233	STD		{ int linux_sys_lremovexattr(char *path, char *name); }
234	STD		{ int linux_sys_fremovexattr(int fd, char *name); }
a399 32
236	UNIMPL		sendfile64
237	UNIMPL		mincore
238	UNIMPL		madvise
239	UNIMPL		fcntl64
240	UNIMPL		readahead
241	UNIMPL		io_setup
242	UNIMPL		io_destroy
243	UNIMPL		io_getevents
244	UNIMPL		io_submit
245	UNIMPL		io_cancel
246	UNIMPL		fadvise64
247	UNIMPL		exit_group
248	UNIMPL		lookup_dcookie
249	UNIMPL		epoll_create
250	UNIMPL		epoll_ctl
251	UNIMPL		epoll_wait
252	UNIMPL		remap_file_pages
253	UNIMPL		set_tid_address
254	UNIMPL		timer_create
255	UNIMPL		timer_settime
256	UNIMPL		timer_gettime
257	UNIMPL		timer_getoverrun
258	UNIMPL		timer_delete
259	STD		{ int linux_sys_clock_settime(clockid_t which, \
			    struct linux_timespec *tp); }
260	STD		{ int linux_sys_clock_gettime(clockid_t which, \
			    struct linux_timespec *tp); }
261	STD		{ int linux_sys_clock_getres(clockid_t which, \
			    struct linux_timespec *tp); }
262	STD		{ int linux_sys_clock_nanosleep(clockid_t which, \
			    int flags, struct linux_timespec *rqtp, \
			    struct linux_timespec *rmtp); }
@


1.41
log
@PR/21937: Todd Vierling: Proper support for mmap2
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.40 2003/01/18 08:02:49 thorpej Exp $
d53 1
@


1.40
log
@Merge the nathanw_sa branch.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.39 2002/05/12 13:55:54 jdolecek Exp $
d340 3
a342 1
192	UNIMPL		mmap2
@


1.39
log
@update for newer syscalls (from 2.5.15)
Linux m68k doesn't seem to have fcntl64 syscall - oversight?
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.38 2002/04/10 18:18:28 christos Exp $
d46 1
@


1.39.4.1
log
@Regen files (requested by tv in ticket #1427)

Proper support for mmap2
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.39 2002/05/12 13:55:54 jdolecek Exp $
d339 1
a339 3
192	NOARGS		{ linux_off_t linux_sys_mmap2(unsigned long addr, \
			    size_t len, int prot, int flags, int fd, \
			    linux_off_t offset); }
@


1.39.4.2
log
@Followup from ticket #1427. Need to include mmap2.h here or it won't compile
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.39.4.1 2003/10/22 04:03:01 jmc Exp $
a51 1
#include <compat/linux/common/linux_mmap.h>
@


1.39.4.3
log
@Pull up revision 1.43 via patch (requested by wennmach in ticket #1686):
add Linux compat arg wrapper for ftruncate64(), and change linux compat
truncate64() wrapper to translate args structure
NetBSD truncate() and ftrucate() have hidden 'pad' argument, so we have
to do the argument translation
Problem found and patch supplied in PR kern/22360 by Ales Krenek
This is the last of syscalls with hidden 'pad' arg we didn't have
wrapper for; all the others (lseek, mmap, pwrite, pread) already had
wrapper before.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.39.4.2 2003/11/20 04:21:35 jmc Exp $
d345 1
a345 2
194	STD		{ int linux_sys_ftruncate(int fd, \
			    off_t length); }
@


1.39.4.4
log
@Apply patch (requested by skrll in ticket #1701):
Correct incorrect definition of system call 194 (linux_sys_ftruncate64)
caused by the patch for ticket #1686.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.39.4.3 2004/05/11 14:30:33 tron Exp $
d345 1
a345 1
194	STD		{ int linux_sys_ftruncate64(unsigned int fd, \
@


1.38
log
@add getdents64
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.37 2002/03/22 15:17:04 christos Exp $
d375 3
a377 3
217	UNIMPL		pivot_root
218	UNIMPL		/* unused ? */
219	UNIMPL		/* unused ? */
d380 2
@


1.37
log
@add mprotect, nuke mmap2
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.36 2002/02/17 19:35:30 christos Exp $
d378 2
a379 1
220	UNIMPL		getdents64
@


1.36
log
@fix rlimit confusion.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.35 2002/02/15 16:48:01 christos Exp $
d235 2
a236 1
125	NOARGS		{ int sys_mprotect(caddr_t addr, int len, int prot); }
d339 1
a339 2
192	STD		{ off_t linux_sys_mmap2(void *addr, size_t len, \
			    int prot, int flags, int fd, off_t offset); }
@


1.35
log
@- add a real linux_sys___sysctl because the mib numbers are different.
  implement only the kernel version getting entries.
- make the signal conversion functions consistent; dest is arg 1.
- make linux_fakedev deal with block and char devices differently.
- add linux_sys_ugetrlimit, and flesh out the regular get/setrlimit so
  that they work properly.
- add linux_mmap2 [untested].
- bump kernel to 2.4.18, and make the date be valentine's day :-)
- linux_sys_*stat64 family was totally busted. Fix it.

tested only on i386.

Status:
	gdb, telnet, work
	jdk-1.4.0 extractor works, jdk still coredumps.

christos
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.34 2001/05/30 11:37:27 mrg Exp $
a152 4
75	NOARGS		{ int compat_43_sys_setrlimit(u_int which, \
			    struct orlimit *rlp); }
76	NOARGS		{ int compat_43_sys_getrlimit(u_int which, \
			    struct orlimit *rlp); }
a154 2
75	UNIMPL		compat_43_sys_setrlimit
76	UNIMPL		compat_43_sys_getrlimit
d156 4
d337 1
a337 1
			    struct rlimit *rlp); }
@


1.34
log
@use _KERNEL_OPT.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.33 2001/05/13 20:54:44 manu Exp $
d338 4
a341 2
191	UNIMPL		getrlimit
192	UNIMPL		mmap2
d343 1
a343 1
				off_t length); }
d346 1
a346 1
				struct linux_stat64 *sp); }
d348 1
a348 1
				struct linux_stat64 *sp); }
d350 1
a350 1
				struct linux_stat64 *sp); }
d352 1
a352 1
				gid_t gid); }
d362 1
a362 1
				gid_t gid); }
d372 1
a372 1
				gid_t gid); }
@


1.34.2.1
log
@Catch up with -current.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.34 2001/05/30 11:37:27 mrg Exp $
d153 4
d159 2
a161 4
75	STD		{ int linux_sys_setrlimit(u_int which, \
			    struct orlimit *rlp); }
76	STD		{ int linux_sys_getrlimit(u_int which, \
			    struct orlimit *rlp); }
d338 2
a339 4
191	STD		{ int linux_sys_ugetrlimit(int which, \
			    struct orlimit *rlp); }
192	STD		{ off_t linux_sys_mmap2(void *addr, size_t len, \
			    int prot, int flags, int fd, off_t offset); }
d341 1
a341 1
			    off_t length); }
d344 1
a344 1
			    struct linux_stat64 *sp); }
d346 1
a346 1
			    struct linux_stat64 *sp); }
d348 1
a348 1
			    struct linux_stat64 *sp); }
d350 1
a350 1
			    gid_t gid); }
d360 1
a360 1
			    gid_t gid); }
d370 1
a370 1
			    gid_t gid); }
@


1.34.2.2
log
@catch up with -current on kqueue branch
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.34.2.1 2002/03/16 16:00:34 jdolecek Exp $
d235 1
a235 2
125	STD		{ int linux_sys_mprotect(const void *start, \
			    unsigned long len, int prot); }
d338 2
a339 1
192	UNIMPL		mmap2
d375 4
a378 7
217	UNIMPL		/* unused */
218	UNIMPL		/* unused */
219	UNIMPL		/* unused */
220	STD		{ int linux_sys_getdents64(int fd, \
			    struct linux_dirent64 *dent, unsigned int count); }
221	UNIMPL		gettid
222	UNIMPL		tkill
@


1.33
log
@Improved the accuracy of gettimeofday/settimeofday: Linux stores a srtuct
timezone in the kernel. We now keep track of it for emulated processes.
Tested for powerpc and i386. Untested on m68k, but it should be ok
Alpha has a particular implementation (osf1_sys_gettimeofday), and it has
therefore not been touched.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.32 2001/03/30 18:01:20 jdolecek Exp $
d36 1
a36 1
#if defined(_KERNEL) && !defined(_LKM)
@


1.32
log
@use UNIMPL instead of NODEF for the dummy syscalls 218, 219
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.31 2001/03/30 17:59:46 jdolecek Exp $
d163 1
a163 1
78	NOARGS		{ int sys_gettimeofday(struct timeval *tp, \
d165 1
a165 1
79	NOARGS		{ int sys_settimeofday(struct timeval *tp, \
@


1.31
log
@Add new syscalls from Linux 2.4.3 to the lists. Not implemented ATM.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.30 2001/03/30 17:16:34 jdolecek Exp $
d376 2
a377 2
218	NODEF		/* unused ? */
219	NODEF		/* unused ? */
@


1.30
log
@Implement linux_sys_nosys() and use it instead of sys_nosys() for
unimplemented syscalls. Difference is that linux_sys_nosys() doesn't
post SIGSYS to the process. Linux doesn't do that and thus glibc (and
probably other Linux code) doesn't deal with SIGSYS, even through it
generally contains fallback code for ENOSYS case.

This also addresses port-i386/12503, though the issue was already discussed
earlier.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.29 2001/01/27 07:55:23 thorpej Exp $
d376 3
@


1.29
log
@getpid(2) is MP-safe.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.28 2000/12/29 20:10:17 fvdl Exp $
d57 1
a57 1
0	NOARGS		{ int sys_nosys(void); } syscall
@


1.29.2.1
log
@Catch up with -current.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.32 2001/03/30 18:01:20 jdolecek Exp $
d57 1
a57 1
0	NOARGS		{ int linux_sys_nosys(void); } syscall
a375 3
218	UNIMPL		/* unused ? */
219	UNIMPL		/* unused ? */
220	UNIMPL		getdents64
@


1.29.2.2
log
@Catch up to -current.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.29.2.1 2001/04/09 01:55:38 nathanw Exp $
d36 1
a36 1
#if defined(_KERNEL_OPT)
d163 1
a163 1
78	STD		{ int linux_sys_gettimeofday(struct timeval *tp, \
d165 1
a165 1
79	STD		{ int linux_sys_settimeofday(struct timeval *tp, \
@


1.29.2.3
log
@Catch up to -current.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.29.2.2 2001/06/21 19:59:37 nathanw Exp $
d153 4
d159 2
a161 4
75	STD		{ int linux_sys_setrlimit(u_int which, \
			    struct orlimit *rlp); }
76	STD		{ int linux_sys_getrlimit(u_int which, \
			    struct orlimit *rlp); }
d338 2
a339 4
191	STD		{ int linux_sys_ugetrlimit(int which, \
			    struct orlimit *rlp); }
192	STD		{ off_t linux_sys_mmap2(void *addr, size_t len, \
			    int prot, int flags, int fd, off_t offset); }
d341 1
a341 1
			    off_t length); }
d344 1
a344 1
			    struct linux_stat64 *sp); }
d346 1
a346 1
			    struct linux_stat64 *sp); }
d348 1
a348 1
			    struct linux_stat64 *sp); }
d350 1
a350 1
			    gid_t gid); }
d360 1
a360 1
			    gid_t gid); }
d370 1
a370 1
			    gid_t gid); }
@


1.29.2.4
log
@Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
@
text
@d1 1
a1 1
	$NetBSD$
d235 1
a235 2
125	STD		{ int linux_sys_mprotect(const void *start, \
			    unsigned long len, int prot); }
d338 2
a339 1
192	UNIMPL		mmap2
@


1.29.2.5
log
@Catch up to -current.
@
text
@d378 1
a378 2
220	STD		{ int linux_sys_getdents64(int fd, \
			    struct linux_dirent64 *dent, unsigned int count); }
@


1.29.2.6
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.29.2.5 2002/04/17 00:05:02 nathanw Exp $
a45 1
#include <sys/sa.h>
@


1.29.2.7
log
@Catch up to -current.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.29.2.6 2002/05/29 21:32:33 nathanw Exp $
d376 3
a378 3
217	UNIMPL		/* unused */
218	UNIMPL		/* unused */
219	UNIMPL		/* unused */
a380 2
221	UNIMPL		gettid
222	UNIMPL		tkill
@


1.28
log
@Don't pass through link(2) directly, as we need to do altpath checks.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.27 2000/12/27 22:04:05 fvdl Exp $
d88 1
a88 1
20	NOARGS		{ pid_t sys_getpid(void); }
@


1.27
log
@Add all uid and gid calls, and do the right thing for the older 16 bit
ones.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.26 2000/12/26 01:57:10 itohy Exp $
d68 1
a68 1
9	NOARGS		{ int sys_link(const char *path, const char *link); }
@


1.26
log
@Declare linux_sys_setgid16()  (NOARGS -> STD).
Change syscall #182 from linux_sys_lchown() to linux_sys_lchown16().
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.25 2000/12/18 14:37:17 fvdl Exp $
d91 2
a92 2
23	STD		{ int linux_sys_setuid16(uid_t uid); }
24	STD		{ uid_t linux_sys_getuid16(void); }
d117 2
a118 2
46	STD		{ int linux_sys_setgid16(gid_t gid); }
47	NOARGS		{ gid_t linux_sys_getgid16(void); }
d121 2
a122 2
49	NOARGS		{ uid_t linux_sys_geteuid16(void); }
50	NOARGS		{ gid_t linux_sys_getegid16(void); }
d167 2
a168 2
80	NOARGS		{ int sys_getgroups(u_int gidsetsize, gid_t *gidset); }
81	NOARGS		{ int sys_setgroups(u_int gidsetsize, gid_t *gidset); }
d252 2
a253 2
138	STD		{ int linux_sys_setfsuid(uid_t uid); }
139	NOARGS		{ int linux_sys_getfsuid(void); }
d289 1
a289 1
164	STD		{ int linux_sys_setresuid(uid_t ruid, uid_t euid, \
d291 2
a292 2
165	STD		{ int linux_sys_getresuid(uid_t *ruid, uid_t *euid, \
			    uid_t *suid); }
d298 1
a298 1
170	STD		{ int linux_sys_setresgid(gid_t rgid, gid_t egid, \
d300 2
a301 2
171	STD		{ int linux_sys_getresgid(gid_t *rgid, gid_t *egid, \
			    gid_t *sgid); }
d349 1
a349 1
198	NOARGS		 { int sys___posix_chown(const char *path, uid_t uid, \
d357 2
a358 2
205	UNIMPL		getgroups
206	UNIMPL		setgroups
d361 9
a369 5
208	UNIMPL		setresuid
209	UNIMPL		getresuid
210	UNIMPL		setresgid
211	UNIMPL		getresgid
212	NOARGS		{ int sys___posix_lchown(const char *path, uid_t uid, \
d373 2
a374 2
215	UNIMPL		setfsuid
216	UNIMPL		setfsgid
@


1.25
log
@Update for Linux calls with 32 bit uids/gids.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.24 2000/12/14 20:37:57 jdolecek Exp $
d117 1
a117 1
46	NOARGS		{ int linux_sys_setgid16(gid_t gid); }
d326 1
a326 1
182	STD		{ int linux_sys_lchown(const char *path, int uid, \
@


1.24
log
@add sysinfo()
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.23 2000/12/12 22:23:03 jdolecek Exp $
d78 1
a78 1
16	STD		{ int linux_sys_chown(const char *path, \
d91 2
a92 2
23	NOARGS		{ int sys_setuid(uid_t uid); }
24	NOARGS		{ uid_t sys_getuid(void); }
d117 2
a118 2
46	NOARGS		{ int sys_setgid(gid_t gid); }
47	NOARGS		{ gid_t sys_getgid(void); }
d121 2
a122 2
49	NOARGS		{ uid_t sys_geteuid(void); }
50	NOARGS		{ gid_t sys_getegid(void); }
d145 2
a146 2
70	STD		{ int linux_sys_setreuid(int ruid, int euid); }
71	STD		{ int linux_sys_setregid(int rgid, int egid); }
d196 1
a196 1
95	STD		{ int linux_sys_fchown(int fd, int uid, int gid); }
d349 8
a356 7
198	UNIMPL		lchown
199	UNIMPL		getuid
200	UNIMPL		getgid
201	UNIMPL		geteuid
202	UNIMPL		getegid
203	UNIMPL		getreuid
204	UNIMPL		getregid
d359 2
a360 1
207	UNIMPL		fchown
d365 4
a368 4
;212 chown on i386; lchown on m68k
212	UNIMPL		lchown
213	UNIMPL		setuid
214	UNIMPL		setgid
@


1.23
log
@actually, we need to wrap sys_truncate() call so that the /emul/linux/...
path is tried first
fix ftruncate64 entry - first arg to ftruncate is int fd, not path
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.22 2000/12/12 19:02:00 jdolecek Exp $
d225 1
a225 1
116	UNIMPL		sysinfo
@


1.22
log
@add emulation of Linux truncate64(2), ftruncate64(2), *stat64(2)
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.21 2000/12/09 12:23:36 jdolecek Exp $
d340 1
a340 3
193	NOARGS		truncate64 { int sys_truncate(const char *path, \
				off_t length); }
194	NOARGS		ftruncate64 { int sys_ftruncate(const char *path, \
d342 1
@


1.21
log
@add more unimplemented syscalls to list
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.20 2000/12/09 05:31:10 mycroft Exp $
d340 10
a349 5
193	UNIMPL		truncate64
194	UNIMPL		ftruncate64
195	UNIMPL		stat64
196	UNIMPL		lstat64
197	UNIMPL		fstat64
@


1.20
log
@Add the %% separators.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.19 2000/12/09 05:27:29 mycroft Exp $
d338 28
@


1.19
log
@Add the %% separators.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.18 2000/12/02 16:43:51 jdolecek Exp $
d55 1
@


1.18
log
@add emulation of linux swapoff(2)
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.17 2000/12/01 21:02:56 jdolecek Exp $
d36 1
a36 1
if defined(_KERNEL) && !defined(_LKM)
d39 1
a39 1
endif
@


1.17
log
@replace compat_09_sys_setdomainname() with linux_sys_setdomainname(),
compat_12_sys_swapon() with linux_sys_swapon() - this is to drop dependency
on COMPAT_12/COMPAT_09
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.16 2000/11/01 20:38:50 jdolecek Exp $
d223 1
a223 1
115	UNIMPL		swapoff
@


1.16
log
@support mlockall(), munlockall() - they are same as respective NetBSD syscalls
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.15 2000/08/31 03:46:30 itohy Exp $
d36 1
d39 1
d180 1
a180 5
#if !defined(_KERNEL) || defined(COMPAT_12)
87	NOARGS		{ int compat_12_sys_swapon(char *name); }
#else
87	UNIMPL		compat_12_sys_swapon
#endif
d230 1
a230 2
#if !defined(_KERNEL) || defined(COMPAT_09)
121	NOARGS		{ int compat_09_sys_setdomainname(char *name, \
a231 3
#else
121	UNIMPL		compat_09_sys_setdomainname
#endif
@


1.15
log
@Add linux_sys_sigaltstack().
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.14 2000/03/18 22:16:46 erh Exp $
d277 2
a278 2
152	UNIMPL		mlockall
153	UNIMPL		munlockall
@


1.14
log
@Use linux_sys_reboot instead of sys_reboot.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.13 2000/02/03 10:03:00 abs Exp $
d336 3
a338 1
186	UNIMPL		sigaltstack
@


1.14.4.1
log
@Pull up revision 1.28 (requested by fvdl):
  Add some required Linux emulation bits to support the Linux
  version of VMware.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.14 2000/03/18 22:16:46 erh Exp $
d65 1
a65 1
9	STD		{ int linux_sys_link(const char *path, const char *link); }
@


1.14.4.2
log
@Pull up revision 1.30 (requested by jdolecek):
  Make it possible to use a different function for unimplemented
  syscalls than sys_nosys(), so that the Linux emulation can avoid
  posting SIGSYS and instead just return ENOSYS.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.14.4.1 2001/03/30 21:36:23 he Exp $
d54 1
a54 1
0	NOARGS		{ int linux_sys_nosys(void); } syscall
@


1.13
log
@Add Linux fsuid system calls - from Witold J. Wnuk in PR kern/9335
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.12 1999/12/16 15:13:02 tron Exp $
d183 2
a184 1
88	NOARGS		{ int sys_reboot(int opt); }
@


1.12
log
@Add ptrace(2).
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.11 1999/12/05 21:24:30 tron Exp $
d256 2
a257 2
138	UNIMPL		setfsuid
139	UNIMPL		getfsuid
@


1.11
log
@Add proper stub code to make emulation of Linux's pread(2) and pwrite(2)
work. Fixes PR kern/8945 by Dave Sainty.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.10 1999/12/04 22:14:15 tron Exp $
d91 2
a92 1
26	UNIMPL		ptrace
@


1.10
log
@Consistently call signal number arguments "signum".
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.9 1999/10/04 16:55:55 tron Exp $
d324 4
a327 4
180	NOARGS		{ int sys_pread(int fd, char *buf, size_t nbytes, \
			    off_t offset); }
181	NOARGS		{ int sys_pwrite(int fd, char *buf, size_t nbytes, \
			    off_t offset); }
@


1.9
log
@Add emulation for scheduler related syscalls. Although they are dummies
even under Linux the posix thread library for "glibc2" requires them.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.8 1999/08/16 19:13:02 tron Exp $
d115 1
a115 1
48	STD		{ int linux_sys_signal(int sig, \
@


1.9.2.1
log
@Update thorpej_scsipi to -current as of a month ago
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.15 2000/08/31 03:46:30 itohy Exp $
d91 1
a91 2
26	STD		{ int linux_sys_ptrace(int request, int pid, \
			  int addr, int data); }
d115 1
a115 1
48	STD		{ int linux_sys_signal(int signum, \
d182 1
a182 2
88	STD		{ int linux_sys_reboot(int magic1, int magic2, \
			    int cmd, void *arg); }
d255 2
a256 2
138	STD		{ int linux_sys_setfsuid(uid_t uid); }
139	NOARGS		{ int linux_sys_getfsuid(void); }
d324 4
a327 4
180	STD		{ int linux_sys_pread(int fd, char *buf, \
			    size_t nbyte, linux_off_t offset); }
181	STD		{ int linux_sys_pwrite(int fd, char *buf, \
			    size_t nbyte, linux_off_t offset); }
d334 1
a334 3
186	STD		{ int linux_sys_sigaltstack( \
			    const struct linux_sigaltstack *ss, \
			    struct linux_sigaltstack *oss); }
@


1.9.2.2
log
@Sync with HEAD.
@
text
@d1 1
a1 1
	$NetBSD$
d277 2
a278 2
152	NOARGS		{ int sys_mlockall(int flags); }
153	NOARGS		{ int sys_munlockall(void); }
@


1.9.2.3
log
@Sync with HEAD.
@
text
@a35 1
if defined(_KERNEL) && !defined(_LKM)
a37 1
endif
d178 5
a182 1
87	STD		{ int linux_sys_swapon(char *name); }
d225 1
a225 1
115	STD		{ int linux_sys_swapoff(const char *path); }
d232 2
a233 1
121	STD		{ int linux_sys_setdomainname(char *domainname, \
d235 3
@


1.9.2.4
log
@Sync with HEAD (for UBC fixes).
@
text
@d36 1
a36 1
#if defined(_KERNEL) && !defined(_LKM)
d39 1
a39 1
#endif
a54 1
%%
a336 32
191	UNIMPL		getrlimit
192	UNIMPL		mmap2
193	STD		{ int linux_sys_truncate64(const char *path, \
				off_t length); }
194	NOARGS		ftruncate64 { int sys_ftruncate(int fd, off_t length); }
195	STD		{ int linux_sys_stat64(const char *path, \
				struct linux_stat64 *sp); }
196	STD		{ int linux_sys_lstat64(const char *path, \
				struct linux_stat64 *sp); }
197	STD		{ int linux_sys_fstat64(int fd, \
				struct linux_stat64 *sp); }
198	UNIMPL		lchown
199	UNIMPL		getuid
200	UNIMPL		getgid
201	UNIMPL		geteuid
202	UNIMPL		getegid
203	UNIMPL		getreuid
204	UNIMPL		getregid
205	UNIMPL		getgroups
206	UNIMPL		setgroups
207	UNIMPL		fchown
208	UNIMPL		setresuid
209	UNIMPL		getresuid
210	UNIMPL		setresgid
211	UNIMPL		getresgid
;212 chown on i386; lchown on m68k
212	UNIMPL		lchown
213	UNIMPL		setuid
214	UNIMPL		setgid
215	UNIMPL		setfsuid
216	UNIMPL		setfsgid
217	UNIMPL		pivot_root
@


1.9.2.5
log
@Sync with HEAD
@
text
@d68 1
a68 1
9	STD		{ int linux_sys_link(const char *path, const char *link); }
d78 1
a78 1
16	STD		{ int linux_sys_chown16(const char *path, \
d91 2
a92 2
23	NOARGS		linux_setuid16 { int sys_setuid(uid_t uid); }
24	NOARGS		linux_getuid16 { uid_t sys_getuid(void); }
d117 2
a118 2
46	NOARGS		linux_setgid16 { int sys_setgid(gid_t gid); }
47	NOARGS		linux_getgid16 { gid_t sys_getgid(void); }
d121 2
a122 2
49	NOARGS		linux_geteuid16 { uid_t sys_geteuid(void); }
50	NOARGS		linux_getegid16 { gid_t sys_getegid(void); }
d145 2
a146 2
70	STD		{ int linux_sys_setreuid16(int ruid, int euid); }
71	STD		{ int linux_sys_setregid16(int rgid, int egid); }
d167 2
a168 2
80	STD		{ int linux_sys_getgroups16(u_int gidsetsize, linux_gid_t *gidset); }
81	STD		{ int linux_sys_setgroups16(u_int gidsetsize, linux_gid_t *gidset); }
d196 1
a196 1
95	STD		{ int linux_sys_fchown16(int fd, int uid, int gid); }
d225 1
a225 1
116	STD		{ int linux_sys_sysinfo(struct linux_sysinfo *arg); }
d252 2
a253 2
138	NOARGS		linux_setfsuid16 { int linux_sys_setfsuid(uid_t uid); }
139	NOARGS		linux_getfsuid16 { int linux_sys_getfsuid(void); }
d289 1
a289 1
164	STD		{ int linux_sys_setresuid16(uid_t ruid, uid_t euid, \
d291 2
a292 2
165	NOARGS		linux_getresuid16 { int linux_sys_getresuid( \
			    uid_t *ruid, uid_t *euid, uid_t *suid); }
d298 1
a298 1
170	STD		{ int linux_sys_setresgid16(gid_t rgid, gid_t egid, \
d300 2
a301 2
171	NOARGS		linux_getresgid16 { int linux_sys_getresgid( \
			    gid_t *rgid, gid_t *egid, gid_t *sgid); }
d326 1
a326 1
182	STD		{ int linux_sys_lchown16(const char *path, int uid, \
d349 20
a368 26
198	STD		 { int linux_sys_chown(const char *path, uid_t uid, \
				gid_t gid); }
199	NOARGS		{ uid_t sys_getuid(void); }
200	NOARGS		{ gid_t sys_getgid(void); }
201	NOARGS		{ uid_t sys_geteuid(void); }
202	NOARGS		{ gid_t sys_getegid(void); }
203	NOARGS		{ int sys_setreuid(uid_t ruid, uid_t euid); }
204	NOARGS		{ int sys_setregid(gid_t rgid, gid_t egid); }
205	NOARGS		{ int sys_getgroups(u_int gidsetsize, gid_t *gidset); }
206	NOARGS		{ int sys_setgroups(u_int gidsetsize, gid_t *gidset); }
207	NOARGS		{ int sys___posix_fchown(int fd, uid_t uid, \
				gid_t gid); }
208	STD		{ int linux_sys_setresuid(uid_t ruid, uid_t euid, \
			    uid_t suid); }
209	STD		{ int linux_sys_getresuid(uid_t *ruid, uid_t *euid, \
			    uid_t *suid); }
210	STD		{ int linux_sys_setresgid(gid_t rgid, gid_t egid, \
			    gid_t sgid); }
211	STD		{ int linux_sys_getresgid(gid_t *rgid, gid_t *egid, \
			    gid_t *sgid); }
212	STD		{ int linux_sys_lchown(const char *path, uid_t uid, \
				gid_t gid); }
213	NOARGS		{ int sys_setuid(uid_t uid); }
214	NOARGS		{ int sys_setgid(gid_t gid); }
215	STD		{ int linux_sys_setfsuid(uid_t uid); }
216	NOARGS		{ int linux_sys_getfsuid(void); }
@


1.9.2.6
log
@Sync with HEAD.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.9.2.5 2001/01/05 17:35:25 bouyer Exp $
d88 1
a88 1
20	NOARGS MPSAFE	{ pid_t sys_getpid(void); }
@


1.9.2.7
log
@Sync with HEAD
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.9.2.6 2001/02/11 19:13:48 bouyer Exp $
d57 1
a57 1
0	NOARGS		{ int linux_sys_nosys(void); } syscall
a375 3
218	UNIMPL		/* unused ? */
219	UNIMPL		/* unused ? */
220	UNIMPL		getdents64
@


1.9.8.1
log
@Pull up to last week's -current.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.12 1999/12/16 15:13:02 tron Exp $
d91 1
a91 2
26	STD		{ int linux_sys_ptrace(int request, int pid, \
			  int addr, int data); }
d115 1
a115 1
48	STD		{ int linux_sys_signal(int signum, \
d324 4
a327 4
180	STD		{ int linux_sys_pread(int fd, char *buf, \
			    size_t nbyte, linux_off_t offset); }
181	STD		{ int linux_sys_pwrite(int fd, char *buf, \
			    size_t nbyte, linux_off_t offset); }
@


1.8
log
@Add stime() to syscalls table.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.7 1999/05/14 18:43:58 thorpej Exp $
d277 10
a286 7
154	UNIMPL		sched_setparam
155	UNIMPL		sched_getparam
156	UNIMPL		sched_setscheduler
157	UNIMPL		sched_getscheduler
158	UNIMPL		sched_yield
159	UNIMPL		sched_get_priority_max
160	UNIMPL		sched_get_priority_min
@


1.7
log
@Emulate the Linux vfork(2) (which is like NetBSD's __vfork14(2)),
{get,set}resuid(2), and {get,set}resgid(2).  Note a few more system
calls that we don't yet emulate.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.6 1999/05/13 23:42:34 thorpej Exp $
d90 1
a90 1
25	UNIMPL		stime
@


1.6
log
@Emulate the Linux clone(2) system call.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.5 1999/03/30 07:29:05 tron Exp $
d289 4
a292 2
164	UNIMPL		setresuid
165	UNIMPL		getresuid
d298 4
a301 2
170	UNIMPL		setresgid
171	UNIMPL		setresgid
d332 4
a335 3
;187	UNIMPL		sendfile
;188	UNIMPL		streams1
;189	UNIMPL		streams2
@


1.5
log
@Add poll() emulation.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.4 1999/03/27 01:10:57 tron Exp $
d229 1
a229 1
120	UNIMPL		clone
@


1.5.4.1
log
@Sync w/ -current.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.7 1999/05/14 18:43:58 thorpej Exp $
d229 1
a229 1
120	STD		{ int linux_sys_clone(int flags, void *stack); }
d289 2
a290 4
164	STD		{ int linux_sys_setresuid(uid_t ruid, uid_t euid, \
			    uid_t suid); }
165	STD		{ int linux_sys_getresuid(uid_t *ruid, uid_t *euid, \
			    uid_t *suid); }
d296 2
a297 4
170	STD		{ int linux_sys_setresgid(gid_t rgid, gid_t egid, \
			    gid_t sgid); }
171	STD		{ int linux_sys_getresgid(gid_t *rgid, gid_t *egid, \
			    gid_t *sgid); }
d328 3
a330 4
187	UNIMPL		sendfile
188	UNIMPL		getpmsg
189	UNIMPL		putpmsg
190	NOARGS		{ int sys___vfork14(void); }
@


1.4
log
@Add emulation for Linux "getcwd" syscall.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.3 1999/03/23 03:00:52 thorpej Exp $
d40 1
d293 2
a294 1
168	UNIMPL		poll
@


1.3
log
@Add support for emulating the Linux pread(2) and pwrite(2) system calls;
just call the native NetBSD versions.

PR #7202, Jaromir Dolecek <dolecek@@ics.muni.cz>.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.2 1999/02/10 10:36:26 itohy Exp $
d322 1
a322 1
183	UNIMPL		getcwd
@


1.2
log
@const mania
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.1 1998/12/15 19:25:41 itohy Exp $
d315 4
a318 2
180	UNIMPL		pread
181	UNIMPL		pwrite
@


1.1
log
@Initial support of Linux/m68k compatibility.
@
text
@d1 1
a1 1
	$NetBSD$
d58 2
a59 1
5	STD		{ int linux_sys_open(char *path, int flags, int mode); }
d63 4
a66 4
8	STD		{ int linux_sys_creat(char *path, int mode); }
9	NOARGS		{ int sys_link(char *path, char *link); }
10	STD		{ int linux_sys_unlink(char *path); }
11	STD		{ int linux_sys_execve(char *path, char **argp, \
d68 1
a68 1
12	STD		{ int linux_sys_chdir(char *path); }
d70 3
a72 2
14	STD		{ int linux_sys_mknod(char *path, int mode, int dev); }
15	STD		{ int linux_sys_chmod(char *path, int mode); }
d74 2
a75 1
16	STD		{ int linux_sys_chown(char *path, int uid, int gid); }
d94 1
a94 1
30	STD		{ int linux_sys_utime(char *path, \
d98 1
a98 1
33	STD		{ int linux_sys_access(char *path, int flags); }
d103 4
a106 3
38	STD		{ int linux_sys_rename(char *from, char *to); }
39	STD		{ int linux_sys_mkdir(char *path, int mode); }
40	STD		{ int linux_sys_rmdir(char *path); }
d165 2
a166 1
83	STD		{ int linux_sys_symlink(char *path, char *to); }
d168 1
a168 1
84	NOARGS		{ int compat_43_sys_lstat(char *path, \
d173 1
a173 1
85	STD		{ int linux_sys_readlink(char *name, char *buf, \
d175 1
a175 1
86	STD		{ int linux_sys_uselib(char *path); }
d186 2
a187 1
92	STD		{ int linux_sys_truncate(char *path, long length); }
d199 1
a199 1
99	STD		{ int linux_sys_statfs(char *path, \
d210 1
a210 1
106	STD		{ int linux_sys_stat(char *path, \
d212 1
a212 1
107	STD		{ int linux_sys_lstat(char *path, \
d318 2
a319 1
182	STD		{ int linux_sys_lchown(char *path, int uid, int gid); }
@

