head 1.147; access; symbols netbsd-11-0-RC4:1.147 netbsd-11-0-RC3:1.147 netbsd-11-0-RC2:1.147 netbsd-11-0-RC1:1.147 perseant-exfatfs-base-20250801:1.147 netbsd-11:1.147.0.2 netbsd-11-base:1.147 netbsd-10-1-RELEASE:1.141 perseant-exfatfs-base-20240630:1.146 perseant-exfatfs:1.146.0.2 perseant-exfatfs-base:1.146 netbsd-8-3-RELEASE:1.115.8.1 netbsd-9-4-RELEASE:1.127.2.2 netbsd-10-0-RELEASE:1.141 netbsd-10-0-RC6:1.141 netbsd-10-0-RC5:1.141 netbsd-10-0-RC4:1.141 netbsd-10-0-RC3:1.141 netbsd-10-0-RC2:1.141 thorpej-ifq:1.144.0.4 thorpej-ifq-base:1.144 thorpej-altq-separation:1.144.0.2 thorpej-altq-separation-base:1.144 netbsd-10-0-RC1:1.141 netbsd-10:1.141.0.4 netbsd-10-base:1.141 bouyer-sunxi-drm:1.141.0.2 bouyer-sunxi-drm-base:1.141 netbsd-9-3-RELEASE:1.127.2.2 thorpej-i2c-spi-conf2:1.139.0.16 thorpej-i2c-spi-conf2-base:1.139 thorpej-futex2:1.139.0.14 thorpej-futex2-base:1.139 thorpej-cfargs2:1.139.0.12 thorpej-cfargs2-base:1.139 cjep_sun2x-base1:1.139 cjep_sun2x:1.139.0.10 cjep_sun2x-base:1.139 cjep_staticlib_x-base1:1.139 netbsd-9-2-RELEASE:1.127.2.2 cjep_staticlib_x:1.139.0.8 cjep_staticlib_x-base:1.139 thorpej-i2c-spi-conf:1.139.0.6 thorpej-i2c-spi-conf-base:1.139 thorpej-cfargs:1.139.0.4 thorpej-cfargs-base:1.139 thorpej-futex:1.139.0.2 thorpej-futex-base:1.139 netbsd-9-1-RELEASE:1.127.2.2 bouyer-xenpvh-base2:1.135 phil-wifi-20200421:1.134 bouyer-xenpvh-base1:1.134 phil-wifi-20200411:1.134 bouyer-xenpvh:1.134.0.2 bouyer-xenpvh-base:1.134 is-mlppp:1.131.0.2 is-mlppp-base:1.131 phil-wifi-20200406:1.134 netbsd-8-2-RELEASE:1.115.8.1 ad-namecache-base3:1.131 netbsd-9-0-RELEASE:1.127.2.1 netbsd-9-0-RC2:1.127.2.1 ad-namecache-base2:1.131 ad-namecache-base1:1.130 ad-namecache:1.130.0.2 ad-namecache-base:1.130 netbsd-9-0-RC1:1.127.2.1 phil-wifi-20191119:1.130 netbsd-9:1.127.0.2 netbsd-9-base:1.127 phil-wifi-20190609:1.125 netbsd-8-1-RELEASE:1.115 netbsd-8-1-RC1:1.115 isaki-audio2:1.125.0.2 isaki-audio2-base:1.125 pgoyette-compat-merge-20190127:1.120.2.19 pgoyette-compat-20190127:1.124 pgoyette-compat-20190118:1.124 pgoyette-compat-1226:1.124 pgoyette-compat-1126:1.123 pgoyette-compat-1020:1.123 pgoyette-compat-0930:1.123 pgoyette-compat-0906:1.123 netbsd-7-2-RELEASE:1.101.2.3 pgoyette-compat-0728:1.122 netbsd-8-0-RELEASE:1.115 phil-wifi:1.121.0.2 phil-wifi-base:1.121 pgoyette-compat-0625:1.121 netbsd-8-0-RC2:1.115 pgoyette-compat-0521:1.121 pgoyette-compat-0502:1.120 pgoyette-compat-0422:1.120 netbsd-8-0-RC1:1.115 pgoyette-compat-0415:1.120 pgoyette-compat-0407:1.120 pgoyette-compat-0330:1.120 pgoyette-compat-0322:1.120 pgoyette-compat-0315:1.120 netbsd-7-1-2-RELEASE:1.101.2.3 pgoyette-compat:1.120.0.2 pgoyette-compat-base:1.120 netbsd-7-1-1-RELEASE:1.101.2.3 tls-maxphys-base-20171202:1.115 matt-nb8-mediatek:1.115.0.12 matt-nb8-mediatek-base:1.115 nick-nhusb-base-20170825:1.115 perseant-stdc-iso10646:1.115.0.10 perseant-stdc-iso10646-base:1.115 netbsd-8:1.115.0.8 netbsd-8-base:1.115 prg-localcount2-base3:1.115 prg-localcount2-base2:1.115 prg-localcount2-base1:1.115 prg-localcount2:1.115.0.6 prg-localcount2-base:1.115 pgoyette-localcount-20170426:1.115 bouyer-socketcan-base1:1.115 jdolecek-ncq:1.115.0.4 jdolecek-ncq-base:1.115 pgoyette-localcount-20170320:1.115 netbsd-7-1:1.101.2.3.0.4 netbsd-7-1-RELEASE:1.101.2.3 netbsd-7-1-RC2:1.101.2.3 nick-nhusb-base-20170204:1.115 netbsd-7-nhusb-base-20170116:1.101.2.3 bouyer-socketcan:1.115.0.2 bouyer-socketcan-base:1.115 pgoyette-localcount-20170107:1.115 netbsd-7-1-RC1:1.101.2.3 nick-nhusb-base-20161204:1.115 pgoyette-localcount-20161104:1.115 netbsd-7-0-2-RELEASE:1.101.2.1 nick-nhusb-base-20161004:1.114 localcount-20160914:1.113 netbsd-7-nhusb:1.101.2.3.0.2 netbsd-7-nhusb-base:1.101.2.3 pgoyette-localcount-20160806:1.112 pgoyette-localcount-20160726:1.112 pgoyette-localcount:1.112.0.2 pgoyette-localcount-base:1.112 nick-nhusb-base-20160907:1.112 nick-nhusb-base-20160529:1.112 netbsd-7-0-1-RELEASE:1.101.2.1 nick-nhusb-base-20160422:1.112 nick-nhusb-base-20160319:1.112 nick-nhusb-base-20151226:1.112 netbsd-7-0:1.101.2.1.0.2 netbsd-7-0-RELEASE:1.101.2.1 nick-nhusb-base-20150921:1.109 netbsd-7-0-RC3:1.101.2.1 netbsd-7-0-RC2:1.101.2.1 netbsd-7-0-RC1:1.101.2.1 nick-nhusb-base-20150606:1.102 nick-nhusb-base-20150406:1.102 nick-nhusb:1.101.0.4 nick-nhusb-base:1.101 netbsd-5-2-3-RELEASE:1.70.4.1 netbsd-5-1-5-RELEASE:1.70.4.1 netbsd-6-0-6-RELEASE:1.91.2.1 netbsd-6-1-5-RELEASE:1.91.2.1 netbsd-7:1.101.0.2 netbsd-7-base:1.101 yamt-pagecache-base9:1.99 yamt-pagecache-tag8:1.87.2.3 netbsd-6-1-4-RELEASE:1.91.2.1 netbsd-6-0-5-RELEASE:1.91.2.1 tls-earlyentropy:1.98.0.2 tls-earlyentropy-base:1.101 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.98 riastradh-drm2-base3:1.98 netbsd-6-1-3-RELEASE:1.91.2.1 netbsd-6-0-4-RELEASE:1.91.2.1 netbsd-5-2-2-RELEASE:1.70.4.1 netbsd-5-1-4-RELEASE:1.70.4.1 netbsd-6-1-2-RELEASE:1.91.2.1 netbsd-6-0-3-RELEASE:1.91.2.1 netbsd-5-2-1-RELEASE:1.70.4.1 netbsd-5-1-3-RELEASE:1.70.4.1 rmind-smpnet-nbase:1.100 netbsd-6-1-1-RELEASE:1.91.2.1 riastradh-drm2-base2:1.97 riastradh-drm2-base1:1.97 riastradh-drm2:1.97.0.6 riastradh-drm2-base:1.97 rmind-smpnet:1.97.0.4 rmind-smpnet-base:1.100 netbsd-6-1:1.91.2.1.0.6 netbsd-6-0-2-RELEASE:1.91.2.1 netbsd-6-1-RELEASE:1.91.2.1 khorben-n900:1.97.0.2 netbsd-6-1-RC4:1.91.2.1 netbsd-6-1-RC3:1.91.2.1 agc-symver:1.96.0.4 agc-symver-base:1.96 netbsd-6-1-RC2:1.91.2.1 netbsd-6-1-RC1:1.91.2.1 yamt-pagecache-base8:1.96 netbsd-5-2:1.70.4.1.0.10 netbsd-6-0-1-RELEASE:1.91.2.1 yamt-pagecache-base7:1.96 netbsd-5-2-RELEASE:1.70.4.1 netbsd-5-2-RC1:1.70.4.1 matt-nb6-plus-nbase:1.91.2.1 yamt-pagecache-base6:1.96 netbsd-6-0:1.91.2.1.0.4 netbsd-6-0-RELEASE:1.91.2.1 netbsd-6-0-RC2:1.91.2.1 tls-maxphys:1.95.0.2 tls-maxphys-base:1.101 matt-nb6-plus:1.91.2.1.0.2 matt-nb6-plus-base:1.91.2.1 netbsd-6-0-RC1:1.91.2.1 jmcneill-usbmp-base10:1.95 yamt-pagecache-base5:1.95 jmcneill-usbmp-base9:1.95 yamt-pagecache-base4:1.95 jmcneill-usbmp-base8:1.94 jmcneill-usbmp-base7:1.94 jmcneill-usbmp-base6:1.92 jmcneill-usbmp-base5:1.92 jmcneill-usbmp-base4:1.92 jmcneill-usbmp-base3:1.92 jmcneill-usbmp-pre-base2:1.88 jmcneill-usbmp-base2:1.91 netbsd-6:1.91.0.2 netbsd-6-base:1.91 netbsd-5-1-2-RELEASE:1.70.4.1 netbsd-5-1-1-RELEASE:1.70.4.1 jmcneill-usbmp:1.88.0.4 jmcneill-usbmp-base:1.88 jmcneill-audiomp3:1.88.0.2 jmcneill-audiomp3-base:1.88 yamt-pagecache-base3:1.88 yamt-pagecache-base2:1.87 yamt-pagecache:1.87.0.2 yamt-pagecache-base:1.87 rmind-uvmplock-nbase:1.85 cherry-xenmp:1.85.0.2 cherry-xenmp-base:1.85 bouyer-quota2-nbase:1.84 bouyer-quota2:1.84.0.6 bouyer-quota2-base:1.84 jruoho-x86intr:1.84.0.4 jruoho-x86intr-base:1.84 matt-mips64-premerge-20101231:1.84 matt-nb5-mips64-premerge-20101231:1.70.4.1.4.1 matt-nb5-pq3:1.70.4.1.0.8 matt-nb5-pq3-base:1.70.4.1 netbsd-5-1:1.70.4.1.0.6 netbsd-5-1-RELEASE:1.70.4.1 uebayasi-xip-base4:1.84 uebayasi-xip-base3:1.84 yamt-nfs-mp-base11:1.84 netbsd-5-1-RC4:1.70.4.1 matt-nb5-mips64-k15:1.70.4.1.4.1 uebayasi-xip-base2:1.84 yamt-nfs-mp-base10:1.84 netbsd-5-1-RC3:1.70.4.1 netbsd-5-1-RC2:1.70.4.1 uebayasi-xip-base1:1.84 netbsd-5-1-RC1:1.70.4.1 rmind-uvmplock:1.84.0.2 rmind-uvmplock-base:1.85 yamt-nfs-mp-base9:1.84 uebayasi-xip:1.81.0.2 uebayasi-xip-base:1.81 netbsd-5-0-2-RELEASE:1.70.4.1 matt-nb5-mips64-premerge-20091211:1.70.4.1.4.1 matt-premerge-20091211:1.80 yamt-nfs-mp-base8:1.80 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.70.4.1.4.1 matt-nb4-mips64-k7-u2a-k9b:1.70.4.1 matt-nb5-mips64-u1-k1-k5:1.70.4.1 yamt-nfs-mp-base7:1.80 matt-nb5-mips64:1.70.4.1.0.4 netbsd-5-0-1-RELEASE:1.70.4.1 jymxensuspend-base:1.80 yamt-nfs-mp-base6:1.80 yamt-nfs-mp-base5:1.80 yamt-nfs-mp-base4:1.79 jym-xensuspend-nbase:1.80 yamt-nfs-mp-base3:1.79 nick-hppapmap-base4:1.79 nick-hppapmap-base3:1.79 netbsd-5-0:1.70.4.1.0.2 netbsd-5-0-RELEASE:1.70.4.1 netbsd-5-0-RC4:1.70.4.1 netbsd-5-0-RC3:1.70.4.1 nick-hppapmap-base2:1.78 netbsd-5-0-RC2:1.70.4.1 jym-xensuspend:1.77.0.2 jym-xensuspend-base:1.79 netbsd-5-0-RC1:1.70.4.1 christos-time_t-nbase:1.74 christos-time_t-base:1.74 christos-time_t:1.74.0.4 haad-dm-base2:1.74 haad-nbase2:1.74 ad-audiomp2:1.74.0.2 ad-audiomp2-base:1.74 netbsd-5:1.70.0.4 netbsd-5-base:1.70 nick-hppapmap:1.70.0.2 nick-hppapmap-base:1.79 matt-mips64-base2:1.70 matt-mips64:1.59.0.16 haad-dm-base1:1.70 wrstuden-revivesa-base-4:1.69 netbsd-4-0-1-RELEASE:1.54 wrstuden-revivesa-base-3:1.69 wrstuden-revivesa-base-2:1.69 wrstuden-fixsa-newbase:1.54 nick-csl-alignment-base5:1.61 haad-dm:1.69.0.8 haad-dm-base:1.74 wrstuden-revivesa-base-1:1.69 simonb-wapbl-nbase:1.69 yamt-pf42-base4:1.69 simonb-wapbl:1.69.0.6 simonb-wapbl-base:1.69 yamt-pf42-base3:1.69 hpcarm-cleanup-nbase:1.69 yamt-pf42-baseX:1.68 yamt-pf42-base2:1.69 yamt-nfs-mp-base2:1.69 wrstuden-revivesa:1.69.0.4 wrstuden-revivesa-base:1.69 yamt-nfs-mp:1.69.0.2 yamt-nfs-mp-base:1.69 yamt-pf42:1.68.0.2 yamt-pf42-base:1.68 ad-socklock-base1:1.68 yamt-lazymbuf-base15:1.68 yamt-lazymbuf-base14:1.68 keiichi-mipv6-nbase:1.68 mjf-devfs2:1.67.0.6 mjf-devfs2-base:1.77 nick-net80211-sync:1.67.0.4 nick-net80211-sync-base:1.67 keiichi-mipv6:1.67.0.2 keiichi-mipv6-base:1.68 bouyer-xeni386-merge1:1.63.4.1 matt-armv6-prevmlocking:1.61 wrstuden-fixsa-base-1:1.54 vmlocking2-base3:1.64 netbsd-4-0:1.54.0.8 netbsd-4-0-RELEASE:1.54 bouyer-xeni386-nbase:1.65 yamt-kmem-base3:1.63 cube-autoconf:1.63.0.6 cube-autoconf-base:1.63 yamt-kmem-base2:1.63 bouyer-xeni386:1.63.0.4 bouyer-xeni386-base:1.65 yamt-kmem:1.63.0.2 yamt-kmem-base:1.63 vmlocking2-base2:1.63 reinoud-bufcleanup-nbase:1.63 vmlocking2:1.62.0.2 vmlocking2-base1:1.62 netbsd-4-0-RC5:1.54 matt-nb4-arm:1.54.0.6 matt-nb4-arm-base:1.54 matt-armv6-nbase:1.68 jmcneill-base:1.61 netbsd-4-0-RC4:1.54 mjf-devfs:1.61.0.8 mjf-devfs-base:1.67 bouyer-xenamd64-base2:1.62 vmlocking-nbase:1.62 yamt-x86pmap-base4:1.61 bouyer-xenamd64:1.61.0.6 bouyer-xenamd64-base:1.62 netbsd-4-0-RC3:1.54 yamt-x86pmap-base3:1.61 yamt-x86pmap-base2:1.61 netbsd-4-0-RC2:1.54 yamt-x86pmap:1.61.0.4 yamt-x86pmap-base:1.61 netbsd-4-0-RC1:1.54 matt-armv6:1.61.0.2 matt-armv6-base:1.64 matt-mips64-base:1.59 jmcneill-pm:1.59.0.14 jmcneill-pm-base:1.63 hpcarm-cleanup:1.59.0.12 hpcarm-cleanup-base:1.68 nick-csl-alignment:1.59.0.10 nick-csl-alignment-base:1.59 netbsd-3-1-1-RELEASE:1.26 netbsd-3-0-3-RELEASE:1.26 yamt-idlelwp-base8:1.59 wrstuden-fixsa:1.54.0.4 wrstuden-fixsa-base:1.54 thorpej-atomic:1.59.0.8 thorpej-atomic-base:1.59 reinoud-bufcleanup:1.59.0.6 reinoud-bufcleanup-base:1.62 mjf-ufs-trans:1.59.0.4 mjf-ufs-trans-base:1.59 vmlocking:1.59.0.2 vmlocking-base:1.61 ad-audiomp:1.57.0.2 ad-audiomp-base:1.57 yamt-idlelwp:1.55.0.2 post-newlock2-merge:1.55 newlock2-nbase:1.54 yamt-splraiseipl-base5:1.54 yamt-splraiseipl-base4:1.54 yamt-splraiseipl-base3:1.54 abandoned-netbsd-4-base:1.51 abandoned-netbsd-4:1.51.0.2 netbsd-3-1:1.26.0.14 netbsd-3-1-RELEASE:1.26 netbsd-3-0-2-RELEASE:1.26 yamt-splraiseipl-base2:1.53 netbsd-3-1-RC4:1.26 yamt-splraiseipl:1.53.0.4 yamt-splraiseipl-base:1.53 netbsd-3-1-RC3:1.26 yamt-pdpolicy-base9:1.53 newlock2:1.53.0.2 newlock2-base:1.54 yamt-pdpolicy-base8:1.53 netbsd-3-1-RC2:1.26 netbsd-3-1-RC1:1.26 yamt-pdpolicy-base7:1.51 netbsd-4:1.54.0.2 netbsd-4-base:1.54 yamt-pdpolicy-base6:1.47 chap-midi-nbase:1.47 netbsd-3-0-1-RELEASE:1.26 gdamore-uart:1.47.0.2 gdamore-uart-base:1.47 simonb-timcounters-final:1.41.6.2 yamt-pdpolicy-base5:1.45 chap-midi:1.45.0.2 chap-midi-base:1.47 yamt-pdpolicy-base4:1.44 yamt-pdpolicy-base3:1.44 peter-altq-base:1.43 peter-altq:1.43.0.4 yamt-pdpolicy-base2:1.43 elad-kernelauth-base:1.45 elad-kernelauth:1.43.0.2 yamt-pdpolicy:1.42.0.2 yamt-pdpolicy-base:1.42 yamt-uio_vmspace-base5:1.41 simonb-timecounters:1.41.0.6 simonb-timecounters-base:1.47 rpaulo-netinet-merge-pcb:1.41.0.4 rpaulo-netinet-merge-pcb-base:1.53 yamt-uio_vmspace:1.41.0.2 netbsd-3-0:1.26.0.12 netbsd-3-0-RELEASE:1.26 netbsd-3-0-RC6:1.26 yamt-readahead-base3:1.40 netbsd-3-0-RC5:1.26 netbsd-3-0-RC4:1.26 netbsd-3-0-RC3:1.26 yamt-readahead-base2:1.40 netbsd-3-0-RC2:1.26 yamt-readahead-pervnode:1.40 yamt-readahead-perfile:1.40 yamt-readahead:1.40.0.4 yamt-readahead-base:1.40 netbsd-3-0-RC1:1.26 yamt-vop-base3:1.40 netbsd-2-0-3-RELEASE:1.25 netbsd-2-1:1.25.0.6 yamt-vop-base2:1.40 thorpej-vnode-attr:1.40.0.2 thorpej-vnode-attr-base:1.40 netbsd-2-1-RELEASE:1.25 yamt-vop:1.39.0.2 yamt-vop-base:1.39 netbsd-2-1-RC6:1.25 netbsd-2-1-RC5:1.25 netbsd-2-1-RC4:1.25 netbsd-2-1-RC3:1.25 netbsd-2-1-RC2:1.25 netbsd-2-1-RC1:1.25 yamt-lazymbuf:1.28.0.2 yamt-km-base4:1.26 netbsd-2-0-2-RELEASE:1.25 yamt-km-base3:1.26 netbsd-3:1.26.0.10 netbsd-3-base:1.26 yamt-km-base2:1.26 yamt-km:1.26.0.6 yamt-km-base:1.26 kent-audio2:1.26.0.4 kent-audio2-base:1.26 netbsd-2-0-1-RELEASE:1.25 kent-audio1-beforemerge:1.26 netbsd-2:1.25.0.4 netbsd-2-base:1.25 kent-audio1:1.26.0.2 kent-audio1-base:1.26 netbsd-2-0-RELEASE:1.25 netbsd-2-0-RC5:1.25 netbsd-2-0-RC4:1.25 netbsd-2-0-RC3:1.25 netbsd-2-0-RC2:1.25 netbsd-2-0-RC1:1.25 netbsd-2-0:1.25.0.2 netbsd-2-0-base:1.25 netbsd-1-6-PATCH002-RELEASE:1.21 netbsd-1-6-PATCH002:1.21 netbsd-1-6-PATCH002-RC4:1.21 netbsd-1-6-PATCH002-RC3:1.21 netbsd-1-6-PATCH002-RC2:1.21 netbsd-1-6-PATCH002-RC1:1.21 ktrace-lwp:1.23.0.2 ktrace-lwp-base:1.40 netbsd-1-6-PATCH001:1.21 netbsd-1-6-PATCH001-RELEASE:1.21 netbsd-1-6-PATCH001-RC3:1.21 netbsd-1-6-PATCH001-RC2:1.21 netbsd-1-6-PATCH001-RC1:1.21 nathanw_sa_end:1.18.2.4 nathanw_sa_before_merge:1.22 fvdl_fs64_base:1.22 gmcgarry_ctxsw:1.22.0.4 gmcgarry_ctxsw_base:1.22 gmcgarry_ucred:1.22.0.2 gmcgarry_ucred_base:1.22 nathanw_sa_base:1.22 kqueue-aftermerge:1.21 kqueue-beforemerge:1.21 netbsd-1-6-RELEASE:1.21 netbsd-1-6-RC3:1.21 netbsd-1-6-RC2:1.21 netbsd-1-6-RC1:1.21 netbsd-1-6:1.21.0.4 netbsd-1-6-base:1.21 gehenna-devsw:1.21.0.2 gehenna-devsw-base:1.21 netbsd-1-5-PATCH003:1.12 eeh-devprop:1.20.0.12 eeh-devprop-base:1.20 newlock:1.20.0.10 newlock-base:1.20 ifpoll-base:1.20 thorpej-mips-cache:1.20.0.6 thorpej-mips-cache-base:1.20 thorpej-devvp-base3:1.20 thorpej-devvp-base2:1.20 post-chs-ubcperf:1.20 pre-chs-ubcperf:1.20 thorpej-devvp:1.20.0.4 thorpej-devvp-base:1.20 netbsd-1-5-PATCH002:1.12 kqueue:1.20.0.2 kqueue-base:1.21 netbsd-1-5-PATCH001:1.12 thorpej_scsipi_beforemerge:1.19 nathanw_sa:1.18.0.2 thorpej_scsipi_nbase:1.19 netbsd-1-5-RELEASE:1.12 netbsd-1-5-BETA2:1.12 netbsd-1-5-BETA:1.12 netbsd-1-4-PATCH003:1.7 netbsd-1-5-ALPHA2:1.12 netbsd-1-5:1.12.0.4 netbsd-1-5-base:1.12 minoura-xpg4dl-base:1.12 minoura-xpg4dl:1.12.0.2 netbsd-1-4-PATCH002:1.7 chs-ubc2-newbase:1.12 wrstuden-devbsize-19991221:1.10 wrstuden-devbsize:1.9.0.2 wrstuden-devbsize-base:1.10 kame_141_19991130:1.7 comdex-fall-1999:1.10.0.6 comdex-fall-1999-base:1.10 fvdl-softdep:1.10.0.4 fvdl-softdep-base:1.10 thorpej_scsipi:1.10.0.2 thorpej_scsipi_base:1.19 netbsd-1-4-PATCH001:1.7 kame_14_19990705:1.7 kame_14_19990628:1.7 kame:1.7.0.6 chs-ubc2:1.7.0.4 chs-ubc2-base:1.9 netbsd-1-4-RELEASE:1.7 netbsd-1-4:1.7.0.2 netbsd-1-4-base:1.7 kenh-if-detach:1.4.0.4 kenh-if-detach-base:1.4 chs-ubc:1.4.0.2 chs-ubc-base:1.4; locks; strict; comment @# @; 1.147 date 2025.05.09.10.19.03; author martin; state Exp; branches; next 1.146; commitid Mq31iTO6L7dPzdUF; 1.146 date 2024.05.20.01.30.33; author christos; state Exp; branches 1.146.2.1; next 1.145; commitid aPmDkMHZjPJC1GaF; 1.145 date 2024.05.19.22.25.48; author christos; state Exp; branches; next 1.144; commitid XqbzQiQAGyYD0FaF; 1.144 date 2023.07.30.06.52.20; author rin; state Exp; branches; next 1.143; commitid MSbMeFVc7DWjiNyE; 1.143 date 2023.07.30.05.30.45; author rin; state Exp; branches; next 1.142; commitid MFKeZXyX2A1eQMyE; 1.142 date 2023.07.29.12.38.25; author rin; state Exp; branches; next 1.141; commitid 113EIEtz9qIZeHyE; 1.141 date 2021.09.20.01.07.45; author thorpej; state Exp; branches; next 1.140; commitid Jp7XCaVOykajbD9D; 1.140 date 2021.09.20.01.00.55; author thorpej; state Exp; branches; next 1.139; commitid sVwEhG3MV5RW8D9D; 1.139 date 2020.10.10.00.00.54; author rin; state Exp; branches; next 1.138; commitid p1d5fe9u0NnXThrC; 1.138 date 2020.05.16.18.31.48; author christos; state Exp; branches; next 1.137; commitid AayHkepHy6nSLu8C; 1.137 date 2020.04.26.19.18.36; author thorpej; state Exp; branches; next 1.136; commitid RbnoZj5wppQQFV5C; 1.136 date 2020.04.26.18.53.33; author thorpej; state Exp; branches; next 1.135; commitid xaklHg2Aa3B2wV5C; 1.135 date 2020.04.22.21.22.21; author thorpej; state Exp; branches; next 1.134; commitid E2ZtcBYX1LHluq5C; 1.134 date 2020.04.04.20.20.12; author thorpej; state Exp; branches 1.134.2.1; next 1.133; commitid uaVWNOB5KvZNI63C; 1.133 date 2020.03.12.15.02.29; author pgoyette; state Exp; branches; next 1.132; commitid kskRxhzJGNjsH70C; 1.132 date 2020.03.07.00.56.41; author pgoyette; state Exp; branches; next 1.131; commitid czATrU3aryViapZB; 1.131 date 2020.01.18.07.33.24; author kamil; state Exp; branches; next 1.130; commitid DF5O1m7CUQRCV8TB; 1.130 date 2019.11.04.11.32.22; author rin; state Exp; branches 1.130.2.1; next 1.129; commitid mwypGQCRwmJUDwJB; 1.129 date 2019.11.04.11.20.22; author rin; state Exp; branches; next 1.128; commitid ewvk2F9OFhZYzwJB; 1.128 date 2019.09.22.22.59.38; author christos; state Exp; branches; next 1.127; commitid rROHZPwp809xR3EB; 1.127 date 2019.06.18.16.23.24; author christos; state Exp; branches 1.127.2.1; next 1.126; commitid 5U018HGjmHGzLGrB; 1.126 date 2019.06.18.01.36.50; author christos; state Exp; branches; next 1.125; commitid CvPMI10JrTppRBrB; 1.125 date 2019.01.27.02.08.40; author pgoyette; state Exp; branches; next 1.124; commitid ipPva1Pj3xTcBm9B; 1.124 date 2018.12.24.21.27.06; author mrg; state Exp; branches; next 1.123; commitid D4u9U1zzYiyR565B; 1.123 date 2018.07.31.21.00.02; author rjs; state Exp; branches; next 1.122; commitid lcKFx6lQS516EkMA; 1.122 date 2018.07.12.10.46.48; author maxv; state Exp; branches; next 1.121; commitid zv0Sckxqs4y3RPJA; 1.121 date 2018.05.10.02.36.07; author christos; state Exp; branches 1.121.2.1; next 1.120; commitid XWPQdA6ddZJTaHBA; 1.120 date 2018.01.06.16.41.23; author kamil; state Exp; branches 1.120.2.1; next 1.119; commitid 6DZmNFuKyXIVMPlA; 1.119 date 2017.12.19.19.40.03; author kamil; state Exp; branches; next 1.118; commitid hSKyR6Q7IQ9CnxjA; 1.118 date 2017.12.19.18.34.47; author kamil; state Exp; branches; next 1.117; commitid K83npjyXntIA2xjA; 1.117 date 2017.12.19.08.48.19; author kamil; state Exp; branches; next 1.116; commitid 1YYMODWJmlmhNtjA; 1.116 date 2017.12.19.07.58.50; author kamil; state Exp; branches; next 1.115; commitid QLH2faxwzqyuttjA; 1.115 date 2016.10.19.09.44.01; author skrll; state Exp; branches 1.115.8.1; next 1.114; 1.114 date 2016.09.23.14.10.28; author skrll; state Exp; branches; next 1.113; 1.113 date 2016.09.10.08.18.45; author skrll; state Exp; branches; next 1.112; 1.112 date 2015.12.03.10.38.21; author pgoyette; state Exp; branches 1.112.2.1; next 1.111; 1.111 date 2015.12.01.23.56.43; author pgoyette; state Exp; branches; next 1.110; 1.110 date 2015.12.01.09.10.03; author pgoyette; state Exp; branches; next 1.109; 1.109 date 2015.06.23.04.44.08; author dholland; state Exp; branches; next 1.108; 1.108 date 2015.06.22.10.35.00; author mrg; state Exp; branches; next 1.107; 1.107 date 2015.06.21.12.51.33; author martin; state Exp; branches; next 1.106; 1.106 date 2015.06.21.12.29.48; author martin; state Exp; branches; next 1.105; 1.105 date 2015.06.21.08.28.36; author martin; state Exp; branches; next 1.104; 1.104 date 2015.06.20.19.55.07; author martin; state Exp; branches; next 1.103; 1.103 date 2015.06.16.10.41.34; author martin; state Exp; branches; next 1.102; 1.102 date 2015.02.25.13.16.33; author christos; state Exp; branches; next 1.101; 1.101 date 2014.06.13.10.36.18; author joerg; state Exp; branches 1.101.2.1 1.101.4.1; next 1.100; 1.100 date 2014.05.15.09.54.06; author njoly; state Exp; branches; next 1.99; 1.99 date 2014.04.30.17.23.45; author njoly; state Exp; branches; next 1.98; 1.98 date 2013.10.17.18.01.11; author njoly; state Exp; branches 1.98.2.1; next 1.97; 1.97 date 2013.03.29.01.04.30; author christos; state Exp; branches 1.97.4.1; next 1.96; 1.96 date 2012.10.02.01.44.28; author christos; state Exp; branches; next 1.95; 1.95 date 2012.04.08.11.27.44; author martin; state Exp; branches 1.95.2.1; next 1.94; 1.94 date 2012.03.10.21.51.59; author joerg; state Exp; branches; next 1.93; 1.93 date 2012.03.08.21.55.45; author joerg; state Exp; branches; next 1.92; 1.92 date 2012.02.19.17.08.02; author rmind; state Exp; branches; next 1.91; 1.91 date 2012.02.01.05.40.01; author dholland; state Exp; branches 1.91.2.1; next 1.90; 1.90 date 2012.02.01.05.34.40; author dholland; state Exp; branches; next 1.89; 1.89 date 2012.01.31.22.52.19; author matt; state Exp; branches; next 1.88; 1.88 date 2011.11.08.10.59.12; author njoly; state Exp; branches 1.88.4.1; next 1.87; 1.87 date 2011.08.31.16.50.32; author njoly; state Exp; branches 1.87.2.1; next 1.86; 1.86 date 2011.07.05.14.21.47; author njoly; state Exp; branches; next 1.85; 1.85 date 2011.03.06.17.08.35; author bouyer; state Exp; branches; next 1.84; 1.84 date 2010.03.02.21.07.21; author pooka; state Exp; branches 1.84.2.1 1.84.4.1 1.84.6.1; next 1.83; 1.83 date 2010.03.02.16.02.43; author pooka; state Exp; branches; next 1.82; 1.82 date 2010.03.02.16.00.03; author pooka; state Exp; branches; next 1.81; 1.81 date 2009.12.14.00.47.11; author matt; state Exp; branches 1.81.2.1; next 1.80; 1.80 date 2009.05.17.05.54.22; author pooka; state Exp; branches; next 1.79; 1.79 date 2009.03.16.20.48.13; author njoly; state Exp; branches; next 1.78; 1.78 date 2009.02.26.21.08.48; author christos; state Exp; branches; next 1.77; 1.77 date 2009.01.13.22.27.43; author pooka; state Exp; branches 1.77.2.1; next 1.76; 1.76 date 2009.01.13.21.48.35; author pooka; state Exp; branches; next 1.75; 1.75 date 2009.01.11.02.45.49; author christos; state Exp; branches; next 1.74; 1.74 date 2008.11.22.23.13.38; author mrg; state Exp; branches 1.74.4.1; next 1.73; 1.73 date 2008.11.19.18.36.05; author ad; state Exp; branches; next 1.72; 1.72 date 2008.11.14.15.49.20; author ad; state Exp; branches; next 1.71; 1.71 date 2008.11.12.12.36.10; author ad; state Exp; branches; next 1.70; 1.70 date 2008.10.15.06.51.20; author wrstuden; state Exp; branches 1.70.2.1 1.70.4.1; next 1.69; 1.69 date 2008.04.24.11.51.18; author ad; state Exp; branches 1.69.2.1 1.69.4.1 1.69.8.1; next 1.68; 1.68 date 2008.02.24.12.52.55; author martin; state Exp; branches 1.68.2.1; next 1.67; 1.67 date 2008.01.27.20.13.07; author martin; state Exp; branches 1.67.2.1 1.67.6.1; next 1.66; 1.66 date 2008.01.26.08.35.51; author dsl; state Exp; branches; next 1.65; 1.65 date 2008.01.19.22.25.12; author dsl; state Exp; branches; next 1.64; 1.64 date 2007.12.17.20.45.29; author dsl; state Exp; branches; next 1.63; 1.63 date 2007.12.07.22.41.05; author ad; state Exp; branches 1.63.4.1; next 1.62; 1.62 date 2007.11.09.15.05.34; author dsl; state Exp; branches 1.62.2.1; next 1.61; 1.61 date 2007.08.15.12.07.31; author ad; state Exp; branches 1.61.2.1 1.61.6.1 1.61.8.1; next 1.60; 1.60 date 2007.08.07.19.00.42; author ad; state Exp; branches; next 1.59; 1.59 date 2007.03.04.07.54.09; author christos; state Exp; branches 1.59.2.1 1.59.6.1 1.59.10.1 1.59.14.1; next 1.58; 1.58 date 2007.03.04.06.01.27; author christos; state Exp; branches; next 1.57; 1.57 date 2007.02.19.15.32.43; author cube; state Exp; branches; next 1.56; 1.56 date 2007.02.18.09.03.55; author cube; state Exp; branches; next 1.55; 1.55 date 2007.02.09.21.55.22; author ad; state Exp; branches 1.55.2.1; next 1.54; 1.54 date 2006.11.09.14.09.37; author cube; state Exp; branches; next 1.53; 1.53 date 2006.09.01.20.58.18; author matt; state Exp; branches 1.53.2.1 1.53.4.1; next 1.52; 1.52 date 2006.08.30.13.57.47; author cube; state Exp; branches; next 1.51; 1.51 date 2006.07.31.16.32.51; author martin; state Exp; branches; next 1.50; 1.50 date 2006.07.13.23.22.40; author pavel; state Exp; branches; next 1.49; 1.49 date 2006.07.13.12.00.25; author martin; state Exp; branches; next 1.48; 1.48 date 2006.06.26.21.23.57; author mrg; state Exp; branches; next 1.47; 1.47 date 2006.05.31.09.52.27; author drochner; state Exp; branches 1.47.2.1; next 1.46; 1.46 date 2006.05.29.09.44.51; author drochner; state Exp; branches; next 1.45; 1.45 date 2006.05.05.13.28.52; author cube; state Exp; branches 1.45.2.1; next 1.44; 1.44 date 2006.03.29.23.04.12; author cube; state Exp; branches; next 1.43; 1.43 date 2006.03.06.14.40.55; author cube; state Exp; branches 1.43.2.1 1.43.4.1; next 1.42; 1.42 date 2006.03.05.01.28.20; author cube; state Exp; branches 1.42.2.1; next 1.41; 1.41 date 2005.12.11.12.20.22; author christos; state Exp; branches 1.41.4.1 1.41.6.1; next 1.40; 1.40 date 2005.10.23.01.33.32; author cube; state Exp; branches; next 1.39; 1.39 date 2005.08.19.04.24.38; author christos; state Exp; branches 1.39.2.1; next 1.38; 1.38 date 2005.08.19.02.03.57; author christos; state Exp; branches; next 1.37; 1.37 date 2005.07.23.22.03.45; author cube; state Exp; branches; next 1.36; 1.36 date 2005.07.23.18.56.15; author cube; state Exp; branches; next 1.35; 1.35 date 2005.07.12.07.45.34; author cube; state Exp; branches; next 1.34; 1.34 date 2005.07.11.20.18.05; author cube; state Exp; branches; next 1.33; 1.33 date 2005.07.10.14.32.16; author cube; state Exp; branches; next 1.32; 1.32 date 2005.07.10.11.28.58; author cube; state Exp; branches; next 1.31; 1.31 date 2005.07.09.22.40.13; author cube; state Exp; branches; next 1.30; 1.30 date 2005.07.08.22.21.43; author cube; state Exp; branches; next 1.29; 1.29 date 2005.07.08.21.39.39; author cube; state Exp; branches; next 1.28; 1.28 date 2005.07.04.00.26.07; author cube; state Exp; branches 1.28.2.1; next 1.27; 1.27 date 2005.05.30.22.59.55; author chs; state Exp; branches; next 1.26; 1.26 date 2004.06.17.18.29.40; author cube; state Exp; branches; next 1.25; 1.25 date 2003.10.25.16.27.25; author chs; state Exp; branches; next 1.24; 1.24 date 2003.10.13.18.53.35; author fvdl; state Exp; branches; next 1.23; 1.23 date 2003.01.18.08.28.26; author thorpej; state Exp; branches 1.23.2.1; next 1.22; 1.22 date 2002.10.23.13.16.46; author scw; state Exp; branches; next 1.21; 1.21 date 2002.04.29.09.53.41; author mrg; state Exp; branches; next 1.20; 1.20 date 2001.05.30.11.37.29; author mrg; state Exp; branches 1.20.2.1; next 1.19; 1.19 date 2001.04.10.11.11.17; author kleink; state Exp; branches; next 1.18; 1.18 date 2001.02.02.13.01.44; author mrg; state Exp; branches 1.18.2.1; next 1.17; 1.17 date 2001.01.27.07.58.22; author thorpej; state Exp; branches; next 1.16; 1.16 date 2000.12.09.05.27.30; author mycroft; state Exp; branches; next 1.15; 1.15 date 2000.11.30.19.17.57; author jdolecek; state Exp; branches; next 1.14; 1.14 date 2000.08.07.17.59.36; author bjh21; state Exp; branches; next 1.13; 1.13 date 2000.07.09.13.39.32; author mrg; state Exp; branches; next 1.12; 1.12 date 2000.01.31.15.59.58; author christos; state Exp; branches; next 1.11; 1.11 date 99.12.30.15.40.46; author eeh; state Exp; branches; next 1.10; 1.10 date 99.10.11.01.36.24; author eeh; state Exp; branches 1.10.2.1; next 1.9; 1.9 date 99.07.12.21.55.20; author kleink; state Exp; branches 1.9.2.1; next 1.8; 1.8 date 99.06.09.04.50.11; author christos; state Exp; branches; next 1.7; 1.7 date 99.03.25.16.22.50; author mrg; state Exp; branches 1.7.4.1; next 1.6; 1.6 date 99.03.25.15.33.48; author mrg; state Exp; branches; next 1.5; 1.5 date 98.12.10.17.03.20; author christos; state Exp; branches; next 1.4; 1.4 date 98.10.19.22.39.09; author tron; state Exp; branches; next 1.3; 1.3 date 98.10.01.14.27.58; author eeh; state Exp; branches; next 1.2; 1.2 date 98.08.26.13.42.50; author mrg; state Exp; branches; next 1.1; 1.1 date 98.08.26.10.20.37; author mrg; state Exp; branches; next ; 1.146.2.1 date 2025.08.02.05.56.28; author perseant; state Exp; branches; next ; commitid 23j6GFaDws3O875G; 1.134.2.1 date 2020.04.25.11.23.58; author bouyer; state Exp; branches; next ; commitid d0banFLkg9JL4L5C; 1.130.2.1 date 2020.01.25.22.38.45; author ad; state Exp; branches; next ; commitid ethRERRmx7bMJ7UB; 1.127.2.1 date 2019.11.04.14.46.57; author martin; state Exp; branches; next 1.127.2.2; commitid rHTJ3MRH3V1xLxJB; 1.127.2.2 date 2020.03.08.10.36.38; author martin; state Exp; branches; next ; commitid ujBHRuivyRExmAZB; 1.121.2.1 date 2019.06.10.22.07.02; author christos; state Exp; branches; next 1.121.2.2; commitid jtc8rnCzWiEEHGqB; 1.121.2.2 date 2020.04.13.08.04.16; author martin; state Exp; branches; next ; commitid X01YhRUPVUDaec4C; 1.120.2.1 date 2018.05.21.04.36.04; author pgoyette; state Exp; branches; next 1.120.2.2; commitid X5L8kSrBWQcDt7DA; 1.120.2.2 date 2018.07.28.04.37.43; author pgoyette; state Exp; branches; next 1.120.2.3; commitid 1UP1xAIUxv1ZgRLA; 1.120.2.3 date 2018.09.06.06.55.47; author pgoyette; state Exp; branches; next 1.120.2.4; commitid HCi1bXD317XIK0RA; 1.120.2.4 date 2018.09.10.09.54.47; author pgoyette; state Exp; branches; next 1.120.2.5; commitid nMSkFofx7babExRA; 1.120.2.5 date 2018.09.10.10.49.09; author pgoyette; state Exp; branches; next 1.120.2.6; commitid ZvDJcLWFrjFLWxRA; 1.120.2.6 date 2018.09.10.22.50.51; author pgoyette; state Exp; branches; next 1.120.2.7; commitid BD0ii4AABW3sWBRA; 1.120.2.7 date 2018.09.11.01.45.19; author pgoyette; state Exp; branches; next 1.120.2.8; commitid jz6e3BqMitxkUCRA; 1.120.2.8 date 2018.09.11.05.47.52; author pgoyette; state Exp; branches; next 1.120.2.9; commitid tSqwFghRVQCrfERA; 1.120.2.9 date 2018.09.11.06.11.59; author pgoyette; state Exp; branches; next 1.120.2.10; commitid Ueq47KOHZkXOnERA; 1.120.2.10 date 2018.09.11.08.35.27; author pgoyette; state Exp; branches; next 1.120.2.11; commitid khXjleaVZJ73bFRA; 1.120.2.11 date 2018.09.11.23.58.46; author pgoyette; state Exp; branches; next 1.120.2.12; commitid 1NHLYXjiMddGhKRA; 1.120.2.12 date 2018.09.12.00.20.53; author pgoyette; state Exp; branches; next 1.120.2.13; commitid HEgwYvdwzoFcpKRA; 1.120.2.13 date 2018.09.12.03.21.14; author pgoyette; state Exp; branches; next 1.120.2.14; commitid RDQruJ77oz7bpLRA; 1.120.2.14 date 2018.09.12.23.26.38; author pgoyette; state Exp; branches; next 1.120.2.15; commitid zUxQgrMS4gaM4SRA; 1.120.2.15 date 2018.09.13.03.49.46; author pgoyette; state Exp; branches; next 1.120.2.16; commitid gbgNEe5y4Bt3xTRA; 1.120.2.16 date 2018.09.14.01.20.52; author pgoyette; state Exp; branches; next 1.120.2.17; commitid 9nKANqflrwPXF0SA; 1.120.2.17 date 2018.09.14.10.41.13; author pgoyette; state Exp; branches; next 1.120.2.18; commitid LXZ8eHmOhxS4M3SA; 1.120.2.18 date 2018.09.29.04.11.06; author pgoyette; state Exp; branches; next 1.120.2.19; commitid 9VDS6CWBCVAm7XTA; 1.120.2.19 date 2018.09.29.04.22.31; author pgoyette; state Exp; branches; next ; commitid YH7xGTLdjFibcXTA; 1.115.8.1 date 2019.11.04.14.39.59; author martin; state Exp; branches; next ; commitid zxFwZDJlKgu8JxJB; 1.112.2.1 date 2016.11.04.14.49.07; author pgoyette; state Exp; branches; next ; 1.101.2.1 date 2015.03.07.05.22.01; author snj; state Exp; branches; next 1.101.2.2; 1.101.2.2 date 2015.11.04.17.46.21; author riz; state Exp; branches; next 1.101.2.3; 1.101.2.3 date 2015.11.06.09.16.48; author martin; state Exp; branches; next 1.101.2.4; 1.101.2.4 date 2019.11.04.14.51.31; author martin; state Exp; branches; next ; commitid V155EUcxwVS5NxJB; 1.101.4.1 date 2015.04.06.15.18.07; author skrll; state Exp; branches; next 1.101.4.2; 1.101.4.2 date 2015.09.22.12.05.55; author skrll; state Exp; branches; next 1.101.4.3; 1.101.4.3 date 2015.12.27.12.09.47; author skrll; state Exp; branches; next 1.101.4.4; 1.101.4.4 date 2016.10.05.20.55.39; author skrll; state Exp; branches; next 1.101.4.5; 1.101.4.5 date 2016.12.05.10.55.00; author skrll; state Exp; branches; next ; 1.98.2.1 date 2014.08.10.06.54.33; author tls; state Exp; branches; next ; 1.97.4.1 date 2014.05.18.17.45.33; author rmind; state Exp; branches; next ; 1.95.2.1 date 2012.11.20.03.01.57; author tls; state Exp; branches; next 1.95.2.2; 1.95.2.2 date 2013.06.23.06.20.16; author tls; state Exp; branches; next 1.95.2.3; 1.95.2.3 date 2014.08.20.00.03.33; author tls; state Exp; branches; next 1.95.2.4; 1.95.2.4 date 2017.12.03.11.36.56; author jdolecek; state Exp; branches; next ; commitid XcIYRZTAh1LmerhA; 1.91.2.1 date 2012.04.12.17.05.37; author riz; state Exp; branches; next 1.91.2.2; 1.91.2.2 date 2015.04.14.15.03.37; author msaitoh; state Exp; branches; next ; 1.88.4.1 date 2012.02.18.07.33.59; author mrg; state Exp; branches; next 1.88.4.2; 1.88.4.2 date 2012.02.24.09.11.39; author mrg; state Exp; branches; next 1.88.4.3; 1.88.4.3 date 2012.03.11.01.52.26; author mrg; state Exp; branches; next 1.88.4.4; 1.88.4.4 date 2012.04.29.23.04.45; author mrg; state Exp; branches; next ; 1.87.2.1 date 2011.11.10.14.31.45; author yamt; state Exp; branches; next 1.87.2.2; 1.87.2.2 date 2012.04.17.00.07.22; author yamt; state Exp; branches; next 1.87.2.3; 1.87.2.3 date 2012.10.30.17.20.48; author yamt; state Exp; branches; next 1.87.2.4; 1.87.2.4 date 2014.05.22.11.40.17; author yamt; state Exp; branches; next ; 1.84.2.1 date 2011.04.21.01.41.43; author rmind; state Exp; branches; next ; 1.84.4.1 date 2011.06.06.09.07.34; author jruoho; state Exp; branches; next ; 1.84.6.1 date 2011.01.20.14.24.56; author bouyer; state Exp; branches; next 1.84.6.2; 1.84.6.2 date 2011.02.09.16.09.55; author bouyer; state Exp; branches; next ; 1.81.2.1 date 2010.04.30.14.43.01; author uebayasi; state Exp; branches; next ; 1.77.2.1 date 2009.05.13.17.19.00; author jym; state Exp; branches; next 1.77.2.2; 1.77.2.2 date 2009.07.23.23.31.43; author jym; state Exp; branches; next ; 1.74.4.1 date 2008.11.22.23.13.38; author christos; state dead; branches; next 1.74.4.2; 1.74.4.2 date 2009.01.04.01.56.02; author christos; state Exp; branches; next 1.74.4.3; 1.74.4.3 date 2009.01.04.02.56.09; author christos; state Exp; branches; next ; 1.70.2.1 date 2009.01.19.13.17.37; author skrll; state Exp; branches; next 1.70.2.2; 1.70.2.2 date 2009.03.03.18.30.08; author skrll; state Exp; branches; next 1.70.2.3; 1.70.2.3 date 2009.04.28.07.35.08; author skrll; state Exp; branches; next ; 1.70.4.1 date 2008.11.25.17.31.26; author snj; state Exp; branches 1.70.4.1.4.1; next ; 1.70.4.1.4.1 date 2009.09.12.17.42.05; author matt; state Exp; branches; next ; 1.69.2.1 date 2009.05.04.08.12.26; author yamt; state Exp; branches; next 1.69.2.2; 1.69.2.2 date 2009.06.20.07.20.18; author yamt; state Exp; branches; next 1.69.2.3; 1.69.2.3 date 2010.03.11.15.03.18; author yamt; state Exp; branches; next ; 1.69.4.1 date 2008.05.10.23.48.58; author wrstuden; state Exp; branches; next 1.69.4.2; 1.69.4.2 date 2008.05.14.01.35.10; author wrstuden; state Exp; branches; next 1.69.4.3; 1.69.4.3 date 2008.09.28.21.14.14; author skrll; state Exp; branches; next ; 1.69.8.1 date 2008.10.19.22.16.17; author haad; state Exp; branches; next 1.69.8.2; 1.69.8.2 date 2008.12.13.01.14.03; author haad; state Exp; branches; next ; 1.68.2.1 date 2008.05.18.12.33.24; author yamt; state Exp; branches; next ; 1.67.2.1 date 2008.03.24.07.15.10; author keiichi; state Exp; branches; next ; 1.67.6.1 date 2008.04.03.12.42.34; author mjf; state Exp; branches; next 1.67.6.2; 1.67.6.2 date 2008.06.02.13.23.07; author mjf; state Exp; branches; next 1.67.6.3; 1.67.6.3 date 2009.01.17.13.28.47; author mjf; state Exp; branches; next ; 1.63.4.1 date 2008.01.02.21.53.14; author bouyer; state Exp; branches; next 1.63.4.2; 1.63.4.2 date 2008.01.20.17.51.30; author bouyer; state Exp; branches; next ; 1.62.2.1 date 2007.12.08.17.57.01; author ad; state Exp; branches; next 1.62.2.2; 1.62.2.2 date 2007.12.26.21.39.09; author ad; state Exp; branches; next ; 1.61.2.1 date 2008.01.09.01.51.41; author matt; state Exp; branches; next 1.61.2.2; 1.61.2.2 date 2008.03.23.02.04.34; author matt; state Exp; branches; next ; 1.61.6.1 date 2007.11.13.16.00.44; author bouyer; state Exp; branches; next ; 1.61.8.1 date 2007.11.19.00.47.35; author mjf; state Exp; branches; next 1.61.8.2; 1.61.8.2 date 2007.12.08.18.19.02; author mjf; state Exp; branches; next 1.61.8.3; 1.61.8.3 date 2007.12.27.00.44.29; author mjf; state Exp; branches; next 1.61.8.4; 1.61.8.4 date 2008.02.18.21.05.28; author mjf; state Exp; branches; next ; 1.59.2.1 date 2007.08.20.21.26.01; author ad; state Exp; branches; next ; 1.59.6.1 date 2007.12.09.16.03.58; author reinoud; state Exp; branches; next ; 1.59.10.1 date 2007.08.15.13.48.09; author skrll; state Exp; branches; next 1.59.10.2; 1.59.10.2 date 2007.09.03.10.20.03; author skrll; state Exp; branches; next ; 1.59.14.1 date 2007.08.09.02.37.07; author jmcneill; state Exp; branches; next 1.59.14.2; 1.59.14.2 date 2007.08.16.11.03.00; author jmcneill; state Exp; branches; next 1.59.14.3; 1.59.14.3 date 2007.11.11.16.47.22; author joerg; state Exp; branches; next 1.59.14.4; 1.59.14.4 date 2007.12.09.19.37.23; author jmcneill; state Exp; branches; next ; 1.55.2.1 date 2007.02.27.16.53.40; author yamt; state Exp; branches; next ; 1.53.2.1 date 2006.11.18.21.39.14; author ad; state Exp; branches; next 1.53.2.2; 1.53.2.2 date 2007.01.30.13.51.35; author ad; state Exp; branches; next ; 1.53.4.1 date 2006.12.10.07.16.49; author yamt; state Exp; branches; next ; 1.47.2.1 date 2006.07.13.17.49.15; author gdamore; state Exp; branches; next ; 1.45.2.1 date 2006.06.19.03.46.29; author chap; state Exp; branches; next ; 1.43.2.1 date 2006.04.19.04.01.24; author elad; state Exp; branches; next 1.43.2.2; 1.43.2.2 date 2006.05.11.23.27.31; author elad; state Exp; branches; next ; 1.43.4.1 date 2006.03.31.09.45.16; author tron; state Exp; branches; next 1.43.4.2; 1.43.4.2 date 2006.05.24.15.48.28; author tron; state Exp; branches; next ; 1.42.2.1 date 2006.03.05.01.28.20; author yamt; state dead; branches; next 1.42.2.2; 1.42.2.2 date 2006.03.13.09.07.08; author yamt; state Exp; branches; next 1.42.2.3; 1.42.2.3 date 2006.04.01.12.06.42; author yamt; state Exp; branches; next 1.42.2.4; 1.42.2.4 date 2006.05.24.10.57.31; author yamt; state Exp; branches; next 1.42.2.5; 1.42.2.5 date 2006.06.26.12.46.19; author yamt; state Exp; branches; next 1.42.2.6; 1.42.2.6 date 2006.08.11.15.43.30; author yamt; state Exp; branches; next ; 1.41.4.1 date 2006.09.09.02.46.12; author rpaulo; state Exp; branches; next ; 1.41.6.1 date 2006.04.22.11.38.17; author simonb; state Exp; branches; next 1.41.6.2; 1.41.6.2 date 2006.06.01.22.35.54; author kardel; state Exp; branches; next ; 1.39.2.1 date 2005.10.26.08.32.45; author yamt; state Exp; branches; next ; 1.28.2.1 date 2006.06.21.14.59.36; author yamt; state Exp; branches; next 1.28.2.2; 1.28.2.2 date 2006.12.30.20.47.43; author yamt; state Exp; branches; next 1.28.2.3; 1.28.2.3 date 2007.02.26.09.09.33; author yamt; state Exp; branches; next 1.28.2.4; 1.28.2.4 date 2007.09.03.14.32.43; author yamt; state Exp; branches; next 1.28.2.5; 1.28.2.5 date 2007.11.15.11.43.56; author yamt; state Exp; branches; next 1.28.2.6; 1.28.2.6 date 2008.01.21.09.41.56; author yamt; state Exp; branches; next 1.28.2.7; 1.28.2.7 date 2008.02.04.09.23.14; author yamt; state Exp; branches; next 1.28.2.8; 1.28.2.8 date 2008.02.27.08.36.30; author yamt; state Exp; branches; next ; 1.23.2.1 date 2004.08.03.10.44.23; author skrll; state Exp; branches; next 1.23.2.2; 1.23.2.2 date 2004.09.18.14.43.58; author skrll; state Exp; branches; next 1.23.2.3; 1.23.2.3 date 2004.09.21.13.25.58; author skrll; state Exp; branches; next 1.23.2.4; 1.23.2.4 date 2005.11.10.14.01.21; author skrll; state Exp; branches; next ; 1.20.2.1 date 2002.06.23.17.44.34; author jdolecek; state Exp; branches; next ; 1.18.2.1 date 2001.06.21.20.00.12; author nathanw; state Exp; branches; next 1.18.2.2; 1.18.2.2 date 2002.05.29.21.32.50; author nathanw; state Exp; branches; next 1.18.2.3; 1.18.2.3 date 2002.06.20.03.43.13; author nathanw; state Exp; branches; next 1.18.2.4; 1.18.2.4 date 2002.11.11.22.08.04; author nathanw; state Exp; branches; next ; 1.10.2.1 date 2000.11.20.18.08.32; author bouyer; state Exp; branches; next 1.10.2.2; 1.10.2.2 date 2000.12.08.09.08.37; author bouyer; state Exp; branches; next 1.10.2.3; 1.10.2.3 date 2000.12.13.15.49.52; author bouyer; state Exp; branches; next 1.10.2.4; 1.10.2.4 date 2001.02.11.19.14.23; author bouyer; state Exp; branches; next 1.10.2.5; 1.10.2.5 date 2001.04.21.17.46.21; author bouyer; state Exp; branches; next ; 1.9.2.1 date 99.12.27.18.34.31; author wrstuden; state Exp; branches; next ; 1.7.4.1 date 99.06.21.01.08.09; author thorpej; state Exp; branches; next 1.7.4.2; 1.7.4.2 date 99.08.02.21.52.57; author thorpej; state Exp; branches; next ; desc @@ 1.147 log @PR 59352: add netbsd32 compat for semtimedop(2) @ text @ $NetBSD: syscalls.master,v 1.146 2024/05/20 01:30:33 christos Exp $ ; from: NetBSD: syscalls.master,v 1.81 1998/07/05 08:49:50 jonathan Exp ; @@(#)syscalls.master 8.2 (Berkeley) 1/13/94 ; NetBSD 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, IGNORED, NODEF, NOARGS, or one of ; the compatibility options defined in syscalls.conf. ; ; types: ; STD always included ; OBSOL obsolete, not included in system ; IGNORED syscall is a null op, but always succeeds ; UNIMPL unimplemented, not included in system ; EXCL implemented, but 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_ntp.h" #include "opt_compat_43.h" #include "opt_quota.h" #endif #include #include #include #include #include #include #include #include %% ; Reserved/unimplemented system calls in the range 0-150 inclusive ; are reserved for use in future Berkeley releases. ; Additional system calls implemented in vendor and other ; redistributions should be placed in the reserved range at the end ; of the current calls. 0 INDIR { int|netbsd32||syscall(int code, \ ... register32_t args[NETBSD32_SYS_MAXSYSARGS]); } 1 STD { void|netbsd32||exit(int rval); } 2 NOARGS { int|sys||fork(void); } 3 STD { netbsd32_ssize_t|netbsd32||read(int fd, \ netbsd32_voidp buf, netbsd32_size_t nbyte); } 4 STD { netbsd32_ssize_t|netbsd32||write(int fd, \ netbsd32_voidp buf, netbsd32_size_t nbyte); } 5 STD { int|netbsd32||open(netbsd32_charp path, int flags, \ ... mode_t mode); } 6 STD { int|netbsd32||close(int fd); } 7 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||wait4(int pid, netbsd32_intp status, \ int options, netbsd32_rusage50p_t rusage); } 8 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||ocreat(netbsd32_charp path, \ mode_t mode); } 9 STD { int|netbsd32||link(netbsd32_charp path, \ netbsd32_charp link); } 10 STD { int|netbsd32||unlink(netbsd32_charp path); } 11 OBSOL execv 12 STD { int|netbsd32||chdir(netbsd32_charp path); } 13 STD { int|netbsd32||fchdir(int fd); } 14 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||mknod(netbsd32_charp path, mode_t mode, \ uint32_t dev); } 15 STD { int|netbsd32||chmod(netbsd32_charp path, mode_t mode); } 16 STD { int|netbsd32||chown(netbsd32_charp path, uid_t uid, \ gid_t gid); } 17 STD { int|netbsd32||break(netbsd32_charp nsize); } 18 COMPAT_20 MODULAR compat_netbsd32_20 \ { int|netbsd32||getfsstat(netbsd32_statfsp_t buf, \ netbsd32_long bufsize, int flags); } 19 COMPAT_43 MODULAR compat_netbsd32_43 \ { netbsd32_long|netbsd32||olseek(int fd, \ netbsd32_long offset, int whence); } 20 NOARGS { pid_t|sys||getpid_with_ppid(void); } getpid 21 COMPAT_40 MODULAR compat_netbsd32_40 \ { int|netbsd32||mount(netbsd32_charp type, \ netbsd32_charp path, int flags, \ netbsd32_voidp data); } 22 STD { int|netbsd32||unmount(netbsd32_charp path, \ int flags); } 23 STD { int|netbsd32||setuid(uid_t uid); } 24 NOARGS { uid_t|sys||getuid_with_euid(void); } getuid 25 NOARGS { uid_t|sys||geteuid(void); } 26 STD MODULAR compat_netbsd32_ptrace \ { int|netbsd32||ptrace(int req, pid_t pid, \ netbsd32_voidp addr, int data); } 27 STD { netbsd32_ssize_t|netbsd32||recvmsg(int s, \ netbsd32_msghdrp_t msg, int flags); } 28 STD { netbsd32_ssize_t|netbsd32||sendmsg(int s, \ netbsd32_msghdrp_t msg, int flags); } 29 STD { netbsd32_ssize_t|netbsd32||recvfrom(int s, \ netbsd32_voidp buf, netbsd32_size_t len, \ int flags, netbsd32_sockaddrp_t from, \ netbsd32_intp fromlenaddr); } 30 STD { int|netbsd32||accept(int s, \ netbsd32_sockaddrp_t name, \ netbsd32_intp anamelen); } 31 STD { int|netbsd32||getpeername(int fdes, \ netbsd32_sockaddrp_t asa, netbsd32_intp alen); } 32 STD { int|netbsd32||getsockname(int fdes, \ netbsd32_sockaddrp_t asa, netbsd32_intp alen); } 33 STD { int|netbsd32||access(netbsd32_charp path, int flags); } 34 STD { int|netbsd32||chflags(netbsd32_charp path, \ netbsd32_u_long flags); } 35 STD { int|netbsd32||fchflags(int fd, \ netbsd32_u_long flags); } 36 NOARGS { void|sys||sync(void); } 37 STD { int|netbsd32||kill(int pid, int signum); } 38 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||stat43(netbsd32_charp path, \ netbsd32_stat43p_t ub); } 39 NOARGS { pid_t|sys||getppid(void); } 40 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||lstat43(netbsd32_charp path, \ netbsd32_stat43p_t ub); } 41 STD { int|netbsd32||dup(int fd); } 42 NOARGS { int|sys||pipe(void); } 43 NOARGS { gid_t|sys||getegid(void); } 44 STD { int|netbsd32||profil(netbsd32_voidp samples, \ netbsd32_size_t size, netbsd32_u_long offset, \ u_int scale); } 45 STD { int|netbsd32||ktrace(netbsd32_charp fname, int ops, \ int facs, int pid); } 46 STD { int|netbsd32||sigaction(int signum, \ netbsd32_sigactionp_t nsa, \ netbsd32_sigactionp_t osa); } 47 NOARGS { gid_t|sys||getgid_with_egid(void); } getgid 48 COMPAT_13 MODULAR compat_netbsd32_13 \ { int|netbsd32||sigprocmask(int how, \ int mask); } sigprocmask13 49 STD { int|netbsd32||__getlogin(netbsd32_charp namebuf, \ u_int namelen); } 50 STD { int|netbsd32||setlogin(netbsd32_charp namebuf); } 51 STD { int|netbsd32||acct(netbsd32_charp path); } 52 COMPAT_13 MODULAR compat_netbsd32_13 \ { int|sys||sigpending(void); } sigpending13 53 COMPAT_13 MODULAR compat_netbsd32_13 \ { int|netbsd32||sigaltstack13( \ netbsd32_sigaltstack13p_t nss, \ netbsd32_sigaltstack13p_t oss); } 54 STD { int|netbsd32||ioctl(int fd, netbsd32_u_long com, \ ... netbsd32_voidp data); } 55 COMPAT_12 MODULAR compat_netbsd32_12 \ { int|netbsd32||reboot(int opt); } 56 STD { int|netbsd32||revoke(netbsd32_charp path); } 57 STD { int|netbsd32||symlink(netbsd32_charp path, \ netbsd32_charp link); } 58 STD { int|netbsd32||readlink(netbsd32_charp path, \ netbsd32_charp buf, netbsd32_size_t count); } 59 STD { int|netbsd32||execve(netbsd32_charp path, \ netbsd32_charpp argp, netbsd32_charpp envp); } 60 STD { mode_t|netbsd32||umask(mode_t newmask); } 61 STD { int|netbsd32||chroot(netbsd32_charp path); } 62 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||fstat43(int fd, netbsd32_stat43p_t sb); } 63 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||ogetkerninfo(int op, \ netbsd32_charp where, netbsd32_intp size, \ int arg); } 64 COMPAT_43 MODULAR compat_43 \ { int|sys||getpagesize(void); } ogetpagesize 65 COMPAT_12 MODULAR compat_netbsd32_12 \ { int|netbsd32||msync(netbsd32_voidp addr, \ netbsd32_size_t len); } ; XXX COMPAT_??? for 4.4BSD-compatible vfork(2)? 66 NOARGS { int|sys||vfork(void); } 67 OBSOL vread 68 OBSOL vwrite 69 OBSOL sbrk 70 OBSOL sstk 71 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||ommap(netbsd32_voidp addr, \ netbsd32_size_t len, int prot, int flags, int fd, \ netbsd32_long pos); } 72 STD { int|netbsd32||ovadvise(int anom); } vadvise 73 STD { int|netbsd32||munmap(netbsd32_voidp addr, \ netbsd32_size_t len); } 74 STD { int|netbsd32||mprotect(netbsd32_voidp addr, \ netbsd32_size_t len, int prot); } 75 STD { int|netbsd32||madvise(netbsd32_voidp addr, \ netbsd32_size_t len, int behav); } 76 OBSOL vhangup 77 OBSOL vlimit 78 STD { int|netbsd32||mincore(netbsd32_voidp addr, \ netbsd32_size_t len, netbsd32_charp vec); } 79 STD { int|netbsd32||getgroups(int gidsetsize, \ netbsd32_gid_tp gidset); } 80 STD { int|netbsd32||setgroups(int gidsetsize, \ netbsd32_gid_tp gidset); } 81 NOARGS { int|sys||getpgrp(void); } 82 STD { int|netbsd32||setpgid(int pid, int pgid); } 83 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||setitimer(int which, \ netbsd32_itimerval50p_t itv, \ netbsd32_itimerval50p_t oitv); } 84 COMPAT_43 MODULAR compat_43 \ { int|sys||wait(void); } owait 85 COMPAT_12 MODULAR compat_netbsd32_12 \ { int|netbsd32||oswapon(netbsd32_charp name); } 86 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||getitimer(int which, \ netbsd32_itimerval50p_t itv); } 87 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||ogethostname(netbsd32_charp hostname, \ u_int len); } 88 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||osethostname(netbsd32_charp hostname, \ u_int len); } 89 COMPAT_43 MODULAR compat_43 \ { int|sys||getdtablesize(void); } ogetdtablesize 90 STD { int|netbsd32||dup2(int from, int to); } 91 STD { netbsd32_ssize_t|netbsd32||getrandom( \ netbsd32_voidp buf, netbsd32_size_t buflen, \ unsigned int flags); } 92 STD { int|netbsd32||fcntl(int fd, int cmd, \ ... netbsd32_voidp arg); } 93 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||select(int nd, netbsd32_fd_setp_t in, \ netbsd32_fd_setp_t ou, netbsd32_fd_setp_t ex, \ netbsd32_timeval50p_t tv); } 94 UNIMPL setdopt 95 STD { int|netbsd32||fsync(int fd); } 96 STD { int|netbsd32||setpriority(int which, int who, \ int prio); } 97 COMPAT_30 MODULAR compat_netbsd32_30 \ { int|netbsd32||socket(int domain, int type, \ int protocol); } 98 STD { int|netbsd32||connect(int s, \ netbsd32_sockaddrp_t name, int namelen); } 99 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||oaccept(int s, netbsd32_voidp name, \ netbsd32_intp anamelen); } 100 STD { int|netbsd32||getpriority(int which, int who); } 101 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||osend(int s, netbsd32_voidp buf, \ int len, int flags); } 102 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||orecv(int s, netbsd32_voidp buf, \ int len, int flags); } 103 COMPAT_13 MODULAR compat_netbsd32_13 \ { int|netbsd32||sigreturn( \ netbsd32_sigcontextp_t sigcntxp); } sigreturn13 104 STD { int|netbsd32||bind(int s, netbsd32_sockaddrp_t name, \ int namelen); } 105 STD { int|netbsd32||setsockopt(int s, int level, int name, \ netbsd32_voidp val, int valsize); } 106 STD { int|netbsd32||listen(int s, int backlog); } 107 OBSOL vtimes 108 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||osigvec(int signum, \ netbsd32_sigvecp_t nsv, netbsd32_sigvecp_t osv); } 109 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||sigblock(int mask); } 110 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||sigsetmask(int mask); } 111 COMPAT_13 MODULAR compat_netbsd32_13 \ { int|netbsd32||sigsuspend(int mask); } sigsuspend13 112 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||osigstack(netbsd32_sigstackp_t nss, \ netbsd32_sigstackp_t oss); } 113 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||orecvmsg(int s, \ netbsd32_omsghdrp_t msg, int flags); } 114 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||osendmsg(int s, netbsd32_voidp msg, \ int flags); } 115 OBSOL vtrace 116 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||gettimeofday(netbsd32_timeval50p_t tp, \ netbsd32_timezonep_t tzp); } 117 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||getrusage(int who, \ netbsd32_rusage50p_t rusage); } 118 STD { int|netbsd32||getsockopt(int s, int level, int name, \ netbsd32_voidp val, netbsd32_intp avalsize); } 119 OBSOL resuba 120 STD { netbsd32_ssize_t|netbsd32||readv(int fd, \ netbsd32_iovecp_t iovp, int iovcnt); } 121 STD { netbsd32_ssize_t|netbsd32||writev(int fd, \ netbsd32_iovecp_t iovp, int iovcnt); } 122 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||settimeofday(netbsd32_timeval50p_t tv, \ netbsd32_timezonep_t tzp); } 123 STD { int|netbsd32||fchown(int fd, uid_t uid, gid_t gid); } 124 STD { int|netbsd32||fchmod(int fd, mode_t mode); } 125 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||orecvfrom(int s, netbsd32_voidp buf, \ netbsd32_size_t len, int flags, \ netbsd32_voidp from, netbsd32_intp fromlenaddr); } 126 STD { int|netbsd32||setreuid(uid_t ruid, uid_t euid); } 127 STD { int|netbsd32||setregid(gid_t rgid, gid_t egid); } 128 STD { int|netbsd32||rename(netbsd32_charp from, \ netbsd32_charp to); } 129 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||otruncate(netbsd32_charp path, \ netbsd32_long length); } 130 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||oftruncate(int fd, \ netbsd32_long length); } 131 STD { int|netbsd32||flock(int fd, int how); } 132 STD { int|netbsd32||mkfifo(netbsd32_charp path, \ mode_t mode); } 133 STD { netbsd32_ssize_t|netbsd32||sendto(int s, \ netbsd32_voidp buf, netbsd32_size_t len, \ int flags, netbsd32_sockaddrp_t to, int tolen); } 134 STD { int|netbsd32||shutdown(int s, int how); } 135 STD { int|netbsd32||socketpair(int domain, int type, \ int protocol, netbsd32_intp rsv); } 136 STD { int|netbsd32||mkdir(netbsd32_charp path, \ mode_t mode); } 137 STD { int|netbsd32||rmdir(netbsd32_charp path); } 138 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||utimes(netbsd32_charp path, \ netbsd32_timeval50p_t tptr); } 139 OBSOL 4.2 sigreturn 140 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||adjtime(netbsd32_timeval50p_t delta, \ netbsd32_timeval50p_t olddelta); } 141 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||ogetpeername(int fdes, \ netbsd32_voidp asa, netbsd32_intp alen); } 142 COMPAT_43 MODULAR compat_43 \ { int32_t|sys||gethostid(void); } ogethostid 143 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||sethostid(int32_t hostid); } 144 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||ogetrlimit(int which, \ netbsd32_orlimitp_t rlp); } 145 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||osetrlimit(int which, \ netbsd32_orlimitp_t rlp); } 146 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||killpg(int pgid, int signum); } 147 NOARGS { int|sys||setsid(void); } 148 COMPAT_50 MODULAR compat_netbsd32_quota_50 \ { int|netbsd32||quotactl(netbsd32_charp path, int cmd, \ int uid, netbsd32_voidp arg); } 149 EXCL compat_netbsd32_quota 150 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||ogetsockname(int fdec, \ netbsd32_voidp asa, netbsd32_intp alen); } ; Syscalls 151-180 inclusive are reserved for vendor-specific ; system calls. (This includes various calls added for compatibity ; with other Unix variants.) ; Some of these calls are now supported by BSD... 151 UNIMPL 152 UNIMPL 153 UNIMPL 154 UNIMPL 155 STD MODULAR compat_netbsd32_nfssrv \ { int|netbsd32||nfssvc(int flag, netbsd32_voidp argp); } 156 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||ogetdirentries(int fd, \ netbsd32_charp buf, u_int count, \ netbsd32_longp basep); } 157 COMPAT_20 MODULAR compat_netbsd32_20 \ { int|netbsd32||statfs(netbsd32_charp path, \ netbsd32_statfsp_t buf); } 158 COMPAT_20 MODULAR compat_netbsd32_20 \ { int|netbsd32||fstatfs(int fd, \ netbsd32_statfsp_t buf); } 159 UNIMPL 160 UNIMPL 161 COMPAT_30 MODULAR compat_netbsd32_30 \ { int|netbsd32||getfh(netbsd32_charp fname, \ netbsd32_compat_30_fhandlep_t fhp); } 162 COMPAT_09 MODULAR compat_netbsd32_09 \ { int|netbsd32||ogetdomainname( \ netbsd32_charp domainname, int len); } 163 COMPAT_09 MODULAR compat_netbsd32_09 \ { int|netbsd32||osetdomainname( \ netbsd32_charp domainname, int len); } 164 COMPAT_09 MODULAR compat_netbsd32_09 \ { int|netbsd32||uname(netbsd32_outsnamep_t name); } 165 STD { int|netbsd32||sysarch(int op, netbsd32_voidp parms); } 166 STD { int|netbsd32||__futex(netbsd32_intp uaddr, int op, \ int val, const netbsd32_timespecp_t timeout, \ netbsd32_intp uaddr2, int val2, int val3); } 167 STD { int|netbsd32||__futex_set_robust_list( \ netbsd32_voidp head, netbsd32_size_t len); } 168 STD { int|netbsd32||__futex_get_robust_list(lwpid_t lwpid, \ netbsd32_voidp headp, netbsd32_size_tp lenp); } 169 COMPAT_10 MODULAR compat_netbsd32_sysvipc_10 \ { int|netbsd32||semsys(int which, int a2, int a3, \ int a4, int a5); } osemsys 170 COMPAT_10 MODULAR compat_netbsd32_sysvipc_10 \ { int|netbsd32||msgsys(int which, int a2, int a3, \ int a4, int a5, int a6); } omsgsys 171 COMPAT_10 MODULAR compat_netbsd32_sysvipc_10 \ { int|netbsd32||shmsys(int which, int a2, int a3, \ int a4); } oshmsys 172 UNIMPL 173 STD { netbsd32_ssize_t|netbsd32||pread(int fd, \ netbsd32_voidp buf, netbsd32_size_t nbyte, \ int PAD, netbsd32_off_t offset); } 174 STD { netbsd32_ssize_t|netbsd32||pwrite(int fd, \ netbsd32_voidp buf, netbsd32_size_t nbyte, \ int PAD, netbsd32_off_t offset); } 175 COMPAT_30 MODULAR compat_netbsd32_30 \ { int|netbsd32||ntp_gettime( \ netbsd32_ntptimeval50p_t ntvp); } #if defined(NTP) || !defined(_KERNEL_OPT) 176 STD { int|netbsd32||ntp_adjtime(netbsd32_timexp_t tp); } #else 176 EXCL ntp_adjtime #endif 177 STD { int|netbsd32||timerfd_create( \ netbsd32_clockid_t clock_id, \ int flags); } 178 STD { int|netbsd32||timerfd_settime(int fd, int flags, \ const netbsd32_itimerspecp_t new_value, \ netbsd32_itimerspecp_t old_value); } 179 STD { int|netbsd32||timerfd_gettime(int fd, \ netbsd32_itimerspecp_t curr_value); } 180 UNIMPL ; Syscalls 180-199 are used by/reserved for BSD 181 STD { int|netbsd32||setgid(gid_t gid); } 182 STD { int|netbsd32||setegid(gid_t egid); } 183 STD { int|netbsd32||seteuid(uid_t euid); } 184 EXCL netbsd32_lfs_bmapv 185 EXCL netbsd32_lfs_markv 186 EXCL netbsd32_lfs_segclean 187 EXCL netbsd32_lfs_segwait 188 COMPAT_12 MODULAR compat_netbsd32_12 \ { int|netbsd32||stat12(netbsd32_charp path, \ netbsd32_stat12p_t ub); } 189 COMPAT_12 MODULAR compat_netbsd32_12 \ { int|netbsd32||fstat12(int fd, netbsd32_stat12p_t sb); } 190 COMPAT_12 MODULAR compat_netbsd32_12 \ { int|netbsd32||lstat12(netbsd32_charp path, \ netbsd32_stat12p_t ub); } 191 STD { netbsd32_long|netbsd32||pathconf(netbsd32_charp path, \ int name); } 192 STD { netbsd32_long|netbsd32||fpathconf(int fd, int name); } 193 STD { int|netbsd32||getsockopt2(int s, int level, int name, \ netbsd32_voidp val, netbsd32_intp avalsize); } 194 STD { int|netbsd32||getrlimit(int which, \ netbsd32_rlimitp_t rlp); } 195 STD { int|netbsd32||setrlimit(int which, \ netbsd32_rlimitp_t rlp); } 196 COMPAT_12 MODULAR compat_netbsd32_12 \ { int|netbsd32||getdirentries(int fd, \ netbsd32_charp buf, u_int count, \ netbsd32_longp basep); } 197 STD { netbsd32_voidp|netbsd32||mmap(netbsd32_voidp addr, \ netbsd32_size_t len, int prot, int flags, int fd, \ netbsd32_long PAD, netbsd32_off_t pos); } 198 INDIR { quad_t|netbsd32||___syscall(quad_t code, \ ... register32_t args[NETBSD32_SYS_MAXSYSARGS]); } 199 STD { netbsd32_off_t|netbsd32||lseek(int fd, int PAD, \ netbsd32_off_t offset, int whence); } 200 STD { int|netbsd32||truncate(netbsd32_charp path, int PAD, \ netbsd32_off_t length); } 201 STD { int|netbsd32||ftruncate(int fd, int PAD, \ netbsd32_off_t length); } 202 STD { int|netbsd32||__sysctl(netbsd32_intp name, \ u_int namelen, netbsd32_voidp oldv, \ netbsd32_size_tp oldlenp, netbsd32_voidp newv, \ netbsd32_size_t newlen); } 203 STD { int|netbsd32||mlock(netbsd32_voidp addr, \ netbsd32_size_t len); } 204 STD { int|netbsd32||munlock(netbsd32_voidp addr, \ netbsd32_size_t len); } 205 STD { int|netbsd32||undelete(netbsd32_charp path); } 206 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||futimes(int fd, \ netbsd32_timeval50p_t tptr); } 207 STD { int|netbsd32||getpgid(pid_t pid); } 208 STD { int|netbsd32||reboot(int opt, \ netbsd32_charp bootstr); } 209 STD { int|netbsd32||poll(netbsd32_pollfdp_t fds, \ u_int nfds, int timeout); } 210 UNIMPL { int|netbsd32||afssys(long id, long a1, long a2, \ long a3, long a4, long a5, long a6); } 211 UNIMPL 212 UNIMPL 213 UNIMPL 214 UNIMPL 215 UNIMPL 216 UNIMPL 217 UNIMPL 218 UNIMPL 219 UNIMPL ; System calls 220-300 are reserved for use by NetBSD 220 COMPAT_14 MODULAR compat_netbsd32_sysvipc_14 \ { int|netbsd32||__semctl(int semid, int semnum, \ int cmd, netbsd32_semunu_t arg); } 221 STD MODULAR compat_netbsd32_sysvipc \ { int|netbsd32||semget(netbsd32_key_t key, int nsems, \ int semflg); } 222 STD MODULAR compat_netbsd32_sysvipc \ { int|netbsd32||semop(int semid, \ netbsd32_sembufp_t sops, netbsd32_size_t nsops); } 223 STD MODULAR compat_netbsd32_sysvipc \ { int|netbsd32||semconfig(int flag); } 224 COMPAT_14 MODULAR compat_netbsd32_sysvipc_14 \ { int|netbsd32||msgctl(int msqid, int cmd, \ netbsd32_msqid_ds14p_t buf); } 225 STD MODULAR compat_netbsd32_sysvipc \ { int|netbsd32||msgget(netbsd32_key_t key, int msgflg); } 226 STD MODULAR compat_netbsd32_sysvipc \ { int|netbsd32||msgsnd(int msqid, netbsd32_voidp msgp, \ netbsd32_size_t msgsz, int msgflg); } 227 STD MODULAR compat_netbsd32_sysvipc \ { netbsd32_ssize_t|netbsd32||msgrcv(int msqid, \ netbsd32_voidp msgp, netbsd32_size_t msgsz, \ netbsd32_long msgtyp, int msgflg); } 228 STD MODULAR compat_netbsd32_sysvipc \ { netbsd32_voidp|netbsd32||shmat(int shmid, \ netbsd32_voidp shmaddr, int shmflg); } 229 COMPAT_14 MODULAR compat_netbsd32_sysvipc_14 \ { int|netbsd32||shmctl(int shmid, int cmd, \ netbsd32_shmid_dsp_t buf); } 230 STD MODULAR compat_netbsd32_sysvipc \ { int|netbsd32||shmdt(netbsd32_voidp shmaddr); } 231 STD MODULAR compat_netbsd32_sysvipc \ { int|netbsd32||shmget(netbsd32_key_t key, \ netbsd32_size_t size, int shmflg); } 232 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||clock_gettime( \ netbsd32_clockid_t clock_id, \ netbsd32_timespec50p_t tp); } 233 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||clock_settime( \ netbsd32_clockid_t clock_id, \ netbsd32_timespec50p_t tp); } 234 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||clock_getres( \ netbsd32_clockid_t clock_id, \ netbsd32_timespec50p_t tp); } 235 STD { int|netbsd32||timer_create( \ netbsd32_clockid_t clock_id, \ netbsd32_sigeventp_t evp, \ netbsd32_timerp_t timerid); } 236 STD { int|netbsd32||timer_delete(netbsd32_timer_t timerid); } 237 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||timer_settime(netbsd32_timer_t timerid, \ int flags, \ netbsd32_itimerspec50p_t value, \ netbsd32_itimerspec50p_t ovalue); } 238 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||timer_gettime(netbsd32_timer_t timerid, \ netbsd32_itimerspec50p_t value); } 239 STD { int|netbsd32||timer_getoverrun( \ netbsd32_timer_t timerid); } ; ; Syscalls 240-269 are reserved for other IEEE Std1003.1b syscalls ; 240 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||nanosleep(netbsd32_timespec50p_t rqtp, \ netbsd32_timespec50p_t rmtp); } 241 STD { int|netbsd32||fdatasync(int fd); } 242 STD { int|netbsd32||mlockall(int flags); } 243 NOARGS { int|sys||munlockall(void); } 244 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||__sigtimedwait(netbsd32_sigsetp_t set, \ netbsd32_siginfop_t info, \ netbsd32_timespec50p_t timeout); } 245 STD { int|netbsd32||sigqueueinfo(pid_t pid, \ const netbsd32_siginfop_t info); } 246 STD { int|netbsd32||modctl(int cmd, netbsd32_voidp arg); } 247 STD { int|netbsd32||_ksem_init(unsigned int value, \ netbsd32_semidp_t idp); } 248 STD { int|netbsd32||_ksem_open(netbsd32_charp name, \ int oflag, mode_t mode, unsigned int value, \ netbsd32_semidp_t idp); } 249 STD { int|netbsd32||_ksem_unlink(netbsd32_charp name); } 250 STD { int|netbsd32||_ksem_close(netbsd32_intptr_t id); } 251 STD { int|netbsd32||_ksem_post(netbsd32_intptr_t id); } 252 STD { int|netbsd32||_ksem_wait(netbsd32_intptr_t id); } 253 STD { int|netbsd32||_ksem_trywait(netbsd32_intptr_t id); } 254 STD { int|netbsd32||_ksem_getvalue(netbsd32_intptr_t id, \ netbsd32_intp value); } 255 STD { int|netbsd32||_ksem_destroy(netbsd32_intptr_t id); } 256 STD { int|netbsd32||_ksem_timedwait(intptr_t id, \ const netbsd32_timespecp_t abstime); } 257 STD MODULAR compat_netbsd32_mqueue \ { mqd_t|netbsd32||mq_open(const netbsd32_charp name, \ int oflag, mode_t mode, \ netbsd32_mq_attrp_t attr); } 258 STD MODULAR compat_netbsd32_mqueue \ { int|netbsd32||mq_close(mqd_t mqdes); } 259 STD MODULAR compat_netbsd32_mqueue \ { int|netbsd32||mq_unlink(const netbsd32_charp name); } 260 STD MODULAR compat_netbsd32_mqueue \ { int|netbsd32||mq_getattr(mqd_t mqdes, \ netbsd32_mq_attrp_t mqstat); } 261 STD MODULAR compat_netbsd32_mqueue \ { int|netbsd32||mq_setattr(mqd_t mqdes, \ const netbsd32_mq_attrp_t mqstat, \ netbsd32_mq_attrp_t omqstat); } 262 STD MODULAR compat_netbsd32_mqueue \ { int|netbsd32||mq_notify(mqd_t mqdes, \ const netbsd32_sigeventp_t notification); } 263 STD MODULAR compat_netbsd32_mqueue \ { int|netbsd32||mq_send(mqd_t mqdes, \ const netbsd32_charp msg_ptr, \ netbsd32_size_t msg_len, unsigned msg_prio); } 264 STD MODULAR compat_netbsd32_mqueue \ { netbsd32_ssize_t|netbsd32||mq_receive(mqd_t mqdes, \ netbsd32_charp msg_ptr, \ netbsd32_size_t msg_len, netbsd32_uintp msg_prio); } 265 COMPAT_50 MODULAR compat_netbsd32_mqueue \ { int|netbsd32||mq_timedsend(mqd_t mqdes, \ const netbsd32_charp msg_ptr, \ netbsd32_size_t msg_len, \ unsigned msg_prio, \ const netbsd32_timespec50p_t abs_timeout); } 266 COMPAT_50 MODULAR compat_netbsd32_mqueue \ { netbsd32_ssize_t|netbsd32||mq_timedreceive( \ mqd_t mqdes, \ netbsd32_charp msg_ptr, netbsd32_size_t msg_len, \ netbsd32_uintp msg_prio, \ const netbsd32_timespec50p_t abs_timeout); } 267 STD { int|netbsd32||eventfd(unsigned int val, int flags); } 268 UNIMPL 269 UNIMPL 270 STD { int|netbsd32||__posix_rename(netbsd32_charp from, \ netbsd32_charp to); } 271 STD { int|netbsd32||swapctl(int cmd, netbsd32_voidp arg, \ int misc); } 272 COMPAT_30 MODULAR compat_netbsd32_30 \ { int|netbsd32||getdents(int fd, netbsd32_charp buf, \ netbsd32_size_t count); } 273 STD { int|netbsd32||minherit(netbsd32_voidp addr, \ netbsd32_size_t len, int inherit); } 274 STD { int|netbsd32||lchmod(netbsd32_charp path, \ mode_t mode); } 275 STD { int|netbsd32||lchown(netbsd32_charp path, uid_t uid, \ gid_t gid); } 276 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||lutimes(netbsd32_charp path, \ netbsd32_timeval50p_t tptr); } 277 STD { int|netbsd32|13|msync(netbsd32_voidp addr, \ netbsd32_size_t len, int flags); } 278 COMPAT_30 MODULAR compat_netbsd32_30 \ { int|netbsd32|13|stat(netbsd32_charp path, \ netbsd32_stat13p_t ub); } 279 COMPAT_30 MODULAR compat_netbsd32_30 \ { int|netbsd32|13|fstat(int fd, \ netbsd32_stat13p_t sb); } 280 COMPAT_30 MODULAR compat_netbsd32_30 \ { int|netbsd32|13|lstat(netbsd32_charp path, \ netbsd32_stat13p_t ub); } 281 STD { int|netbsd32|14|sigaltstack(\ netbsd32_sigaltstackp_t nss, \ netbsd32_sigaltstackp_t oss); } 282 NOARGS { int|sys|14|vfork(void); } 283 STD { int|netbsd32||__posix_chown(netbsd32_charp path, \ uid_t uid, gid_t gid); } 284 STD { int|netbsd32||__posix_fchown(int fd, uid_t uid, \ gid_t gid); } 285 STD { int|netbsd32||__posix_lchown(netbsd32_charp path, \ uid_t uid, gid_t gid); } 286 STD { pid_t|netbsd32||getsid(pid_t pid); } 287 STD { int|netbsd32||__clone(int flags, \ netbsd32_voidp stack); } 288 STD { int|netbsd32||fktrace(int fd, int ops, int facs, \ int pid); } 289 STD { netbsd32_ssize_t|netbsd32||preadv(int fd, \ netbsd32_iovecp_t iovp, int iovcnt, int PAD, \ netbsd32_off_t offset); } 290 STD { netbsd32_ssize_t|netbsd32||pwritev(int fd, \ netbsd32_iovecp_t iovp, int iovcnt, int PAD, \ netbsd32_off_t offset); } 291 STD { int|netbsd32|14|sigaction(int signum, \ netbsd32_sigactionp_t nsa, \ netbsd32_sigactionp_t osa); } 292 STD { int|netbsd32|14|sigpending(netbsd32_sigsetp_t set); } 293 STD { int|netbsd32|14|sigprocmask(int how, \ netbsd32_sigsetp_t set, \ netbsd32_sigsetp_t oset); } 294 STD { int|netbsd32|14|sigsuspend(netbsd32_sigsetp_t set); } 295 COMPAT_16 MODULAR compat_netbsd32_16 \ { int|netbsd32|14|sigreturn( \ netbsd32_sigcontextp_t sigcntxp); } 296 STD { int|netbsd32||__getcwd(netbsd32_charp bufp, \ netbsd32_size_t length); } 297 STD { int|netbsd32||fchroot(int fd); } 298 COMPAT_30 MODULAR compat_netbsd32_30 \ { int|netbsd32||fhopen(netbsd32_fhandlep_t fhp, \ int flags); } 299 COMPAT_30 MODULAR compat_netbsd32_30 \ { int|netbsd32||fhstat(netbsd32_fhandlep_t fhp, \ netbsd32_stat13p_t sb); } 300 COMPAT_20 MODULAR compat_netbsd32_20 \ { int|netbsd32||fhstatfs(netbsd32_fhandlep_t fhp, \ netbsd32_stat50p_t buf); } 301 COMPAT_50 MODULAR compat_netbsd32_sysvipc_50 \ { int|netbsd32|14|semctl(int semid, int semnum, \ int cmd, ... netbsd32_semun50p_t arg); } 302 COMPAT_50 MODULAR compat_netbsd32_sysvipc_50 \ { int|netbsd32|13|msgctl(int msqid, int cmd, \ netbsd32_msqid_ds50p_t buf); } 303 COMPAT_50 MODULAR compat_netbsd32_sysvipc_50 \ { int|netbsd32|13|shmctl(int shmid, int cmd, \ netbsd32_shmid_ds50p_t buf); } 304 STD { int|netbsd32||lchflags(netbsd32_charp path, \ netbsd32_u_long flags); } 305 NOARGS { int|sys||issetugid(void); } 306 STD { int|netbsd32||utrace(netbsd32_charp label, \ netbsd32_voidp addr, netbsd32_size_t len); } 307 STD { int|netbsd32||getcontext(netbsd32_ucontextp ucp); } 308 STD { int|netbsd32||setcontext(netbsd32_ucontextp ucp); } 309 STD { int|netbsd32||_lwp_create(netbsd32_ucontextp ucp, \ netbsd32_u_long flags, netbsd32_lwpidp new_lwp); } 310 NOARGS { int|sys||_lwp_exit(void); } 311 NOARGS { lwpid_t|sys||_lwp_self(void); } 312 STD { int|netbsd32||_lwp_wait(lwpid_t wait_for, \ netbsd32_lwpidp departed); } 313 STD { int|netbsd32||_lwp_suspend(lwpid_t target); } 314 STD { int|netbsd32||_lwp_continue(lwpid_t target); } 315 STD { int|netbsd32||_lwp_wakeup(lwpid_t target); } 316 NOARGS { netbsd32_voidp|sys||_lwp_getprivate(void); } 317 STD { void|netbsd32||_lwp_setprivate(netbsd32_voidp ptr); } 318 STD { int|netbsd32||_lwp_kill(lwpid_t target, int signo); } 319 STD { int|netbsd32||_lwp_detach(lwpid_t target); } 320 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||_lwp_park(netbsd32_timespec50p_t ts, \ lwpid_t unpark, netbsd32_voidp hint, \ netbsd32_voidp unparkhint); } 321 STD { int|netbsd32||_lwp_unpark(lwpid_t target, \ netbsd32_voidp hint); } 322 STD { netbsd32_size_t|netbsd32||_lwp_unpark_all( \ netbsd32_lwpidp targets, netbsd32_size_t ntargets, \ netbsd32_voidp hint); } 323 STD { int|netbsd32||_lwp_setname(lwpid_t target, \ netbsd32_charp name); } 324 STD { int|netbsd32||_lwp_getname(lwpid_t target, \ netbsd32_charp name, netbsd32_size_t len); } 325 STD { int|netbsd32||_lwp_ctl(int features, \ netbsd32_pointer_t address); } 326 UNIMPL 327 UNIMPL 328 UNIMPL 329 UNIMPL 330 OBSOL netbsd32_sa_register 331 OBSOL netbsd32_sa_stacks 332 OBSOL sa_enable 333 OBSOL netbsd32_sa_setconcurrency 334 OBSOL sa_yield 335 OBSOL netbsd32_sa_preempt 336 OBSOL sys_sa_unblockyield 337 UNIMPL 338 UNIMPL 339 UNIMPL 340 STD { int|netbsd32||__sigaction_sigtramp(int signum, \ netbsd32_sigactionp_t nsa, \ netbsd32_sigactionp_t osa, \ netbsd32_voidp tramp, int vers); } 341 OBSOL netbsd32_pmc_get_info 342 OBSOL netbsd32_pmc_control 343 STD { int|netbsd32||rasctl(netbsd32_voidp addr, \ netbsd32_size_t len, int op); } 344 NOARGS { int|sys||kqueue(void); } 345 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||kevent(int fd, \ netbsd32_kevent100p_t changelist, \ netbsd32_size_t nchanges, \ netbsd32_kevent100p_t eventlist, \ netbsd32_size_t nevents, \ netbsd32_timespec50p_t timeout); } ; Scheduling system calls. 346 STD { int|netbsd32||_sched_setparam(pid_t pid, lwpid_t lid, \ int policy, const netbsd32_sched_paramp_t params); } 347 STD { int|netbsd32||_sched_getparam(pid_t pid, lwpid_t lid, \ netbsd32_intp policy, \ netbsd32_sched_paramp_t params); } 348 STD { int|netbsd32||_sched_setaffinity(pid_t pid, \ lwpid_t lid, netbsd32_size_t size, \ const netbsd32_cpusetp_t cpuset); } 349 STD { int|netbsd32||_sched_getaffinity(pid_t pid, \ lwpid_t lid, netbsd32_size_t size, \ netbsd32_cpusetp_t cpuset); } 350 NOARGS { int|sys||sched_yield(void); } 351 STD { int|netbsd32||_sched_protect(int priority); } 352 UNIMPL 353 UNIMPL 354 STD { int|netbsd32||fsync_range(int fd, int flags, \ netbsd32_off_t start, netbsd32_off_t length); } 355 STD { int|netbsd32||uuidgen(netbsd32_uuidp_t store, \ int count); } 356 COMPAT_90 MODULAR compat_netbsd32_90 \ { int|netbsd32||getvfsstat(netbsd32_statvfs90p_t buf, \ netbsd32_size_t bufsize, int flags); } 357 COMPAT_90 MODULAR compat_netbsd32_90 \ { int|netbsd32||statvfs1(netbsd32_charp path, \ netbsd32_statvfs90p_t buf, int flags); } 358 COMPAT_90 MODULAR compat_netbsd32_90 \ { int|netbsd32||fstatvfs1(int fd, \ netbsd32_statvfs90p_t buf, int flags); } 359 COMPAT_30 MODULAR compat_netbsd32_30 \ { int|netbsd32||fhstatvfs1(netbsd32_fhandlep_t fhp, \ netbsd32_statvfs90p_t buf, int flags); } 360 STD { int|netbsd32||extattrctl(netbsd32_charp path, \ int cmd, netbsd32_charp filename, \ int attrnamespace, netbsd32_charp attrname); } 361 STD { int|netbsd32||extattr_set_file(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname, \ netbsd32_voidp data, netbsd32_size_t nbytes); } 362 STD { int|netbsd32||extattr_get_file(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname, \ netbsd32_voidp data, netbsd32_size_t nbytes); } 363 STD { int|netbsd32||extattr_delete_file( \ netbsd32_charp path, int attrnamespace, \ netbsd32_charp attrname); } 364 STD { int|netbsd32||extattr_set_fd(int fd, \ int attrnamespace, netbsd32_charp attrname, \ netbsd32_voidp data, netbsd32_size_t nbytes); } 365 STD { int|netbsd32||extattr_get_fd(int fd, \ int attrnamespace, netbsd32_charp attrname, \ netbsd32_voidp data, netbsd32_size_t nbytes); } 366 STD { int|netbsd32||extattr_delete_fd(int fd, \ int attrnamespace, netbsd32_charp attrname); } 367 STD { int|netbsd32||extattr_set_link(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname, \ netbsd32_voidp data, netbsd32_size_t nbytes); } 368 STD { int|netbsd32||extattr_get_link(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname, \ netbsd32_voidp data, netbsd32_size_t nbytes); } 369 STD { int|netbsd32||extattr_delete_link( \ netbsd32_charp path, int attrnamespace, \ netbsd32_charp attrname); } 370 STD { int|netbsd32||extattr_list_fd(int fd, \ int attrnamespace, netbsd32_voidp data, \ netbsd32_size_t nbytes); } 371 STD { int|netbsd32||extattr_list_file(netbsd32_charp path, \ int attrnamespace, netbsd32_voidp data, \ netbsd32_size_t nbytes); } 372 STD { int|netbsd32||extattr_list_link(netbsd32_charp path, \ int attrnamespace, netbsd32_voidp data, \ netbsd32_size_t nbytes); } 373 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||pselect(int nd, netbsd32_fd_setp_t in, \ netbsd32_fd_setp_t ou, netbsd32_fd_setp_t ex, \ netbsd32_timespec50p_t ts, \ netbsd32_sigsetp_t mask); } 374 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||pollts(netbsd32_pollfdp_t fds, \ u_int nfds, netbsd32_timespec50p_t ts, \ netbsd32_sigsetp_t mask); } 375 STD { int|netbsd32||setxattr(netbsd32_charp path, \ netbsd32_charp name, netbsd32_voidp value, \ netbsd32_size_t size, int flags); } 376 STD { int|netbsd32||lsetxattr(netbsd32_charp path, \ netbsd32_charp name, netbsd32_voidp value, \ netbsd32_size_t size, int flags); } 377 STD { int|netbsd32||fsetxattr(int fd, \ netbsd32_charp name, netbsd32_voidp value, \ netbsd32_size_t size, int flags); } 378 STD { int|netbsd32||getxattr(netbsd32_charp path, \ netbsd32_charp name, netbsd32_voidp value, \ netbsd32_size_t size); } 379 STD { int|netbsd32||lgetxattr(netbsd32_charp path, \ netbsd32_charp name, netbsd32_voidp value, \ netbsd32_size_t size); } 380 STD { int|netbsd32||fgetxattr(int fd, \ netbsd32_charp name, netbsd32_voidp value, \ netbsd32_size_t size); } 381 STD { int|netbsd32||listxattr(netbsd32_charp path, \ netbsd32_charp list, netbsd32_size_t size); } 382 STD { int|netbsd32||llistxattr(netbsd32_charp path, \ netbsd32_charp list, netbsd32_size_t size); } 383 STD { int|netbsd32||flistxattr(int fd, \ netbsd32_charp list, netbsd32_size_t size); } 384 STD { int|netbsd32||removexattr(netbsd32_charp path, \ netbsd32_charp name); } 385 STD { int|netbsd32||lremovexattr(netbsd32_charp path, \ netbsd32_charp name); } 386 STD { int|netbsd32||fremovexattr(int fd, \ netbsd32_charp name); } 387 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32|30|stat(netbsd32_charp path, \ netbsd32_stat50p_t ub); } 388 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32|30|fstat(int fd, \ netbsd32_stat50p_t sb); } 389 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32|30|lstat( \ netbsd32_charp path, netbsd32_stat50p_t ub); } 390 STD { int|netbsd32|30|getdents(int fd, \ netbsd32_charp buf, netbsd32_size_t count); } 391 IGNORED old posix fadvise 392 COMPAT_30 MODULAR compat_netbsd32_30 \ { int|netbsd32|30|fhstat( \ netbsd32_fhandlep_t fhp, \ netbsd32_stat50p_t sb); } 393 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||ntp_gettime( \ netbsd32_ntptimeval50p_t ntvp); } 394 STD { int|netbsd32|30|socket(int domain, int type, \ int protocol); } 395 STD { int|netbsd32|30|getfh(netbsd32_charp fname, \ netbsd32_pointer_t fhp, netbsd32_size_tp fh_size); } 396 STD { int|netbsd32|40|fhopen(netbsd32_pointer_t fhp, \ netbsd32_size_t fh_size, int flags); } 397 COMPAT_90 MODULAR compat_netbsd90 \ { int|netbsd32||fhstatvfs1( \ netbsd32_pointer_t fhp, netbsd32_size_t fh_size,\ netbsd32_statvfs90p_t buf, int flags); } 398 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32|40|fhstat( \ netbsd32_pointer_t fhp, netbsd32_size_t fh_size,\ netbsd32_stat50p_t sb); } ; Asynchronous I/O system calls 399 UNIMPL sys_aio_cancel 400 UNIMPL sys_aio_error 401 UNIMPL sys_aio_fsync 402 UNIMPL sys_aio_read 403 UNIMPL sys_aio_return 404 UNIMPL sys_aio_suspend 405 UNIMPL sys_aio_write 406 UNIMPL sys_lio_listio 407 UNIMPL 408 UNIMPL 409 UNIMPL 410 STD { int|netbsd32||__mount50(netbsd32_charp type, \ netbsd32_charp path, int flags, \ netbsd32_voidp data, netbsd32_size_t data_len); } 411 STD { netbsd32_voidp|netbsd32||mremap( \ netbsd32_voidp old_address, \ netbsd32_size_t old_size, \ netbsd32_voidp new_address, \ netbsd32_size_t new_size, int flags); } 412 STD { int|netbsd32||pset_create(netbsd32_psetidp_t psid); } 413 STD { int|netbsd32||pset_destroy(psetid_t psid); } 414 STD { int|netbsd32||pset_assign(psetid_t psid, \ cpuid_t cpuid, netbsd32_psetidp_t opsid); } 415 STD { int|netbsd32||_pset_bind(idtype_t idtype, \ id_t first_id, id_t second_id, psetid_t psid, \ netbsd32_psetidp_t opsid); } 416 STD { int|netbsd32|50|posix_fadvise(int fd, int PAD, \ netbsd32_off_t offset, netbsd32_off_t len, int advice); } 417 STD { int|netbsd32|50|select(int nd, \ netbsd32_fd_setp_t in, netbsd32_fd_setp_t ou, \ netbsd32_fd_setp_t ex, netbsd32_timevalp_t tv); } 418 STD { int|netbsd32|50|gettimeofday( \ netbsd32_timevalp_t tp, netbsd32_voidp tzp); } 419 STD { int|netbsd32|50|settimeofday( \ const netbsd32_timevalp_t tv, \ const netbsd32_voidp tzp); } 420 STD { int|netbsd32|50|utimes(const netbsd32_charp path, \ const netbsd32_timevalp_t tptr); } 421 STD { int|netbsd32|50|adjtime( \ const netbsd32_timevalp_t delta, \ netbsd32_timevalp_t olddelta); } 422 EXCL __lfs_segwait50 423 STD { int|netbsd32|50|futimes(int fd, \ const netbsd32_timevalp_t tptr); } 424 STD { int|netbsd32|50|lutimes(const netbsd32_charp path, \ const netbsd32_timevalp_t tptr); } 425 STD { int|netbsd32|50|setitimer(int which, \ const netbsd32_itimervalp_t itv, \ netbsd32_itimervalp_t oitv); } 426 STD { int|netbsd32|50|getitimer(int which, \ netbsd32_itimervalp_t itv); } 427 STD { int|netbsd32|50|clock_gettime(clockid_t clock_id, \ netbsd32_timespecp_t tp); } 428 STD { int|netbsd32|50|clock_settime(clockid_t clock_id, \ const netbsd32_timespecp_t tp); } 429 STD { int|netbsd32|50|clock_getres(clockid_t clock_id, \ netbsd32_timespecp_t tp); } 430 STD { int|netbsd32|50|nanosleep( \ const netbsd32_timespecp_t rqtp, \ netbsd32_timespecp_t rmtp); } 431 STD { int|netbsd32|50|__sigtimedwait( \ const netbsd32_sigsetp_t set, \ netbsd32_siginfop_t info, \ netbsd32_timespecp_t timeout); } 432 STD MODULAR compat_netbsd32_mqueue \ { int|netbsd32|50|mq_timedsend(mqd_t mqdes, \ const netbsd32_charp msg_ptr, \ netbsd32_size_t msg_len, \ unsigned msg_prio, \ const netbsd32_timespecp_t abs_timeout); } 433 STD MODULAR compat_netbsd32_mqueue \ { netbsd32_ssize_t|netbsd32|50|mq_timedreceive( \ mqd_t mqdes, netbsd32_charp msg_ptr, \ netbsd32_size_t msg_len, netbsd32_uintp msg_prio, \ const netbsd32_timespecp_t abs_timeout); } 434 COMPAT_60 MODULAR compat_netbsd32_60 \ { int|netbsd32||_lwp_park( \ const netbsd32_timespecp_t ts, \ lwpid_t unpark, const netbsd32_voidp hint, \ const netbsd32_voidp unparkhint); } 435 COMPAT_100 MODULAR compat_netbsd32_100 \ { int|netbsd32|50|kevent(int fd, \ const netbsd32_kevent100p_t changelist, \ netbsd32_size_t nchanges, \ netbsd32_kevent100p_t eventlist, \ netbsd32_size_t nevents, \ const netbsd32_timespecp_t timeout); } 436 STD { int|netbsd32|50|pselect(int nd, \ netbsd32_fd_setp_t in, \ netbsd32_fd_setp_t ou, \ netbsd32_fd_setp_t ex, \ const netbsd32_timespecp_t ts, \ const netbsd32_sigsetp_t mask); } 437 STD { int|netbsd32|50|pollts(netbsd32_pollfdp_t fds, \ u_int nfds, const netbsd32_timespecp_t ts, \ const netbsd32_sigsetp_t mask); } 438 UNIMPL netbsd32___aio_suspend50 439 STD { int|netbsd32|50|stat(const netbsd32_charp path, \ netbsd32_statp_t ub); } 440 STD { int|netbsd32|50|fstat(int fd, netbsd32_statp_t sb); } 441 STD { int|netbsd32|50|lstat(const netbsd32_charp path, \ netbsd32_statp_t ub); } 442 STD MODULAR compat_netbsd32_sysvipc \ { int|netbsd32|50|__semctl(int semid, int semnum, \ int cmd, ... netbsd32_semunp_t arg); } 443 STD MODULAR compat_netbsd32_sysvipc \ { int|netbsd32|50|shmctl(int shmid, int cmd, \ netbsd32_shmid_dsp_t buf); } 444 STD MODULAR compat_netbsd32_sysvipc \ { int|netbsd32|50|msgctl(int msqid, int cmd, \ netbsd32_msqid_dsp_t buf); } 445 STD { int|netbsd32|50|getrusage(int who, \ netbsd32_rusagep_t rusage); } 446 STD { int|netbsd32|50|timer_settime(timer_t timerid, \ int flags, const netbsd32_itimerspecp_t value, \ netbsd32_itimerspecp_t ovalue); } 447 STD { int|netbsd32|50|timer_gettime(timer_t timerid, \ netbsd32_itimerspecp_t value); } #if defined(NTP) || !defined(_KERNEL_OPT) 448 STD { int|netbsd32|50|ntp_gettime( \ netbsd32_ntptimevalp_t ntvp); } #else 448 EXCL ___ntp_gettime50 #endif 449 STD { int|netbsd32|50|wait4(int pid, \ netbsd32_intp status, \ int options, netbsd32_rusagep_t rusage); } 450 STD { int|netbsd32|50|mknod(const netbsd32_charp path, \ mode_t mode, netbsd32_dev_t dev); } 451 STD { int|netbsd32|50|fhstat(const netbsd32_voidp fhp, \ netbsd32_size_t fh_size, netbsd32_statp_t sb); } 452 OBSOL 5.99 quotactl 453 STD { int|netbsd32||pipe2(netbsd32_intp fildes, int flags); } 454 COMPAT_100 MODULAR compat_netbsd32_100 \ { int|netbsd32||dup3(int from, int to, int flags); } 455 STD { int|netbsd32||kqueue1(int flags); } 456 STD { int|netbsd32||paccept(int s, \ netbsd32_sockaddrp_t name, \ netbsd32_socklenp_t anamelen, \ const netbsd32_sigsetp_t mask, \ int flags); } 457 STD { int|netbsd32||linkat(int fd1, \ const netbsd32_charp name1, \ int fd2, \ const netbsd32_charp name2, \ int flags); } 458 STD { int|netbsd32||renameat(int fromfd, \ const netbsd32_charp from, \ int tofd, \ const netbsd32_charp to); } 459 STD { int|netbsd32||mkfifoat(int fd, \ const netbsd32_charp path, \ mode_t mode); } 460 STD { int|netbsd32||mknodat(int fd, \ const netbsd32_charp path, \ mode_t mode, int PAD, \ netbsd32_dev_t dev); } 461 STD { int|netbsd32||mkdirat(int fd, \ const netbsd32_charp path, \ mode_t mode); } 462 STD { int|netbsd32||faccessat(int fd, \ const netbsd32_charp path, \ int amode, \ int flag); } 463 STD { int|netbsd32||fchmodat(int fd, \ const netbsd32_charp path, \ mode_t mode, \ int flag); } 464 STD { int|netbsd32||fchownat(int fd, \ const netbsd32_charp path, \ uid_t owner, \ gid_t group, \ int flag); } 465 STD { int|netbsd32||fexecve(int fd, \ netbsd32_charpp argp, \ netbsd32_charpp envp); } 466 STD { int|netbsd32||fstatat(int fd, \ const netbsd32_charp path, \ netbsd32_statp_t buf, \ int flag); } 467 STD { int|netbsd32||utimensat(int fd, \ const netbsd32_charp path, \ const netbsd32_timespecp_t tptr, \ int flag); } 468 STD { int|netbsd32||openat(int fd, \ const netbsd32_charp path, \ int oflags, ... \ mode_t mode); } 469 STD { netbsd32_ssize_t|netbsd32||readlinkat(int fd, \ const netbsd32_charp path, \ netbsd32_charp buf, \ netbsd32_size_t bufsize); } 470 STD { int|netbsd32||symlinkat(const netbsd32_charp path1, \ int fd, \ const netbsd32_charp path2); } 471 STD { int|netbsd32||unlinkat(int fd, \ const netbsd32_charp path, \ int flag); } 472 STD { int|netbsd32||futimens(int fd, \ const netbsd32_timespecp_t tptr); } 473 STD MODULAR compat_netbsd32_quota \ { int|netbsd32||__quotactl(const netbsd32_charp path, \ netbsd32_voidp args); } 474 NOERR { int|netbsd32||posix_spawn(netbsd32_pid_tp pid, \ const netbsd32_charp path, \ const netbsd32_posix_spawn_file_actionsp \ file_actions, \ const netbsd32_posix_spawnattrp attrp, \ netbsd32_charpp argv, netbsd32_charpp envp); } 475 STD { int|netbsd32||recvmmsg(int s, \ netbsd32_mmsghdrp_t mmsg, \ unsigned int vlen, unsigned int flags, \ netbsd32_timespecp_t timeout); } 476 STD { int|netbsd32||sendmmsg(int s, \ netbsd32_mmsghdrp_t mmsg, \ unsigned int vlen, unsigned int flags); } 477 STD { int|netbsd32||clock_nanosleep(\ netbsd32_clockid_t clock_id, \ int flags, const netbsd32_timespecp_t rqtp, \ netbsd32_timespecp_t rmtp); } 478 STD { int|netbsd32|60|_lwp_park(\ netbsd32_clockid_t clock_id, \ int flags, netbsd32_timespecp_t ts, \ lwpid_t unpark, netbsd32_voidp hint, \ netbsd32_voidp unparkhint); } 479 NOERR { int|netbsd32||posix_fallocate(int fd, int PAD, \ netbsd32_off_t pos, netbsd32_off_t len); } 480 STD { int|netbsd32||fdiscard(int fd, int PAD, \ netbsd32_off_t pos, netbsd32_off_t len); } 481 STD { int|netbsd32||wait6(idtype_t idtype, id_t id, \ netbsd32_intp status, int options, \ netbsd32_wrusagep_t wru, netbsd32_siginfop_t info); } 482 STD { int|netbsd32||clock_getcpuclockid2(idtype_t idtype, \ id_t id, netbsd32_clockidp_t clock_id); } 483 STD { int|netbsd32|90|getvfsstat( \ netbsd32_statvfsp_t buf, \ netbsd32_size_t bufsize, int flags); } 484 STD { int|netbsd32|90|statvfs1(netbsd32_charp path, \ netbsd32_statvfsp_t buf, int flags); } 485 STD { int|netbsd32|90|fstatvfs1(int fd, \ netbsd32_statvfsp_t buf, int flags); } 486 STD { int|netbsd32|90|fhstatvfs1(netbsd32_voidp fhp, \ netbsd32_size_t fh_size, netbsd32_statvfsp_t buf, \ int flags); } 487 STD { int|netbsd32||__acl_get_link( \ const netbsd32_charp path, \ acl_type_t type, netbsd32_aclp_t aclp); } 488 STD { int|netbsd32||__acl_set_link( \ const netbsd32_charp path, \ acl_type_t type, netbsd32_aclp_t aclp); } 489 STD { int|netbsd32||__acl_delete_link( \ const netbsd32_charp path, \ acl_type_t type); } 490 STD { int|netbsd32||__acl_aclcheck_link( \ const netbsd32_charp path, \ acl_type_t type, netbsd32_aclp_t aclp); } 491 STD { int|netbsd32||__acl_get_file( \ const netbsd32_charp path, \ acl_type_t type, netbsd32_aclp_t aclp); } 492 STD { int|netbsd32||__acl_set_file( \ const netbsd32_charp path, \ acl_type_t type, netbsd32_aclp_t aclp); } 493 STD { int|netbsd32||__acl_get_fd(int filedes, \ acl_type_t type, netbsd32_aclp_t aclp); } 494 STD { int|netbsd32||__acl_set_fd(int filedes, \ acl_type_t type, netbsd32_aclp_t aclp); } 495 STD { int|netbsd32||__acl_delete_file( \ const netbsd32_charp path, \ acl_type_t type); } 496 STD { int|netbsd32||__acl_delete_fd(int filedes, \ acl_type_t type); } 497 STD { int|netbsd32||__acl_aclcheck_file( \ const netbsd32_charp path, \ acl_type_t type, netbsd32_aclp_t aclp); } 498 STD { int|netbsd32||__acl_aclcheck_fd(int filedes, \ acl_type_t type, netbsd32_aclp_t aclp); } 499 STD { long|netbsd32||lpathconf(const netbsd32_charp path, \ int name); } 500 STD { int|netbsd32||memfd_create( \ const netbsd32_charp name, unsigned int flags); } 501 STD { int|netbsd32|100|kevent(int fd, \ const netbsd32_keventp_t changelist, \ netbsd32_size_t nchanges, \ netbsd32_keventp_t eventlist, \ netbsd32_size_t nevents, \ const netbsd32_timespecp_t timeout); } 502 STD { int|netbsd32||epoll_create1(int flags); } 503 STD { int|netbsd32||epoll_ctl(int epfd, int op, int fd, \ netbsd32_epoll_eventp_t event); } 504 STD { int|netbsd32||epoll_pwait2(int epfd, \ netbsd32_epoll_eventp_t events, int maxevents, \ netbsd32_timespecp_t timeout, \ netbsd32_sigsetp_t sigmask); } 505 STD { int|netbsd32|100|dup3(int from, int to, \ int flags); } 506 STD MODULAR compat_netbsd32_sysvipc { int|netbsd32||semtimedop(int semid, \ netbsd32_sembufp_t sops, netbsd32_size_t nsops, \ netbsd32_timespecp_t timeout); } @ 1.146 log @Rename dup3110 to dup3100 to match historical practice for NetBSD-11, because we already have kevent100. Fix compat_dup3 to belong in compat_100 not compat_110. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.145 2024/05/19 22:25:48 christos Exp $ d1235 3 @ 1.146.2.1 log @Sync with HEAD @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.147 2025/05/09 10:19:03 martin Exp $ a1234 3 506 STD MODULAR compat_netbsd32_sysvipc { int|netbsd32||semtimedop(int semid, \ netbsd32_sembufp_t sops, netbsd32_size_t nsops, \ netbsd32_timespecp_t timeout); } @ 1.145 log @version dup3 @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.144 2023/07/30 06:52:20 rin Exp $ d1072 1 a1072 1 454 COMPAT_110 MODULAR compat_netbsd32_110 \ d1233 1 a1233 1 505 STD { int|netbsd32|110|dup3(int from, int to, \ @ 1.144 log @COMPAT_NETBSD32: Add support for epoll(2). @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.143 2023/07/30 05:30:45 rin Exp $ d1072 2 a1073 1 454 STD { int|netbsd32||dup3(int from, int to, int flags); } d1233 2 @ 1.143 log @COMPAT_NETBSD32: Add support for memfd_create(2). @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.142 2023/07/29 12:38:25 rin Exp $ d1225 7 a1231 3 502 UNIMPL epoll_create1 503 UNIMPL epoll_ctl 504 UNIMPL epoll_pwait2 @ 1.142 log @COMPAT_NETBSD32: Catch up with sys___kevent100() addition. XXX Add epoll_* and memfd_create. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.141 2021/09/20 01:07:45 thorpej Exp $ d1217 2 a1218 1 500 UNIMPL memfd_create @ 1.141 log @Add the eventfd(2) system call to COMPAT_NETBSD32. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.140 2021/09/20 01:00:55 thorpej Exp $ d786 1 a786 1 netbsd32_keventp_t changelist, \ d788 1 a788 1 netbsd32_keventp_t eventlist, \ d1019 3 a1021 2 435 STD { int|netbsd32|50|kevent(int fd, \ const netbsd32_keventp_t changelist, \ d1023 1 a1023 1 netbsd32_keventp_t eventlist, \ d1217 10 @ 1.140 log @Add timerfd system calls to COMPAT_NETBSD32. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.139 2020/10/10 00:00:54 rin Exp $ d643 1 a643 1 267 UNIMPL @ 1.139 log @Teach about getrandom(2) to COMPAT_NETBSD32. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.138 2020/05/16 18:31:48 christos Exp $ d434 8 a441 3 177 UNIMPL 178 UNIMPL 179 UNIMPL @ 1.138 log @Add ACL support for FFS. From FreeBSD. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.137 2020/04/26 19:18:36 thorpej Exp $ d238 3 a240 1 91 UNIMPL getdopt @ 1.137 log @Mirror the change made to native -- move futex calls to 166-168. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.136 2020/04/26 18:53:33 thorpej Exp $ d1175 34 @ 1.136 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.135 2020/04/22 21:22:21 thorpej Exp $ d401 7 a407 3 166 UNIMPL 167 UNIMPL 168 UNIMPL a1174 7 487 STD { int|netbsd32||__futex(netbsd32_intp uaddr, int op, \ int val, const netbsd32_timespecp_t timeout, \ netbsd32_intp uaddr2, int val2, int val3); } 488 STD { int|netbsd32||__futex_set_robust_list( \ netbsd32_voidp head, netbsd32_size_t len); } 489 STD { int|netbsd32||__futex_get_robust_list(lwpid_t lwpid, \ netbsd32_voidp headp, netbsd32_size_tp lenp); } @ 1.135 log @Remove _lwp_gettid(2) system call. This problem is going to be solved another way. (Note: this call was never exposed in libc, so we can just recycle the syscall number.) @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.134 2020/04/04 20:20:12 thorpej Exp $ d1171 7 @ 1.134 log @Add support for lazily generating a "global thread ID" for a LWP. This identifier uniquely identifies an LWP across the entire system, and will be used in future improvements in user-space synchronization primitives. (Test disabled and libc stub not included intentionally so as to avoid multiple libc version bumps.) @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.133 2020/03/12 15:02:29 pgoyette Exp $ d750 1 a750 1 326 NOARGS { lwptid_t|sys||_lwp_gettid(void); } @ 1.134.2.1 log @Sync with bouyer-xenpvh-base2 (HEAD) @ text @d1 1 a1 1 $NetBSD$ d750 1 a750 1 326 UNIMPL @ 1.133 log @Split out the quota code from the rest of compat_netbsd32 module. This allows loading of compat_netbsd32 on kernels that don't have ``options QUOTA'' enabled. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.132 2020/03/07 00:56:41 pgoyette Exp $ d750 1 a750 1 326 UNIMPL @ 1.132 log @Properly mark netbsd32_compat_43 syscalls that are directly implemented by calling their compat_43 equivalents. With these changes, and with built-in versions of COMPAT_NETBSD32, COMPAT_NOMID, and COMPAT_09, I can now run a netbsd-0.9 statically linked i386 (32-bit) version of /bin/ls on a 9.99.x amd64 host! Addresses PR kern/55047 but more changes coming to handle non-built-in modules. XXX pullup-9 @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.131 2020/01/18 07:33:24 kamil Exp $ d359 1 a359 2 #if defined(QUOTA) || !defined(_KERNEL_OPT) 148 COMPAT_50 MODULAR compat_netbsd32_50 \ a361 3 #else 148 EXCL compat_netbsd32_quotactl #endif d1126 2 a1127 2 #if defined(QUOTA) || !defined(_KERNEL_OPT) 473 STD { int|netbsd32||__quotactl(const netbsd32_charp path, \ a1128 3 #else 473 EXCL netbsd32___quotactl #endif @ 1.131 log @Catch up after getpid/getgid/getuid changes in native ABI in 2008 getpid(), getuid() and getgid() used to call respectively sys_getpid(), sys_getuid() and sys_getgid(). In the BSD4.3 compat mode there was a fallback to call sys_getpid_with_ppid() and related functions. In 2008 the compat ifdef was removed in sys/kern/syscalls.master r. 1.216. For purity reasons we probably shall restore the NetBSD original behavior and implement BSD4.3 one as a compat module, however it is not worth the complexity. Align the netbsd32 compat ABI to native ABI and call functions that return two integers as in BSD4.3. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.130 2019/11/04 11:32:22 rin Exp $ d186 1 a186 1 64 COMPAT_43 MODULAR compat_netbsd32_43 \ d222 1 a222 1 84 COMPAT_43 MODULAR compat_netbsd32_43 \ d235 1 a235 1 89 COMPAT_43 MODULAR compat_netbsd32_43 \ d346 1 a346 1 142 COMPAT_43 MODULAR compat_netbsd32_43 \ a362 2 149 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|sys||quota(void); } oquota d365 1 a366 1 #endif @ 1.130 log @netbsd32_size_t should be used instead of size_t for argument of 32-bit syscalls: - netbsd32___getvfsstat90: bufsize - netbsd32___fhstatvfs190: fh_size No need to pullup, since these syscalls were introduced after branch of netbsd-9. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.128 2019/09/22 22:59:38 christos Exp $ d100 1 a100 1 20 NOARGS { pid_t|sys||getpid(void); } d108 1 a108 1 24 NOARGS { uid_t|sys||getuid(void); } d153 1 a153 1 47 NOARGS { gid_t|sys||getgid(void); } @ 1.130.2.1 log @Sync with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.131 2020/01/18 07:33:24 kamil Exp $ d100 1 a100 1 20 NOARGS { pid_t|sys||getpid_with_ppid(void); } getpid d108 1 a108 1 24 NOARGS { uid_t|sys||getuid_with_euid(void); } getuid d153 1 a153 1 47 NOARGS { gid_t|sys||getgid_with_egid(void); } getgid @ 1.129 log @For netbsd32_readlinkat(2), bufsize is netbsd_size_t, not size_t. Since bufsize is the last argument, this affects only LP64EB. XXX pullup to netbsd-9, -8, and -7 @ text @d1172 1 a1172 1 size_t bufsize, int flags); } d1178 1 a1178 1 size_t fh_size, netbsd32_statvfsp_t buf, \ @ 1.128 log @Add a new member to struct vfsstat and grow the unused members The new member is caled f_mntfromlabel and it is the dkw_wname of the corresponding wedge. This is now used by df -W to display the mountpoint name as NAME= @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.127 2019/06/18 16:23:24 christos Exp $ d1123 1 a1123 1 size_t bufsize); } @ 1.127 log @Add ifdef for quota and include the syscall numbers header @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.126 2019/06/18 01:36:50 christos Exp $ d806 2 a807 1 356 STD { int|netbsd32||getvfsstat(netbsd32_statvfsp_t buf, \ d809 6 a814 4 357 STD { int|netbsd32||statvfs1(netbsd32_charp path, \ netbsd32_statvfsp_t buf, int flags); } 358 STD { int|netbsd32||fstatvfs1(int fd, \ netbsd32_statvfsp_t buf, int flags); } d817 1 a817 1 netbsd32_statvfsp_t buf, int flags); } d920 2 a921 1 397 STD { int|netbsd32|40|fhstatvfs1( \ d923 1 a923 1 netbsd32_statvfsp_t buf, int flags); } d1170 10 @ 1.127.2.1 log @Pull up following revision(s) (requested by rin in ticket #398): sys/compat/netbsd32/syscalls.master: revision 1.129 For netbsd32_readlinkat(2), bufsize is netbsd_size_t, not size_t. Since bufsize is the last argument, this affects only LP64EB. XXX pullup to netbsd-9, -8, and -7 @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.127 2019/06/18 16:23:24 christos Exp $ d1119 1 a1119 1 netbsd32_size_t bufsize); } @ 1.127.2.2 log @Pull up following revision(s) (requested by pgoyette in ticket #761): sys/compat/netbsd32/syscalls.master: revision 1.132 sys/compat/netbsd32/netbsd32_compat_43.c: revision 1.60 Properly mark netbsd32_compat_43 syscalls that are directly implemented by calling their compat_43 equivalents. With these changes, and with built-in versions of COMPAT_NETBSD32, COMPAT_NOMID, and COMPAT_09, I can now run a netbsd-0.9 statically linked i386 (32-bit) version of /bin/ls on a 9.99.x amd64 host! Addresses PR kern/55047 but more changes coming to handle non-built-in modules. XXX pullup-9 @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.127.2.1 2019/11/04 14:46:57 martin Exp $ d186 1 a186 1 64 COMPAT_43 MODULAR compat_43 \ d222 1 a222 1 84 COMPAT_43 MODULAR compat_43 \ d235 1 a235 1 89 COMPAT_43 MODULAR compat_43 \ d346 1 a346 1 142 COMPAT_43 MODULAR compat_43 \ d363 2 d367 1 a368 1 149 EXCL compat_netbsd32_quota @ 1.126 log @use option quota @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.125 2019/01/27 02:08:40 pgoyette Exp $ d53 1 d1128 1 d1131 3 @ 1.125 log @Merge the [pgoyette-compat] branch @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.124 2018/12/24 21:27:06 mrg Exp $ d43 1 d358 1 d364 4 @ 1.124 log @move mmap(), compat 40 mount(), pipe() and getfh() into their own files as the implementation is non trivial or is compat. mark old mount() properly instead of manually #if'ing ito to ENOSYS. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.123 2018/07/31 21:00:02 rjs Exp $ d73 2 a74 1 7 COMPAT_50 { int|netbsd32||wait4(int pid, netbsd32_intp status, \ d76 2 a77 1 8 COMPAT_43 { int|netbsd32||ocreat(netbsd32_charp path, \ d85 2 a86 1 14 COMPAT_50 { int|netbsd32||mknod(netbsd32_charp path, mode_t mode, \ d92 2 a93 1 18 COMPAT_20 { int|netbsd32||getfsstat(netbsd32_statfsp_t buf, \ d95 2 a96 1 19 COMPAT_43 { netbsd32_long|netbsd32||olseek(int fd, \ d99 2 a100 1 21 COMPAT_40 { int|netbsd32||mount(netbsd32_charp type, \ d133 2 a134 1 38 COMPAT_43 { int|netbsd32||stat43(netbsd32_charp path, \ d137 2 a138 1 40 COMPAT_43 { int|netbsd32||lstat43(netbsd32_charp path, \ d152 2 a153 1 48 COMPAT_13 { int|netbsd32||sigprocmask(int how, \ d159 4 a162 2 52 COMPAT_13 { int|sys||sigpending(void); } sigpending13 53 COMPAT_13 { int|netbsd32||sigaltstack13( \ d167 2 a168 1 55 COMPAT_12 { int|netbsd32||reboot(int opt); } d178 4 a181 2 62 COMPAT_43 { int|netbsd32||fstat43(int fd, netbsd32_stat43p_t sb); } 63 COMPAT_43 { int|netbsd32||ogetkerninfo(int op, \ d184 4 a187 2 64 COMPAT_43 { int|sys||getpagesize(void); } ogetpagesize 65 COMPAT_12 { int|netbsd32||msync(netbsd32_voidp addr, \ d195 2 a196 1 71 COMPAT_43 { int|netbsd32||ommap(netbsd32_voidp addr, \ d216 2 a217 1 83 COMPAT_50 { int|netbsd32||setitimer(int which, \ d220 6 a225 3 84 COMPAT_43 { int|sys||wait(void); } owait 85 COMPAT_12 { int|netbsd32||oswapon(netbsd32_charp name); } 86 COMPAT_50 { int|netbsd32||getitimer(int which, \ d227 2 a228 1 87 COMPAT_43 { int|netbsd32||ogethostname(netbsd32_charp hostname, \ d230 2 a231 1 88 COMPAT_43 { int|netbsd32||osethostname(netbsd32_charp hostname, \ d233 2 a234 1 89 COMPAT_43 { int|sys||getdtablesize(void); } ogetdtablesize d239 2 a240 1 93 COMPAT_50 { int|netbsd32||select(int nd, netbsd32_fd_setp_t in, \ d247 2 a248 1 97 COMPAT_30 { int|netbsd32||socket(int domain, int type, \ d252 2 a253 1 99 COMPAT_43 { int|netbsd32||oaccept(int s, netbsd32_voidp name, \ d256 2 a257 1 101 COMPAT_43 { int|netbsd32||osend(int s, netbsd32_voidp buf, \ d259 2 a260 1 102 COMPAT_43 { int|netbsd32||orecv(int s, netbsd32_voidp buf, \ d262 2 a263 1 103 COMPAT_13 { int|netbsd32||sigreturn( \ d271 2 a272 1 108 COMPAT_43 { int|netbsd32||osigvec(int signum, \ d274 8 a281 4 109 COMPAT_43 { int|netbsd32||sigblock(int mask); } 110 COMPAT_43 { int|netbsd32||sigsetmask(int mask); } 111 COMPAT_13 { int|netbsd32||sigsuspend(int mask); } sigsuspend13 112 COMPAT_43 { int|netbsd32||osigstack(netbsd32_sigstackp_t nss, \ d283 2 a284 1 113 COMPAT_43 { int|netbsd32||orecvmsg(int s, \ d286 2 a287 1 114 COMPAT_43 { int|netbsd32||osendmsg(int s, netbsd32_voidp msg, \ d290 2 a291 1 116 COMPAT_50 { int|netbsd32||gettimeofday(netbsd32_timeval50p_t tp, \ d293 2 a294 1 117 COMPAT_50 { int|netbsd32||getrusage(int who, \ d303 2 a304 1 122 COMPAT_50 { int|netbsd32||settimeofday(netbsd32_timeval50p_t tv, \ d308 2 a309 1 125 COMPAT_43 { int|netbsd32||orecvfrom(int s, netbsd32_voidp buf, \ d316 2 a317 1 129 COMPAT_43 { int|netbsd32||otruncate(netbsd32_charp path, \ d319 2 a320 1 130 COMPAT_43 { int|netbsd32||oftruncate(int fd, \ d334 2 a335 1 138 COMPAT_50 { int|netbsd32||utimes(netbsd32_charp path, \ d338 2 a339 1 140 COMPAT_50 { int|netbsd32||adjtime(netbsd32_timeval50p_t delta, \ d341 2 a342 1 141 COMPAT_43 { int|netbsd32||ogetpeername(int fdes, \ d344 6 a349 3 142 COMPAT_43 { int32_t|sys||gethostid(void); } ogethostid 143 COMPAT_43 { int|netbsd32||sethostid(int32_t hostid); } 144 COMPAT_43 { int|netbsd32||ogetrlimit(int which, \ d351 2 a352 1 145 COMPAT_43 { int|netbsd32||osetrlimit(int which, \ d354 2 a355 1 146 COMPAT_43 { int|netbsd32||killpg(int pgid, int signum); } d357 2 a358 1 148 COMPAT_50 { int|netbsd32||quotactl(netbsd32_charp path, int cmd, \ d360 4 a363 2 149 COMPAT_43 { int|sys||quota(void); } oquota 150 COMPAT_43 { int|netbsd32||ogetsockname(int fdec, \ d376 2 a377 1 156 COMPAT_43 { int|netbsd32||ogetdirentries(int fd, \ d380 2 a381 1 157 COMPAT_20 { int|netbsd32||statfs(netbsd32_charp path, \ d383 2 a384 1 158 COMPAT_20 { int|netbsd32||fstatfs(int fd, \ d388 2 a389 1 161 COMPAT_30 { int|netbsd32||getfh(netbsd32_charp fname, \ d391 2 a392 1 162 COMPAT_09 { int|netbsd32||ogetdomainname( \ d394 2 a395 1 163 COMPAT_09 { int|netbsd32||osetdomainname( \ d397 2 a398 1 164 COMPAT_09 { int|netbsd32||uname(netbsd32_outsnamep_t name); } d403 1 a403 1 169 COMPAT_10 MODULAR compat_netbsd32_sysvipc \ d406 1 a406 1 170 COMPAT_10 MODULAR compat_netbsd32_sysvipc \ d409 1 a409 1 171 COMPAT_10 MODULAR compat_netbsd32_sysvipc \ d419 3 a422 2 175 COMPAT_30 { int|netbsd32||ntp_gettime( \ netbsd32_ntptimeval50p_t ntvp); } a424 1 175 EXCL ntp_gettime d440 2 a441 1 188 COMPAT_12 { int|netbsd32||stat12(netbsd32_charp path, \ d443 4 a446 2 189 COMPAT_12 { int|netbsd32||fstat12(int fd, netbsd32_stat12p_t sb); } 190 COMPAT_12 { int|netbsd32||lstat12(netbsd32_charp path, \ d457 2 a458 1 196 COMPAT_12 { int|netbsd32||getdirentries(int fd, \ d481 2 a482 1 206 COMPAT_50 { int|netbsd32||futimes(int fd, \ d501 1 a501 1 220 COMPAT_14 MODULAR compat_netbsd32_sysvipc \ d512 1 a512 1 224 COMPAT_14 MODULAR compat_netbsd32_sysvipc \ d527 1 a527 1 229 COMPAT_14 MODULAR compat_netbsd32_sysvipc \ d535 2 a536 1 232 COMPAT_50 { int|netbsd32||clock_gettime( \ d539 2 a540 1 233 COMPAT_50 { int|netbsd32||clock_settime( \ d543 2 a544 1 234 COMPAT_50 { int|netbsd32||clock_getres( \ d552 2 a553 1 237 COMPAT_50 { int|netbsd32||timer_settime(netbsd32_timer_t timerid, \ d557 2 a558 1 238 COMPAT_50 { int|netbsd32||timer_gettime(netbsd32_timer_t timerid, \ d565 2 a566 1 240 COMPAT_50 { int|netbsd32||nanosleep(netbsd32_timespec50p_t rqtp, \ d571 2 a572 1 244 COMPAT_50 { int|netbsd32||__sigtimedwait(netbsd32_sigsetp_t set, \ d638 2 a639 1 272 COMPAT_30 { int|netbsd32||getdents(int fd, netbsd32_charp buf, \ d647 2 a648 1 276 COMPAT_50 { int|netbsd32||lutimes(netbsd32_charp path, \ d652 2 a653 1 278 COMPAT_30 { int|netbsd32|13|stat(netbsd32_charp path, \ d655 2 a656 1 279 COMPAT_30 { int|netbsd32|13|fstat(int fd, \ d658 2 a659 1 280 COMPAT_30 { int|netbsd32|13|lstat(netbsd32_charp path, \ d690 2 a691 1 295 COMPAT_16 { int|netbsd32|14|sigreturn( \ d696 2 a697 1 298 COMPAT_30 { int|netbsd32||fhopen(netbsd32_fhandlep_t fhp, \ d699 2 a700 1 299 COMPAT_30 { int|netbsd32||fhstat(netbsd32_fhandlep_t fhp, \ d702 2 a703 1 300 COMPAT_20 { int|netbsd32||fhstatfs(netbsd32_fhandlep_t fhp, \ d705 1 a705 1 301 COMPAT_50 MODULAR compat_netbsd32_sysvipc \ d708 1 a708 1 302 COMPAT_50 MODULAR compat_netbsd32_sysvipc \ d711 1 a711 1 303 COMPAT_50 MODULAR compat_netbsd32_sysvipc \ d734 2 a735 1 320 COMPAT_50 { int|netbsd32||_lwp_park(netbsd32_timespec50p_t ts, \ d772 2 a773 1 345 COMPAT_50 { int|netbsd32||kevent(int fd, \ d805 2 a806 1 359 COMPAT_30 { int|netbsd32||fhstatvfs1(netbsd32_fhandlep_t fhp, \ d846 2 a847 1 373 COMPAT_50 { int|netbsd32||pselect(int nd, netbsd32_fd_setp_t in, \ d851 2 a852 1 374 COMPAT_50 { int|netbsd32||pollts(netbsd32_pollfdp_t fds, \ d885 2 a886 1 387 COMPAT_50 { int|netbsd32|30|stat(netbsd32_charp path, \ d888 2 a889 1 388 COMPAT_50 { int|netbsd32|30|fstat(int fd, \ d891 2 a892 1 389 COMPAT_50 { int|netbsd32|30|lstat( \ d897 2 a898 1 392 COMPAT_30 { int|netbsd32|30|fhstat( \ d901 2 a902 2 #if defined(NTP) || !defined(_KERNEL_OPT) 393 COMPAT_50 { int|netbsd32||ntp_gettime( \ a903 3 #else 393 EXCL __ntp_gettime30 #endif d913 2 a914 1 398 COMPAT_50 { int|netbsd32|40|fhstat( \ d998 2 a999 1 434 COMPAT_60 { int|netbsd32||_lwp_park( \ @ 1.123 log @Add getsockopt2(). @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.122 2018/07/12 10:46:48 maxv Exp $ d94 1 a94 1 21 STD { int|netbsd32||mount(netbsd32_charp type, \ @ 1.122 log @Remove the kernel PMC code. Sent yesterday on tech-kern@@. This change: * Removes "options PERFCTRS", the associated includes, and the associated ifdefs. In doing so, it removes several XXXSMPs in the MI code, which is good. * Removes the PMC code of ARM XSCALE. * Removes all the pmc.h files. They were all empty, except for ARM XSCALE. * Reorders the x86 PMC code not to rely on the legacy pmc.h file. The definitions are put in sysarch.h. * Removes the kern/sys_pmc.c file, and along with it, the sys_pmc_control and sys_pmc_get_info syscalls. They are marked as OBSOL in kern, netbsd32 and rump. * Removes the pmc_evid_t and pmc_ctr_t types. * Removes all the associated man pages. The sets are marked as obsolete. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.121 2018/05/10 02:36:07 christos Exp $ d387 2 a388 1 193 UNIMPL @ 1.121 log @add {send,recv}mmsg @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.120 2018/01/06 16:41:23 kamil Exp $ d683 2 a684 2 341 UNIMPL { int|netbsd32||pmc_get_info(int ctr, int op, void *args); } 342 UNIMPL { int|netbsd32||pmc_control(int ctr, int op, void *args); } @ 1.121.2.1 log @Sync with HEAD @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.125 2019/01/27 02:08:40 pgoyette Exp $ d73 1 a73 2 7 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||wait4(int pid, netbsd32_intp status, \ d75 1 a75 2 8 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||ocreat(netbsd32_charp path, \ d83 1 a83 2 14 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||mknod(netbsd32_charp path, mode_t mode, \ d89 1 a89 2 18 COMPAT_20 MODULAR compat_netbsd32_20 \ { int|netbsd32||getfsstat(netbsd32_statfsp_t buf, \ d91 1 a91 2 19 COMPAT_43 MODULAR compat_netbsd32_43 \ { netbsd32_long|netbsd32||olseek(int fd, \ d94 1 a94 2 21 COMPAT_40 MODULAR compat_netbsd32_40 \ { int|netbsd32||mount(netbsd32_charp type, \ d127 1 a127 2 38 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||stat43(netbsd32_charp path, \ d130 1 a130 2 40 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||lstat43(netbsd32_charp path, \ d144 1 a144 2 48 COMPAT_13 MODULAR compat_netbsd32_13 \ { int|netbsd32||sigprocmask(int how, \ d150 2 a151 4 52 COMPAT_13 MODULAR compat_netbsd32_13 \ { int|sys||sigpending(void); } sigpending13 53 COMPAT_13 MODULAR compat_netbsd32_13 \ { int|netbsd32||sigaltstack13( \ d156 1 a156 2 55 COMPAT_12 MODULAR compat_netbsd32_12 \ { int|netbsd32||reboot(int opt); } d166 2 a167 4 62 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||fstat43(int fd, netbsd32_stat43p_t sb); } 63 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||ogetkerninfo(int op, \ d170 2 a171 4 64 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|sys||getpagesize(void); } ogetpagesize 65 COMPAT_12 MODULAR compat_netbsd32_12 \ { int|netbsd32||msync(netbsd32_voidp addr, \ d179 1 a179 2 71 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||ommap(netbsd32_voidp addr, \ d199 1 a199 2 83 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||setitimer(int which, \ d202 3 a204 6 84 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|sys||wait(void); } owait 85 COMPAT_12 MODULAR compat_netbsd32_12 \ { int|netbsd32||oswapon(netbsd32_charp name); } 86 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||getitimer(int which, \ d206 1 a206 2 87 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||ogethostname(netbsd32_charp hostname, \ d208 1 a208 2 88 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||osethostname(netbsd32_charp hostname, \ d210 1 a210 2 89 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|sys||getdtablesize(void); } ogetdtablesize d215 1 a215 2 93 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||select(int nd, netbsd32_fd_setp_t in, \ d222 1 a222 2 97 COMPAT_30 MODULAR compat_netbsd32_30 \ { int|netbsd32||socket(int domain, int type, \ d226 1 a226 2 99 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||oaccept(int s, netbsd32_voidp name, \ d229 1 a229 2 101 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||osend(int s, netbsd32_voidp buf, \ d231 1 a231 2 102 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||orecv(int s, netbsd32_voidp buf, \ d233 1 a233 2 103 COMPAT_13 MODULAR compat_netbsd32_13 \ { int|netbsd32||sigreturn( \ d241 1 a241 2 108 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||osigvec(int signum, \ d243 4 a246 8 109 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||sigblock(int mask); } 110 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||sigsetmask(int mask); } 111 COMPAT_13 MODULAR compat_netbsd32_13 \ { int|netbsd32||sigsuspend(int mask); } sigsuspend13 112 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||osigstack(netbsd32_sigstackp_t nss, \ d248 1 a248 2 113 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||orecvmsg(int s, \ d250 1 a250 2 114 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||osendmsg(int s, netbsd32_voidp msg, \ d253 1 a253 2 116 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||gettimeofday(netbsd32_timeval50p_t tp, \ d255 1 a255 2 117 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||getrusage(int who, \ d264 1 a264 2 122 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||settimeofday(netbsd32_timeval50p_t tv, \ d268 1 a268 2 125 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||orecvfrom(int s, netbsd32_voidp buf, \ d275 1 a275 2 129 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||otruncate(netbsd32_charp path, \ d277 1 a277 2 130 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||oftruncate(int fd, \ d291 1 a291 2 138 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||utimes(netbsd32_charp path, \ d294 1 a294 2 140 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||adjtime(netbsd32_timeval50p_t delta, \ d296 1 a296 2 141 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||ogetpeername(int fdes, \ d298 3 a300 6 142 COMPAT_43 MODULAR compat_netbsd32_43 \ { int32_t|sys||gethostid(void); } ogethostid 143 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||sethostid(int32_t hostid); } 144 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||ogetrlimit(int which, \ d302 1 a302 2 145 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||osetrlimit(int which, \ d304 1 a304 2 146 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||killpg(int pgid, int signum); } d306 1 a306 2 148 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||quotactl(netbsd32_charp path, int cmd, \ d308 2 a309 4 149 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|sys||quota(void); } oquota 150 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||ogetsockname(int fdec, \ d322 1 a322 2 156 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||ogetdirentries(int fd, \ d325 1 a325 2 157 COMPAT_20 MODULAR compat_netbsd32_20 \ { int|netbsd32||statfs(netbsd32_charp path, \ d327 1 a327 2 158 COMPAT_20 MODULAR compat_netbsd32_20 \ { int|netbsd32||fstatfs(int fd, \ d331 1 a331 2 161 COMPAT_30 MODULAR compat_netbsd32_30 \ { int|netbsd32||getfh(netbsd32_charp fname, \ d333 1 a333 2 162 COMPAT_09 MODULAR compat_netbsd32_09 \ { int|netbsd32||ogetdomainname( \ d335 1 a335 2 163 COMPAT_09 MODULAR compat_netbsd32_09 \ { int|netbsd32||osetdomainname( \ d337 1 a337 2 164 COMPAT_09 MODULAR compat_netbsd32_09 \ { int|netbsd32||uname(netbsd32_outsnamep_t name); } d342 1 a342 1 169 COMPAT_10 MODULAR compat_netbsd32_sysvipc_10 \ d345 1 a345 1 170 COMPAT_10 MODULAR compat_netbsd32_sysvipc_10 \ d348 1 a348 1 171 COMPAT_10 MODULAR compat_netbsd32_sysvipc_10 \ d358 2 a359 2 175 COMPAT_30 MODULAR compat_netbsd32_30 \ { int|netbsd32||ntp_gettime( \ a360 1 #if defined(NTP) || !defined(_KERNEL_OPT) d363 1 d379 1 a379 2 188 COMPAT_12 MODULAR compat_netbsd32_12 \ { int|netbsd32||stat12(netbsd32_charp path, \ d381 2 a382 4 189 COMPAT_12 MODULAR compat_netbsd32_12 \ { int|netbsd32||fstat12(int fd, netbsd32_stat12p_t sb); } 190 COMPAT_12 MODULAR compat_netbsd32_12 \ { int|netbsd32||lstat12(netbsd32_charp path, \ d387 1 a387 2 193 STD { int|netbsd32||getsockopt2(int s, int level, int name, \ netbsd32_voidp val, netbsd32_intp avalsize); } d392 1 a392 2 196 COMPAT_12 MODULAR compat_netbsd32_12 \ { int|netbsd32||getdirentries(int fd, \ d415 1 a415 2 206 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||futimes(int fd, \ d434 1 a434 1 220 COMPAT_14 MODULAR compat_netbsd32_sysvipc_14 \ d445 1 a445 1 224 COMPAT_14 MODULAR compat_netbsd32_sysvipc_14 \ d460 1 a460 1 229 COMPAT_14 MODULAR compat_netbsd32_sysvipc_14 \ d468 1 a468 2 232 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||clock_gettime( \ d471 1 a471 2 233 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||clock_settime( \ d474 1 a474 2 234 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||clock_getres( \ d482 1 a482 2 237 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||timer_settime(netbsd32_timer_t timerid, \ d486 1 a486 2 238 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||timer_gettime(netbsd32_timer_t timerid, \ d493 1 a493 2 240 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||nanosleep(netbsd32_timespec50p_t rqtp, \ d498 1 a498 2 244 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||__sigtimedwait(netbsd32_sigsetp_t set, \ d564 1 a564 2 272 COMPAT_30 MODULAR compat_netbsd32_30 \ { int|netbsd32||getdents(int fd, netbsd32_charp buf, \ d572 1 a572 2 276 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||lutimes(netbsd32_charp path, \ d576 1 a576 2 278 COMPAT_30 MODULAR compat_netbsd32_30 \ { int|netbsd32|13|stat(netbsd32_charp path, \ d578 1 a578 2 279 COMPAT_30 MODULAR compat_netbsd32_30 \ { int|netbsd32|13|fstat(int fd, \ d580 1 a580 2 280 COMPAT_30 MODULAR compat_netbsd32_30 \ { int|netbsd32|13|lstat(netbsd32_charp path, \ d611 1 a611 2 295 COMPAT_16 MODULAR compat_netbsd32_16 \ { int|netbsd32|14|sigreturn( \ d616 1 a616 2 298 COMPAT_30 MODULAR compat_netbsd32_30 \ { int|netbsd32||fhopen(netbsd32_fhandlep_t fhp, \ d618 1 a618 2 299 COMPAT_30 MODULAR compat_netbsd32_30 \ { int|netbsd32||fhstat(netbsd32_fhandlep_t fhp, \ d620 1 a620 2 300 COMPAT_20 MODULAR compat_netbsd32_20 \ { int|netbsd32||fhstatfs(netbsd32_fhandlep_t fhp, \ d622 1 a622 1 301 COMPAT_50 MODULAR compat_netbsd32_sysvipc_50 \ d625 1 a625 1 302 COMPAT_50 MODULAR compat_netbsd32_sysvipc_50 \ d628 1 a628 1 303 COMPAT_50 MODULAR compat_netbsd32_sysvipc_50 \ d651 1 a651 2 320 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||_lwp_park(netbsd32_timespec50p_t ts, \ d683 2 a684 2 341 OBSOL netbsd32_pmc_get_info 342 OBSOL netbsd32_pmc_control d688 1 a688 2 345 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||kevent(int fd, \ d720 1 a720 2 359 COMPAT_30 MODULAR compat_netbsd32_30 \ { int|netbsd32||fhstatvfs1(netbsd32_fhandlep_t fhp, \ d760 1 a760 2 373 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||pselect(int nd, netbsd32_fd_setp_t in, \ d764 1 a764 2 374 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||pollts(netbsd32_pollfdp_t fds, \ d797 1 a797 2 387 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32|30|stat(netbsd32_charp path, \ d799 1 a799 2 388 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32|30|fstat(int fd, \ d801 1 a801 2 389 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32|30|lstat( \ d806 1 a806 2 392 COMPAT_30 MODULAR compat_netbsd32_30 \ { int|netbsd32|30|fhstat( \ d809 2 a810 2 393 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||ntp_gettime( \ d812 3 d824 1 a824 2 398 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32|40|fhstat( \ d908 1 a908 2 434 COMPAT_60 MODULAR compat_netbsd32_60 \ { int|netbsd32||_lwp_park( \ @ 1.121.2.2 log @Mostly merge changes from HEAD upto 20200411 @ text @d1 1 a1 1 $NetBSD$ a42 1 #include "opt_quota.h" a51 1 #include d98 1 a98 1 20 NOARGS { pid_t|sys||getpid_with_ppid(void); } getpid d106 1 a106 1 24 NOARGS { uid_t|sys||getuid_with_euid(void); } getuid d151 1 a151 1 47 NOARGS { gid_t|sys||getgid_with_egid(void); } getgid d184 1 a184 1 64 COMPAT_43 MODULAR compat_43 \ d220 1 a220 1 84 COMPAT_43 MODULAR compat_43 \ d233 1 a233 1 89 COMPAT_43 MODULAR compat_43 \ d344 1 a344 1 142 COMPAT_43 MODULAR compat_43 \ d357 1 a357 1 148 COMPAT_50 MODULAR compat_netbsd32_quota_50 \ d360 2 a361 1 149 EXCL compat_netbsd32_quota d749 1 a749 1 326 NOARGS { lwptid_t|sys||_lwp_gettid(void); } d799 1 a799 2 356 COMPAT_90 MODULAR compat_netbsd32_90 \ { int|netbsd32||getvfsstat(netbsd32_statvfs90p_t buf, \ d801 4 a804 6 357 COMPAT_90 MODULAR compat_netbsd32_90 \ { int|netbsd32||statvfs1(netbsd32_charp path, \ netbsd32_statvfs90p_t buf, int flags); } 358 COMPAT_90 MODULAR compat_netbsd32_90 \ { int|netbsd32||fstatvfs1(int fd, \ netbsd32_statvfs90p_t buf, int flags); } d807 1 a807 1 netbsd32_statvfs90p_t buf, int flags); } d910 1 a910 2 397 COMPAT_90 MODULAR compat_netbsd90 \ { int|netbsd32||fhstatvfs1( \ d912 1 a912 1 netbsd32_statvfs90p_t buf, int flags); } d1112 1 a1112 1 netbsd32_size_t bufsize); } d1121 1 a1121 2 473 STD MODULAR compat_netbsd32_quota \ { int|netbsd32||__quotactl(const netbsd32_charp path, \ a1154 10 483 STD { int|netbsd32|90|getvfsstat( \ netbsd32_statvfsp_t buf, \ netbsd32_size_t bufsize, int flags); } 484 STD { int|netbsd32|90|statvfs1(netbsd32_charp path, \ netbsd32_statvfsp_t buf, int flags); } 485 STD { int|netbsd32|90|fstatvfs1(int fd, \ netbsd32_statvfsp_t buf, int flags); } 486 STD { int|netbsd32|90|fhstatvfs1(netbsd32_voidp fhp, \ netbsd32_size_t fh_size, netbsd32_statvfsp_t buf, \ int flags); } @ 1.120 log @Revert vadvise(2) removal This system call was used in legacy Lisp code, that was inherited to modern age and still compiled against supported compat layers (e.g. in clisp, oaklisp, Franz Lisp). It used to instruct the kernel about paging policy (G/C aware, flush etc). Newly compiled code (assuming that it will detect vadvise()) will use the libc stub for vadvise(). The headers for this interface are gone. vadvise(2) could be marked as COMPAT_80, but as long as we support ultrix, sunos or aout68k ABI, don't bother with this. Requested by @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.118 2017/12/19 18:34:47 kamil Exp $ d1033 5 a1037 5 const netbsd32_charp path, \ const netbsd32_posix_spawn_file_actionsp \ file_actions, \ const netbsd32_posix_spawnattrp attrp, \ netbsd32_charpp argv, netbsd32_charpp envp); } d1039 2 a1040 1 475 UNIMPL { int|netbsd32||recvmmsg(int s, struct mmsghdr *mmsg, \ d1043 2 a1044 1 476 UNIMPL { int|netbsd32||sendmmsg(int s, struct mmsghdr *mmsg, \ @ 1.120.2.1 log @Sync with HEAD @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.121 2018/05/10 02:36:07 christos Exp $ d1033 5 a1037 5 const netbsd32_charp path, \ const netbsd32_posix_spawn_file_actionsp \ file_actions, \ const netbsd32_posix_spawnattrp attrp, \ netbsd32_charpp argv, netbsd32_charpp envp); } d1039 1 a1039 2 475 STD { int|netbsd32||recvmmsg(int s, \ netbsd32_mmsghdrp_t mmsg, \ d1042 1 a1042 2 476 STD { int|netbsd32||sendmmsg(int s, \ netbsd32_mmsghdrp_t mmsg, \ @ 1.120.2.2 log @Sync with HEAD @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.122 2018/07/12 10:46:48 maxv Exp $ d683 2 a684 2 341 OBSOL netbsd32_pmc_get_info 342 OBSOL netbsd32_pmc_control @ 1.120.2.3 log @Sync with HEAD Resolve a couple of conflicts (result of the uimin/uimax changes) @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.123 2018/07/31 21:00:02 rjs Exp $ d387 1 a387 2 193 STD { int|netbsd32||getsockopt2(int s, int level, int name, \ netbsd32_voidp val, netbsd32_intp avalsize); } @ 1.120.2.4 log @Initial cut at a compat_netbsd32_09 and compat_netbsd32_12 modules. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.120.2.3 2018/09/06 06:55:47 pgoyette Exp $ d333 1 a333 2 162 COMPAT_09 modular compat_netbsd32_09 \ { int|netbsd32||ogetdomainname( \ d335 1 a335 2 163 COMPAT_09 modular compat_netbsd32_09 \ { int|netbsd32||osetdomainname( \ d337 1 a337 2 164 COMPAT_09 modular compat_netbsd32_09 \ { int|netbsd32||uname(netbsd32_outsnamep_t name); } @ 1.120.2.5 log @More compat_netbsd32_xx modules @ text @d89 1 a89 2 18 COMPAT_20 MODULAR compat_netbsd32_20 \ { int|netbsd32||getfsstat(netbsd32_statfsp_t buf, \ d144 1 a144 2 48 COMPAT_13 MODULAR compat_netbsd32_13 \ { int|netbsd32||sigprocmask(int how, \ d151 1 a151 2 53 COMPAT_13 MODULAR compat_netbsd32_13 \ { int|netbsd32||sigaltstack13( \ d156 1 a156 2 55 COMPAT_12 MODULAR compat_netbsd32_12 \ { int|netbsd32||reboot(int opt); } d171 1 a171 2 65 COMPAT_12 MODULAR compat_netbsd32_12 \ { int|netbsd32||msync(netbsd32_voidp addr, \ d203 1 a203 2 85 COMPAT_12 MODULAR compat_netbsd32_12 \ { int|netbsd32||oswapon(netbsd32_charp name); } d222 1 a222 2 97 COMPAT_30 MODULAR compat_netbsd32_30 \ { int|netbsd32||socket(int domain, int type, \ d245 1 a245 2 111 COMPAT_13 MODULAR compat_netbsd32_13 \ { int|netbsd32||sigsuspend(int mask); } sigsuspend13 d331 1 a331 2 161 COMPAT_30 MODULAR compat_netbsd32_30 \ { int|netbsd32||getfh(netbsd32_charp fname, \ d382 1 a382 2 188 COMPAT_12 MODULAR compat_netbsd32_12 \ { int|netbsd32||stat12(netbsd32_charp path, \ d384 2 a385 4 189 COMPAT_12 MODULAR compat_netbsd32_12 \ { int|netbsd32||fstat12(int fd, netbsd32_stat12p_t sb); } 190 COMPAT_12 MODULAR compat_netbsd32_12 \ { int|netbsd32||lstat12(netbsd32_charp path, \ d568 1 a568 2 272 COMPAT_30 MODULAR compat_netbsd32_30 \ { int|netbsd32||getdents(int fd, netbsd32_charp buf, \ d580 1 a580 2 278 COMPAT_30 MODULAR compat_netbsd32_30 \ { int|netbsd32|13|stat(netbsd32_charp path, \ d582 1 a582 2 279 COMPAT_30 MODULAR compat_netbsd32_30 \ { int|netbsd32|13|fstat(int fd, \ d584 1 a584 2 280 COMPAT_30 MODULAR compat_netbsd32_30 \ { int|netbsd32|13|lstat(netbsd32_charp path, \ d620 1 a620 2 298 COMPAT_30 MODULAR compat_netbsd32_30 \ { int|netbsd32||fhopen(netbsd32_fhandlep_t fhp, \ d622 1 a622 2 299 COMPAT_30 MODULAR compat_netbsd32_30 \ { int|netbsd32||fhstat(netbsd32_fhandlep_t fhp, \ d724 1 a724 2 359 COMPAT_30 MODULAR compat_netbsd32_30 \ { int|netbsd32||fhstatvfs1(netbsd32_fhandlep_t fhp, \ d810 1 a810 2 392 COMPAT_30 MODULAR compat_netbsd32_30 \ { int|netbsd32|30|fhstat( \ @ 1.120.2.6 log @More work on splitting the compat_netbsd32 module @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.120.2.5 2018/09/10 10:49:09 pgoyette Exp $ d73 1 a73 2 7 STD MODULAR compat_netbsd32_50 \ { int|netbsd32||wait4(int pid, netbsd32_intp status, \ d83 1 a83 2 14 STD MODULAR compat_netbsd32_50 \ { int|netbsd32||mknod(netbsd32_charp path, mode_t mode, \ d89 1 a89 1 18 STD MODULAR compat_netbsd32_20 \ d145 1 a145 1 48 STD MODULAR compat_netbsd32_13 \ d153 1 a153 1 53 STD MODULAR compat_netbsd32_13 \ d159 1 a159 1 55 STD MODULAR compat_netbsd32_12 \ d175 1 a175 1 65 STD MODULAR compat_netbsd32_12 \ d204 1 a204 2 83 STD MODULAR compat_netbsd32_50 \ { int|netbsd32||setitimer(int which, \ d208 1 a208 1 85 STD MODULAR compat_netbsd32_12 \ d210 1 a210 2 86 STD MODULAR compat_netbsd32_50 \ { int|netbsd32||getitimer(int which, \ d221 1 a221 2 93 STD MODULAR compat_netbsd32_50 \ { int|netbsd32||select(int nd, netbsd32_fd_setp_t in, \ d228 1 a228 1 97 STD MODULAR compat_netbsd32_30 \ d252 1 a252 1 111 STD MODULAR compat_netbsd32_13 \ d261 1 a261 2 116 STD MODULAR compat_netbsd32_50 \ { int|netbsd32||gettimeofday(netbsd32_timeval50p_t tp, \ d263 1 a263 2 117 STD MODULAR compat_netbsd32_50 \ { int|netbsd32||getrusage(int who, \ d272 1 a272 2 122 STD MODULAR compat_netbsd32_50 \ { int|netbsd32||settimeofday(netbsd32_timeval50p_t tv, \ d299 1 a299 2 138 STD MODULAR compat_netbsd32_50 \ { int|netbsd32||utimes(netbsd32_charp path, \ d302 1 a302 2 140 STD MODULAR compat_netbsd32_50 \ { int|netbsd32||adjtime(netbsd32_timeval50p_t delta, \ d314 1 a314 2 148 STD MODULAR compat_netbsd32_50 \ { int|netbsd32||quotactl(netbsd32_charp path, int cmd, \ d333 1 a333 2 157 STD MODULAR compat_netbsd32_20 \ { int|netbsd32||statfs(netbsd32_charp path, \ d335 1 a335 2 158 STD MODULAR compat_netbsd32_20 \ { int|netbsd32||fstatfs(int fd, \ d339 1 a339 1 161 STD MODULAR compat_netbsd32_30 \ d342 1 a342 1 162 STD MODULAR compat_netbsd32_09 \ d345 1 a345 1 163 STD MODULAR compat_netbsd32_09 \ d348 1 a348 1 164 STD MODULAR compat_netbsd32_09 \ d354 1 a354 1 169 STD MODULAR compat_netbsd32_sysvipc \ d357 1 a357 1 170 STD MODULAR compat_netbsd32_sysvipc \ d360 1 a360 1 171 STD MODULAR compat_netbsd32_sysvipc \ d391 1 a391 1 188 STD MODULAR compat_netbsd32_12 \ d394 1 a394 1 189 STD MODULAR compat_netbsd32_12 \ d396 1 a396 1 190 STD MODULAR compat_netbsd32_12 \ d431 1 a431 2 206 STD MODULAR compat_netbsd32_50 \ { int|netbsd32||futimes(int fd, \ d450 1 a450 1 220 STD MODULAR compat_netbsd32_sysvipc \ d461 1 a461 1 224 STD MODULAR compat_netbsd32_sysvipc \ d476 1 a476 1 229 STD MODULAR compat_netbsd32_sysvipc \ d484 1 a484 2 232 STD MODULAR compat_netbsd32_50 \ { int|netbsd32||clock_gettime( \ d487 1 a487 2 233 STD MODULAR compat_netbsd32_50 \ { int|netbsd32||clock_settime( \ d490 1 a490 2 234 STD MODULAR compat_netbsd32_50 \ { int|netbsd32||clock_getres( \ d498 1 a498 2 237 STD MODULAR compat_netbsd32_50 \ { int|netbsd32||timer_settime(netbsd32_timer_t timerid, \ d502 1 a502 2 238 STD MODULAR compat_netbsd32_50 \ { int|netbsd32||timer_gettime(netbsd32_timer_t timerid, \ d509 1 a509 2 240 STD MODULAR compat_netbsd32_50 \ { int|netbsd32||nanosleep(netbsd32_timespec50p_t rqtp, \ d514 1 a514 2 244 STD MODULAR compat_netbsd32_50 \ { int|netbsd32||__sigtimedwait(netbsd32_sigsetp_t set, \ d561 1 a561 1 265 STD MODULAR compat_netbsd32_mqueue \ d567 1 a567 1 266 STD MODULAR compat_netbsd32_mqueue \ d580 1 a580 1 272 STD MODULAR compat_netbsd32_30 \ d589 1 a589 2 276 STD MODULAR compat_netbsd32_50 \ { int|netbsd32||lutimes(netbsd32_charp path, \ d593 1 a593 1 278 STD MODULAR compat_netbsd32_30 \ d596 1 a596 1 279 STD MODULAR compat_netbsd32_30 \ d599 1 a599 1 280 STD MODULAR compat_netbsd32_30 \ d636 1 a636 1 298 STD MODULAR compat_netbsd32_30 \ d639 1 a639 1 299 STD MODULAR compat_netbsd32_30 \ d642 1 a642 2 300 STD MODULAR compat_netbsd32_20 \ { int|netbsd32||fhstatfs(netbsd32_fhandlep_t fhp, \ d644 1 a644 1 301 STD MODULAR compat_netbsd32_sysvipc \ d647 1 a647 1 302 STD MODULAR compat_netbsd32_sysvipc \ d650 1 a650 1 303 STD MODULAR compat_netbsd32_sysvipc \ d673 1 a673 2 320 STD MODULAR compat_netbsd32_50 \ { int|netbsd32||_lwp_park(netbsd32_timespec50p_t ts, \ d710 1 a710 2 345 STD MODULAR compat_netbsd32_50 \ { int|netbsd32||kevent(int fd, \ d742 1 a742 1 359 STD MODULAR compat_netbsd32_30 \ d783 1 a783 2 373 STD MODULAR compat_netbsd32_50 \ { int|netbsd32||pselect(int nd, netbsd32_fd_setp_t in, \ d787 1 a787 2 374 STD MODULAR compat_netbsd32_50 \ { int|netbsd32||pollts(netbsd32_pollfdp_t fds, \ d820 1 a820 2 387 STD MODULAR compat_netbsd32_50 \ { int|netbsd32|30|stat(netbsd32_charp path, \ d822 1 a822 2 388 STD MODULAR compat_netbsd32_50 \ { int|netbsd32|30|fstat(int fd, \ d824 1 a824 2 389 STD MODULAR compat_netbsd32_50 \ { int|netbsd32|30|lstat( \ d829 1 a829 1 392 STD MODULAR compat_netbsd32_30 \ d848 1 a848 2 398 STD MODULAR compat_netbsd32_50 \ { int|netbsd32|40|fhstat( \ d932 1 a932 2 434 STD MODULAR compat_netbsd32_60 \ { int|netbsd32||_lwp_park( \ @ 1.120.2.7 log @Update for module-provided compat syscalls @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.120.2.6 2018/09/10 22:50:51 pgoyette Exp $ d73 1 a73 1 7 COMPAT_50 MODULAR compat_netbsd32_50 \ d84 1 a84 1 14 COMPAT_50 MODULAR compat_netbsd32_50 \ d91 1 a91 1 18 COMPAT_20 MODULAR compat_netbsd32_20 \ d147 1 a147 1 48 COMPAT_13 MODULAR compat_netbsd32_13 \ d155 1 a155 1 53 COMPAT_13 MODULAR compat_netbsd32_13 \ d161 1 a161 1 55 COMPAT_12 MODULAR compat_netbsd32_12 \ d177 1 a177 1 65 COMPAT_12 MODULAR compat_netbsd32_12 \ d206 1 a206 1 83 COMPAT_50 MODULAR compat_netbsd32_50 \ d211 1 a211 1 85 COMPAT_12 MODULAR compat_netbsd32_12 \ d213 1 a213 1 86 COMPAT_50 MODULAR compat_netbsd32_50 \ d225 1 a225 1 93 COMPAT_50 MODULAR compat_netbsd32_50 \ d233 1 a233 1 97 COMPAT_30 MODULAR compat_netbsd32_30 \ d257 1 a257 1 111 COMPAT_13 MODULAR compat_netbsd32_13 \ d266 1 a266 1 116 COMPAT_50 MODULAR compat_netbsd32_50 \ d269 1 a269 1 117 COMPAT_50 MODULAR compat_netbsd32_50 \ d279 1 a279 1 122 COMPAT_50 MODULAR compat_netbsd32_50 \ d307 1 a307 1 138 COMPAT_50 MODULAR compat_netbsd32_50 \ d311 1 a311 1 140 COMPAT_50 MODULAR compat_netbsd32_50 \ d324 1 a324 1 148 COMPAT_50 MODULAR compat_netbsd32_50 \ d344 1 a344 1 157 COMPAT_20 MODULAR compat_netbsd32_20 \ d347 1 a347 1 158 COMPAT_20 MODULAR compat_netbsd32_20 \ d352 1 a352 1 161 COMPAT_30 MODULAR compat_netbsd32_30 \ d355 1 a355 1 162 COMPAT_09 MODULAR compat_netbsd32_09 \ d358 1 a358 1 163 COMPAT_09 MODULAR compat_netbsd32_09 \ d361 1 a361 1 164 COMPAT_09 MODULAR compat_netbsd32_09 \ d404 1 a404 1 188 COMPAT_12 MODULAR compat_netbsd32_12 \ d407 1 a407 1 189 COMPAT_12 MODULAR compat_netbsd32_12 \ d409 1 a409 1 190 COMPAT_12 MODULAR compat_netbsd32_12 \ d444 1 a444 1 206 COMPAT_50 MODULAR compat_netbsd32_50 \ d498 1 a498 1 232 COMPAT_50 MODULAR compat_netbsd32_50 \ d502 1 a502 1 233 COMPAT_50 MODULAR compat_netbsd32_50 \ d506 1 a506 1 234 COMPAT_50 MODULAR compat_netbsd32_50 \ d515 1 a515 1 237 COMPAT_50 MODULAR compat_netbsd32_50 \ d520 1 a520 1 238 COMPAT_50 MODULAR compat_netbsd32_50 \ d528 1 a528 1 240 COMPAT_50 MODULAR compat_netbsd32_50 \ d534 1 a534 1 244 COMPAT_50 MODULAR compat_netbsd32_50 \ d601 1 a601 1 272 COMPAT_30 MODULAR compat_netbsd32_30 \ d610 1 a610 1 276 COMPAT_50 MODULAR compat_netbsd32_50 \ d615 1 a615 1 278 COMPAT_30 MODULAR compat_netbsd32_30 \ d618 1 a618 1 279 COMPAT_30 MODULAR compat_netbsd32_30 \ d621 1 a621 1 280 COMPAT_30 MODULAR compat_netbsd32_30 \ d658 1 a658 1 298 COMPAT_30 MODULAR compat_netbsd32_30 \ d661 1 a661 1 299 COMPAT_30 MODULAR compat_netbsd32_30 \ d664 1 a664 1 300 COMPAT_20 MODULAR compat_netbsd32_20 \ d696 1 a696 1 320 COMPAT_50 MODULAR compat_netbsd32_50 \ d734 1 a734 1 345 COMPAT_50 MODULAR compat_netbsd32_50 \ d767 1 a767 1 359 COMPAT_30 MODULAR compat_netbsd32_30 \ d808 1 a808 1 373 COMPAT_50 MODULAR compat_netbsd32_50 \ d813 1 a813 1 374 COMPAT_50 MODULAR compat_netbsd32_50 \ d847 1 a847 1 387 COMPAT_50 MODULAR compat_netbsd32_50 \ d850 1 a850 1 388 COMPAT_50 MODULAR compat_netbsd32_50 \ d853 1 a853 1 389 COMPAT_50 MODULAR compat_netbsd32_50 \ d859 1 a859 1 392 COMPAT_30 MODULAR compat_netbsd32_30 \ d878 1 a878 1 398 COMPAT_50 MODULAR compat_netbsd32_50 \ d963 1 a963 1 434 COMPAT_60 MODULAR compat_netbsd32_60 \ @ 1.120.2.8 log @Don't be overzealous with changes! Return a few syscalls to their original COMPAT_xx status (rather than STD) @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.120.2.7 2018/09/11 01:45:19 pgoyette Exp $ d464 1 a464 1 220 COMPAT_14 MODULAR compat_netbsd32_sysvipc \ d475 1 a475 1 224 COMPAT_14 MODULAR compat_netbsd32_sysvipc \ d490 1 a490 1 229 COMPAT_14 MODULAR compat_netbsd32_sysvipc \ d582 1 a582 1 265 COMPAT_50 MODULAR compat_netbsd32_mqueue \ d588 1 a588 1 266 COMPAT_50 MODULAR compat_netbsd32_mqueue \ @ 1.120.2.9 log @More over-zealousness - what was I thinking? @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.120.2.8 2018/09/11 05:47:52 pgoyette Exp $ d367 1 a367 1 169 COMPAT_10 MODULAR compat_netbsd32_sysvipc \ d370 1 a370 1 170 COMPAT_10 MODULAR compat_netbsd32_sysvipc \ d373 1 a373 1 171 COMPAT_10 MODULAR compat_netbsd32_sysvipc \ d667 1 a667 1 301 COMPAT_50 MODULAR compat_netbsd32_sysvipc \ d670 1 a670 1 302 COMPAT_50 MODULAR compat_netbsd32_sysvipc \ d673 1 a673 1 303 COMPAT_50 MODULAR compat_netbsd32_sysvipc \ @ 1.120.2.10 log @Insert "MODULAR compat_netbsd32_43" as neeed @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.120.2.9 2018/09/11 06:11:59 pgoyette Exp $ d76 1 a76 2 8 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||ocreat(netbsd32_charp path, \ d94 1 a94 2 19 COMPAT_43 MODULAR compat_netbsd32_43 \ { netbsd32_long|netbsd32||olseek(int fd, \ d130 1 a130 2 38 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||stat43(netbsd32_charp path, \ d133 1 a133 2 40 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||lstat43(netbsd32_charp path, \ d172 2 a173 4 62 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||fstat43(int fd, netbsd32_stat43p_t sb); } 63 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||ogetkerninfo(int op, \ d186 1 a186 2 71 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||ommap(netbsd32_voidp addr, \ d216 1 a216 2 87 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||ogethostname(netbsd32_charp hostname, \ d218 1 a218 2 88 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||osethostname(netbsd32_charp hostname, \ d238 1 a238 2 99 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||oaccept(int s, netbsd32_voidp name, \ d241 1 a241 2 101 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||osend(int s, netbsd32_voidp buf, \ d243 1 a243 2 102 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||orecv(int s, netbsd32_voidp buf, \ d255 2 a256 4 109 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||sigblock(int mask); } 110 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||sigsetmask(int mask); } d259 1 a259 2 112 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||osigstack(netbsd32_sigstackp_t nss, \ d261 1 a261 2 113 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||orecvmsg(int s, \ d263 1 a263 2 114 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||osendmsg(int s, netbsd32_voidp msg, \ d284 1 a284 2 125 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||orecvfrom(int s, netbsd32_voidp buf, \ d291 1 a291 2 129 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||otruncate(netbsd32_charp path, \ d293 1 a293 2 130 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||oftruncate(int fd, \ d314 1 a314 2 141 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||ogetpeername(int fdes, \ d317 2 a318 4 143 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||sethostid(int32_t hostid); } 144 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||ogetrlimit(int which, \ d320 1 a320 2 145 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||osetrlimit(int which, \ d322 1 a322 2 146 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||killpg(int pgid, int signum); } d328 1 a328 2 150 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||ogetsockname(int fdec, \ d341 1 a341 2 156 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||ogetdirentries(int fd, \ @ 1.120.2.11 log @Move the NTP compat_30 and compat_50 routines into the version-specific modules. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.120.2.10 2018/09/11 08:35:27 pgoyette Exp $ d411 1 a411 2 175 COMPAT_30 MODULAR compat_netbsd32_30 \ { int|netbsd32||ntp_gettime( \ d891 1 a891 2 393 COMPAT_50 MODULAR compat_netbsd32_50 \ { int|netbsd32||ntp_gettime( \ @ 1.120.2.12 log @The netbsd32 40 mount code belongs in a netbsd32 40 module @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.120.2.11 2018/09/11 23:58:46 pgoyette Exp $ d99 1 a99 2 21 COMPAT_40 MODULAR compat_netbsd32_40 \ { int|netbsd32||mount(netbsd32_charp type, \ @ 1.120.2.13 log @Prepare for splitting compat_netbsd32_sysvipc into version-specific modules @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.120.2.12 2018/09/12 00:20:53 pgoyette Exp $ d395 1 a395 1 169 COMPAT_10 MODULAR compat_netbsd32_sysvipc_10 \ d398 1 a398 1 170 COMPAT_10 MODULAR compat_netbsd32_sysvipc_10 \ d401 1 a401 1 171 COMPAT_10 MODULAR compat_netbsd32_sysvipc_10 \ d493 1 a493 1 220 COMPAT_14 MODULAR compat_netbsd32_sysvipc_14 \ d504 1 a504 1 224 COMPAT_14 MODULAR compat_netbsd32_sysvipc_14 \ d519 1 a519 1 229 COMPAT_14 MODULAR compat_netbsd32_sysvipc_14 \ d696 1 a696 1 301 COMPAT_50 MODULAR compat_netbsd32_sysvipc_50 \ d699 1 a699 1 302 COMPAT_50 MODULAR compat_netbsd32_sysvipc_50 \ d702 1 a702 1 303 COMPAT_50 MODULAR compat_netbsd32_sysvipc_50 \ @ 1.120.2.14 log @Missed a couple of MODULAR tags @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.120.2.13 2018/09/12 03:21:14 pgoyette Exp $ d266 1 a266 2 108 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|netbsd32||osigvec(int signum, \ d450 1 a450 2 196 COMPAT_12 MODULAR compat_netbsd32_12 \ { int|netbsd32||getdirentries(int fd, \ @ 1.120.2.15 log @More MODULAR tags @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.120.2.14 2018/09/12 23:26:38 pgoyette Exp $ d159 1 a159 2 52 COMPAT_13 MODULAR compat_netbsd32_13 \ { int|sys||sigpending(void); } sigpending13 d183 1 a183 2 64 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|sys||getpagesize(void); } ogetpagesize d218 1 a218 2 84 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|sys||wait(void); } owait d230 1 a230 2 89 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|sys||getdtablesize(void); } ogetdtablesize d339 1 a339 2 142 COMPAT_43 MODULAR compat_netbsd32_43 \ { int32_t|sys||gethostid(void); } ogethostid d354 1 a354 2 149 COMPAT_43 MODULAR compat_netbsd32_43 \ { int|sys||quota(void); } oquota @ 1.120.2.16 log @Make sigreturn14 MODULAR @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.120.2.15 2018/09/13 03:49:46 pgoyette Exp $ d690 1 a690 2 295 COMPAT_16 MODULAR compat_netbsd32_16 \ { int|netbsd32|14|sigreturn( \ @ 1.120.2.17 log @Add MODULAR attribute to sigreturn. I think this is the last one. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.120.2.16 2018/09/14 01:20:52 pgoyette Exp $ d262 1 a262 2 103 COMPAT_13 MODULAR compat_netbsd32_13 \ { int|netbsd32||sigreturn( \ @ 1.120.2.18 log @Don't #ifdef out the NTP compat calls. The syscall number needs to be defined (for the autoload table) whether or not the compat code is built in. The compat code will be included in the module in all cases, but it makes explicit checks to ensure that NTP code exists before executing. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.120.2.17 2018/09/14 10:41:13 pgoyette Exp $ d419 1 d424 4 d902 1 d906 3 @ 1.120.2.19 log @Only keep the compat syscall entry; the main entry needs to remain conditional. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.120.2.18 2018/09/29 04:11:06 pgoyette Exp $ a421 1 #if defined(NTP) || !defined(_KERNEL_OPT) a422 3 #else 176 EXCL ntp_adjtime #endif @ 1.119 log @Drop SYS_vadvise The (o)vadvise syscall is dummy since the beginning of NetBSD. It is an obsolete remnant from the old UNIX. Sponsored by @ text @d182 1 a182 1 72 OBSOL vadvise @ 1.118 log @Drop SYS_sbrk sbrk - change data segment size This syscall is dummy since the inception of the project. Sponsored by @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.117 2017/12/19 08:48:19 kamil Exp $ d182 1 a182 1 72 STD { int|netbsd32||ovadvise(int anom); } vadvise @ 1.117 log @Drop the sstk(2) syscall stub sstk - change stack section size This functionality has never been implemented and is a remnant from 16-bit UNIX. This stub appeared with the first NetBSD commit. Sponsored by @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.116 2017/12/19 07:58:50 kamil Exp $ d177 1 a177 1 69 STD { int|netbsd32||sbrk(netbsd32_intptr_t incr); } @ 1.116 log @Sync syscalls.master in compat_netbsd32(8) with kern/syscalls.master ___lwp_part60 removed 'const' from the ts argument. 'const struct timespec *ts' -> 'struct timespec *ts' Sponsored by @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.115 2016/10/19 09:44:01 skrll Exp $ d178 1 a178 1 70 STD { int|netbsd32||sstk(int incr); } @ 1.115 log @PR kern/51514: ptrace(2) fails for 32-bit process on 64-bit kernel Updated from the original patch in the PR by me. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.114 2016/09/23 14:10:28 skrll Exp $ d1050 1 a1050 1 int flags, const netbsd32_timespecp_t ts, \ a1061 1 @ 1.115.8.1 log @Pull up following revision(s) (requested by rin in ticket #398): sys/compat/netbsd32/syscalls.master: revision 1.129 For netbsd32_readlinkat(2), bufsize is netbsd_size_t, not size_t. Since bufsize is the last argument, this affects only LP64EB. XXX pullup to netbsd-9, -8, and -7 @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.115 2016/10/19 09:44:01 skrll Exp $ d1021 1 a1021 1 netbsd32_size_t bufsize); } @ 1.114 log @Add wait6 and clock_getcpuclockid2 @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.113 2016/09/10 08:18:45 skrll Exp $ d102 2 a103 1 26 STD { int|netbsd32||ptrace(int req, pid_t pid, \ @ 1.113 log @Add _sched_protect @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.112 2015/12/03 10:38:21 pgoyette Exp $ d1056 5 @ 1.112 log @Split out the SYSV IPC stuff into its own compat_netbsd32_sysvipc module. Adjust dependencies as needed. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.111 2015/12/01 23:56:43 pgoyette Exp $ d706 1 a706 1 351 UNIMPL @ 1.112.2.1 log @Sync with HEAD @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.115 2016/10/19 09:44:01 skrll Exp $ d102 1 a102 2 26 STD MODULAR compat_netbsd32_ptrace \ { int|netbsd32||ptrace(int req, pid_t pid, \ a1055 5 481 STD { int|netbsd32||wait6(idtype_t idtype, id_t id, \ netbsd32_intp status, int options, \ netbsd32_wrusagep_t wru, netbsd32_siginfop_t info); } 482 STD { int|netbsd32||clock_getcpuclockid2(idtype_t idtype, \ id_t id, netbsd32_clockidp_t clock_id); } @ 1.111 log @Prepare for new compat_netbsd32_mqueue module to be split out of compat_netbsd32. Refactor the COMPAT_50 code related to mqueue, and update the syscall definitions. Remove dependency on mqueue from the compat_netbsd32 module (the new module will gain this dependency). Continuation of work on PR kern/50489 @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.110 2015/12/01 09:10:03 pgoyette Exp $ a41 1 #include "opt_sysv.h" d341 2 a342 2 #if defined(SYSVSEM) || !defined(_KERNEL_OPT) 169 COMPAT_10 { int|netbsd32||semsys(int which, int a2, int a3, \ d344 2 a345 5 #else 169 EXCL netbsd32_semsys #endif #if defined(SYSVMSG) || !defined(_KERNEL_OPT) 170 COMPAT_10 { int|netbsd32||msgsys(int which, int a2, int a3, \ d347 2 a348 5 #else 170 EXCL netbsd32_msgsys #endif #if defined(SYSVSHM) || !defined(_KERNEL_OPT) 171 COMPAT_10 { int|netbsd32||shmsys(int which, int a2, int a3, \ a349 3 #else 171 EXCL netbsd32_shmsys #endif d433 2 a434 2 #if defined(SYSVSEM) || !defined(_KERNEL_OPT) 220 COMPAT_14 { int|netbsd32||__semctl(int semid, int semnum, \ d436 2 a437 1 221 STD { int|netbsd32||semget(netbsd32_key_t key, int nsems, \ d439 2 a440 1 222 STD { int|netbsd32||semop(int semid, \ d442 4 a445 9 223 STD { int|netbsd32||semconfig(int flag); } #else 220 EXCL compat_14_netbsd32_semctl 221 EXCL netbsd32_semget 222 EXCL netbsd32_semop 223 EXCL netbsd32_semconfig #endif #if defined(SYSVMSG) || !defined(_KERNEL_OPT) 224 COMPAT_14 { int|netbsd32||msgctl(int msqid, int cmd, \ d447 4 a450 2 225 STD { int|netbsd32||msgget(netbsd32_key_t key, int msgflg); } 226 STD { int|netbsd32||msgsnd(int msqid, netbsd32_voidp msgp, \ d452 2 a453 1 227 STD { netbsd32_ssize_t|netbsd32||msgrcv(int msqid, \ d456 2 a457 8 #else 224 EXCL compat_14_netbsd32_msgctl 225 EXCL netbsd32_msgget 226 EXCL netbsd32_msgsnd 227 EXCL netbsd32_msgrcv #endif #if defined(SYSVSHM) || !defined(_KERNEL_OPT) 228 STD { netbsd32_voidp|netbsd32||shmat(int shmid, \ d459 2 a460 1 229 COMPAT_14 { int|netbsd32||shmctl(int shmid, int cmd, \ d462 4 a465 2 230 STD { int|netbsd32||shmdt(netbsd32_voidp shmaddr); } 231 STD { int|netbsd32||shmget(netbsd32_key_t key, \ a466 6 #else 228 EXCL netbsd32_shmat 229 EXCL compat_14_netbsd32_shmctl 230 EXCL netbsd32_shmdt 231 EXCL netbsd32_shmget #endif d621 2 a622 2 #if defined(SYSVSEM) || !defined(_KERNEL_OPT) 301 COMPAT_50 { int|netbsd32|14|semctl(int semid, int semnum, \ d624 2 a625 5 #else 301 EXCL __semctl14 #endif #if defined(SYSVMSG) || !defined(_KERNEL_OPT) 302 COMPAT_50 { int|netbsd32|13|msgctl(int msqid, int cmd, \ d627 2 a628 5 #else 302 EXCL __msgctl13 #endif #if defined(SYSVSHM) || !defined(_KERNEL_OPT) 303 COMPAT_50 { int|netbsd32|13|shmctl(int shmid, int cmd, \ a629 3 #else 303 EXCL __shmctl13 #endif d932 2 a933 2 #if defined(SYSVSEM) || !defined(_KERNEL_OPT) 442 STD { int|netbsd32|50|__semctl(int semid, int semnum, \ d935 2 a936 5 #else 442 EXCL ____semctl50 #endif #if defined(SYSVSHM) || !defined(_KERNEL_OPT) 443 STD { int|netbsd32|50|shmctl(int shmid, int cmd, \ d938 2 a939 5 #else 443 EXCL ____shmctl50 #endif #if defined(SYSVMSG) || !defined(_KERNEL_OPT) 444 STD { int|netbsd32|50|msgctl(int msqid, int cmd, \ a940 3 #else 444 EXCL ____msgctl50 #endif @ 1.110 log @Mark the nfssvc syscall as auto-loadable from the compat_netbsd32_nfssrv module (to be committed shortly). @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.109 2015/06/23 04:44:08 dholland Exp $ d537 2 a538 1 257 STD { mqd_t|netbsd32||mq_open(const netbsd32_charp name, \ d541 6 a546 3 258 STD { int|netbsd32||mq_close(mqd_t mqdes); } 259 STD { int|netbsd32||mq_unlink(const netbsd32_charp name); } 260 STD { int|netbsd32||mq_getattr(mqd_t mqdes, \ d548 2 a549 1 261 STD { int|netbsd32||mq_setattr(mqd_t mqdes, \ d552 2 a553 1 262 STD { int|netbsd32||mq_notify(mqd_t mqdes, \ d555 2 a556 1 263 STD { int|netbsd32||mq_send(mqd_t mqdes, \ d559 2 a560 1 264 STD { netbsd32_ssize_t|netbsd32||mq_receive(mqd_t mqdes, \ d563 2 a564 1 265 COMPAT_50 { int|netbsd32||mq_timedsend(mqd_t mqdes, \ d569 2 a570 1 266 COMPAT_50 { netbsd32_ssize_t|netbsd32||mq_timedreceive( \ d924 2 a925 1 432 STD { int|netbsd32|50|mq_timedsend(mqd_t mqdes, \ d930 2 a931 1 433 STD { netbsd32_ssize_t|netbsd32|50|mq_timedreceive( \ @ 1.109 log @Don't reference netbsd32_nfssvc unless NFSSERVER is defined. Fixes PR 49994. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.108 2015/06/22 10:35:00 mrg Exp $ a40 1 #include "opt_nfsserver.h" d320 2 a321 5 #if defined(NFSSERVER) || !defined(_KERNEL_OPT) 155 STD { int|netbsd32||nfssvc(int flag, netbsd32_voidp argp); } #else 155 EXCL netbsd32_nfssvc #endif @ 1.108 log @add netbsd32 support for nfssvc(2). we do this by defining 5 copyin/out functions that do all the ugly work, are just plain copyin/out for the native system calls, and do the necessary translations for netbsd32. with this i'm able to run 32 bit nfsd and mountd on 64 bit kernel and mount the file systems remotely. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.107 2015/06/21 12:51:33 martin Exp $ d41 1 d321 1 d323 3 @ 1.107 log @Add pset_* calls @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.106 2015/06/21 12:29:48 martin Exp $ d320 1 a320 1 155 UNIMPL netbsd32_nfssvc @ 1.106 log @Cosmetics: fill in details about some currently unimplemented syscalls. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.105 2015/06/21 08:28:36 martin Exp $ d867 7 a873 6 412 UNIMPL { int|netbsd32||pset_create(psetid_t *psid); } 413 UNIMPL { int|netbsd32||pset_destroy(psetid_t psid); } 414 UNIMPL { int|netbsd32||pset_assign(psetid_t psid, cpuid_t cpuid, \ psetid_t *opsid); } 415 UNIMPL { int|netbsd32||_pset_bind(idtype_t idtype, id_t first_id, \ id_t second_id, psetid_t psid, psetid_t *opsid); } @ 1.105 log @Add the two versioned mq_* calls I missed in the last round @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.104 2015/06/20 19:55:07 martin Exp $ d430 2 a431 1 210 UNIMPL d699 2 a700 2 341 UNIMPL 342 UNIMPL d867 6 a872 4 412 UNIMPL 413 UNIMPL 414 UNIMPL 415 UNIMPL @ 1.104 log @Add sigqueuinfo, modctl and mq_*. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.103 2015/06/16 10:41:34 martin Exp $ d909 9 a917 2 432 UNIMPL netbsd32___mq_timedsend50 433 UNIMPL netbsd32___mq_timedreceive50 @ 1.103 log @Add posix_fallocate and fdiscard @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.102 2015/02/25 13:16:33 christos Exp $ d517 3 a519 2 245 UNIMPL 246 UNIMPL d535 28 a562 10 257 UNIMPL 258 UNIMPL 259 UNIMPL 260 UNIMPL 261 UNIMPL 262 UNIMPL 263 UNIMPL 264 UNIMPL 265 UNIMPL 266 UNIMPL @ 1.102 log @readlinkat returns ssize_t @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.101 2014/06/13 10:36:18 joerg Exp $ d1046 5 @ 1.101 log @Rename argument like the native syscall. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.100 2014/05/15 09:54:06 njoly Exp $ d1011 1 a1011 1 469 STD { int|netbsd32||readlinkat(int fd, \ @ 1.101.4.1 log @Sync with HEAD @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.102 2015/02/25 13:16:33 christos Exp $ d1011 1 a1011 1 469 STD { netbsd32_ssize_t|netbsd32||readlinkat(int fd, \ @ 1.101.4.2 log @Sync with HEAD @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.101.4.1 2015/04/06 15:18:07 skrll Exp $ a40 1 #include "opt_nfsserver.h" d320 1 a320 5 #if defined(NFSSERVER) || !defined(_KERNEL_OPT) 155 STD { int|netbsd32||nfssvc(int flag, netbsd32_voidp argp); } #else 155 EXCL netbsd32_nfssvc #endif d430 1 a430 2 210 UNIMPL { int|netbsd32||afssys(long id, long a1, long a2, \ long a3, long a4, long a5, long a6); } d517 2 a518 3 245 STD { int|netbsd32||sigqueueinfo(pid_t pid, \ const netbsd32_siginfop_t info); } 246 STD { int|netbsd32||modctl(int cmd, netbsd32_voidp arg); } d534 10 a543 28 257 STD { mqd_t|netbsd32||mq_open(const netbsd32_charp name, \ int oflag, mode_t mode, \ netbsd32_mq_attrp_t attr); } 258 STD { int|netbsd32||mq_close(mqd_t mqdes); } 259 STD { int|netbsd32||mq_unlink(const netbsd32_charp name); } 260 STD { int|netbsd32||mq_getattr(mqd_t mqdes, \ netbsd32_mq_attrp_t mqstat); } 261 STD { int|netbsd32||mq_setattr(mqd_t mqdes, \ const netbsd32_mq_attrp_t mqstat, \ netbsd32_mq_attrp_t omqstat); } 262 STD { int|netbsd32||mq_notify(mqd_t mqdes, \ const netbsd32_sigeventp_t notification); } 263 STD { int|netbsd32||mq_send(mqd_t mqdes, \ const netbsd32_charp msg_ptr, \ netbsd32_size_t msg_len, unsigned msg_prio); } 264 STD { netbsd32_ssize_t|netbsd32||mq_receive(mqd_t mqdes, \ netbsd32_charp msg_ptr, \ netbsd32_size_t msg_len, netbsd32_uintp msg_prio); } 265 COMPAT_50 { int|netbsd32||mq_timedsend(mqd_t mqdes, \ const netbsd32_charp msg_ptr, \ netbsd32_size_t msg_len, \ unsigned msg_prio, \ const netbsd32_timespec50p_t abs_timeout); } 266 COMPAT_50 { netbsd32_ssize_t|netbsd32||mq_timedreceive( \ mqd_t mqdes, \ netbsd32_charp msg_ptr, netbsd32_size_t msg_len, \ netbsd32_uintp msg_prio, \ const netbsd32_timespec50p_t abs_timeout); } d679 2 a680 2 341 UNIMPL { int|netbsd32||pmc_get_info(int ctr, int op, void *args); } 342 UNIMPL { int|netbsd32||pmc_control(int ctr, int op, void *args); } d847 4 a850 7 412 STD { int|netbsd32||pset_create(netbsd32_psetidp_t psid); } 413 STD { int|netbsd32||pset_destroy(psetid_t psid); } 414 STD { int|netbsd32||pset_assign(psetid_t psid, \ cpuid_t cpuid, netbsd32_psetidp_t opsid); } 415 STD { int|netbsd32||_pset_bind(idtype_t idtype, \ id_t first_id, id_t second_id, psetid_t psid, \ netbsd32_psetidp_t opsid); } d890 2 a891 9 432 STD { int|netbsd32|50|mq_timedsend(mqd_t mqdes, \ const netbsd32_charp msg_ptr, \ netbsd32_size_t msg_len, \ unsigned msg_prio, \ const netbsd32_timespecp_t abs_timeout); } 433 STD { netbsd32_ssize_t|netbsd32|50|mq_timedreceive( \ mqd_t mqdes, netbsd32_charp msg_ptr, \ netbsd32_size_t msg_len, netbsd32_uintp msg_prio, \ const netbsd32_timespecp_t abs_timeout); } a1045 5 479 NOERR { int|netbsd32||posix_fallocate(int fd, int PAD, \ netbsd32_off_t pos, netbsd32_off_t len); } 480 STD { int|netbsd32||fdiscard(int fd, int PAD, \ netbsd32_off_t pos, netbsd32_off_t len); } @ 1.101.4.3 log @Sync with HEAD (as of 26th Dec) @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.101.4.2 2015/09/22 12:05:55 skrll Exp $ d41 1 d43 1 d321 5 a325 2 155 STD MODULAR compat_netbsd32_nfssrv \ { int|netbsd32||nfssvc(int flag, netbsd32_voidp argp); } d346 2 a347 2 169 COMPAT_10 MODULAR compat_netbsd32_sysvipc \ { int|netbsd32||semsys(int which, int a2, int a3, \ d349 5 a353 2 170 COMPAT_10 MODULAR compat_netbsd32_sysvipc \ { int|netbsd32||msgsys(int which, int a2, int a3, \ d355 5 a359 2 171 COMPAT_10 MODULAR compat_netbsd32_sysvipc \ { int|netbsd32||shmsys(int which, int a2, int a3, \ d361 3 d447 2 a448 2 220 COMPAT_14 MODULAR compat_netbsd32_sysvipc \ { int|netbsd32||__semctl(int semid, int semnum, \ d450 1 a450 2 221 STD MODULAR compat_netbsd32_sysvipc \ { int|netbsd32||semget(netbsd32_key_t key, int nsems, \ d452 1 a452 2 222 STD MODULAR compat_netbsd32_sysvipc \ { int|netbsd32||semop(int semid, \ d454 9 a462 4 223 STD MODULAR compat_netbsd32_sysvipc \ { int|netbsd32||semconfig(int flag); } 224 COMPAT_14 MODULAR compat_netbsd32_sysvipc \ { int|netbsd32||msgctl(int msqid, int cmd, \ d464 2 a465 4 225 STD MODULAR compat_netbsd32_sysvipc \ { int|netbsd32||msgget(netbsd32_key_t key, int msgflg); } 226 STD MODULAR compat_netbsd32_sysvipc \ { int|netbsd32||msgsnd(int msqid, netbsd32_voidp msgp, \ d467 1 a467 2 227 STD MODULAR compat_netbsd32_sysvipc \ { netbsd32_ssize_t|netbsd32||msgrcv(int msqid, \ d470 8 a477 2 228 STD MODULAR compat_netbsd32_sysvipc \ { netbsd32_voidp|netbsd32||shmat(int shmid, \ d479 1 a479 2 229 COMPAT_14 MODULAR compat_netbsd32_sysvipc \ { int|netbsd32||shmctl(int shmid, int cmd, \ d481 2 a482 4 230 STD MODULAR compat_netbsd32_sysvipc \ { int|netbsd32||shmdt(netbsd32_voidp shmaddr); } 231 STD MODULAR compat_netbsd32_sysvipc \ { int|netbsd32||shmget(netbsd32_key_t key, \ d484 6 d541 1 a541 2 257 STD MODULAR compat_netbsd32_mqueue \ { mqd_t|netbsd32||mq_open(const netbsd32_charp name, \ d544 3 a546 6 258 STD MODULAR compat_netbsd32_mqueue \ { int|netbsd32||mq_close(mqd_t mqdes); } 259 STD MODULAR compat_netbsd32_mqueue \ { int|netbsd32||mq_unlink(const netbsd32_charp name); } 260 STD MODULAR compat_netbsd32_mqueue \ { int|netbsd32||mq_getattr(mqd_t mqdes, \ d548 1 a548 2 261 STD MODULAR compat_netbsd32_mqueue \ { int|netbsd32||mq_setattr(mqd_t mqdes, \ d551 1 a551 2 262 STD MODULAR compat_netbsd32_mqueue \ { int|netbsd32||mq_notify(mqd_t mqdes, \ d553 1 a553 2 263 STD MODULAR compat_netbsd32_mqueue \ { int|netbsd32||mq_send(mqd_t mqdes, \ d556 1 a556 2 264 STD MODULAR compat_netbsd32_mqueue \ { netbsd32_ssize_t|netbsd32||mq_receive(mqd_t mqdes, \ d559 1 a559 2 265 COMPAT_50 MODULAR compat_netbsd32_mqueue \ { int|netbsd32||mq_timedsend(mqd_t mqdes, \ d564 1 a564 2 266 COMPAT_50 MODULAR compat_netbsd32_mqueue \ { netbsd32_ssize_t|netbsd32||mq_timedreceive( \ d634 2 a635 2 301 COMPAT_50 MODULAR compat_netbsd32_sysvipc \ { int|netbsd32|14|semctl(int semid, int semnum, \ d637 5 a641 2 302 COMPAT_50 MODULAR compat_netbsd32_sysvipc \ { int|netbsd32|13|msgctl(int msqid, int cmd, \ d643 5 a647 2 303 COMPAT_50 MODULAR compat_netbsd32_sysvipc \ { int|netbsd32|13|shmctl(int shmid, int cmd, \ d649 3 d918 1 a918 2 432 STD MODULAR compat_netbsd32_mqueue \ { int|netbsd32|50|mq_timedsend(mqd_t mqdes, \ d923 1 a923 2 433 STD MODULAR compat_netbsd32_mqueue \ { netbsd32_ssize_t|netbsd32|50|mq_timedreceive( \ d952 2 a953 2 442 STD MODULAR compat_netbsd32_sysvipc \ { int|netbsd32|50|__semctl(int semid, int semnum, \ d955 5 a959 2 443 STD MODULAR compat_netbsd32_sysvipc \ { int|netbsd32|50|shmctl(int shmid, int cmd, \ d961 5 a965 2 444 STD MODULAR compat_netbsd32_sysvipc \ { int|netbsd32|50|msgctl(int msqid, int cmd, \ d967 3 @ 1.101.4.4 log @Sync with HEAD @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.101.4.3 2015/12/27 12:09:47 skrll Exp $ d706 1 a706 1 351 STD { int|netbsd32||_sched_protect(int priority); } a1055 5 481 STD { int|netbsd32||wait6(idtype_t idtype, id_t id, \ netbsd32_intp status, int options, \ netbsd32_wrusagep_t wru, netbsd32_siginfop_t info); } 482 STD { int|netbsd32||clock_getcpuclockid2(idtype_t idtype, \ id_t id, netbsd32_clockidp_t clock_id); } @ 1.101.4.5 log @Sync with HEAD @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.101.4.4 2016/10/05 20:55:39 skrll Exp $ d102 1 a102 2 26 STD MODULAR compat_netbsd32_ptrace \ { int|netbsd32||ptrace(int req, pid_t pid, \ @ 1.101.2.1 log @Pull up following revision(s) (requested by khorben in ticket #560): sys/compat/netbsd32/syscalls.master: revision 1.102 readlinkat returns ssize_t @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.101 2014/06/13 10:36:18 joerg Exp $ d1011 1 a1011 1 469 STD { netbsd32_ssize_t|netbsd32||readlinkat(int fd, \ @ 1.101.2.2 log @Pull up following revision(s) (requested by mrg in ticket #956): sys/compat/netbsd32/files.netbsd32: revision 1.36 sys/compat/netbsd32/netbsd32_sysent.c: revision 1.115 sys/compat/netbsd32/netbsd32_syscallargs.h: revision 1.116 sys/nfs/nfs_var.h: revision 1.93 sys/compat/netbsd32/netbsd32_conv.h: revision 1.30 sys/compat/netbsd32/netbsd32_syscall.h: revision 1.116 sys/compat/netbsd32/netbsd32_syscalls.c: revision 1.115 sys/compat/netbsd32/netbsd32_nfssvc.c: revision 1.1 sys/compat/netbsd32/netbsd32_nfssvc.c: revision 1.3 sys/nfs/nfs_syscalls.c: revision 1.156 sys/compat/netbsd32/syscalls.master: revision 1.108 sys/compat/netbsd32/netbsd32.h: revision 1.107 add netbsd32 support for nfssvc(2). we do this by defining 5 copyin/out functions that do all the ugly work, are just plain copyin/out for the native system calls, and do the necessary translations for netbsd32. with this i'm able to run 32 bit nfsd and mountd on 64 bit kernel and mount the file systems remotely. don't copy the first netbsd32_export_args nexports times, but actually advance the userland pointer each entry through the loop. oops. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.101.2.1 2015/03/07 05:22:01 snj Exp $ d320 1 a320 1 155 STD { int|netbsd32||nfssvc(int flag, netbsd32_voidp argp); } @ 1.101.2.3 log @Additionally pull up following revision(s) (requested by mrg in ticket #956): sys/compat/netbsd32/netbsd32_nfssvc.c: revision 1.2 sys/compat/netbsd32/syscalls.master: revision 1.109 Don't reference netbsd32_nfssvc unless NFSSERVER is defined. Fixes PR 49994. add missing opt_nfsserver.h @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.101.2.2 2015/11/04 17:46:21 riz Exp $ a40 1 #include "opt_nfsserver.h" a319 1 #if defined(NFSSERVER) || !defined(_KERNEL_OPT) a320 3 #else 155 EXCL netbsd32_nfssvc #endif @ 1.101.2.4 log @Pull up following revision(s) (requested by rin in ticket #1711): sys/compat/netbsd32/syscalls.master: revision 1.129 For netbsd32_readlinkat(2), bufsize is netbsd_size_t, not size_t. Since bufsize is the last argument, this affects only LP64EB. XXX pullup to netbsd-9, -8, and -7 @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.101.2.3 2015/11/06 09:16:48 martin Exp $ d1019 1 a1019 1 netbsd32_size_t bufsize); } @ 1.100 log @Fix setcontext signature, which has a single argument not three. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.99 2014/04/30 17:23:45 njoly Exp $ d415 2 a416 2 u_int namelen, netbsd32_voidp old, \ netbsd32_size_tp oldlenp, netbsd32_voidp new, \ @ 1.99 log @Do not use native off_t type under compat netbsd32, but a new netbsd32_off_t that provide the expected alignment for 64bit types. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.98 2013/10/17 18:01:11 njoly Exp $ d633 1 a633 2 308 STD { int|netbsd32||setcontext(netbsd32_ucontextp ucp, \ uint32_t flags, netbsd32_lwpidp new_lwp); } @ 1.98 log @Change mknodat(2) device argument type from uint32_t to dev_t. Adds needed extra PAD argument for 64bit alignment, and libc wrapper. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.97 2013/03/29 01:04:30 christos Exp $ d362 1 a362 1 int PAD, off_t offset); } d365 1 a365 1 int PAD, off_t offset); } d405 1 a405 1 netbsd32_long PAD, off_t pos); } d408 2 a409 2 199 STD { off_t|netbsd32||lseek(int fd, int PAD, off_t offset, \ int whence); } d411 1 a411 1 off_t length); } d413 1 a413 1 off_t length); } d586 1 a586 1 off_t offset); } d589 1 a589 1 off_t offset); } d708 1 a708 1 off_t start, off_t length); } d854 1 a854 1 off_t offset, off_t len, int advice); } @ 1.98.2.1 log @Rebase. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.101 2014/06/13 10:36:18 joerg Exp $ d362 1 a362 1 int PAD, netbsd32_off_t offset); } d365 1 a365 1 int PAD, netbsd32_off_t offset); } d405 1 a405 1 netbsd32_long PAD, netbsd32_off_t pos); } d408 2 a409 2 199 STD { netbsd32_off_t|netbsd32||lseek(int fd, int PAD, \ netbsd32_off_t offset, int whence); } d411 1 a411 1 netbsd32_off_t length); } d413 1 a413 1 netbsd32_off_t length); } d415 2 a416 2 u_int namelen, netbsd32_voidp oldv, \ netbsd32_size_tp oldlenp, netbsd32_voidp newv, \ d586 1 a586 1 netbsd32_off_t offset); } d589 1 a589 1 netbsd32_off_t offset); } d633 2 a634 1 308 STD { int|netbsd32||setcontext(netbsd32_ucontextp ucp); } d708 1 a708 1 netbsd32_off_t start, netbsd32_off_t length); } d854 1 a854 1 netbsd32_off_t offset, netbsd32_off_t len, int advice); } @ 1.97 log @compat glue for new lwp_park @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.96 2012/10/02 01:44:28 christos Exp $ d979 2 a980 2 mode_t mode, \ uint32_t dev); } @ 1.97.4.1 log @sync with head @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.97 2013/03/29 01:04:30 christos Exp $ d362 1 a362 1 int PAD, netbsd32_off_t offset); } d365 1 a365 1 int PAD, netbsd32_off_t offset); } d405 1 a405 1 netbsd32_long PAD, netbsd32_off_t pos); } d408 2 a409 2 199 STD { netbsd32_off_t|netbsd32||lseek(int fd, int PAD, \ netbsd32_off_t offset, int whence); } d411 1 a411 1 netbsd32_off_t length); } d413 1 a413 1 netbsd32_off_t length); } d586 1 a586 1 netbsd32_off_t offset); } d589 1 a589 1 netbsd32_off_t offset); } d633 2 a634 1 308 STD { int|netbsd32||setcontext(netbsd32_ucontextp ucp); } d708 1 a708 1 netbsd32_off_t start, netbsd32_off_t length); } d854 1 a854 1 netbsd32_off_t offset, netbsd32_off_t len, int advice); } d979 2 a980 2 mode_t mode, int PAD, \ netbsd32_dev_t dev); } @ 1.96 log @kernel portion of clock_nanosleep() @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.95 2012/04/08 11:27:44 martin Exp $ d893 1 a893 1 434 STD { int|netbsd32|50|_lwp_park( \ d1042 5 @ 1.95 log @Rework posix_spawn locking and memory management: - always provide a vmspace for the new proc, initially borrowing from proc0 (this part fixes PR 46286) - increase parallelism between parent and child if arguments allow this, avoiding a potential deadlock on exec_lock - add a new flag for userland to request old (lockstepped) behaviour for better error reporting - adapt test cases to the previous two and add a new variant to test the diagnostics flag - fix a few memory (and lock) leaks - provide netbsd32 compat @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.94 2012/03/10 21:51:59 joerg Exp $ d1033 9 @ 1.95.2.1 log @Resync to 2012-11-19 00:00:00 UTC @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.96 2012/10/02 01:44:28 christos Exp $ a1032 9 475 UNIMPL { int|netbsd32||recvmmsg(int s, struct mmsghdr *mmsg, \ unsigned int vlen, unsigned int flags, \ netbsd32_timespecp_t timeout); } 476 UNIMPL { int|netbsd32||sendmmsg(int s, struct mmsghdr *mmsg, \ unsigned int vlen, unsigned int flags); } 477 STD { int|netbsd32||clock_nanosleep(\ netbsd32_clockid_t clock_id, \ int flags, const netbsd32_timespecp_t rqtp, \ netbsd32_timespecp_t rmtp); } @ 1.95.2.2 log @resync from head @ text @d1 1 a1 1 $NetBSD$ d893 1 a893 1 434 COMPAT_60 { int|netbsd32||_lwp_park( \ a1041 5 478 STD { int|netbsd32|60|_lwp_park(\ netbsd32_clockid_t clock_id, \ int flags, const netbsd32_timespecp_t ts, \ lwpid_t unpark, netbsd32_voidp hint, \ netbsd32_voidp unparkhint); } @ 1.95.2.3 log @Rebase to HEAD as of a few days ago. @ text @d362 1 a362 1 int PAD, netbsd32_off_t offset); } d365 1 a365 1 int PAD, netbsd32_off_t offset); } d405 1 a405 1 netbsd32_long PAD, netbsd32_off_t pos); } d408 2 a409 2 199 STD { netbsd32_off_t|netbsd32||lseek(int fd, int PAD, \ netbsd32_off_t offset, int whence); } d411 1 a411 1 netbsd32_off_t length); } d413 1 a413 1 netbsd32_off_t length); } d415 2 a416 2 u_int namelen, netbsd32_voidp oldv, \ netbsd32_size_tp oldlenp, netbsd32_voidp newv, \ d586 1 a586 1 netbsd32_off_t offset); } d589 1 a589 1 netbsd32_off_t offset); } d633 2 a634 1 308 STD { int|netbsd32||setcontext(netbsd32_ucontextp ucp); } d708 1 a708 1 netbsd32_off_t start, netbsd32_off_t length); } d854 1 a854 1 netbsd32_off_t offset, netbsd32_off_t len, int advice); } d979 2 a980 2 mode_t mode, int PAD, \ netbsd32_dev_t dev); } @ 1.95.2.4 log @update from HEAD @ text @d42 1 d103 1 a103 2 26 STD MODULAR compat_netbsd32_ptrace \ { int|netbsd32||ptrace(int req, pid_t pid, \ d320 1 a320 2 155 STD MODULAR compat_netbsd32_nfssrv \ { int|netbsd32||nfssvc(int flag, netbsd32_voidp argp); } d341 2 a342 2 169 COMPAT_10 MODULAR compat_netbsd32_sysvipc \ { int|netbsd32||semsys(int which, int a2, int a3, \ d344 5 a348 2 170 COMPAT_10 MODULAR compat_netbsd32_sysvipc \ { int|netbsd32||msgsys(int which, int a2, int a3, \ d350 5 a354 2 171 COMPAT_10 MODULAR compat_netbsd32_sysvipc \ { int|netbsd32||shmsys(int which, int a2, int a3, \ d356 3 d430 1 a430 2 210 UNIMPL { int|netbsd32||afssys(long id, long a1, long a2, \ long a3, long a4, long a5, long a6); } d441 2 a442 2 220 COMPAT_14 MODULAR compat_netbsd32_sysvipc \ { int|netbsd32||__semctl(int semid, int semnum, \ d444 1 a444 2 221 STD MODULAR compat_netbsd32_sysvipc \ { int|netbsd32||semget(netbsd32_key_t key, int nsems, \ d446 1 a446 2 222 STD MODULAR compat_netbsd32_sysvipc \ { int|netbsd32||semop(int semid, \ d448 9 a456 4 223 STD MODULAR compat_netbsd32_sysvipc \ { int|netbsd32||semconfig(int flag); } 224 COMPAT_14 MODULAR compat_netbsd32_sysvipc \ { int|netbsd32||msgctl(int msqid, int cmd, \ d458 2 a459 4 225 STD MODULAR compat_netbsd32_sysvipc \ { int|netbsd32||msgget(netbsd32_key_t key, int msgflg); } 226 STD MODULAR compat_netbsd32_sysvipc \ { int|netbsd32||msgsnd(int msqid, netbsd32_voidp msgp, \ d461 1 a461 2 227 STD MODULAR compat_netbsd32_sysvipc \ { netbsd32_ssize_t|netbsd32||msgrcv(int msqid, \ d464 8 a471 2 228 STD MODULAR compat_netbsd32_sysvipc \ { netbsd32_voidp|netbsd32||shmat(int shmid, \ d473 1 a473 2 229 COMPAT_14 MODULAR compat_netbsd32_sysvipc \ { int|netbsd32||shmctl(int shmid, int cmd, \ d475 2 a476 4 230 STD MODULAR compat_netbsd32_sysvipc \ { int|netbsd32||shmdt(netbsd32_voidp shmaddr); } 231 STD MODULAR compat_netbsd32_sysvipc \ { int|netbsd32||shmget(netbsd32_key_t key, \ d478 6 d517 2 a518 3 245 STD { int|netbsd32||sigqueueinfo(pid_t pid, \ const netbsd32_siginfop_t info); } 246 STD { int|netbsd32||modctl(int cmd, netbsd32_voidp arg); } d534 10 a543 38 257 STD MODULAR compat_netbsd32_mqueue \ { mqd_t|netbsd32||mq_open(const netbsd32_charp name, \ int oflag, mode_t mode, \ netbsd32_mq_attrp_t attr); } 258 STD MODULAR compat_netbsd32_mqueue \ { int|netbsd32||mq_close(mqd_t mqdes); } 259 STD MODULAR compat_netbsd32_mqueue \ { int|netbsd32||mq_unlink(const netbsd32_charp name); } 260 STD MODULAR compat_netbsd32_mqueue \ { int|netbsd32||mq_getattr(mqd_t mqdes, \ netbsd32_mq_attrp_t mqstat); } 261 STD MODULAR compat_netbsd32_mqueue \ { int|netbsd32||mq_setattr(mqd_t mqdes, \ const netbsd32_mq_attrp_t mqstat, \ netbsd32_mq_attrp_t omqstat); } 262 STD MODULAR compat_netbsd32_mqueue \ { int|netbsd32||mq_notify(mqd_t mqdes, \ const netbsd32_sigeventp_t notification); } 263 STD MODULAR compat_netbsd32_mqueue \ { int|netbsd32||mq_send(mqd_t mqdes, \ const netbsd32_charp msg_ptr, \ netbsd32_size_t msg_len, unsigned msg_prio); } 264 STD MODULAR compat_netbsd32_mqueue \ { netbsd32_ssize_t|netbsd32||mq_receive(mqd_t mqdes, \ netbsd32_charp msg_ptr, \ netbsd32_size_t msg_len, netbsd32_uintp msg_prio); } 265 COMPAT_50 MODULAR compat_netbsd32_mqueue \ { int|netbsd32||mq_timedsend(mqd_t mqdes, \ const netbsd32_charp msg_ptr, \ netbsd32_size_t msg_len, \ unsigned msg_prio, \ const netbsd32_timespec50p_t abs_timeout); } 266 COMPAT_50 MODULAR compat_netbsd32_mqueue \ { netbsd32_ssize_t|netbsd32||mq_timedreceive( \ mqd_t mqdes, \ netbsd32_charp msg_ptr, netbsd32_size_t msg_len, \ netbsd32_uintp msg_prio, \ const netbsd32_timespec50p_t abs_timeout); } d609 2 a610 2 301 COMPAT_50 MODULAR compat_netbsd32_sysvipc \ { int|netbsd32|14|semctl(int semid, int semnum, \ d612 5 a616 2 302 COMPAT_50 MODULAR compat_netbsd32_sysvipc \ { int|netbsd32|13|msgctl(int msqid, int cmd, \ d618 5 a622 2 303 COMPAT_50 MODULAR compat_netbsd32_sysvipc \ { int|netbsd32|13|shmctl(int shmid, int cmd, \ d624 3 d679 2 a680 2 341 UNIMPL { int|netbsd32||pmc_get_info(int ctr, int op, void *args); } 342 UNIMPL { int|netbsd32||pmc_control(int ctr, int op, void *args); } d703 1 a703 1 351 STD { int|netbsd32||_sched_protect(int priority); } d847 4 a850 7 412 STD { int|netbsd32||pset_create(netbsd32_psetidp_t psid); } 413 STD { int|netbsd32||pset_destroy(psetid_t psid); } 414 STD { int|netbsd32||pset_assign(psetid_t psid, \ cpuid_t cpuid, netbsd32_psetidp_t opsid); } 415 STD { int|netbsd32||_pset_bind(idtype_t idtype, \ id_t first_id, id_t second_id, psetid_t psid, \ netbsd32_psetidp_t opsid); } d890 2 a891 11 432 STD MODULAR compat_netbsd32_mqueue \ { int|netbsd32|50|mq_timedsend(mqd_t mqdes, \ const netbsd32_charp msg_ptr, \ netbsd32_size_t msg_len, \ unsigned msg_prio, \ const netbsd32_timespecp_t abs_timeout); } 433 STD MODULAR compat_netbsd32_mqueue \ { netbsd32_ssize_t|netbsd32|50|mq_timedreceive( \ mqd_t mqdes, netbsd32_charp msg_ptr, \ netbsd32_size_t msg_len, netbsd32_uintp msg_prio, \ const netbsd32_timespecp_t abs_timeout); } d917 2 a918 2 442 STD MODULAR compat_netbsd32_sysvipc \ { int|netbsd32|50|__semctl(int semid, int semnum, \ d920 5 a924 2 443 STD MODULAR compat_netbsd32_sysvipc \ { int|netbsd32|50|shmctl(int shmid, int cmd, \ d926 5 a930 2 444 STD MODULAR compat_netbsd32_sysvipc \ { int|netbsd32|50|msgctl(int msqid, int cmd, \ d932 3 d1011 1 a1011 1 469 STD { netbsd32_ssize_t|netbsd32||readlinkat(int fd, \ a1045 10 479 NOERR { int|netbsd32||posix_fallocate(int fd, int PAD, \ netbsd32_off_t pos, netbsd32_off_t len); } 480 STD { int|netbsd32||fdiscard(int fd, int PAD, \ netbsd32_off_t pos, netbsd32_off_t len); } 481 STD { int|netbsd32||wait6(idtype_t idtype, id_t id, \ netbsd32_intp status, int options, \ netbsd32_wrusagep_t wru, netbsd32_siginfop_t info); } 482 STD { int|netbsd32||clock_getcpuclockid2(idtype_t idtype, \ id_t id, netbsd32_clockidp_t clock_id); } @ 1.94 log @P1003_1B_SEMAPHORE is no longer optional. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.93 2012/03/08 21:55:45 joerg Exp $ d1026 7 @ 1.93 log @Add entry for _ksem_timedwait. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.92 2012/02/19 17:08:02 rmind Exp $ a43 1 #include "opt_posix.h" a518 1 #if defined(P1003_1B_SEMAPHORE) || (!defined(_KERNEL_OPT) && defined(_LIBC)) a533 12 #else 247 EXCL sys__ksem_init 248 EXCL sys__ksem_open 249 EXCL sys__ksem_unlink 250 EXCL sys__ksem_close 251 EXCL sys__ksem_post 252 EXCL sys__ksem_wait 253 EXCL sys__ksem_trywait 254 EXCL sys__ksem_getvalue 255 EXCL sys__ksem_destroy 256 EXCL sys__ksem_timedwait #endif @ 1.92 log @Make SA calls obsolete (use stubs in kern case, as libc needs them for now). @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.91 2012/02/01 05:40:01 dholland Exp $ d534 2 a535 1 256 UNIMPL sys__ksem_timedwait d546 1 a546 1 256 UNIMPL sys__ksem_timedwait @ 1.91 log @Update compat_netbsd32 for new quotactl. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.90 2012/02/01 05:34:40 dholland Exp $ d679 6 a684 9 330 STD { int|netbsd32||sa_register(netbsd32_sa_upcall_t new, \ netbsd32_sa_upcallp_t old, int flags, \ netbsd32_ssize_t stackinfo_offset); } 331 STD { int|netbsd32||sa_stacks(int num, \ netbsd32_stackp_t stacks); } 332 NOARGS { int|sys||sa_enable(void); } 333 STD { int|netbsd32||sa_setconcurrency(int concurrency); } 334 NOARGS { int|sys||sa_yield(void); } 335 STD { int|netbsd32||sa_preempt(int sa_id); } @ 1.91.2.1 log @Pull up following revision(s) (requested by martin in ticket #175): sys/kern/kern_exit.c: revision 1.238 tests/lib/libc/gen/posix_spawn/t_fileactions.c: revision 1.4 tests/lib/libc/gen/posix_spawn/t_fileactions.c: revision 1.5 sys/uvm/uvm_extern.h: revision 1.183 lib/libc/gen/posix_spawn_fileactions.c: revision 1.2 sys/kern/kern_exec.c: revision 1.348 sys/kern/kern_exec.c: revision 1.349 sys/compat/netbsd32/syscalls.master: revision 1.95 sys/uvm/uvm_glue.c: revision 1.159 sys/uvm/uvm_map.c: revision 1.317 sys/compat/netbsd32/netbsd32.h: revision 1.95 sys/kern/exec_elf.c: revision 1.38 sys/sys/spawn.h: revision 1.2 sys/sys/exec.h: revision 1.135 sys/compat/netbsd32/netbsd32_execve.c: revision 1.34 Rework posix_spawn locking and memory management: - always provide a vmspace for the new proc, initially borrowing from proc0 (this part fixes PR 46286) - increase parallelism between parent and child if arguments allow this, avoiding a potential deadlock on exec_lock - add a new flag for userland to request old (lockstepped) behaviour for better error reporting - adapt test cases to the previous two and add a new variant to test the diagnostics flag - fix a few memory (and lock) leaks - provide netbsd32 compat Fix asynchronous posix_spawn child exit status (and test for it). @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.91 2012/02/01 05:40:01 dholland Exp $ a1041 7 474 NOERR { int|netbsd32||posix_spawn(netbsd32_pid_tp pid, \ const netbsd32_charp path, \ const netbsd32_posix_spawn_file_actionsp \ file_actions, \ const netbsd32_posix_spawnattrp attrp, \ netbsd32_charpp argv, netbsd32_charpp envp); } @ 1.91.2.2 log @Pull up following revision(s) (requested by khorben in ticket #1264): include/unistd.h 1.144 sys/kern/init_sysent.c regen sys/kern/syscalls.c regen sys/kern/syscalls.master 1.272 sys/rump/include/rump/rump_syscalls.h regen sys/rump/librump/rumpkern/rump_syscalls.c regen sys/sys/syscall.h regen sys/sys/syscallargs.h regen sys/compat/netbds32/netbsd32_syscall.h regen sys/compat/netbds32/netbsd32_syscallargs.h regen sys/compat/netbds32/netbsd32_syscalls.c regen sys/compat/netbds32/netbsd32_sysent.c regen sys/compat/netbsd32/syscalls.master 1.102 Fix return type of the readlinkat(2) syscall. PR#49684. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.91.2.1 2012/04/12 17:05:37 riz Exp $ d1028 1 a1028 1 469 STD { netbsd32_ssize_t|netbsd32||readlinkat(int fd, \ @ 1.90 log @Change the syscall API for quotas over to the new non-proplib one. - struct vfs_quotactl_args -> struct quotactl_args - add sys/stdint.h to sys/quotactl.h for clean userland build - install sys/quotactl.h in /usr/include - update set lists for same - add new marshalling code in libquota - add new unmarshalling code in vfs_syscalls.c - discard proplib interpreter code in vfs_quotactl.c - add dispatching code for the 14 quotactl ops in vfs_quotactl.c - mark the proplib quotactl syscall obsolete - add a new syscall number for the new quotactl syscall - change the name of the syscall to __quotactl() - remove the decl of the old quotactl from quota/quotaprop.h - add a decl of the new quotactl to sys/quotactl.h - update the libc build - update ktruss - remove proplib marshalling code from libquota - update copy of syscall table in gdb ppc sources - hack rumphijack to accomodate new quotactl name (as I recall, pooka wanted such a name change to simplify something, but I don't really see what/how) This change appears to require a kernel version bump for rumpish reasons. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.89 2012/01/31 22:52:19 matt Exp $ d1040 2 a1041 3 ; XXX notyet ;473 STD { int|sys||__quotactl(const netbsd32_charp path, \ ; netbsd32_quotactlargsp_t args); } @ 1.89 log @Add the *at syscalls and other missing syscalls. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.88 2011/11/08 10:59:12 njoly Exp $ d972 1 a972 2 452 STD { int|netbsd32|50|quotactl(const netbsd32_charp path, \ netbsd32_voidp pref); } d1040 3 @ 1.88 log @Add kqueue1(2) support. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.87 2011/08/31 16:50:32 njoly Exp $ d977 64 @ 1.88.4.1 log @merge to -current. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.91 2012/02/01 05:40:01 dholland Exp $ d972 2 a973 1 452 OBSOL 5.99 quotactl a976 66 456 STD { int|netbsd32||paccept(int s, \ netbsd32_sockaddrp_t name, \ netbsd32_socklenp_t anamelen, \ const netbsd32_sigsetp_t mask, \ int flags); } 457 STD { int|netbsd32||linkat(int fd1, \ const netbsd32_charp name1, \ int fd2, \ const netbsd32_charp name2, \ int flags); } 458 STD { int|netbsd32||renameat(int fromfd, \ const netbsd32_charp from, \ int tofd, \ const netbsd32_charp to); } 459 STD { int|netbsd32||mkfifoat(int fd, \ const netbsd32_charp path, \ mode_t mode); } 460 STD { int|netbsd32||mknodat(int fd, \ const netbsd32_charp path, \ mode_t mode, \ uint32_t dev); } 461 STD { int|netbsd32||mkdirat(int fd, \ const netbsd32_charp path, \ mode_t mode); } 462 STD { int|netbsd32||faccessat(int fd, \ const netbsd32_charp path, \ int amode, \ int flag); } 463 STD { int|netbsd32||fchmodat(int fd, \ const netbsd32_charp path, \ mode_t mode, \ int flag); } 464 STD { int|netbsd32||fchownat(int fd, \ const netbsd32_charp path, \ uid_t owner, \ gid_t group, \ int flag); } 465 STD { int|netbsd32||fexecve(int fd, \ netbsd32_charpp argp, \ netbsd32_charpp envp); } 466 STD { int|netbsd32||fstatat(int fd, \ const netbsd32_charp path, \ netbsd32_statp_t buf, \ int flag); } 467 STD { int|netbsd32||utimensat(int fd, \ const netbsd32_charp path, \ const netbsd32_timespecp_t tptr, \ int flag); } 468 STD { int|netbsd32||openat(int fd, \ const netbsd32_charp path, \ int oflags, ... \ mode_t mode); } 469 STD { int|netbsd32||readlinkat(int fd, \ const netbsd32_charp path, \ netbsd32_charp buf, \ size_t bufsize); } 470 STD { int|netbsd32||symlinkat(const netbsd32_charp path1, \ int fd, \ const netbsd32_charp path2); } 471 STD { int|netbsd32||unlinkat(int fd, \ const netbsd32_charp path, \ int flag); } 472 STD { int|netbsd32||futimens(int fd, \ const netbsd32_timespecp_t tptr); } 473 STD { int|netbsd32||__quotactl(const netbsd32_charp path, \ netbsd32_voidp args); } @ 1.88.4.2 log @sync to -current. @ text @d1 1 a1 1 $NetBSD$ d679 9 a687 6 330 OBSOL netbsd32_sa_register 331 OBSOL netbsd32_sa_stacks 332 OBSOL sa_enable 333 OBSOL netbsd32_sa_setconcurrency 334 OBSOL sa_yield 335 OBSOL netbsd32_sa_preempt @ 1.88.4.3 log @sync to latest -current @ text @d44 1 d520 1 d534 13 a546 2 256 STD { int|netbsd32||_ksem_timedwait(intptr_t id, \ const netbsd32_timespecp_t abstime); } @ 1.88.4.4 log @sync to latest -current. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.88.4.3 2012/03/11 01:52:26 mrg Exp $ a1025 7 474 NOERR { int|netbsd32||posix_spawn(netbsd32_pid_tp pid, \ const netbsd32_charp path, \ const netbsd32_posix_spawn_file_actionsp \ file_actions, \ const netbsd32_posix_spawnattrp attrp, \ netbsd32_charpp argv, netbsd32_charpp envp); } @ 1.87 log @Add dup3 syscall support. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.86 2011/07/05 14:21:47 njoly Exp $ d976 1 @ 1.87.2.1 log @sync with head @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.87 2011/08/31 16:50:32 njoly Exp $ a975 1 455 STD { int|netbsd32||kqueue1(int flags); } @ 1.87.2.2 log @sync with head @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.87.2.1 2011/11/10 14:31:45 yamt Exp $ d44 1 d520 1 d534 13 a546 2 256 STD { int|netbsd32||_ksem_timedwait(intptr_t id, \ const netbsd32_timespecp_t abstime); } d679 9 a687 6 330 OBSOL netbsd32_sa_register 331 OBSOL netbsd32_sa_stacks 332 OBSOL sa_enable 333 OBSOL netbsd32_sa_setconcurrency 334 OBSOL sa_yield 335 OBSOL netbsd32_sa_preempt d972 2 a973 1 452 OBSOL 5.99 quotactl a976 73 456 STD { int|netbsd32||paccept(int s, \ netbsd32_sockaddrp_t name, \ netbsd32_socklenp_t anamelen, \ const netbsd32_sigsetp_t mask, \ int flags); } 457 STD { int|netbsd32||linkat(int fd1, \ const netbsd32_charp name1, \ int fd2, \ const netbsd32_charp name2, \ int flags); } 458 STD { int|netbsd32||renameat(int fromfd, \ const netbsd32_charp from, \ int tofd, \ const netbsd32_charp to); } 459 STD { int|netbsd32||mkfifoat(int fd, \ const netbsd32_charp path, \ mode_t mode); } 460 STD { int|netbsd32||mknodat(int fd, \ const netbsd32_charp path, \ mode_t mode, \ uint32_t dev); } 461 STD { int|netbsd32||mkdirat(int fd, \ const netbsd32_charp path, \ mode_t mode); } 462 STD { int|netbsd32||faccessat(int fd, \ const netbsd32_charp path, \ int amode, \ int flag); } 463 STD { int|netbsd32||fchmodat(int fd, \ const netbsd32_charp path, \ mode_t mode, \ int flag); } 464 STD { int|netbsd32||fchownat(int fd, \ const netbsd32_charp path, \ uid_t owner, \ gid_t group, \ int flag); } 465 STD { int|netbsd32||fexecve(int fd, \ netbsd32_charpp argp, \ netbsd32_charpp envp); } 466 STD { int|netbsd32||fstatat(int fd, \ const netbsd32_charp path, \ netbsd32_statp_t buf, \ int flag); } 467 STD { int|netbsd32||utimensat(int fd, \ const netbsd32_charp path, \ const netbsd32_timespecp_t tptr, \ int flag); } 468 STD { int|netbsd32||openat(int fd, \ const netbsd32_charp path, \ int oflags, ... \ mode_t mode); } 469 STD { int|netbsd32||readlinkat(int fd, \ const netbsd32_charp path, \ netbsd32_charp buf, \ size_t bufsize); } 470 STD { int|netbsd32||symlinkat(const netbsd32_charp path1, \ int fd, \ const netbsd32_charp path2); } 471 STD { int|netbsd32||unlinkat(int fd, \ const netbsd32_charp path, \ int flag); } 472 STD { int|netbsd32||futimens(int fd, \ const netbsd32_timespecp_t tptr); } 473 STD { int|netbsd32||__quotactl(const netbsd32_charp path, \ netbsd32_voidp args); } 474 NOERR { int|netbsd32||posix_spawn(netbsd32_pid_tp pid, \ const netbsd32_charp path, \ const netbsd32_posix_spawn_file_actionsp \ file_actions, \ const netbsd32_posix_spawnattrp attrp, \ netbsd32_charpp argv, netbsd32_charpp envp); } @ 1.87.2.3 log @sync with head @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.87.2.2 2012/04/17 00:07:22 yamt Exp $ a1032 9 475 UNIMPL { int|netbsd32||recvmmsg(int s, struct mmsghdr *mmsg, \ unsigned int vlen, unsigned int flags, \ netbsd32_timespecp_t timeout); } 476 UNIMPL { int|netbsd32||sendmmsg(int s, struct mmsghdr *mmsg, \ unsigned int vlen, unsigned int flags); } 477 STD { int|netbsd32||clock_nanosleep(\ netbsd32_clockid_t clock_id, \ int flags, const netbsd32_timespecp_t rqtp, \ netbsd32_timespecp_t rmtp); } @ 1.87.2.4 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.87.2.3 2012/10/30 17:20:48 yamt Exp $ d362 1 a362 1 int PAD, netbsd32_off_t offset); } d365 1 a365 1 int PAD, netbsd32_off_t offset); } d405 1 a405 1 netbsd32_long PAD, netbsd32_off_t pos); } d408 2 a409 2 199 STD { netbsd32_off_t|netbsd32||lseek(int fd, int PAD, \ netbsd32_off_t offset, int whence); } d411 1 a411 1 netbsd32_off_t length); } d413 1 a413 1 netbsd32_off_t length); } d586 1 a586 1 netbsd32_off_t offset); } d589 1 a589 1 netbsd32_off_t offset); } d708 1 a708 1 netbsd32_off_t start, netbsd32_off_t length); } d854 1 a854 1 netbsd32_off_t offset, netbsd32_off_t len, int advice); } d893 1 a893 1 434 COMPAT_60 { int|netbsd32||_lwp_park( \ d979 2 a980 2 mode_t mode, int PAD, \ netbsd32_dev_t dev); } a1041 5 478 STD { int|netbsd32|60|_lwp_park(\ netbsd32_clockid_t clock_id, \ int flags, const netbsd32_timespecp_t ts, \ lwpid_t unpark, netbsd32_voidp hint, \ netbsd32_voidp unparkhint); } @ 1.86 log @Add pipe2 syscall now needed for popen(3). @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.85 2011/03/06 17:08:35 bouyer Exp $ d975 1 @ 1.85 log @merge the bouyer-quota2 branch. This adds a new on-disk format to store disk quota usage and limits, integrated with ffs metadata. Usage is checked by fsck_ffs (no more quotacheck) and is covered by the WAPBL journal. Enabled with kernel option QUOTA2 (added where QUOTA was enabled in kernel config files), turned on with tunefs(8) on a per-filesystem basis. mount_mfs(8) can also turn quotas on. See http://mail-index.netbsd.org/tech-kern/2011/02/19/msg010025.html for details. @ text @d1 1 a1 1 $NetBSD$ d974 1 @ 1.84 log @Kill fs_nfs.h and #ifdef NFS by making getfh() support unconditional and nfssvc unsupport unconditional. nfs server was just a fancy NOP anyway for all except Ultrix. I know I'm boring but I couldn't imagine why someone would want to run an Ultrix nfs server (and I also doubt that it would work anymore with all the changes to fs exporting etc). @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.83 2010/03/02 16:02:43 pooka Exp $ d307 1 a307 1 148 STD { int|netbsd32||quotactl(netbsd32_charp path, int cmd, \ d972 2 @ 1.84.4.1 log @Sync with HEAD. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.85 2011/03/06 17:08:35 bouyer Exp $ d307 1 a307 1 148 COMPAT_50 { int|netbsd32||quotactl(netbsd32_charp path, int cmd, \ a971 2 452 STD { int|netbsd32|50|quotactl(const netbsd32_charp path, \ netbsd32_voidp pref); } @ 1.84.2.1 log @sync with head @ text @d1 1 a1 1 $NetBSD$ d307 1 a307 1 148 COMPAT_50 { int|netbsd32||quotactl(netbsd32_charp path, int cmd, \ a971 2 452 STD { int|netbsd32|50|quotactl(const netbsd32_charp path, \ netbsd32_voidp pref); } @ 1.84.6.1 log @Snapshot of work in progress on a modernised disk quota system: - new quotactl syscall (versionned for backward compat), which takes as parameter a path to a mount point, and a prop_dictionary (in plistref format) describing commands and arguments. For each command, status and data are returned as a prop_dictionary. quota commands features will be added to take advantage of this, exporting quota data or getting quota commands as plists. - new on disk-format storage (all 64bit wide), integrated to metadata for ffs (and playing nicely with wapbl). Quotas are enabled on a ffs filesystem via superblock flags. tunefs(8) can enable or disable quotas. On a quota-enabled filesystem, fsck_ffs(8) will track per-uid/gid block and inode usages, and will check and update quotas in Pass 6. quota usage and limits are stored in unliked files (one for users, one for groups)l fsck_ffs(8) will create the files if needed, or free them if needed. This means that after enabling or disabling quotas on a filesystem; a fsck_ffs(8) run is required. quotacheck(8) is not needed any more, on a unclean shutdown fsck or journal replay will take care of fixing quotas. newfs(8) can create a ready-to-mount quota-enabled filesystem (superblock flags are set and quota inodes are created). Other new features or semantic changes: - default quota datas, applied to users or groups which don't already have a quota entry - per-user/group grace time (instead of a filesystem global one) - 0 really means "nothing allowed at all", not "no limit". If you want "no limit", set the limit to UQUAD_MAX (tools will understand "unlimited" and "-") A quota file is structured as follow: it starts with a header, containing a few per-filesystem values, and the default quota limits. Quota entries are linked together as a simple list, each entry has a pointer (as an offset withing the file) to the next. The header has a pointer to a list of free quota entries, and a hash table of in-use entries. The size of the hash table depends on the filesystem block size (header+hash table should fit in the first block). The file is not sparse and is a multiple of filesystem block size (when the free quota entry list is empty a new filesystem block is allocated). quota entries to not cross filesystem block boundaries. In memory, the kernel keeps a cache of recently used quota entries as a reference to the block number, and offset withing the block. The quota entry itself is keept in the buf cache. fsck_ffs(8), tunefs(8) and newfs(8) supports are completed (with related atf tests :) The kernel can update disk usage and report it via quotactl(2). Todo: enforce quotas limits (limits are not checked by kernel yet) update repquota, edquota and rpc.rquotad to the new world implement compat_50_quotactl ioctl. update quotactl(2) man page fsck_ffs required fixes so that allocating new blocks or inodes will properly update the superblock and cg sumaries. This was not an issue up to now because superblock and cg sumaries check happened last, but now allocations or frees can happen in pass 6. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.84 2010/03/02 21:07:21 pooka Exp $ d307 1 a307 1 148 COMPAT_50 { int|netbsd32||quotactl50(netbsd32_charp path, int cmd, \ a971 2 452 STD { int|sys||quotactl(const char *path, \ netbsd32_voidp pref); } @ 1.84.6.2 log @Proper definitions for quotactl @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.84.6.1 2011/01/20 14:24:56 bouyer Exp $ d307 1 a307 1 148 COMPAT_50 { int|netbsd32||quotactl(netbsd32_charp path, int cmd, \ d972 1 a972 1 452 STD { int|netbsd32|50|quotactl(const netbsd32_charp path, \ @ 1.83 log @-fs_lfs.h @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.82 2010/03/02 16:00:03 pooka Exp $ a44 2 #include "fs_nfs.h" d321 1 a321 1 155 STD { int|netbsd32||nfssvc(int flag, netbsd32_voidp argp); } @ 1.82 log @Remove lfs syscall support from compat. I can't really imagine anyone wanting to run lfs megamaid as a e.g. FreeBSD binary. Besides, the real action has been in fcntl() for >5 years now. The only place where the compat syscalls might have made the tiniest bit of sense was netbsd32, but they were unimplemented there. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.81 2009/12/14 00:47:11 matt Exp $ a45 1 #include "fs_lfs.h" @ 1.81 log @Merge from matt-nb5-mips64 @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.80 2009/05/17 05:54:22 pooka Exp $ a386 10 #if defined(LFS) || !defined(_KERNEL_OPT) 184 STD { int|netbsd32||lfs_bmapv(netbsd32_fsid_tp_t fsidp, \ netbsd32_block_infop_t blkiov, int blkcnt); } 185 STD { int|netbsd32||lfs_markv(netbsd32_fsid_tp_t fsidp, \ netbsd32_block_infop_t blkiov, int blkcnt); } 186 STD { int|netbsd32||lfs_segclean(netbsd32_fsid_tp_t fsidp, \ netbsd32_u_long segment); } 187 COMPAT_50 { int|netbsd32||lfs_segwait(netbsd32_fsid_tp_t fsidp, \ netbsd32_timeval50p_t tv); } #else a390 1 #endif a886 5 #if defined(LFS) || !defined(_KERNEL_OPT) 422 STD { int|netbsd32|50|lfs_segwait( \ netbsd32_fsid_tp_t fsidp, \ netbsd32_timevalp_t tv); } #else a887 1 #endif @ 1.81.2.1 log @Sync with HEAD. @ text @d1 1 a1 1 $NetBSD$ d45 3 d324 1 a324 1 155 UNIMPL netbsd32_nfssvc d387 10 d401 1 d898 5 d904 1 @ 1.80 log @pad -> PAD @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.79 2009/03/16 20:48:13 njoly Exp $ d869 3 a871 1 410 UNIMPL sys___mount50 @ 1.79 log @Fix dev_t alignment, by not using the new 64bit value directly but rather a 32bit aligned version (netbsd32_dev_t = netbsd32_uint64). ok by cube@@. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.78 2009/02/26 21:08:48 christos Exp $ d366 1 a366 1 int pad, off_t offset); } d369 1 a369 1 int pad, off_t offset); } d420 1 a420 1 netbsd32_long pad, off_t pos); } d423 1 a423 1 199 STD { off_t|netbsd32||lseek(int fd, int pad, off_t offset, \ d425 1 a425 1 200 STD { int|netbsd32||truncate(netbsd32_charp path, int pad, \ d427 1 a427 1 201 STD { int|netbsd32||ftruncate(int fd, int pad, \ d612 1 a612 1 netbsd32_iovecp_t iovp, int iovcnt, int pad, \ d615 1 a615 1 netbsd32_iovecp_t iovp, int iovcnt, int pad, \ d881 1 a881 1 416 STD { int|netbsd32|50|posix_fadvise(int fd, int pad, \ @ 1.78 log @fix kernel build with no options NTP @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.77 2009/01/13 22:27:43 pooka Exp $ d987 1 a987 1 mode_t mode, dev_t dev); } @ 1.77 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.76 2009/01/13 21:48:35 pooka Exp $ d370 1 d374 4 d836 1 d839 3 @ 1.77.2.1 log @Sync with HEAD. Commit is split, to avoid a "too many arguments" protocol error. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.79 2009/03/16 20:48:13 njoly Exp $ a369 1 #if defined(NTP) || !defined(_KERNEL_OPT) a372 4 #else 175 EXCL ntp_gettime 176 EXCL ntp_adjtime #endif a830 1 #if defined(NTP) || !defined(_KERNEL_OPT) a832 3 #else 393 EXCL __ntp_gettime30 #endif d978 1 a978 1 mode_t mode, netbsd32_dev_t dev); } @ 1.77.2.2 log @Sync with HEAD. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.80 2009/05/17 05:54:22 pooka Exp $ d366 1 a366 1 int PAD, off_t offset); } d369 1 a369 1 int PAD, off_t offset); } d420 1 a420 1 netbsd32_long PAD, off_t pos); } d423 1 a423 1 199 STD { off_t|netbsd32||lseek(int fd, int PAD, off_t offset, \ d425 1 a425 1 200 STD { int|netbsd32||truncate(netbsd32_charp path, int PAD, \ d427 1 a427 1 201 STD { int|netbsd32||ftruncate(int fd, int PAD, \ d612 1 a612 1 netbsd32_iovecp_t iovp, int iovcnt, int PAD, \ d615 1 a615 1 netbsd32_iovecp_t iovp, int iovcnt, int PAD, \ d881 1 a881 1 416 STD { int|netbsd32|50|posix_fadvise(int fd, int PAD, \ @ 1.76 log @UNIMPL police: remove pseudo-prototypes @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.75 2009/01/11 02:45:49 christos Exp $ d67 1 a67 1 0 INDIR { int netbsd32_syscall(int code, \ d69 3 a71 3 1 STD { void netbsd32_exit(int rval); } 2 NOARGS { int sys_fork(void); } 3 STD { netbsd32_ssize_t netbsd32_read(int fd, \ d73 1 a73 1 4 STD { netbsd32_ssize_t netbsd32_write(int fd, \ d75 1 a75 1 5 STD { int netbsd32_open(netbsd32_charp path, int flags, \ d77 2 a78 2 6 STD { int netbsd32_close(int fd); } 7 COMPAT_50 { int netbsd32_wait4(int pid, netbsd32_intp status, \ d80 1 a80 1 8 COMPAT_43 { int netbsd32_ocreat(netbsd32_charp path, \ d82 1 a82 1 9 STD { int netbsd32_link(netbsd32_charp path, \ d84 1 a84 1 10 STD { int netbsd32_unlink(netbsd32_charp path); } d86 3 a88 3 12 STD { int netbsd32_chdir(netbsd32_charp path); } 13 STD { int netbsd32_fchdir(int fd); } 14 COMPAT_50 { int netbsd32_mknod(netbsd32_charp path, mode_t mode, \ d90 2 a91 2 15 STD { int netbsd32_chmod(netbsd32_charp path, mode_t mode); } 16 STD { int netbsd32_chown(netbsd32_charp path, uid_t uid, \ d93 2 a94 2 17 STD { int netbsd32_break(netbsd32_charp nsize); } 18 COMPAT_20 { int netbsd32_getfsstat(netbsd32_statfsp_t buf, \ d96 1 a96 1 19 COMPAT_43 { netbsd32_long netbsd32_olseek(int fd, \ d98 2 a99 2 20 NOARGS { pid_t sys_getpid(void); } 21 STD { int netbsd32_mount(netbsd32_charp type, \ d102 1 a102 1 22 STD { int netbsd32_unmount(netbsd32_charp path, \ d104 4 a107 4 23 STD { int netbsd32_setuid(uid_t uid); } 24 NOARGS { uid_t sys_getuid(void); } 25 NOARGS { uid_t sys_geteuid(void); } 26 STD { int netbsd32_ptrace(int req, pid_t pid, \ d109 1 a109 1 27 STD { netbsd32_ssize_t netbsd32_recvmsg(int s, \ d111 1 a111 1 28 STD { netbsd32_ssize_t netbsd32_sendmsg(int s, \ d113 1 a113 1 29 STD { netbsd32_ssize_t netbsd32_recvfrom(int s, \ d117 1 a117 1 30 STD { int netbsd32_accept(int s, \ d120 1 a120 1 31 STD { int netbsd32_getpeername(int fdes, \ d122 1 a122 1 32 STD { int netbsd32_getsockname(int fdes, \ d124 2 a125 2 33 STD { int netbsd32_access(netbsd32_charp path, int flags); } 34 STD { int netbsd32_chflags(netbsd32_charp path, \ d127 1 a127 1 35 STD { int netbsd32_fchflags(int fd, \ d129 3 a131 3 36 NOARGS { void sys_sync(void); } 37 STD { int netbsd32_kill(int pid, int signum); } 38 COMPAT_43 { int netbsd32_stat43(netbsd32_charp path, \ d133 2 a134 2 39 NOARGS { pid_t sys_getppid(void); } 40 COMPAT_43 { int netbsd32_lstat43(netbsd32_charp path, \ d136 4 a139 4 41 STD { int netbsd32_dup(int fd); } 42 NOARGS { int sys_pipe(void); } 43 NOARGS { gid_t sys_getegid(void); } 44 STD { int netbsd32_profil(netbsd32_voidp samples, \ d142 1 a142 1 45 STD { int netbsd32_ktrace(netbsd32_charp fname, int ops, \ d144 1 a144 1 46 STD { int netbsd32_sigaction(int signum, \ d147 2 a148 2 47 NOARGS { gid_t sys_getgid(void); } 48 COMPAT_13 { int netbsd32_sigprocmask(int how, \ d150 1 a150 1 49 STD { int netbsd32___getlogin(netbsd32_charp namebuf, \ d152 4 a155 4 50 STD { int netbsd32_setlogin(netbsd32_charp namebuf); } 51 STD { int netbsd32_acct(netbsd32_charp path); } 52 COMPAT_13 { int sys_sigpending(void); } sigpending13 53 COMPAT_13 { int netbsd32_sigaltstack13( \ d158 1 a158 1 54 STD { int netbsd32_ioctl(int fd, netbsd32_u_long com, \ d160 3 a162 3 55 COMPAT_12 { int netbsd32_reboot(int opt); } 56 STD { int netbsd32_revoke(netbsd32_charp path); } 57 STD { int netbsd32_symlink(netbsd32_charp path, \ d164 1 a164 1 58 STD { int netbsd32_readlink(netbsd32_charp path, \ d166 1 a166 1 59 STD { int netbsd32_execve(netbsd32_charp path, \ d168 4 a171 4 60 STD { mode_t netbsd32_umask(mode_t newmask); } 61 STD { int netbsd32_chroot(netbsd32_charp path); } 62 COMPAT_43 { int netbsd32_fstat43(int fd, netbsd32_stat43p_t sb); } 63 COMPAT_43 { int netbsd32_ogetkerninfo(int op, \ d174 2 a175 2 64 COMPAT_43 { int sys_getpagesize(void); } ogetpagesize 65 COMPAT_12 { int netbsd32_msync(netbsd32_voidp addr, \ d178 1 a178 1 66 NOARGS { int sys_vfork(void); } d181 3 a183 3 69 STD { int netbsd32_sbrk(netbsd32_intptr_t incr); } 70 STD { int netbsd32_sstk(int incr); } 71 COMPAT_43 { int netbsd32_ommap(netbsd32_voidp addr, \ d186 2 a187 2 72 STD { int netbsd32_ovadvise(int anom); } vadvise 73 STD { int netbsd32_munmap(netbsd32_voidp addr, \ d189 1 a189 1 74 STD { int netbsd32_mprotect(netbsd32_voidp addr, \ d191 1 a191 1 75 STD { int netbsd32_madvise(netbsd32_voidp addr, \ d195 1 a195 1 78 STD { int netbsd32_mincore(netbsd32_voidp addr, \ d197 1 a197 1 79 STD { int netbsd32_getgroups(int gidsetsize, \ d199 1 a199 1 80 STD { int netbsd32_setgroups(int gidsetsize, \ d201 3 a203 3 81 NOARGS { int sys_getpgrp(void); } 82 STD { int netbsd32_setpgid(int pid, int pgid); } 83 COMPAT_50 { int netbsd32_setitimer(int which, \ d206 3 a208 3 84 COMPAT_43 { int sys_wait(void); } owait 85 COMPAT_12 { int netbsd32_oswapon(netbsd32_charp name); } 86 COMPAT_50 { int netbsd32_getitimer(int which, \ d210 1 a210 1 87 COMPAT_43 { int netbsd32_ogethostname(netbsd32_charp hostname, \ d212 1 a212 1 88 COMPAT_43 { int netbsd32_osethostname(netbsd32_charp hostname, \ d214 2 a215 2 89 COMPAT_43 { int sys_getdtablesize(void); } ogetdtablesize 90 STD { int netbsd32_dup2(int from, int to); } d217 1 a217 1 92 STD { int netbsd32_fcntl(int fd, int cmd, \ d219 1 a219 1 93 COMPAT_50 { int netbsd32_select(int nd, netbsd32_fd_setp_t in, \ d223 2 a224 2 95 STD { int netbsd32_fsync(int fd); } 96 STD { int netbsd32_setpriority(int which, int who, \ d226 1 a226 1 97 COMPAT_30 { int netbsd32_socket(int domain, int type, \ d228 1 a228 1 98 STD { int netbsd32_connect(int s, \ d230 1 a230 1 99 COMPAT_43 { int netbsd32_oaccept(int s, netbsd32_voidp name, \ d232 2 a233 2 100 STD { int netbsd32_getpriority(int which, int who); } 101 COMPAT_43 { int netbsd32_osend(int s, netbsd32_voidp buf, \ d235 1 a235 1 102 COMPAT_43 { int netbsd32_orecv(int s, netbsd32_voidp buf, \ d237 1 a237 1 103 COMPAT_13 { int netbsd32_sigreturn( \ d239 1 a239 1 104 STD { int netbsd32_bind(int s, netbsd32_sockaddrp_t name, \ d241 1 a241 1 105 STD { int netbsd32_setsockopt(int s, int level, int name, \ d243 1 a243 1 106 STD { int netbsd32_listen(int s, int backlog); } d245 1 a245 1 108 COMPAT_43 { int netbsd32_osigvec(int signum, \ d247 4 a250 4 109 COMPAT_43 { int netbsd32_sigblock(int mask); } 110 COMPAT_43 { int netbsd32_sigsetmask(int mask); } 111 COMPAT_13 { int netbsd32_sigsuspend(int mask); } sigsuspend13 112 COMPAT_43 { int netbsd32_osigstack(netbsd32_sigstackp_t nss, \ d252 1 a252 1 113 COMPAT_43 { int netbsd32_orecvmsg(int s, \ d254 1 a254 1 114 COMPAT_43 { int netbsd32_osendmsg(int s, netbsd32_voidp msg, \ d257 1 a257 1 116 COMPAT_50 { int netbsd32_gettimeofday(netbsd32_timeval50p_t tp, \ d259 1 a259 1 117 COMPAT_50 { int netbsd32_getrusage(int who, \ d261 1 a261 1 118 STD { int netbsd32_getsockopt(int s, int level, int name, \ d264 1 a264 1 120 STD { netbsd32_ssize_t netbsd32_readv(int fd, \ d266 1 a266 1 121 STD { netbsd32_ssize_t netbsd32_writev(int fd, \ d268 1 a268 1 122 COMPAT_50 { int netbsd32_settimeofday(netbsd32_timeval50p_t tv, \ d270 3 a272 3 123 STD { int netbsd32_fchown(int fd, uid_t uid, gid_t gid); } 124 STD { int netbsd32_fchmod(int fd, mode_t mode); } 125 COMPAT_43 { int netbsd32_orecvfrom(int s, netbsd32_voidp buf, \ d275 3 a277 3 126 STD { int netbsd32_setreuid(uid_t ruid, uid_t euid); } 127 STD { int netbsd32_setregid(gid_t rgid, gid_t egid); } 128 STD { int netbsd32_rename(netbsd32_charp from, \ d279 1 a279 1 129 COMPAT_43 { int netbsd32_otruncate(netbsd32_charp path, \ d281 1 a281 1 130 COMPAT_43 { int netbsd32_oftruncate(int fd, \ d283 2 a284 2 131 STD { int netbsd32_flock(int fd, int how); } 132 STD { int netbsd32_mkfifo(netbsd32_charp path, \ d286 1 a286 1 133 STD { netbsd32_ssize_t netbsd32_sendto(int s, \ d289 2 a290 2 134 STD { int netbsd32_shutdown(int s, int how); } 135 STD { int netbsd32_socketpair(int domain, int type, \ d292 1 a292 1 136 STD { int netbsd32_mkdir(netbsd32_charp path, \ d294 2 a295 2 137 STD { int netbsd32_rmdir(netbsd32_charp path); } 138 COMPAT_50 { int netbsd32_utimes(netbsd32_charp path, \ d298 1 a298 1 140 COMPAT_50 { int netbsd32_adjtime(netbsd32_timeval50p_t delta, \ d300 1 a300 1 141 COMPAT_43 { int netbsd32_ogetpeername(int fdes, \ d302 3 a304 3 142 COMPAT_43 { int32_t sys_gethostid(void); } ogethostid 143 COMPAT_43 { int netbsd32_sethostid(int32_t hostid); } 144 COMPAT_43 { int netbsd32_ogetrlimit(int which, \ d306 1 a306 1 145 COMPAT_43 { int netbsd32_osetrlimit(int which, \ d308 3 a310 3 146 COMPAT_43 { int netbsd32_killpg(int pgid, int signum); } 147 NOARGS { int sys_setsid(void); } 148 STD { int netbsd32_quotactl(netbsd32_charp path, int cmd, \ d312 2 a313 2 149 COMPAT_43 { int sys_quota(void); } oquota 150 COMPAT_43 { int netbsd32_ogetsockname(int fdec, \ d324 2 a325 2 155 STD { int netbsd32_nfssvc(int flag, netbsd32_voidp argp); } 156 COMPAT_43 { int netbsd32_ogetdirentries(int fd, \ d328 1 a328 1 157 COMPAT_20 { int netbsd32_statfs(netbsd32_charp path, \ d330 1 a330 1 158 COMPAT_20 { int netbsd32_fstatfs(int fd, \ d334 1 a334 1 161 COMPAT_30 { int netbsd32_getfh(netbsd32_charp fname, \ d336 1 a336 1 162 COMPAT_09 { int netbsd32_ogetdomainname( \ d338 1 a338 1 163 COMPAT_09 { int netbsd32_osetdomainname( \ d340 2 a341 2 164 COMPAT_09 { int netbsd32_uname(netbsd32_outsnamep_t name); } 165 STD { int netbsd32_sysarch(int op, netbsd32_voidp parms); } d346 1 a346 1 169 COMPAT_10 { int netbsd32_semsys(int which, int a2, int a3, \ d352 1 a352 1 170 COMPAT_10 { int netbsd32_msgsys(int which, int a2, int a3, \ d358 1 a358 1 171 COMPAT_10 { int netbsd32_shmsys(int which, int a2, int a3, \ d364 1 a364 1 173 STD { netbsd32_ssize_t netbsd32_pread(int fd, \ d367 1 a367 1 174 STD { netbsd32_ssize_t netbsd32_pwrite(int fd, \ d370 1 a370 1 175 COMPAT_30 { int netbsd32_ntp_gettime( \ d372 1 a372 1 176 STD { int netbsd32_ntp_adjtime(netbsd32_timexp_t tp); } d379 3 a381 3 181 STD { int netbsd32_setgid(gid_t gid); } 182 STD { int netbsd32_setegid(gid_t egid); } 183 STD { int netbsd32_seteuid(uid_t euid); } d383 1 a383 1 184 STD { int netbsd32_lfs_bmapv(netbsd32_fsid_tp_t fsidp, \ d385 1 a385 1 185 STD { int netbsd32_lfs_markv(netbsd32_fsid_tp_t fsidp, \ d387 1 a387 1 186 STD { int netbsd32_lfs_segclean(netbsd32_fsid_tp_t fsidp, \ d389 1 a389 1 187 COMPAT_50 { int netbsd32_lfs_segwait(netbsd32_fsid_tp_t fsidp, \ d397 1 a397 1 188 COMPAT_12 { int netbsd32_stat12(netbsd32_charp path, \ d399 2 a400 2 189 COMPAT_12 { int netbsd32_fstat12(int fd, netbsd32_stat12p_t sb); } 190 COMPAT_12 { int netbsd32_lstat12(netbsd32_charp path, \ d402 1 a402 1 191 STD { netbsd32_long netbsd32_pathconf(netbsd32_charp path, \ d404 1 a404 1 192 STD { netbsd32_long netbsd32_fpathconf(int fd, int name); } d406 1 a406 1 194 STD { int netbsd32_getrlimit(int which, \ d408 1 a408 1 195 STD { int netbsd32_setrlimit(int which, \ d410 1 a410 1 196 COMPAT_12 { int netbsd32_getdirentries(int fd, \ d413 1 a413 1 197 STD { netbsd32_voidp netbsd32_mmap(netbsd32_voidp addr, \ d416 1 a416 1 198 INDIR { quad_t netbsd32____syscall(quad_t code, \ d418 1 a418 1 199 STD { off_t netbsd32_lseek(int fd, int pad, off_t offset, \ d420 1 a420 1 200 STD { int netbsd32_truncate(netbsd32_charp path, int pad, \ d422 1 a422 1 201 STD { int netbsd32_ftruncate(int fd, int pad, \ d424 1 a424 1 202 STD { int netbsd32___sysctl(netbsd32_intp name, \ d428 1 a428 1 203 STD { int netbsd32_mlock(netbsd32_voidp addr, \ d430 1 a430 1 204 STD { int netbsd32_munlock(netbsd32_voidp addr, \ d432 2 a433 2 205 STD { int netbsd32_undelete(netbsd32_charp path); } 206 COMPAT_50 { int netbsd32_futimes(int fd, \ d435 2 a436 2 207 STD { int netbsd32_getpgid(pid_t pid); } 208 STD { int netbsd32_reboot(int opt, \ d438 1 a438 1 209 STD { int netbsd32_poll(netbsd32_pollfdp_t fds, \ d452 1 a452 1 220 COMPAT_14 { int netbsd32___semctl(int semid, int semnum, \ d454 1 a454 1 221 STD { int netbsd32_semget(netbsd32_key_t key, int nsems, \ d456 1 a456 1 222 STD { int netbsd32_semop(int semid, \ d458 1 a458 1 223 STD { int netbsd32_semconfig(int flag); } d466 1 a466 1 224 COMPAT_14 { int netbsd32_msgctl(int msqid, int cmd, \ d468 2 a469 2 225 STD { int netbsd32_msgget(netbsd32_key_t key, int msgflg); } 226 STD { int netbsd32_msgsnd(int msqid, netbsd32_voidp msgp, \ d471 1 a471 1 227 STD { netbsd32_ssize_t netbsd32_msgrcv(int msqid, \ d481 1 a481 1 228 STD { netbsd32_voidp netbsd32_shmat(int shmid, \ d483 1 a483 1 229 COMPAT_14 { int netbsd32_shmctl(int shmid, int cmd, \ d485 2 a486 2 230 STD { int netbsd32_shmdt(netbsd32_voidp shmaddr); } 231 STD { int netbsd32_shmget(netbsd32_key_t key, \ d494 1 a494 1 232 COMPAT_50 { int netbsd32_clock_gettime( \ d497 1 a497 1 233 COMPAT_50 { int netbsd32_clock_settime( \ d500 1 a500 1 234 COMPAT_50 { int netbsd32_clock_getres( \ d503 1 a503 1 235 STD { int netbsd32_timer_create( \ d507 2 a508 2 236 STD { int netbsd32_timer_delete(netbsd32_timer_t timerid); } 237 COMPAT_50 { int netbsd32_timer_settime(netbsd32_timer_t timerid, \ d512 1 a512 1 238 COMPAT_50 { int netbsd32_timer_gettime(netbsd32_timer_t timerid, \ d514 1 a514 1 239 STD { int netbsd32_timer_getoverrun( \ d519 1 a519 1 240 COMPAT_50 { int netbsd32_nanosleep(netbsd32_timespec50p_t rqtp, \ d521 4 a524 4 241 STD { int netbsd32_fdatasync(int fd); } 242 STD { int netbsd32_mlockall(int flags); } 243 NOARGS { int sys_munlockall(void); } 244 COMPAT_50 { int netbsd32___sigtimedwait(netbsd32_sigsetp_t set, \ d530 1 a530 1 247 STD { int netbsd32__ksem_init(unsigned int value, \ d532 1 a532 1 248 STD { int netbsd32__ksem_open(netbsd32_charp name, \ d535 6 a540 6 249 STD { int netbsd32__ksem_unlink(netbsd32_charp name); } 250 STD { int netbsd32__ksem_close(netbsd32_intptr_t id); } 251 STD { int netbsd32__ksem_post(netbsd32_intptr_t id); } 252 STD { int netbsd32__ksem_wait(netbsd32_intptr_t id); } 253 STD { int netbsd32__ksem_trywait(netbsd32_intptr_t id); } 254 STD { int netbsd32__ksem_getvalue(netbsd32_intptr_t id, \ d542 1 a542 1 255 STD { int netbsd32__ksem_destroy(netbsd32_intptr_t id); } d569 1 a569 1 270 STD { int netbsd32___posix_rename(netbsd32_charp from, \ d571 1 a571 1 271 STD { int netbsd32_swapctl(int cmd, netbsd32_voidp arg, \ d573 1 a573 1 272 COMPAT_30 { int netbsd32_getdents(int fd, netbsd32_charp buf, \ d575 1 a575 1 273 STD { int netbsd32_minherit(netbsd32_voidp addr, \ d577 1 a577 1 274 STD { int netbsd32_lchmod(netbsd32_charp path, \ d579 1 a579 1 275 STD { int netbsd32_lchown(netbsd32_charp path, uid_t uid, \ d581 1 a581 1 276 COMPAT_50 { int netbsd32_lutimes(netbsd32_charp path, \ d583 1 a583 1 277 STD { int netbsd32___msync13(netbsd32_voidp addr, \ d585 1 a585 1 278 COMPAT_30 { int netbsd32___stat13(netbsd32_charp path, \ d587 1 a587 1 279 COMPAT_30 { int netbsd32___fstat13(int fd, \ d589 1 a589 1 280 COMPAT_30 { int netbsd32___lstat13(netbsd32_charp path, \ d591 1 a591 1 281 STD { int netbsd32___sigaltstack14(\ d594 2 a595 2 282 NOARGS { int sys___vfork14(void); } 283 STD { int netbsd32___posix_chown(netbsd32_charp path, \ d597 1 a597 1 284 STD { int netbsd32___posix_fchown(int fd, uid_t uid, \ d599 1 a599 1 285 STD { int netbsd32___posix_lchown(netbsd32_charp path, \ d601 2 a602 2 286 STD { pid_t netbsd32_getsid(pid_t pid); } 287 STD { int netbsd32___clone(int flags, \ d604 1 a604 1 288 STD { int netbsd32_fktrace(int fd, int ops, int facs, \ d606 1 a606 1 289 STD { netbsd32_ssize_t netbsd32_preadv(int fd, \ d609 1 a609 1 290 STD { netbsd32_ssize_t netbsd32_pwritev(int fd, \ d612 1 a612 1 291 STD { int netbsd32___sigaction14(int signum, \ d615 2 a616 2 292 STD { int netbsd32___sigpending14(netbsd32_sigsetp_t set); } 293 STD { int netbsd32___sigprocmask14(int how, \ d619 2 a620 2 294 STD { int netbsd32___sigsuspend14(netbsd32_sigsetp_t set); } 295 COMPAT_16 { int netbsd32___sigreturn14( \ d622 1 a622 1 296 STD { int netbsd32___getcwd(netbsd32_charp bufp, \ d624 2 a625 2 297 STD { int netbsd32_fchroot(int fd); } 298 COMPAT_30 { int netbsd32_fhopen(netbsd32_fhandlep_t fhp, \ d627 1 a627 1 299 COMPAT_30 { int netbsd32_fhstat(netbsd32_fhandlep_t fhp, \ d629 1 a629 1 300 COMPAT_20 { int netbsd32_fhstatfs(netbsd32_fhandlep_t fhp, \ d632 1 a632 1 301 COMPAT_50 { int netbsd32___semctl14(int semid, int semnum, \ d638 1 a638 1 302 COMPAT_50 { int netbsd32___msgctl13(int msqid, int cmd, \ d644 1 a644 1 303 COMPAT_50 { int netbsd32___shmctl13(int shmid, int cmd, \ d649 1 a649 1 304 STD { int netbsd32_lchflags(netbsd32_charp path, \ d651 2 a652 2 305 NOARGS { int sys_issetugid(void); } 306 STD { int netbsd32_utrace(netbsd32_charp label, \ d654 2 a655 2 307 STD { int netbsd32_getcontext(netbsd32_ucontextp ucp); } 308 STD { int netbsd32_setcontext(netbsd32_ucontextp ucp, \ d657 1 a657 1 309 STD { int netbsd32__lwp_create(netbsd32_ucontextp ucp, \ d659 3 a661 3 310 NOARGS { int sys__lwp_exit(void); } 311 NOARGS { lwpid_t sys__lwp_self(void); } 312 STD { int netbsd32__lwp_wait(lwpid_t wait_for, \ d663 8 a670 8 313 STD { int netbsd32__lwp_suspend(lwpid_t target); } 314 STD { int netbsd32__lwp_continue(lwpid_t target); } 315 STD { int netbsd32__lwp_wakeup(lwpid_t target); } 316 NOARGS { netbsd32_voidp sys__lwp_getprivate(void); } 317 STD { void netbsd32__lwp_setprivate(netbsd32_voidp ptr); } 318 STD { int netbsd32__lwp_kill(lwpid_t target, int signo); } 319 STD { int netbsd32__lwp_detach(lwpid_t target); } 320 COMPAT_50 { int netbsd32__lwp_park(netbsd32_timespec50p_t ts, \ d673 1 a673 1 321 STD { int netbsd32__lwp_unpark(lwpid_t target, \ d675 1 a675 1 322 STD { netbsd32_size_t netbsd32__lwp_unpark_all( \ d678 1 a678 1 323 STD { int netbsd32__lwp_setname(lwpid_t target, \ d680 1 a680 1 324 STD { int netbsd32__lwp_getname(lwpid_t target, \ d682 1 a682 1 325 STD { int netbsd32__lwp_ctl(int features, \ d688 1 a688 1 330 STD { int netbsd32_sa_register(netbsd32_sa_upcall_t new, \ d691 1 a691 1 331 STD { int netbsd32_sa_stacks(int num, \ d693 4 a696 4 332 NOARGS { int sys_sa_enable(void); } 333 STD { int netbsd32_sa_setconcurrency(int concurrency); } 334 NOARGS { int sys_sa_yield(void); } 335 STD { int netbsd32_sa_preempt(int sa_id); } d701 1 a701 1 340 STD { int netbsd32___sigaction_sigtramp(int signum, \ d707 1 a707 1 343 STD { int netbsd32_rasctl(netbsd32_voidp addr, \ d709 2 a710 2 344 NOARGS { int sys_kqueue(void); } 345 COMPAT_50 { int netbsd32_kevent(int fd, \ d717 1 a717 1 346 STD { int netbsd32__sched_setparam(pid_t pid, lwpid_t lid, \ d719 1 a719 1 347 STD { int netbsd32__sched_getparam(pid_t pid, lwpid_t lid, \ d722 1 a722 1 348 STD { int netbsd32__sched_setaffinity(pid_t pid, \ d725 1 a725 1 349 STD { int netbsd32__sched_getaffinity(pid_t pid, \ d728 1 a728 1 350 NOARGS { int sys_sched_yield(void); } d732 1 a732 1 354 STD { int netbsd32_fsync_range(int fd, int flags, \ d734 1 a734 1 355 STD { int netbsd32_uuidgen(netbsd32_uuidp_t store, \ d736 1 a736 1 356 STD { int netbsd32_getvfsstat(netbsd32_statvfsp_t buf, \ d738 1 a738 1 357 STD { int netbsd32_statvfs1(netbsd32_charp path, \ d740 1 a740 1 358 STD { int netbsd32_fstatvfs1(int fd, \ d742 1 a742 1 359 COMPAT_30 { int netbsd32_fhstatvfs1(netbsd32_fhandlep_t fhp, \ d744 1 a744 1 360 STD { int netbsd32_extattrctl(netbsd32_charp path, \ d747 1 a747 1 361 STD { int netbsd32_extattr_set_file(netbsd32_charp path, \ d750 1 a750 1 362 STD { int netbsd32_extattr_get_file(netbsd32_charp path, \ d753 1 a753 1 363 STD { int netbsd32_extattr_delete_file( \ d756 1 a756 1 364 STD { int netbsd32_extattr_set_fd(int fd, \ d759 1 a759 1 365 STD { int netbsd32_extattr_get_fd(int fd, \ d762 1 a762 1 366 STD { int netbsd32_extattr_delete_fd(int fd, \ d764 1 a764 1 367 STD { int netbsd32_extattr_set_link(netbsd32_charp path, \ d767 1 a767 1 368 STD { int netbsd32_extattr_get_link(netbsd32_charp path, \ d770 1 a770 1 369 STD { int netbsd32_extattr_delete_link( \ d773 1 a773 1 370 STD { int netbsd32_extattr_list_fd(int fd, \ d776 1 a776 1 371 STD { int netbsd32_extattr_list_file(netbsd32_charp path, \ d779 1 a779 1 372 STD { int netbsd32_extattr_list_link(netbsd32_charp path, \ d782 1 a782 1 373 COMPAT_50 { int netbsd32_pselect(int nd, netbsd32_fd_setp_t in, \ d786 1 a786 1 374 COMPAT_50 { int netbsd32_pollts(netbsd32_pollfdp_t fds, \ d789 1 a789 1 375 STD { int netbsd32_setxattr(netbsd32_charp path, \ d792 1 a792 1 376 STD { int netbsd32_lsetxattr(netbsd32_charp path, \ d795 1 a795 1 377 STD { int netbsd32_fsetxattr(int fd, \ d798 1 a798 1 378 STD { int netbsd32_getxattr(netbsd32_charp path, \ d801 1 a801 1 379 STD { int netbsd32_lgetxattr(netbsd32_charp path, \ d804 1 a804 1 380 STD { int netbsd32_fgetxattr(int fd, \ d807 1 a807 1 381 STD { int netbsd32_listxattr(netbsd32_charp path, \ d809 1 a809 1 382 STD { int netbsd32_llistxattr(netbsd32_charp path, \ d811 1 a811 1 383 STD { int netbsd32_flistxattr(int fd, \ d813 1 a813 1 384 STD { int netbsd32_removexattr(netbsd32_charp path, \ d815 1 a815 1 385 STD { int netbsd32_lremovexattr(netbsd32_charp path, \ d817 1 a817 1 386 STD { int netbsd32_fremovexattr(int fd, \ d819 1 a819 1 387 COMPAT_50 { int netbsd32___stat30(netbsd32_charp path, \ d821 1 a821 1 388 COMPAT_50 { int netbsd32___fstat30(int fd, \ d823 1 a823 1 389 COMPAT_50 { int netbsd32___lstat30( \ d825 1 a825 1 390 STD { int netbsd32___getdents30(int fd, \ d828 1 a828 1 392 COMPAT_30 { int netbsd32___fhstat30( \ d831 1 a831 1 393 COMPAT_50 { int netbsd32_ntp_gettime( \ d833 1 a833 1 394 STD { int netbsd32___socket30(int domain, int type, \ d835 1 a835 1 395 STD { int netbsd32___getfh30(netbsd32_charp fname, \ d837 1 a837 1 396 STD { int netbsd32___fhopen40(netbsd32_pointer_t fhp, \ d839 1 a839 1 397 STD { int netbsd32___fhstatvfs140( \ d842 1 a842 1 398 COMPAT_50 { int netbsd32___fhstat40( \ d861 1 a861 1 411 STD { netbsd32_voidp netbsd32_mremap( \ d872 1 a872 1 416 STD { int netbsd32___posix_fadvise50(int fd, int pad, \ d874 1 a874 1 417 STD { int netbsd32___select50(int nd, \ d877 1 a877 1 418 STD { int netbsd32___gettimeofday50( \ d879 1 a879 1 419 STD { int netbsd32___settimeofday50( \ d882 1 a882 1 420 STD { int netbsd32___utimes50(const netbsd32_charp path, \ d884 1 a884 1 421 STD { int netbsd32___adjtime50( \ d888 1 a888 1 422 STD { int netbsd32___lfs_segwait50( \ d894 1 a894 1 423 STD { int netbsd32___futimes50(int fd, \ d896 1 a896 1 424 STD { int netbsd32___lutimes50(const netbsd32_charp path, \ d898 1 a898 1 425 STD { int netbsd32___setitimer50(int which, \ d901 1 a901 1 426 STD { int netbsd32___getitimer50(int which, \ d903 1 a903 1 427 STD { int netbsd32___clock_gettime50(clockid_t clock_id, \ d905 1 a905 1 428 STD { int netbsd32___clock_settime50(clockid_t clock_id, \ d907 1 a907 1 429 STD { int netbsd32___clock_getres50(clockid_t clock_id, \ d909 1 a909 1 430 STD { int netbsd32___nanosleep50( \ d912 1 a912 1 431 STD { int netbsd32_____sigtimedwait50( \ d918 1 a918 1 434 STD { int netbsd32____lwp_park50( \ d922 1 a922 1 435 STD { int netbsd32___kevent50(int fd, \ d928 1 a928 1 436 STD { int netbsd32___pselect50(int nd, \ d934 1 a934 1 437 STD { int netbsd32___pollts50(netbsd32_pollfdp_t fds, \ d938 1 a938 1 439 STD { int netbsd32___stat50(const netbsd32_charp path, \ d940 2 a941 2 440 STD { int netbsd32___fstat50(int fd, netbsd32_statp_t sb); } 441 STD { int netbsd32___lstat50(const netbsd32_charp path, \ d944 1 a944 1 442 STD { int netbsd32_____semctl50(int semid, int semnum, \ d950 1 a950 1 443 STD { int netbsd32___shmctl50(int shmid, int cmd, \ d956 1 a956 1 444 STD { int netbsd32___msgctl50(int msqid, int cmd, \ d961 1 a961 1 445 STD { int netbsd32___getrusage50(int who, \ d963 1 a963 1 446 STD { int netbsd32___timer_settime50(timer_t timerid, \ d966 1 a966 1 447 STD { int netbsd32___timer_gettime50(timer_t timerid, \ d969 1 a969 1 448 STD { int netbsd32___ntp_gettime50( \ d974 1 a974 1 449 STD { int netbsd32___wait450(int pid, \ d977 1 a977 1 450 STD { int netbsd32___mknod50(const netbsd32_charp path, \ d979 1 a979 1 451 STD { int netbsd32___fhstat50(const netbsd32_voidp fhp, \ @ 1.75 log @merge christos-time_t @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.74.4.2 2009/01/04 02:56:09 christos Exp $ d847 8 a854 12 399 UNIMPL { int sys_aio_cancel(int fildes, \ struct aiocb *aiocbp); } 400 UNIMPL { int sys_aio_error(const struct aiocb *aiocbp); } 401 UNIMPL { int sys_aio_fsync(int op, struct aiocb *aiocbp); } 402 UNIMPL { int sys_aio_read(struct aiocb *aiocbp); } 403 UNIMPL { int sys_aio_return(struct aiocb *aiocbp); } 404 UNIMPL { int sys_aio_suspend(const struct aiocb *const *list, \ int nent, const netbsd32_timespecp_t timeout); } 405 UNIMPL { int sys_aio_write(struct aiocb *aiocbp); } 406 UNIMPL { int sys_lio_listio(int mode, \ struct aiocb *const *list, \ int nent, netbsd32_sigeventp_t sig); } d860 1 a860 3 410 UNIMPL { int sys___mount50(const netbsd32_charp type, \ const netbsd32_charp path, int flags, \ netbsd32_voidp data, netbsd32_size_t data_len); } d916 2 a917 9 432 UNIMPL { int netbsd32___mq_timedsend50(mqd_t mqdes, \ const netbsd32_charp msg_ptr, \ netbsd32_size_t msg_len, unsigned msg_prio, \ const netbsd32_timespecp_t abs_timeout); } 433 UNIMPL { netbsd32_ssize_t netbsd32___mq_timedreceive50(\ mqd_t mqdes, netbsd32_charp msg_ptr, \ netbsd32_size_t msg_len, \ netbsd32_pointer_t msg_prio, \ const netbsd32_timespecp_t abs_timeout); } d937 1 a937 3 438 UNIMPL { int netbsd32___aio_suspend50( \ const struct aiocb *const *list, \ int nent, const netbsd32_timespecp_t timeout); } @ 1.74 log @implement netbsd32__sched_setparam(), netbsd32__sched_getparam(), netbsd32__sched_setaffinity() and netbsd32__sched_getaffinity(). @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.73 2008/11/19 18:36:05 ad Exp $ d67 1 a67 1 0 INDIR { int netbsd32_sys_syscall(int code, \ d71 6 a76 3 3 STD { netbsd32_ssize_t netbsd32_read(int fd, netbsd32_voidp buf, netbsd32_size_t nbyte); } 4 STD { netbsd32_ssize_t netbsd32_write(int fd, netbsd32_voidp buf, netbsd32_size_t nbyte); } 5 STD { int netbsd32_open(netbsd32_charp path, int flags, ... mode_t mode); } d78 6 a83 3 7 STD { int netbsd32_wait4(int pid, netbsd32_intp status, int options, netbsd32_rusagep_t rusage); } 8 COMPAT_43 { int netbsd32_ocreat(netbsd32_charp path, mode_t mode); } 9 STD { int netbsd32_link(netbsd32_charp path, netbsd32_charp link); } d88 2 a89 1 14 STD { int netbsd32_mknod(netbsd32_charp path, mode_t mode, dev_t dev); } d91 2 a92 1 16 STD { int netbsd32_chown(netbsd32_charp path, uid_t uid, gid_t gid); } d94 4 a97 2 18 COMPAT_20 { int netbsd32_getfsstat(netbsd32_statfsp_t buf, netbsd32_long bufsize, int flags); } 19 COMPAT_43 { netbsd32_long netbsd32_olseek(int fd, netbsd32_long offset, int whence); } d99 5 a103 2 21 STD { int netbsd32_mount(netbsd32_charp type, netbsd32_charp path, int flags, netbsd32_voidp data); } 22 STD { int netbsd32_unmount(netbsd32_charp path, int flags); } d107 17 a123 7 26 STD { int netbsd32_ptrace(int req, pid_t pid, netbsd32_caddr_t addr, int data); } 27 STD { netbsd32_ssize_t netbsd32_recvmsg(int s, netbsd32_msghdrp_t msg, int flags); } 28 STD { netbsd32_ssize_t netbsd32_sendmsg(int s, netbsd32_msghdrp_t msg, int flags); } 29 STD { netbsd32_ssize_t netbsd32_recvfrom(int s, netbsd32_voidp buf, netbsd32_size_t len, int flags, netbsd32_sockaddrp_t from, netbsd32_intp fromlenaddr); } 30 STD { int netbsd32_accept(int s, netbsd32_sockaddrp_t name, netbsd32_intp anamelen); } 31 STD { int netbsd32_getpeername(int fdes, netbsd32_sockaddrp_t asa, netbsd32_intp alen); } 32 STD { int netbsd32_getsockname(int fdes, netbsd32_sockaddrp_t asa, netbsd32_intp alen); } d125 4 a128 2 34 STD { int netbsd32_chflags(netbsd32_charp path, netbsd32_u_long flags); } 35 STD { int netbsd32_fchflags(int fd, netbsd32_u_long flags); } d131 2 a132 1 38 COMPAT_43 { int netbsd32_stat43(netbsd32_charp path, netbsd32_stat43p_t ub); } d134 2 a135 1 40 COMPAT_43 { int netbsd32_lstat43(netbsd32_charp path, netbsd32_stat43p_t ub); } d139 8 a146 3 44 STD { int netbsd32_profil(netbsd32_caddr_t samples, netbsd32_size_t size, netbsd32_u_long offset, u_int scale); } 45 STD { int netbsd32_ktrace(netbsd32_charp fname, int ops, int facs, int pid); } 46 STD { int netbsd32_sigaction(int signum, netbsd32_sigactionp_t nsa, netbsd32_sigactionp_t osa); } d150 2 a151 1 49 STD { int netbsd32___getlogin(netbsd32_charp namebuf, u_int namelen); } d155 5 a159 2 53 COMPAT_13 { int netbsd32_sigaltstack13(netbsd32_sigaltstack13p_t nss, netbsd32_sigaltstack13p_t oss); } 54 STD { int netbsd32_ioctl(int fd, netbsd32_u_long com, ... netbsd32_voidp data); } d162 6 a167 3 57 STD { int netbsd32_symlink(netbsd32_charp path, netbsd32_charp link); } 58 STD { int netbsd32_readlink(netbsd32_charp path, netbsd32_charp buf, netbsd32_size_t count); } 59 STD { int netbsd32_execve(netbsd32_charp path, netbsd32_charpp argp, netbsd32_charpp envp); } d171 3 a173 1 63 COMPAT_43 { int netbsd32_ogetkerninfo(int op, netbsd32_charp where, netbsd32_intp size, int arg); } d175 2 a176 1 65 COMPAT_12 { int netbsd32_msync(netbsd32_caddr_t addr, netbsd32_size_t len); } d183 3 a185 1 71 COMPAT_43 { int netbsd32_ommap(netbsd32_caddr_t addr, netbsd32_size_t len, int prot, int flags, int fd, netbsd32_long pos); } d187 6 a192 3 73 STD { int netbsd32_munmap(netbsd32_voidp addr, netbsd32_size_t len); } 74 STD { int netbsd32_mprotect(netbsd32_voidp addr, netbsd32_size_t len, int prot); } 75 STD { int netbsd32_madvise(netbsd32_voidp addr, netbsd32_size_t len, int behav); } d195 6 a200 3 78 STD { int netbsd32_mincore(netbsd32_caddr_t addr, netbsd32_size_t len, netbsd32_charp vec); } 79 STD { int netbsd32_getgroups(int gidsetsize, netbsd32_gid_tp gidset); } 80 STD { int netbsd32_setgroups(int gidsetsize, netbsd32_gid_tp gidset); } d203 3 a205 1 83 STD { int netbsd32_setitimer(int which, netbsd32_itimervalp_t itv, netbsd32_itimervalp_t oitv); } d208 6 a213 3 86 STD { int netbsd32_getitimer(int which, netbsd32_itimervalp_t itv); } 87 COMPAT_43 { int netbsd32_ogethostname(netbsd32_charp hostname, u_int len); } 88 COMPAT_43 { int netbsd32_osethostname(netbsd32_charp hostname, u_int len); } d217 5 a221 2 92 STD { int netbsd32_fcntl(int fd, int cmd, ... netbsd32_voidp arg); } 93 STD { int netbsd32_select(int nd, netbsd32_fd_setp_t in, netbsd32_fd_setp_t ou, netbsd32_fd_setp_t ex, netbsd32_timevalp_t tv); } d224 8 a231 4 96 STD { int netbsd32_setpriority(int which, int who, int prio); } 97 COMPAT_30 { int netbsd32_socket(int domain, int type, int protocol); } 98 STD { int netbsd32_connect(int s, netbsd32_sockaddrp_t name, int namelen); } 99 COMPAT_43 { int netbsd32_oaccept(int s, netbsd32_caddr_t name, netbsd32_intp anamelen); } d233 10 a242 5 101 COMPAT_43 { int netbsd32_osend(int s, netbsd32_caddr_t buf, int len, int flags); } 102 COMPAT_43 { int netbsd32_orecv(int s, netbsd32_caddr_t buf, int len, int flags); } 103 COMPAT_13 { int netbsd32_sigreturn(netbsd32_sigcontextp_t sigcntxp); } sigreturn13 104 STD { int netbsd32_bind(int s, netbsd32_sockaddrp_t name, int namelen); } 105 STD { int netbsd32_setsockopt(int s, int level, int name, netbsd32_voidp val, int valsize); } d245 2 a246 1 108 COMPAT_43 { int netbsd32_osigvec(int signum, netbsd32_sigvecp_t nsv, netbsd32_sigvecp_t osv); } d250 6 a255 3 112 COMPAT_43 { int netbsd32_osigstack(netbsd32_sigstackp_t nss, netbsd32_sigstackp_t oss); } 113 COMPAT_43 { int netbsd32_orecvmsg(int s, netbsd32_omsghdrp_t msg, int flags); } 114 COMPAT_43 { int netbsd32_osendmsg(int s, netbsd32_caddr_t msg, int flags); } d257 6 a262 3 116 STD { int netbsd32_gettimeofday(netbsd32_timevalp_t tp, netbsd32_timezonep_t tzp); } 117 STD { int netbsd32_getrusage(int who, netbsd32_rusagep_t rusage); } 118 STD { int netbsd32_getsockopt(int s, int level, int name, netbsd32_voidp val, netbsd32_intp avalsize); } d264 6 a269 3 120 STD { netbsd32_ssize_t netbsd32_readv(int fd, netbsd32_iovecp_t iovp, int iovcnt); } 121 STD { netbsd32_ssize_t netbsd32_writev(int fd, netbsd32_iovecp_t iovp, int iovcnt); } 122 STD { int netbsd32_settimeofday(netbsd32_timevalp_t tv, netbsd32_timezonep_t tzp); } d272 3 a274 1 125 COMPAT_43 { int netbsd32_orecvfrom(int s, netbsd32_caddr_t buf, netbsd32_size_t len, int flags, netbsd32_caddr_t from, netbsd32_intp fromlenaddr); } d277 6 a282 3 128 STD { int netbsd32_rename(netbsd32_charp from, netbsd32_charp to); } 129 COMPAT_43 { int netbsd32_otruncate(netbsd32_charp path, netbsd32_long length); } 130 COMPAT_43 { int netbsd32_oftruncate(int fd, netbsd32_long length); } d284 5 a288 2 132 STD { int netbsd32_mkfifo(netbsd32_charp path, mode_t mode); } 133 STD { netbsd32_ssize_t netbsd32_sendto(int s, netbsd32_voidp buf, netbsd32_size_t len, int flags, netbsd32_sockaddrp_t to, int tolen); } d290 4 a293 2 135 STD { int netbsd32_socketpair(int domain, int type, int protocol, netbsd32_intp rsv); } 136 STD { int netbsd32_mkdir(netbsd32_charp path, mode_t mode); } d295 2 a296 1 138 STD { int netbsd32_utimes(netbsd32_charp path, netbsd32_timevalp_t tptr); } d298 4 a301 2 140 STD { int netbsd32_adjtime(netbsd32_timevalp_t delta, netbsd32_timevalp_t olddelta); } 141 COMPAT_43 { int netbsd32_ogetpeername(int fdes, netbsd32_caddr_t asa, netbsd32_intp alen); } d304 4 a307 2 144 COMPAT_43 { int netbsd32_ogetrlimit(int which, netbsd32_orlimitp_t rlp); } 145 COMPAT_43 { int netbsd32_osetrlimit(int which, netbsd32_orlimitp_t rlp); } d310 2 a311 1 148 STD { int netbsd32_quotactl(netbsd32_charp path, int cmd, int uid, netbsd32_caddr_t arg); } d313 2 a314 1 150 COMPAT_43 { int netbsd32_ogetsockname(int fdec, netbsd32_caddr_t asa, netbsd32_intp alen); } d325 7 a331 3 156 COMPAT_43 { int netbsd32_ogetdirentries(int fd, netbsd32_charp buf, u_int count, netbsd32_longp basep); } 157 COMPAT_20 { int netbsd32_statfs(netbsd32_charp path, netbsd32_statfsp_t buf); } 158 COMPAT_20 { int netbsd32_fstatfs(int fd, netbsd32_statfsp_t buf); } d334 6 a339 3 161 COMPAT_30 { int netbsd32_getfh(netbsd32_charp fname, netbsd32_compat_30_fhandlep_t fhp); } 162 COMPAT_09 { int netbsd32_ogetdomainname(netbsd32_charp domainname, int len); } 163 COMPAT_09 { int netbsd32_osetdomainname(netbsd32_charp domainname, int len); } d345 3 a347 2 #if defined(SYSVSEM) || !defined(_KERNEL) 169 COMPAT_10 { int netbsd32_sys_semsys(int which, int a2, int a3, int a4, int a5); } osemsys d349 1 a349 1 169 EXCL netbsd32_sys_semsys d351 3 a353 2 #if defined(SYSVMSG) || !defined(_KERNEL) 170 COMPAT_10 { int netbsd32_sys_msgsys(int which, int a2, int a3, int a4, int a5, int a6); } omsgsys d355 1 a355 1 170 EXCL netbsd32_sys_msgsys d357 3 a359 2 #if defined(SYSVSHM) || !defined(_KERNEL) 171 COMPAT_10 { int netbsd32_sys_shmsys(int which, int a2, int a3, int a4); } oshmsys d361 1 a361 1 171 EXCL netbsd32_sys_shmsys d364 8 a371 3 173 STD { netbsd32_ssize_t netbsd32_pread(int fd, netbsd32_voidp buf, netbsd32_size_t nbyte, int pad, off_t offset); } 174 STD { netbsd32_ssize_t netbsd32_pwrite(int fd, netbsd32_voidp buf, netbsd32_size_t nbyte, int pad, off_t offset); } 175 COMPAT_30 { int netbsd32_ntp_gettime(netbsd32_ntptimevalp_t ntvp); } d382 14 a395 10 #if defined(LFS) || !defined(_KERNEL) 184 STD { int netbsd32_sys_lfs_bmapv(netbsd32_fsid_tp_t fsidp, netbsd32_block_infop_t blkiov, int blkcnt); } 185 STD { int netbsd32_sys_lfs_markv(netbsd32_fsid_tp_t fsidp, netbsd32_block_infop_t blkiov, int blkcnt); } 186 STD { int netbsd32_sys_lfs_segclean(netbsd32_fsid_tp_t fsidp, netbsd32_u_long segment); } 187 STD { int netbsd32_sys_lfs_segwait(netbsd32_fsid_tp_t fsidp, netbsd32_timevalp_t tv); } #else 184 EXCL netbsd32_sys_lfs_bmapv 185 EXCL netbsd32_sys_lfs_markv 186 EXCL netbsd32_sys_lfs_segclean 187 EXCL netbsd32_sys_lfs_segwait d397 2 a398 1 188 COMPAT_12 { int netbsd32_stat12(netbsd32_charp path, netbsd32_stat12p_t ub); } d400 4 a403 2 190 COMPAT_12 { int netbsd32_lstat12(netbsd32_charp path, netbsd32_stat12p_t ub); } 191 STD { netbsd32_long netbsd32_pathconf(netbsd32_charp path, int name); } d406 11 a416 5 194 STD { int netbsd32_getrlimit(int which, netbsd32_rlimitp_t rlp); } 195 STD { int netbsd32_setrlimit(int which, netbsd32_rlimitp_t rlp); } 196 COMPAT_12 { int netbsd32_getdirentries(int fd, netbsd32_charp buf, u_int count, netbsd32_longp basep); } 197 STD { netbsd32_voidp netbsd32_mmap(netbsd32_voidp addr, netbsd32_size_t len, int prot, int flags, int fd, netbsd32_long pad, off_t pos); } 198 INDIR { quad_t netbsd32_sys___syscall(quad_t code, \ d418 14 a431 6 199 STD { off_t netbsd32_lseek(int fd, int pad, off_t offset, int whence); } 200 STD { int netbsd32_truncate(netbsd32_charp path, int pad, off_t length); } 201 STD { int netbsd32_ftruncate(int fd, int pad, off_t length); } 202 STD { int netbsd32___sysctl(netbsd32_intp name, u_int namelen, netbsd32_voidp old, netbsd32_size_tp oldlenp, netbsd32_voidp new, netbsd32_size_t newlen); } 203 STD { int netbsd32_mlock(netbsd32_voidp addr, netbsd32_size_t len); } 204 STD { int netbsd32_munlock(netbsd32_voidp addr, netbsd32_size_t len); } d433 2 a434 1 206 STD { int netbsd32_futimes(int fd, netbsd32_timevalp_t tptr); } d436 4 a439 2 208 STD { int netbsd32_reboot(int opt, netbsd32_charp bootstr); } 209 STD { int netbsd32_poll(netbsd32_pollfdp_t fds, u_int nfds, int timeout); } d451 7 a457 4 #if defined(SYSVSEM) || !defined(_KERNEL) 220 COMPAT_14 { int netbsd32___semctl(int semid, int semnum, int cmd, netbsd32_semunu_t arg); } 221 STD { int netbsd32_semget(netbsd32_key_t key, int nsems, int semflg); } 222 STD { int netbsd32_semop(int semid, netbsd32_sembufp_t sops, netbsd32_size_t nsops); } d465 3 a467 2 #if defined(SYSVMSG) || !defined(_KERNEL) 224 COMPAT_14 { int netbsd32_msgctl(int msqid, int cmd, netbsd32_msqid_dsp_t buf); } d469 5 a473 2 226 STD { int netbsd32_msgsnd(int msqid, netbsd32_voidp msgp, netbsd32_size_t msgsz, int msgflg); } 227 STD { netbsd32_ssize_t netbsd32_msgrcv(int msqid, netbsd32_voidp msgp, netbsd32_size_t msgsz, netbsd32_long msgtyp, int msgflg); } d480 5 a484 3 #if defined(SYSVSHM) || !defined(_KERNEL) 228 STD { netbsd32_voidp netbsd32_shmat(int shmid, netbsd32_voidp shmaddr, int shmflg); } 229 COMPAT_14 { int netbsd32_shmctl(int shmid, int cmd, netbsd32_shmid_dsp_t buf); } d486 2 a487 1 231 STD { int netbsd32_shmget(netbsd32_key_t key, netbsd32_size_t size, int shmflg); } d494 12 a505 4 232 STD { int netbsd32_clock_gettime(netbsd32_clockid_t clock_id, netbsd32_timespecp_t tp); } 233 STD { int netbsd32_clock_settime(netbsd32_clockid_t clock_id, netbsd32_timespecp_t tp); } 234 STD { int netbsd32_clock_getres(netbsd32_clockid_t clock_id, netbsd32_timespecp_t tp); } 235 STD { int netbsd32_timer_create(netbsd32_clockid_t clock_id, netbsd32_sigeventp_t evp, \ d508 8 a515 5 237 STD { int netbsd32_timer_settime(netbsd32_timer_t timerid, int flags, \ netbsd32_itimerspecp_t value, \ netbsd32_itimerspecp_t ovalue); } 238 STD { int netbsd32_timer_gettime(netbsd32_timer_t timerid, netbsd32_itimerspecp_t value); } 239 STD { int netbsd32_timer_getoverrun(netbsd32_timer_t timerid); } d519 2 a520 1 240 STD { int netbsd32_nanosleep(netbsd32_timespecp_t rqtp, netbsd32_timespecp_t rmtp); } d524 1 a524 1 244 STD { int netbsd32___sigtimedwait(netbsd32_sigsetp_t set, \ d526 1 a526 1 netbsd32_timespecp_t timeout); } d529 6 a534 4 #if defined(P1003_1B_SEMAPHORE) || (!defined(_KERNEL) && defined(_LIBC)) 247 STD { int netbsd32__ksem_init(unsigned int value, netbsd32_semidp_t idp); } 248 STD { int netbsd32__ksem_open(netbsd32_charp name, int oflag, \ mode_t mode, unsigned int value, netbsd32_semidp_t idp); } d569 25 a593 12 270 STD { int netbsd32___posix_rename(netbsd32_charp from, netbsd32_charp to); } 271 STD { int netbsd32_swapctl(int cmd, netbsd32_voidp arg, int misc); } 272 COMPAT_30 { int netbsd32_getdents(int fd, netbsd32_charp buf, netbsd32_size_t count); } 273 STD { int netbsd32_minherit(netbsd32_voidp addr, netbsd32_size_t len, int inherit); } 274 STD { int netbsd32_lchmod(netbsd32_charp path, mode_t mode); } 275 STD { int netbsd32_lchown(netbsd32_charp path, uid_t uid, gid_t gid); } 276 STD { int netbsd32_lutimes(netbsd32_charp path, netbsd32_timevalp_t tptr); } 277 STD { int netbsd32___msync13(netbsd32_voidp addr, netbsd32_size_t len, int flags); } 278 COMPAT_30 { int netbsd32___stat13(netbsd32_charp path, netbsd32_stat13p_t ub); } 279 COMPAT_30 { int netbsd32___fstat13(int fd, netbsd32_stat13p_t sb); } 280 COMPAT_30 { int netbsd32___lstat13(netbsd32_charp path, netbsd32_stat13p_t ub); } 281 STD { int netbsd32___sigaltstack14(netbsd32_sigaltstackp_t nss, netbsd32_sigaltstackp_t oss); } d595 6 a600 3 283 STD { int netbsd32___posix_chown(netbsd32_charp path, uid_t uid, gid_t gid); } 284 STD { int netbsd32___posix_fchown(int fd, uid_t uid, gid_t gid); } 285 STD { int netbsd32___posix_lchown(netbsd32_charp path, uid_t uid, gid_t gid); } d602 10 a611 4 287 STD { int netbsd32___clone(int flags, netbsd32_voidp stack); } 288 STD { int netbsd32_fktrace(int fd, int ops, int facs, int pid); } 289 STD { netbsd32_ssize_t netbsd32_preadv(int fd, netbsd32_iovecp_t iovp, int iovcnt, int pad, off_t offset); } 290 STD { netbsd32_ssize_t netbsd32_pwritev(int fd, netbsd32_iovecp_t iovp, int iovcnt, int pad, off_t offset); } d620 4 a623 2 295 COMPAT_16 { int netbsd32___sigreturn14(netbsd32_sigcontextp_t sigcntxp); } 296 STD { int netbsd32___getcwd(netbsd32_charp bufp, netbsd32_size_t length); } d630 4 a633 4 netbsd32_statp_t buf); } #if defined(SYSVSEM) || !defined(_KERNEL) 301 STD { int netbsd32___semctl14(int semid, int semnum, int cmd, \ ... netbsd32_semunp_t arg); } d637 3 a639 3 #if defined(SYSVMSG) || !defined(_KERNEL) 302 STD { int netbsd32___msgctl13(int msqid, int cmd, \ netbsd32_msqid_dsp_t buf); } d643 3 a645 3 #if defined(SYSVSHM) || !defined(_KERNEL) 303 STD { int netbsd32___shmctl13(int shmid, int cmd, \ netbsd32_shmid_dsp_t buf); } d649 2 a650 1 304 STD { int netbsd32_lchflags(netbsd32_charp path, netbsd32_u_long flags); } d652 2 a653 2 306 STD { int netbsd32_utrace(netbsd32_charp label, netbsd32_voidp addr, \ netbsd32_size_t len); } d666 1 a666 1 316 NOARGS { void *sys__lwp_getprivate(void); } d670 8 a677 6 320 STD { int netbsd32__lwp_park(netbsd32_timespecp_t ts, \ lwpid_t unpark, netbsd32_voidp hint, \ netbsd32_voidp unparkhint); } 321 STD { int netbsd32__lwp_unpark(lwpid_t target, netbsd32_voidp hint); } 322 STD { netbsd32_size_t netbsd32__lwp_unpark_all(netbsd32_lwpidp targets, \ netbsd32_size_t ntargets, netbsd32_voidp hint); } d691 2 a692 1 331 STD { int netbsd32_sa_stacks(int num, netbsd32_stackp_t stacks); } d707 2 a708 2 343 STD { int netbsd32_rasctl(netbsd32_caddr_t addr, netbsd32_size_t len, \ int op); } d710 6 a715 4 345 STD { int netbsd32_kevent(int fd, \ netbsd32_keventp_t changelist, netbsd32_size_t nchanges, \ netbsd32_keventp_t eventlist, netbsd32_size_t nevents, \ netbsd32_timespecp_t timeout); } d720 8 a727 5 netbsd32_intp policy, netbsd32_sched_paramp_t params); } 348 STD { int netbsd32__sched_setaffinity(pid_t pid, lwpid_t lid, \ netbsd32_size_t size, const netbsd32_cpusetp_t cpuset); } 349 STD { int netbsd32__sched_getaffinity(pid_t pid, lwpid_t lid, \ netbsd32_size_t size, netbsd32_cpusetp_t cpuset); } d732 4 a735 3 354 STD { int netbsd32_fsync_range(int fd, int flags, off_t start, \ off_t length); } 355 STD { int netbsd32_uuidgen(netbsd32_uuidp_t store, int count); } d740 2 a741 2 358 STD { int netbsd32_fstatvfs1(int fd, netbsd32_statvfsp_t buf, \ int flags); } d745 2 a746 2 int cmd, netbsd32_charp filename, int attrnamespace, \ netbsd32_charp attrname); } d753 3 a755 2 363 STD { int netbsd32_extattr_delete_file(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname); } d770 3 a772 2 369 STD { int netbsd32_extattr_delete_link(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname); } d782 1 a782 1 373 STD { int netbsd32_pselect(int nd, netbsd32_fd_setp_t in, \ d784 5 a788 3 netbsd32_timespecp_t ts, netbsd32_sigsetp_t mask); } 374 STD { int netbsd32_pollts(netbsd32_pollfdp_t fds, u_int nfds, \ netbsd32_timespecp_t ts, netbsd32_sigsetp_t mask); } d819 7 a825 7 387 STD { int netbsd32_sys___stat30(netbsd32_charp path, \ netbsd32_statp_t ub); } 388 STD { int netbsd32_sys___fstat30(int fd, \ netbsd32_statp_t sb); } 389 STD { int netbsd32_sys___lstat30( \ netbsd32_charp path, netbsd32_statp_t ub); } 390 STD { int netbsd32_sys___getdents30(int fd, \ d828 1 a828 1 392 COMPAT_30 { int netbsd32_sys___fhstat30( \ d830 7 a836 4 netbsd32_statp_t sb); } 393 STD { int netbsd32_ntp_gettime(netbsd32_ntptimevalp_t ntvp); } 394 STD { int netbsd32_sys___socket30(int domain, int type, int protocol); } 395 STD { int netbsd32___getfh30(netbsd32_charp fname, netbsd32_pointer_t fhp, netbsd32_size_tp fh_size); } d842 1 a842 1 398 STD { int netbsd32___fhstat40( \ d844 1 a844 1 netbsd32_statp_t sb); } d847 12 a858 10 399 UNIMPL { int sys_aio_cancel(int fildes, struct aiocb *aiocbp); } 400 UNIMPL { int sys_aio_error(const struct aiocb *aiocbp); } 401 UNIMPL { int sys_aio_fsync(int op, struct aiocb *aiocbp); } 402 UNIMPL { int sys_aio_read(struct aiocb *aiocbp); } 403 UNIMPL { int sys_aio_return(struct aiocb *aiocbp); } 404 UNIMPL { int sys_aio_suspend(const struct aiocb *const *list, \ int nent, const struct timespec *timeout); } 405 UNIMPL { int sys_aio_write(struct aiocb *aiocbp); } 406 UNIMPL { int sys_lio_listio(int mode, struct aiocb *const *list, \ int nent, struct sigevent *sig); } d864 3 a866 3 410 UNIMPL { int sys___mount50(const char *type, \ const char *path, int flags, void *data, \ size_t data_len); } d880 116 @ 1.74.4.1 log @file syscalls.master was added on branch christos-time_t on 2009-01-04 01:56:02 +0000 @ text @d1 679 @ 1.74.4.2 log @add new syscalls. @ text @a0 995 $NetBSD: syscalls.master,v 1.74.4.1 2009/01/04 01:56:02 christos Exp $ ; from: NetBSD: syscalls.master,v 1.81 1998/07/05 08:49:50 jonathan Exp ; @@(#)syscalls.master 8.2 (Berkeley) 1/13/94 ; NetBSD 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, IGNORED, NODEF, NOARGS, or one of ; the compatibility options defined in syscalls.conf. ; ; types: ; STD always included ; OBSOL obsolete, not included in system ; IGNORED syscall is a null op, but always succeeds ; UNIMPL unimplemented, not included in system ; EXCL implemented, but 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_ntp.h" #include "opt_sysv.h" #include "opt_compat_43.h" #include "opt_posix.h" #include "fs_lfs.h" #include "fs_nfs.h" #endif #include #include #include #include #include #include #include %% ; Reserved/unimplemented system calls in the range 0-150 inclusive ; are reserved for use in future Berkeley releases. ; Additional system calls implemented in vendor and other ; redistributions should be placed in the reserved range at the end ; of the current calls. 0 INDIR { int netbsd32_syscall(int code, \ ... register32_t args[NETBSD32_SYS_MAXSYSARGS]); } 1 STD { void netbsd32_exit(int rval); } 2 NOARGS { int sys_fork(void); } 3 STD { netbsd32_ssize_t netbsd32_read(int fd, \ netbsd32_voidp buf, netbsd32_size_t nbyte); } 4 STD { netbsd32_ssize_t netbsd32_write(int fd, \ netbsd32_voidp buf, netbsd32_size_t nbyte); } 5 STD { int netbsd32_open(netbsd32_charp path, int flags, \ ... mode_t mode); } 6 STD { int netbsd32_close(int fd); } 7 COMPAT_50 { int netbsd32_wait4(int pid, netbsd32_intp status, \ int options, netbsd32_rusage50p_t rusage); } 8 COMPAT_43 { int netbsd32_ocreat(netbsd32_charp path, \ mode_t mode); } 9 STD { int netbsd32_link(netbsd32_charp path, \ netbsd32_charp link); } 10 STD { int netbsd32_unlink(netbsd32_charp path); } 11 OBSOL execv 12 STD { int netbsd32_chdir(netbsd32_charp path); } 13 STD { int netbsd32_fchdir(int fd); } 14 COMPAT_50 { int netbsd32_mknod(netbsd32_charp path, mode_t mode, \ uint32_t dev); } 15 STD { int netbsd32_chmod(netbsd32_charp path, mode_t mode); } 16 STD { int netbsd32_chown(netbsd32_charp path, uid_t uid, \ gid_t gid); } 17 STD { int netbsd32_break(netbsd32_charp nsize); } 18 COMPAT_20 { int netbsd32_getfsstat(netbsd32_statfsp_t buf, \ netbsd32_long bufsize, int flags); } 19 COMPAT_43 { netbsd32_long netbsd32_olseek(int fd, \ netbsd32_long offset, int whence); } 20 NOARGS { pid_t sys_getpid(void); } 21 STD { int netbsd32_mount(netbsd32_charp type, \ netbsd32_charp path, int flags, \ netbsd32_voidp data); } 22 STD { int netbsd32_unmount(netbsd32_charp path, \ int flags); } 23 STD { int netbsd32_setuid(uid_t uid); } 24 NOARGS { uid_t sys_getuid(void); } 25 NOARGS { uid_t sys_geteuid(void); } 26 STD { int netbsd32_ptrace(int req, pid_t pid, \ netbsd32_voidp addr, int data); } 27 STD { netbsd32_ssize_t netbsd32_recvmsg(int s, \ netbsd32_msghdrp_t msg, int flags); } 28 STD { netbsd32_ssize_t netbsd32_sendmsg(int s, \ netbsd32_msghdrp_t msg, int flags); } 29 STD { netbsd32_ssize_t netbsd32_recvfrom(int s, \ netbsd32_voidp buf, netbsd32_size_t len, \ int flags, netbsd32_sockaddrp_t from, \ netbsd32_intp fromlenaddr); } 30 STD { int netbsd32_accept(int s, \ netbsd32_sockaddrp_t name, \ netbsd32_intp anamelen); } 31 STD { int netbsd32_getpeername(int fdes, \ netbsd32_sockaddrp_t asa, netbsd32_intp alen); } 32 STD { int netbsd32_getsockname(int fdes, \ netbsd32_sockaddrp_t asa, netbsd32_intp alen); } 33 STD { int netbsd32_access(netbsd32_charp path, int flags); } 34 STD { int netbsd32_chflags(netbsd32_charp path, \ netbsd32_u_long flags); } 35 STD { int netbsd32_fchflags(int fd, \ netbsd32_u_long flags); } 36 NOARGS { void sys_sync(void); } 37 STD { int netbsd32_kill(int pid, int signum); } 38 COMPAT_43 { int netbsd32_stat43(netbsd32_charp path, \ netbsd32_stat43p_t ub); } 39 NOARGS { pid_t sys_getppid(void); } 40 COMPAT_43 { int netbsd32_lstat43(netbsd32_charp path, \ netbsd32_stat43p_t ub); } 41 STD { int netbsd32_dup(int fd); } 42 NOARGS { int sys_pipe(void); } 43 NOARGS { gid_t sys_getegid(void); } 44 STD { int netbsd32_profil(netbsd32_voidp samples, \ netbsd32_size_t size, netbsd32_u_long offset, \ u_int scale); } 45 STD { int netbsd32_ktrace(netbsd32_charp fname, int ops, \ int facs, int pid); } 46 STD { int netbsd32_sigaction(int signum, \ netbsd32_sigactionp_t nsa, \ netbsd32_sigactionp_t osa); } 47 NOARGS { gid_t sys_getgid(void); } 48 COMPAT_13 { int netbsd32_sigprocmask(int how, \ int mask); } sigprocmask13 49 STD { int netbsd32___getlogin(netbsd32_charp namebuf, \ u_int namelen); } 50 STD { int netbsd32_setlogin(netbsd32_charp namebuf); } 51 STD { int netbsd32_acct(netbsd32_charp path); } 52 COMPAT_13 { int sys_sigpending(void); } sigpending13 53 COMPAT_13 { int netbsd32_sigaltstack13( \ netbsd32_sigaltstack13p_t nss, \ netbsd32_sigaltstack13p_t oss); } 54 STD { int netbsd32_ioctl(int fd, netbsd32_u_long com, \ ... netbsd32_voidp data); } 55 COMPAT_12 { int netbsd32_reboot(int opt); } 56 STD { int netbsd32_revoke(netbsd32_charp path); } 57 STD { int netbsd32_symlink(netbsd32_charp path, \ netbsd32_charp link); } 58 STD { int netbsd32_readlink(netbsd32_charp path, \ netbsd32_charp buf, netbsd32_size_t count); } 59 STD { int netbsd32_execve(netbsd32_charp path, \ netbsd32_charpp argp, netbsd32_charpp envp); } 60 STD { mode_t netbsd32_umask(mode_t newmask); } 61 STD { int netbsd32_chroot(netbsd32_charp path); } 62 COMPAT_43 { int netbsd32_fstat43(int fd, netbsd32_stat43p_t sb); } 63 COMPAT_43 { int netbsd32_ogetkerninfo(int op, \ netbsd32_charp where, netbsd32_intp size, \ int arg); } 64 COMPAT_43 { int sys_getpagesize(void); } ogetpagesize 65 COMPAT_12 { int netbsd32_msync(netbsd32_voidp addr, \ netbsd32_size_t len); } ; XXX COMPAT_??? for 4.4BSD-compatible vfork(2)? 66 NOARGS { int sys_vfork(void); } 67 OBSOL vread 68 OBSOL vwrite 69 STD { int netbsd32_sbrk(netbsd32_intptr_t incr); } 70 STD { int netbsd32_sstk(int incr); } 71 COMPAT_43 { int netbsd32_ommap(netbsd32_voidp addr, \ netbsd32_size_t len, int prot, int flags, int fd, \ netbsd32_long pos); } 72 STD { int netbsd32_ovadvise(int anom); } vadvise 73 STD { int netbsd32_munmap(netbsd32_voidp addr, \ netbsd32_size_t len); } 74 STD { int netbsd32_mprotect(netbsd32_voidp addr, \ netbsd32_size_t len, int prot); } 75 STD { int netbsd32_madvise(netbsd32_voidp addr, \ netbsd32_size_t len, int behav); } 76 OBSOL vhangup 77 OBSOL vlimit 78 STD { int netbsd32_mincore(netbsd32_voidp addr, \ netbsd32_size_t len, netbsd32_charp vec); } 79 STD { int netbsd32_getgroups(int gidsetsize, \ netbsd32_gid_tp gidset); } 80 STD { int netbsd32_setgroups(int gidsetsize, \ netbsd32_gid_tp gidset); } 81 NOARGS { int sys_getpgrp(void); } 82 STD { int netbsd32_setpgid(int pid, int pgid); } 83 COMPAT_50 { int netbsd32_setitimer(int which, \ netbsd32_itimerval50p_t itv, \ netbsd32_itimerval50p_t oitv); } 84 COMPAT_43 { int sys_wait(void); } owait 85 COMPAT_12 { int netbsd32_oswapon(netbsd32_charp name); } 86 COMPAT_50 { int netbsd32_getitimer(int which, \ netbsd32_itimerval50p_t itv); } 87 COMPAT_43 { int netbsd32_ogethostname(netbsd32_charp hostname, \ u_int len); } 88 COMPAT_43 { int netbsd32_osethostname(netbsd32_charp hostname, \ u_int len); } 89 COMPAT_43 { int sys_getdtablesize(void); } ogetdtablesize 90 STD { int netbsd32_dup2(int from, int to); } 91 UNIMPL getdopt 92 STD { int netbsd32_fcntl(int fd, int cmd, \ ... netbsd32_voidp arg); } 93 COMPAT_50 { int netbsd32_select(int nd, netbsd32_fd_setp_t in, \ netbsd32_fd_setp_t ou, netbsd32_fd_setp_t ex, \ netbsd32_timeval50p_t tv); } 94 UNIMPL setdopt 95 STD { int netbsd32_fsync(int fd); } 96 STD { int netbsd32_setpriority(int which, int who, \ int prio); } 97 COMPAT_30 { int netbsd32_socket(int domain, int type, \ int protocol); } 98 STD { int netbsd32_connect(int s, \ netbsd32_sockaddrp_t name, int namelen); } 99 COMPAT_43 { int netbsd32_oaccept(int s, netbsd32_voidp name, \ netbsd32_intp anamelen); } 100 STD { int netbsd32_getpriority(int which, int who); } 101 COMPAT_43 { int netbsd32_osend(int s, netbsd32_voidp buf, \ int len, int flags); } 102 COMPAT_43 { int netbsd32_orecv(int s, netbsd32_voidp buf, \ int len, int flags); } 103 COMPAT_13 { int netbsd32_sigreturn( \ netbsd32_sigcontextp_t sigcntxp); } sigreturn13 104 STD { int netbsd32_bind(int s, netbsd32_sockaddrp_t name, \ int namelen); } 105 STD { int netbsd32_setsockopt(int s, int level, int name, \ netbsd32_voidp val, int valsize); } 106 STD { int netbsd32_listen(int s, int backlog); } 107 OBSOL vtimes 108 COMPAT_43 { int netbsd32_osigvec(int signum, \ netbsd32_sigvecp_t nsv, netbsd32_sigvecp_t osv); } 109 COMPAT_43 { int netbsd32_sigblock(int mask); } 110 COMPAT_43 { int netbsd32_sigsetmask(int mask); } 111 COMPAT_13 { int netbsd32_sigsuspend(int mask); } sigsuspend13 112 COMPAT_43 { int netbsd32_osigstack(netbsd32_sigstackp_t nss, \ netbsd32_sigstackp_t oss); } 113 COMPAT_43 { int netbsd32_orecvmsg(int s, \ netbsd32_omsghdrp_t msg, int flags); } 114 COMPAT_43 { int netbsd32_osendmsg(int s, netbsd32_voidp msg, \ int flags); } 115 OBSOL vtrace 116 COMPAT_50 { int netbsd32_gettimeofday(netbsd32_timeval50p_t tp, \ netbsd32_timezonep_t tzp); } 117 COMPAT_50 { int netbsd32_getrusage(int who, \ netbsd32_rusage50p_t rusage); } 118 STD { int netbsd32_getsockopt(int s, int level, int name, \ netbsd32_voidp val, netbsd32_intp avalsize); } 119 OBSOL resuba 120 STD { netbsd32_ssize_t netbsd32_readv(int fd, \ netbsd32_iovecp_t iovp, int iovcnt); } 121 STD { netbsd32_ssize_t netbsd32_writev(int fd, \ netbsd32_iovecp_t iovp, int iovcnt); } 122 COMPAT_50 { int netbsd32_settimeofday(netbsd32_timeval50p_t tv, \ netbsd32_timezonep_t tzp); } 123 STD { int netbsd32_fchown(int fd, uid_t uid, gid_t gid); } 124 STD { int netbsd32_fchmod(int fd, mode_t mode); } 125 COMPAT_43 { int netbsd32_orecvfrom(int s, netbsd32_voidp buf, \ netbsd32_size_t len, int flags, \ netbsd32_voidp from, netbsd32_intp fromlenaddr); } 126 STD { int netbsd32_setreuid(uid_t ruid, uid_t euid); } 127 STD { int netbsd32_setregid(gid_t rgid, gid_t egid); } 128 STD { int netbsd32_rename(netbsd32_charp from, \ netbsd32_charp to); } 129 COMPAT_43 { int netbsd32_otruncate(netbsd32_charp path, \ netbsd32_long length); } 130 COMPAT_43 { int netbsd32_oftruncate(int fd, \ netbsd32_long length); } 131 STD { int netbsd32_flock(int fd, int how); } 132 STD { int netbsd32_mkfifo(netbsd32_charp path, \ mode_t mode); } 133 STD { netbsd32_ssize_t netbsd32_sendto(int s, \ netbsd32_voidp buf, netbsd32_size_t len, \ int flags, netbsd32_sockaddrp_t to, int tolen); } 134 STD { int netbsd32_shutdown(int s, int how); } 135 STD { int netbsd32_socketpair(int domain, int type, \ int protocol, netbsd32_intp rsv); } 136 STD { int netbsd32_mkdir(netbsd32_charp path, \ mode_t mode); } 137 STD { int netbsd32_rmdir(netbsd32_charp path); } 138 COMPAT_50 { int netbsd32_utimes(netbsd32_charp path, \ netbsd32_timeval50p_t tptr); } 139 OBSOL 4.2 sigreturn 140 COMPAT_50 { int netbsd32_adjtime(netbsd32_timeval50p_t delta, \ netbsd32_timeval50p_t olddelta); } 141 COMPAT_43 { int netbsd32_ogetpeername(int fdes, \ netbsd32_voidp asa, netbsd32_intp alen); } 142 COMPAT_43 { int32_t sys_gethostid(void); } ogethostid 143 COMPAT_43 { int netbsd32_sethostid(int32_t hostid); } 144 COMPAT_43 { int netbsd32_ogetrlimit(int which, \ netbsd32_orlimitp_t rlp); } 145 COMPAT_43 { int netbsd32_osetrlimit(int which, \ netbsd32_orlimitp_t rlp); } 146 COMPAT_43 { int netbsd32_killpg(int pgid, int signum); } 147 NOARGS { int sys_setsid(void); } 148 STD { int netbsd32_quotactl(netbsd32_charp path, int cmd, \ int uid, netbsd32_voidp arg); } 149 COMPAT_43 { int sys_quota(void); } oquota 150 COMPAT_43 { int netbsd32_ogetsockname(int fdec, \ netbsd32_voidp asa, netbsd32_intp alen); } ; Syscalls 151-180 inclusive are reserved for vendor-specific ; system calls. (This includes various calls added for compatibity ; with other Unix variants.) ; Some of these calls are now supported by BSD... 151 UNIMPL 152 UNIMPL 153 UNIMPL 154 UNIMPL 155 STD { int netbsd32_nfssvc(int flag, netbsd32_voidp argp); } 156 COMPAT_43 { int netbsd32_ogetdirentries(int fd, \ netbsd32_charp buf, u_int count, \ netbsd32_longp basep); } 157 COMPAT_20 { int netbsd32_statfs(netbsd32_charp path, \ netbsd32_statfsp_t buf); } 158 COMPAT_20 { int netbsd32_fstatfs(int fd, \ netbsd32_statfsp_t buf); } 159 UNIMPL 160 UNIMPL 161 COMPAT_30 { int netbsd32_getfh(netbsd32_charp fname, \ netbsd32_compat_30_fhandlep_t fhp); } 162 COMPAT_09 { int netbsd32_ogetdomainname( \ netbsd32_charp domainname, int len); } 163 COMPAT_09 { int netbsd32_osetdomainname( \ netbsd32_charp domainname, int len); } 164 COMPAT_09 { int netbsd32_uname(netbsd32_outsnamep_t name); } 165 STD { int netbsd32_sysarch(int op, netbsd32_voidp parms); } 166 UNIMPL 167 UNIMPL 168 UNIMPL #if defined(SYSVSEM) || !defined(_KERNEL) 169 COMPAT_10 { int netbsd32_semsys(int which, int a2, int a3, \ int a4, int a5); } osemsys #else 169 EXCL netbsd32_semsys #endif #if defined(SYSVMSG) || !defined(_KERNEL) 170 COMPAT_10 { int netbsd32_msgsys(int which, int a2, int a3, \ int a4, int a5, int a6); } omsgsys #else 170 EXCL netbsd32_msgsys #endif #if defined(SYSVSHM) || !defined(_KERNEL) 171 COMPAT_10 { int netbsd32_shmsys(int which, int a2, int a3, \ int a4); } oshmsys #else 171 EXCL netbsd32_shmsys #endif 172 UNIMPL 173 STD { netbsd32_ssize_t netbsd32_pread(int fd, \ netbsd32_voidp buf, netbsd32_size_t nbyte, \ int pad, off_t offset); } 174 STD { netbsd32_ssize_t netbsd32_pwrite(int fd, \ netbsd32_voidp buf, netbsd32_size_t nbyte, \ int pad, off_t offset); } 175 COMPAT_30 { int netbsd32_ntp_gettime( \ netbsd32_ntptimeval50p_t ntvp); } 176 STD { int netbsd32_ntp_adjtime(netbsd32_timexp_t tp); } 177 UNIMPL 178 UNIMPL 179 UNIMPL 180 UNIMPL ; Syscalls 180-199 are used by/reserved for BSD 181 STD { int netbsd32_setgid(gid_t gid); } 182 STD { int netbsd32_setegid(gid_t egid); } 183 STD { int netbsd32_seteuid(uid_t euid); } #if defined(LFS) || !defined(_KERNEL) 184 STD { int netbsd32_lfs_bmapv(netbsd32_fsid_tp_t fsidp, \ netbsd32_block_infop_t blkiov, int blkcnt); } 185 STD { int netbsd32_lfs_markv(netbsd32_fsid_tp_t fsidp, \ netbsd32_block_infop_t blkiov, int blkcnt); } 186 STD { int netbsd32_lfs_segclean(netbsd32_fsid_tp_t fsidp, \ netbsd32_u_long segment); } 187 COMPAT_50 { int netbsd32_lfs_segwait(netbsd32_fsid_tp_t fsidp, \ netbsd32_timeval50p_t tv); } #else 184 EXCL netbsd32_lfs_bmapv 185 EXCL netbsd32_lfs_markv 186 EXCL netbsd32_lfs_segclean 187 EXCL netbsd32_lfs_segwait #endif 188 COMPAT_12 { int netbsd32_stat12(netbsd32_charp path, \ netbsd32_stat12p_t ub); } 189 COMPAT_12 { int netbsd32_fstat12(int fd, netbsd32_stat12p_t sb); } 190 COMPAT_12 { int netbsd32_lstat12(netbsd32_charp path, \ netbsd32_stat12p_t ub); } 191 STD { netbsd32_long netbsd32_pathconf(netbsd32_charp path, \ int name); } 192 STD { netbsd32_long netbsd32_fpathconf(int fd, int name); } 193 UNIMPL 194 STD { int netbsd32_getrlimit(int which, \ netbsd32_rlimitp_t rlp); } 195 STD { int netbsd32_setrlimit(int which, \ netbsd32_rlimitp_t rlp); } 196 COMPAT_12 { int netbsd32_getdirentries(int fd, \ netbsd32_charp buf, u_int count, \ netbsd32_longp basep); } 197 STD { netbsd32_voidp netbsd32_mmap(netbsd32_voidp addr, \ netbsd32_size_t len, int prot, int flags, int fd, \ netbsd32_long pad, off_t pos); } 198 INDIR { quad_t netbsd32____syscall(quad_t code, \ ... register32_t args[NETBSD32_SYS_MAXSYSARGS]); } 199 STD { off_t netbsd32_lseek(int fd, int pad, off_t offset, \ int whence); } 200 STD { int netbsd32_truncate(netbsd32_charp path, int pad, \ off_t length); } 201 STD { int netbsd32_ftruncate(int fd, int pad, \ off_t length); } 202 STD { int netbsd32___sysctl(netbsd32_intp name, \ u_int namelen, netbsd32_voidp old, \ netbsd32_size_tp oldlenp, netbsd32_voidp new, \ netbsd32_size_t newlen); } 203 STD { int netbsd32_mlock(netbsd32_voidp addr, \ netbsd32_size_t len); } 204 STD { int netbsd32_munlock(netbsd32_voidp addr, \ netbsd32_size_t len); } 205 STD { int netbsd32_undelete(netbsd32_charp path); } 206 COMPAT_50 { int netbsd32_futimes(int fd, \ netbsd32_timeval50p_t tptr); } 207 STD { int netbsd32_getpgid(pid_t pid); } 208 STD { int netbsd32_reboot(int opt, \ netbsd32_charp bootstr); } 209 STD { int netbsd32_poll(netbsd32_pollfdp_t fds, \ u_int nfds, int timeout); } 210 UNIMPL 211 UNIMPL 212 UNIMPL 213 UNIMPL 214 UNIMPL 215 UNIMPL 216 UNIMPL 217 UNIMPL 218 UNIMPL 219 UNIMPL ; System calls 220-300 are reserved for use by NetBSD #if defined(SYSVSEM) || !defined(_KERNEL) 220 COMPAT_14 { int netbsd32___semctl(int semid, int semnum, \ int cmd, netbsd32_semunu_t arg); } 221 STD { int netbsd32_semget(netbsd32_key_t key, int nsems, \ int semflg); } 222 STD { int netbsd32_semop(int semid, \ netbsd32_sembufp_t sops, netbsd32_size_t nsops); } 223 STD { int netbsd32_semconfig(int flag); } #else 220 EXCL compat_14_netbsd32_semctl 221 EXCL netbsd32_semget 222 EXCL netbsd32_semop 223 EXCL netbsd32_semconfig #endif #if defined(SYSVMSG) || !defined(_KERNEL) 224 COMPAT_14 { int netbsd32_msgctl(int msqid, int cmd, \ netbsd32_msqid_ds14p_t buf); } 225 STD { int netbsd32_msgget(netbsd32_key_t key, int msgflg); } 226 STD { int netbsd32_msgsnd(int msqid, netbsd32_voidp msgp, \ netbsd32_size_t msgsz, int msgflg); } 227 STD { netbsd32_ssize_t netbsd32_msgrcv(int msqid, \ netbsd32_voidp msgp, netbsd32_size_t msgsz, \ netbsd32_long msgtyp, int msgflg); } #else 224 EXCL compat_14_netbsd32_msgctl 225 EXCL netbsd32_msgget 226 EXCL netbsd32_msgsnd 227 EXCL netbsd32_msgrcv #endif #if defined(SYSVSHM) || !defined(_KERNEL) 228 STD { netbsd32_voidp netbsd32_shmat(int shmid, \ netbsd32_voidp shmaddr, int shmflg); } 229 COMPAT_14 { int netbsd32_shmctl(int shmid, int cmd, \ netbsd32_shmid_dsp_t buf); } 230 STD { int netbsd32_shmdt(netbsd32_voidp shmaddr); } 231 STD { int netbsd32_shmget(netbsd32_key_t key, \ netbsd32_size_t size, int shmflg); } #else 228 EXCL netbsd32_shmat 229 EXCL compat_14_netbsd32_shmctl 230 EXCL netbsd32_shmdt 231 EXCL netbsd32_shmget #endif 232 COMPAT_50 { int netbsd32_clock_gettime( \ netbsd32_clockid_t clock_id, \ netbsd32_timespec50p_t tp); } 233 COMPAT_50 { int netbsd32_clock_settime( \ netbsd32_clockid_t clock_id, \ netbsd32_timespec50p_t tp); } 234 COMPAT_50 { int netbsd32_clock_getres( \ netbsd32_clockid_t clock_id, \ netbsd32_timespec50p_t tp); } 235 STD { int netbsd32_timer_create( \ netbsd32_clockid_t clock_id, \ netbsd32_sigeventp_t evp, \ netbsd32_timerp_t timerid); } 236 STD { int netbsd32_timer_delete(netbsd32_timer_t timerid); } 237 COMPAT_50 { int netbsd32_timer_settime(netbsd32_timer_t timerid, \ int flags, \ netbsd32_itimerspec50p_t value, \ netbsd32_itimerspec50p_t ovalue); } 238 COMPAT_50 { int netbsd32_timer_gettime(netbsd32_timer_t timerid, \ netbsd32_itimerspec50p_t value); } 239 STD { int netbsd32_timer_getoverrun( \ netbsd32_timer_t timerid); } ; ; Syscalls 240-269 are reserved for other IEEE Std1003.1b syscalls ; 240 COMPAT_50 { int netbsd32_nanosleep(netbsd32_timespec50p_t rqtp, \ netbsd32_timespec50p_t rmtp); } 241 STD { int netbsd32_fdatasync(int fd); } 242 STD { int netbsd32_mlockall(int flags); } 243 NOARGS { int sys_munlockall(void); } 244 COMPAT_50 { int netbsd32___sigtimedwait(netbsd32_sigsetp_t set, \ netbsd32_siginfop_t info, \ netbsd32_timespec50p_t timeout); } 245 UNIMPL 246 UNIMPL #if defined(P1003_1B_SEMAPHORE) || (!defined(_KERNEL) && defined(_LIBC)) 247 STD { int netbsd32__ksem_init(unsigned int value, \ netbsd32_semidp_t idp); } 248 STD { int netbsd32__ksem_open(netbsd32_charp name, \ int oflag, mode_t mode, unsigned int value, \ netbsd32_semidp_t idp); } 249 STD { int netbsd32__ksem_unlink(netbsd32_charp name); } 250 STD { int netbsd32__ksem_close(netbsd32_intptr_t id); } 251 STD { int netbsd32__ksem_post(netbsd32_intptr_t id); } 252 STD { int netbsd32__ksem_wait(netbsd32_intptr_t id); } 253 STD { int netbsd32__ksem_trywait(netbsd32_intptr_t id); } 254 STD { int netbsd32__ksem_getvalue(netbsd32_intptr_t id, \ netbsd32_intp value); } 255 STD { int netbsd32__ksem_destroy(netbsd32_intptr_t id); } 256 UNIMPL sys__ksem_timedwait #else 247 EXCL sys__ksem_init 248 EXCL sys__ksem_open 249 EXCL sys__ksem_unlink 250 EXCL sys__ksem_close 251 EXCL sys__ksem_post 252 EXCL sys__ksem_wait 253 EXCL sys__ksem_trywait 254 EXCL sys__ksem_getvalue 255 EXCL sys__ksem_destroy 256 UNIMPL sys__ksem_timedwait #endif 257 UNIMPL 258 UNIMPL 259 UNIMPL 260 UNIMPL 261 UNIMPL 262 UNIMPL 263 UNIMPL 264 UNIMPL 265 UNIMPL 266 UNIMPL 267 UNIMPL 268 UNIMPL 269 UNIMPL 270 STD { int netbsd32___posix_rename(netbsd32_charp from, \ netbsd32_charp to); } 271 STD { int netbsd32_swapctl(int cmd, netbsd32_voidp arg, \ int misc); } 272 COMPAT_30 { int netbsd32_getdents(int fd, netbsd32_charp buf, \ netbsd32_size_t count); } 273 STD { int netbsd32_minherit(netbsd32_voidp addr, \ netbsd32_size_t len, int inherit); } 274 STD { int netbsd32_lchmod(netbsd32_charp path, \ mode_t mode); } 275 STD { int netbsd32_lchown(netbsd32_charp path, uid_t uid, \ gid_t gid); } 276 COMPAT_50 { int netbsd32_lutimes(netbsd32_charp path, \ netbsd32_timeval50p_t tptr); } 277 STD { int netbsd32___msync13(netbsd32_voidp addr, \ netbsd32_size_t len, int flags); } 278 COMPAT_30 { int netbsd32___stat13(netbsd32_charp path, \ netbsd32_stat13p_t ub); } 279 COMPAT_30 { int netbsd32___fstat13(int fd, \ netbsd32_stat13p_t sb); } 280 COMPAT_30 { int netbsd32___lstat13(netbsd32_charp path, \ netbsd32_stat13p_t ub); } 281 STD { int netbsd32___sigaltstack14(\ netbsd32_sigaltstackp_t nss, \ netbsd32_sigaltstackp_t oss); } 282 NOARGS { int sys___vfork14(void); } 283 STD { int netbsd32___posix_chown(netbsd32_charp path, \ uid_t uid, gid_t gid); } 284 STD { int netbsd32___posix_fchown(int fd, uid_t uid, \ gid_t gid); } 285 STD { int netbsd32___posix_lchown(netbsd32_charp path, \ uid_t uid, gid_t gid); } 286 STD { pid_t netbsd32_getsid(pid_t pid); } 287 STD { int netbsd32___clone(int flags, \ netbsd32_voidp stack); } 288 STD { int netbsd32_fktrace(int fd, int ops, int facs, \ int pid); } 289 STD { netbsd32_ssize_t netbsd32_preadv(int fd, \ netbsd32_iovecp_t iovp, int iovcnt, int pad, \ off_t offset); } 290 STD { netbsd32_ssize_t netbsd32_pwritev(int fd, \ netbsd32_iovecp_t iovp, int iovcnt, int pad, \ off_t offset); } 291 STD { int netbsd32___sigaction14(int signum, \ netbsd32_sigactionp_t nsa, \ netbsd32_sigactionp_t osa); } 292 STD { int netbsd32___sigpending14(netbsd32_sigsetp_t set); } 293 STD { int netbsd32___sigprocmask14(int how, \ netbsd32_sigsetp_t set, \ netbsd32_sigsetp_t oset); } 294 STD { int netbsd32___sigsuspend14(netbsd32_sigsetp_t set); } 295 COMPAT_16 { int netbsd32___sigreturn14( \ netbsd32_sigcontextp_t sigcntxp); } 296 STD { int netbsd32___getcwd(netbsd32_charp bufp, \ netbsd32_size_t length); } 297 STD { int netbsd32_fchroot(int fd); } 298 COMPAT_30 { int netbsd32_fhopen(netbsd32_fhandlep_t fhp, \ int flags); } 299 COMPAT_30 { int netbsd32_fhstat(netbsd32_fhandlep_t fhp, \ netbsd32_stat13p_t sb); } 300 COMPAT_20 { int netbsd32_fhstatfs(netbsd32_fhandlep_t fhp, \ netbsd32_stat50p_t buf); } #if defined(SYSVSEM) || !defined(_KERNEL) 301 COMPAT_50 { int netbsd32___semctl14(int semid, int semnum, \ int cmd, ... netbsd32_semun50p_t arg); } #else 301 EXCL __semctl14 #endif #if defined(SYSVMSG) || !defined(_KERNEL) 302 COMPAT_50 { int netbsd32___msgctl13(int msqid, int cmd, \ netbsd32_msqid_ds50p_t buf); } #else 302 EXCL __msgctl13 #endif #if defined(SYSVSHM) || !defined(_KERNEL) 303 COMPAT_50 { int netbsd32___shmctl13(int shmid, int cmd, \ netbsd32_shmid_ds50p_t buf); } #else 303 EXCL __shmctl13 #endif 304 STD { int netbsd32_lchflags(netbsd32_charp path, \ netbsd32_u_long flags); } 305 NOARGS { int sys_issetugid(void); } 306 STD { int netbsd32_utrace(netbsd32_charp label, \ netbsd32_voidp addr, netbsd32_size_t len); } 307 STD { int netbsd32_getcontext(netbsd32_ucontextp ucp); } 308 STD { int netbsd32_setcontext(netbsd32_ucontextp ucp, \ uint32_t flags, netbsd32_lwpidp new_lwp); } 309 STD { int netbsd32__lwp_create(netbsd32_ucontextp ucp, \ netbsd32_u_long flags, netbsd32_lwpidp new_lwp); } 310 NOARGS { int sys__lwp_exit(void); } 311 NOARGS { lwpid_t sys__lwp_self(void); } 312 STD { int netbsd32__lwp_wait(lwpid_t wait_for, \ netbsd32_lwpidp departed); } 313 STD { int netbsd32__lwp_suspend(lwpid_t target); } 314 STD { int netbsd32__lwp_continue(lwpid_t target); } 315 STD { int netbsd32__lwp_wakeup(lwpid_t target); } 316 NOARGS { netbsd32_voidp sys__lwp_getprivate(void); } 317 STD { void netbsd32__lwp_setprivate(netbsd32_voidp ptr); } 318 STD { int netbsd32__lwp_kill(lwpid_t target, int signo); } 319 STD { int netbsd32__lwp_detach(lwpid_t target); } 320 COMPAT_50 { int netbsd32__lwp_park(netbsd32_timespec50p_t ts, \ lwpid_t unpark, netbsd32_voidp hint, \ netbsd32_voidp unparkhint); } 321 STD { int netbsd32__lwp_unpark(lwpid_t target, \ netbsd32_voidp hint); } 322 STD { netbsd32_size_t netbsd32__lwp_unpark_all( \ netbsd32_lwpidp targets, netbsd32_size_t ntargets, \ netbsd32_voidp hint); } 323 STD { int netbsd32__lwp_setname(lwpid_t target, \ netbsd32_charp name); } 324 STD { int netbsd32__lwp_getname(lwpid_t target, \ netbsd32_charp name, netbsd32_size_t len); } 325 STD { int netbsd32__lwp_ctl(int features, \ netbsd32_pointer_t address); } 326 UNIMPL 327 UNIMPL 328 UNIMPL 329 UNIMPL 330 STD { int netbsd32_sa_register(netbsd32_sa_upcall_t new, \ netbsd32_sa_upcallp_t old, int flags, \ netbsd32_ssize_t stackinfo_offset); } 331 STD { int netbsd32_sa_stacks(int num, \ netbsd32_stackp_t stacks); } 332 NOARGS { int sys_sa_enable(void); } 333 STD { int netbsd32_sa_setconcurrency(int concurrency); } 334 NOARGS { int sys_sa_yield(void); } 335 STD { int netbsd32_sa_preempt(int sa_id); } 336 OBSOL sys_sa_unblockyield 337 UNIMPL 338 UNIMPL 339 UNIMPL 340 STD { int netbsd32___sigaction_sigtramp(int signum, \ netbsd32_sigactionp_t nsa, \ netbsd32_sigactionp_t osa, \ netbsd32_voidp tramp, int vers); } 341 UNIMPL 342 UNIMPL 343 STD { int netbsd32_rasctl(netbsd32_voidp addr, \ netbsd32_size_t len, int op); } 344 NOARGS { int sys_kqueue(void); } 345 COMPAT_50 { int netbsd32_kevent(int fd, \ netbsd32_keventp_t changelist, \ netbsd32_size_t nchanges, \ netbsd32_keventp_t eventlist, \ netbsd32_size_t nevents, \ netbsd32_timespec50p_t timeout); } ; Scheduling system calls. 346 STD { int netbsd32__sched_setparam(pid_t pid, lwpid_t lid, \ int policy, const netbsd32_sched_paramp_t params); } 347 STD { int netbsd32__sched_getparam(pid_t pid, lwpid_t lid, \ netbsd32_intp policy, \ netbsd32_sched_paramp_t params); } 348 STD { int netbsd32__sched_setaffinity(pid_t pid, \ lwpid_t lid, netbsd32_size_t size, \ const netbsd32_cpusetp_t cpuset); } 349 STD { int netbsd32__sched_getaffinity(pid_t pid, \ lwpid_t lid, netbsd32_size_t size, \ netbsd32_cpusetp_t cpuset); } 350 NOARGS { int sys_sched_yield(void); } 351 UNIMPL 352 UNIMPL 353 UNIMPL 354 STD { int netbsd32_fsync_range(int fd, int flags, \ off_t start, off_t length); } 355 STD { int netbsd32_uuidgen(netbsd32_uuidp_t store, \ int count); } 356 STD { int netbsd32_getvfsstat(netbsd32_statvfsp_t buf, \ netbsd32_size_t bufsize, int flags); } 357 STD { int netbsd32_statvfs1(netbsd32_charp path, \ netbsd32_statvfsp_t buf, int flags); } 358 STD { int netbsd32_fstatvfs1(int fd, \ netbsd32_statvfsp_t buf, int flags); } 359 COMPAT_30 { int netbsd32_fhstatvfs1(netbsd32_fhandlep_t fhp, \ netbsd32_statvfsp_t buf, int flags); } 360 STD { int netbsd32_extattrctl(netbsd32_charp path, \ int cmd, netbsd32_charp filename, \ int attrnamespace, netbsd32_charp attrname); } 361 STD { int netbsd32_extattr_set_file(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname, \ netbsd32_voidp data, netbsd32_size_t nbytes); } 362 STD { int netbsd32_extattr_get_file(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname, \ netbsd32_voidp data, netbsd32_size_t nbytes); } 363 STD { int netbsd32_extattr_delete_file( \ netbsd32_charp path, int attrnamespace, \ netbsd32_charp attrname); } 364 STD { int netbsd32_extattr_set_fd(int fd, \ int attrnamespace, netbsd32_charp attrname, \ netbsd32_voidp data, netbsd32_size_t nbytes); } 365 STD { int netbsd32_extattr_get_fd(int fd, \ int attrnamespace, netbsd32_charp attrname, \ netbsd32_voidp data, netbsd32_size_t nbytes); } 366 STD { int netbsd32_extattr_delete_fd(int fd, \ int attrnamespace, netbsd32_charp attrname); } 367 STD { int netbsd32_extattr_set_link(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname, \ netbsd32_voidp data, netbsd32_size_t nbytes); } 368 STD { int netbsd32_extattr_get_link(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname, \ netbsd32_voidp data, netbsd32_size_t nbytes); } 369 STD { int netbsd32_extattr_delete_link( \ netbsd32_charp path, int attrnamespace, \ netbsd32_charp attrname); } 370 STD { int netbsd32_extattr_list_fd(int fd, \ int attrnamespace, netbsd32_voidp data, \ netbsd32_size_t nbytes); } 371 STD { int netbsd32_extattr_list_file(netbsd32_charp path, \ int attrnamespace, netbsd32_voidp data, \ netbsd32_size_t nbytes); } 372 STD { int netbsd32_extattr_list_link(netbsd32_charp path, \ int attrnamespace, netbsd32_voidp data, \ netbsd32_size_t nbytes); } 373 COMPAT_50 { int netbsd32_pselect(int nd, netbsd32_fd_setp_t in, \ netbsd32_fd_setp_t ou, netbsd32_fd_setp_t ex, \ netbsd32_timespec50p_t ts, \ netbsd32_sigsetp_t mask); } 374 COMPAT_50 { int netbsd32_pollts(netbsd32_pollfdp_t fds, \ u_int nfds, netbsd32_timespec50p_t ts, \ netbsd32_sigsetp_t mask); } 375 STD { int netbsd32_setxattr(netbsd32_charp path, \ netbsd32_charp name, netbsd32_voidp value, \ netbsd32_size_t size, int flags); } 376 STD { int netbsd32_lsetxattr(netbsd32_charp path, \ netbsd32_charp name, netbsd32_voidp value, \ netbsd32_size_t size, int flags); } 377 STD { int netbsd32_fsetxattr(int fd, \ netbsd32_charp name, netbsd32_voidp value, \ netbsd32_size_t size, int flags); } 378 STD { int netbsd32_getxattr(netbsd32_charp path, \ netbsd32_charp name, netbsd32_voidp value, \ netbsd32_size_t size); } 379 STD { int netbsd32_lgetxattr(netbsd32_charp path, \ netbsd32_charp name, netbsd32_voidp value, \ netbsd32_size_t size); } 380 STD { int netbsd32_fgetxattr(int fd, \ netbsd32_charp name, netbsd32_voidp value, \ netbsd32_size_t size); } 381 STD { int netbsd32_listxattr(netbsd32_charp path, \ netbsd32_charp list, netbsd32_size_t size); } 382 STD { int netbsd32_llistxattr(netbsd32_charp path, \ netbsd32_charp list, netbsd32_size_t size); } 383 STD { int netbsd32_flistxattr(int fd, \ netbsd32_charp list, netbsd32_size_t size); } 384 STD { int netbsd32_removexattr(netbsd32_charp path, \ netbsd32_charp name); } 385 STD { int netbsd32_lremovexattr(netbsd32_charp path, \ netbsd32_charp name); } 386 STD { int netbsd32_fremovexattr(int fd, \ netbsd32_charp name); } 387 COMPAT_50 { int netbsd32___stat30(netbsd32_charp path, \ netbsd32_stat50p_t ub); } 388 COMPAT_50 { int netbsd32___fstat30(int fd, \ netbsd32_stat50p_t sb); } 389 COMPAT_50 { int netbsd32___lstat30( \ netbsd32_charp path, netbsd32_stat50p_t ub); } 390 STD { int netbsd32___getdents30(int fd, \ netbsd32_charp buf, netbsd32_size_t count); } 391 IGNORED old posix fadvise 392 COMPAT_30 { int netbsd32___fhstat30( \ netbsd32_fhandlep_t fhp, \ netbsd32_stat50p_t sb); } 393 COMPAT_50 { int netbsd32_ntp_gettime( \ netbsd32_ntptimeval50p_t ntvp); } 394 STD { int netbsd32___socket30(int domain, int type, \ int protocol); } 395 STD { int netbsd32___getfh30(netbsd32_charp fname, \ netbsd32_pointer_t fhp, netbsd32_size_tp fh_size); } 396 STD { int netbsd32___fhopen40(netbsd32_pointer_t fhp, \ netbsd32_size_t fh_size, int flags); } 397 STD { int netbsd32___fhstatvfs140( \ netbsd32_pointer_t fhp, netbsd32_size_t fh_size,\ netbsd32_statvfsp_t buf, int flags); } 398 COMPAT_50 { int netbsd32___fhstat40( \ netbsd32_pointer_t fhp, netbsd32_size_t fh_size,\ netbsd32_stat50p_t sb); } ; Asynchronous I/O system calls 399 UNIMPL { int sys_aio_cancel(int fildes, \ struct aiocb *aiocbp); } 400 UNIMPL { int sys_aio_error(const struct aiocb *aiocbp); } 401 UNIMPL { int sys_aio_fsync(int op, struct aiocb *aiocbp); } 402 UNIMPL { int sys_aio_read(struct aiocb *aiocbp); } 403 UNIMPL { int sys_aio_return(struct aiocb *aiocbp); } 404 UNIMPL { int sys_aio_suspend(const struct aiocb *const *list, \ int nent, const netbsd32_timespecp_t timeout); } 405 UNIMPL { int sys_aio_write(struct aiocb *aiocbp); } 406 UNIMPL { int sys_lio_listio(int mode, \ struct aiocb *const *list, \ int nent, netbsd32_sigeventp_t sig); } 407 UNIMPL 408 UNIMPL 409 UNIMPL 410 UNIMPL { int sys___mount50(const netbsd32_charp type, \ const netbsd32_charp path, int flags, \ netbsd32_voidp data, netbsd32_size_t data_len); } 411 STD { netbsd32_voidp netbsd32_mremap( \ netbsd32_voidp old_address, \ netbsd32_size_t old_size, \ netbsd32_voidp new_address, \ netbsd32_size_t new_size, int flags); } 412 UNIMPL 413 UNIMPL 414 UNIMPL 415 UNIMPL 416 STD { int netbsd32___posix_fadvise50(int fd, int pad, \ off_t offset, off_t len, int advice); } 417 STD { int netbsd32___select50(int nd, \ netbsd32_fd_setp_t in, netbsd32_fd_setp_t ou, \ netbsd32_fd_setp_t ex, netbsd32_timevalp_t tv); } 418 STD { int netbsd32___gettimeofday50( \ netbsd32_timevalp_t tp, netbsd32_voidp tzp); } 419 STD { int netbsd32___settimeofday50( \ const netbsd32_timevalp_t tv, \ const netbsd32_voidp tzp); } 420 STD { int netbsd32___utimes50(const netbsd32_charp path, \ const netbsd32_timevalp_t tptr); } 421 STD { int netbsd32___adjtime50( \ const netbsd32_timevalp_t delta, \ netbsd32_timevalp_t olddelta); } #if defined(LFS) || !defined(_KERNEL) 422 STD { int netbsd32___lfs_segwait50( \ netbsd32_fsid_tp_t fsidp, \ netbsd32_timevalp_t tv); } #else 422 EXCL __lfs_segwait50 #endif 423 STD { int netbsd32___futimes50(int fd, \ const netbsd32_timevalp_t tptr); } 424 STD { int netbsd32___lutimes50(const netbsd32_charp path, \ const netbsd32_timevalp_t tptr); } 425 STD { int netbsd32___setitimer50(int which, \ const netbsd32_itimervalp_t itv, \ netbsd32_itimervalp_t oitv); } 426 STD { int netbsd32___getitimer50(int which, \ netbsd32_itimervalp_t itv); } 427 STD { int netbsd32___clock_gettime50(clockid_t clock_id, \ netbsd32_timespecp_t tp); } 428 STD { int netbsd32___clock_settime50(clockid_t clock_id, \ const netbsd32_timespecp_t tp); } 429 STD { int netbsd32___clock_getres50(clockid_t clock_id, \ netbsd32_timespecp_t tp); } 430 STD { int netbsd32___nanosleep50( \ const netbsd32_timespecp_t rqtp, \ netbsd32_timespecp_t rmtp); } 431 STD { int netbsd32_____sigtimedwait50( \ const netbsd32_sigsetp_t set, \ netbsd32_siginfop_t info, \ netbsd32_timespecp_t timeout); } 432 UNIMPL { int netbsd32___mq_timedsend50(mqd_t mqdes, \ const netbsd32_charp msg_ptr, \ netbsd32_size_t msg_len, unsigned msg_prio, \ const netbsd32_timespecp_t abs_timeout); } 433 UNIMPL { netbsd32_ssize_t netbsd32___mq_timedreceive50(\ mqd_t mqdes, netbsd32_charp msg_ptr, \ netbsd32_size_t msg_len, \ netbsd32_pointer_t msg_prio, \ const netbsd32_timespecp_t abs_timeout); } 434 STD { int netbsd32____lwp_park50( \ const netbsd32_timespecp_t ts, \ lwpid_t unpark, const netbsd32_voidp hint, \ const netbsd32_voidp unparkhint); } 435 STD { int netbsd32___kevent50(int fd, \ const netbsd32_keventp_t changelist, \ netbsd32_size_t nchanges, \ netbsd32_keventp_t eventlist, \ netbsd32_size_t nevents, \ const netbsd32_timespecp_t timeout); } 436 STD { int netbsd32___pselect50(int nd, \ netbsd32_fd_setp_t in, \ netbsd32_fd_setp_t ou, \ netbsd32_fd_setp_t ex, \ const netbsd32_timespecp_t ts, \ const netbsd32_sigsetp_t mask); } 437 STD { int netbsd32___pollts50(netbsd32_pollfdp_t fds, \ u_int nfds, const netbsd32_timespecp_t ts, \ const netbsd32_sigsetp_t mask); } 438 UNIMPL { int netbsd32___aio_suspend50( \ const struct aiocb *const *list, \ int nent, const netbsd32_timespecp_t timeout); } 439 STD { int netbsd32___stat50(const netbsd32_charp path, \ netbsd32_statp_t ub); } 440 STD { int netbsd32___fstat50(int fd, netbsd32_statp_t sb); } 441 STD { int netbsd32___lstat50(const netbsd32_charp path, \ netbsd32_statp_t ub); } #if defined(SYSVSEM) || !defined(_KERNEL_OPT) 442 STD { int netbsd32_____semctl50(int semid, int semnum, \ int cmd, ... netbsd32_semunp_t arg); } #else 442 EXCL ____semctl50 #endif #if defined(SYSVSHM) || !defined(_KERNEL_OPT) 443 STD { int netbsd32___shmctl50(int shmid, int cmd, \ netbsd32_shmid_dsp_t buf); } #else 443 EXCL ____shmctl50 #endif #if defined(SYSVMSG) || !defined(_KERNEL_OPT) 444 STD { int netbsd32___msgctl50(int msqid, int cmd, \ netbsd32_msqid_dsp_t buf); } #else 444 EXCL ____msgctl50 #endif 445 STD { int netbsd32___getrusage50(int who, \ netbsd32_rusagep_t rusage); } 446 STD { int netbsd32___timer_settime50(timer_t timerid, \ int flags, const netbsd32_itimerspecp_t value, \ netbsd32_itimerspecp_t ovalue); } 447 STD { int netbsd32___timer_gettime50(timer_t timerid, \ netbsd32_itimerspecp_t value); } #if defined(NTP) || !defined(_KERNEL_OPT) 448 STD { int netbsd32___ntp_gettime50( \ netbsd32_ntptimevalp_t ntvp); } #else 448 EXCL ___ntp_gettime50 #endif 449 STD { int netbsd32___wait450(int pid, \ netbsd32_intp status, \ int options, netbsd32_rusagep_t rusage); } 450 STD { int netbsd32___mknod50(const netbsd32_charp path, \ mode_t mode, dev_t dev); } 451 STD { int netbsd32___fhstat50(const netbsd32_voidp fhp, \ netbsd32_size_t fh_size, netbsd32_statp_t sb); } @ 1.74.4.3 log @fix module build. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.74.4.2 2009/01/04 02:56:09 christos Exp $ d345 1 a345 1 #if defined(SYSVSEM) || !defined(_KERNEL_OPT) d351 1 a351 1 #if defined(SYSVMSG) || !defined(_KERNEL_OPT) d357 1 a357 1 #if defined(SYSVSHM) || !defined(_KERNEL_OPT) d382 1 a382 1 #if defined(LFS) || !defined(_KERNEL_OPT) d451 1 a451 1 #if defined(SYSVSEM) || !defined(_KERNEL_OPT) d465 1 a465 1 #if defined(SYSVMSG) || !defined(_KERNEL_OPT) d480 1 a480 1 #if defined(SYSVSHM) || !defined(_KERNEL_OPT) d529 1 a529 1 #if defined(P1003_1B_SEMAPHORE) || (!defined(_KERNEL_OPT) && defined(_LIBC)) d631 1 a631 1 #if defined(SYSVSEM) || !defined(_KERNEL_OPT) d637 1 a637 1 #if defined(SYSVMSG) || !defined(_KERNEL_OPT) d643 1 a643 1 #if defined(SYSVSHM) || !defined(_KERNEL_OPT) d893 1 a893 1 #if defined(LFS) || !defined(_KERNEL_OPT) @ 1.73 log @Make the emulations, exec formats, coredump, NFS, and the NFS server into modules. By and large this commit: - shuffles header files and ifdefs - splits code out where necessary to be modular - adds module glue for each of the components - adds/replaces hooks for things that can be installed at runtime @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.72 2008/11/14 15:49:20 ad Exp $ d529 9 a537 4 346 UNIMPL 347 UNIMPL 348 UNIMPL 349 UNIMPL @ 1.72 log @Replace semid_t with intptr_t. No function change. This is a libc/kernel private interface and so the name change should not affect any third party code. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.71 2008/11/12 12:36:10 ad Exp $ a39 1 #include "opt_nfsserver.h" a229 1 #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL) a230 3 #else 155 EXCL netbsd32_nfssvc #endif @ 1.71 log @Remove LKMs and switch to the module framework, pass 1. Proposed on tech-kern@@. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.70 2008/10/15 06:51:20 wrstuden Exp $ d384 5 a388 5 250 STD { int netbsd32__ksem_close(netbsd32_semid_t id); } 251 STD { int netbsd32__ksem_post(netbsd32_semid_t id); } 252 STD { int netbsd32__ksem_wait(netbsd32_semid_t id); } 253 STD { int netbsd32__ksem_trywait(netbsd32_semid_t id); } 254 STD { int netbsd32__ksem_getvalue(netbsd32_semid_t id, \ d390 1 a390 1 255 STD { int netbsd32__ksem_destroy(netbsd32_semid_t id); } @ 1.70 log @Merge wrstuden-revivesa into HEAD. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.69 2008/04/24 11:51:18 ad Exp $ d312 10 a321 26 ; ; Syscalls 210-219 are reserved for dynamically loaded syscalls ; #if defined(LKM) || !defined(_KERNEL) 210 NODEF { int sys_lkmnosys(void); } 211 NODEF { int sys_lkmnosys(void); } 212 NODEF { int sys_lkmnosys(void); } 213 NODEF { int sys_lkmnosys(void); } 214 NODEF { int sys_lkmnosys(void); } 215 NODEF { int sys_lkmnosys(void); } 216 NODEF { int sys_lkmnosys(void); } 217 NODEF { int sys_lkmnosys(void); } 218 NODEF { int sys_lkmnosys(void); } 219 NODEF { int sys_lkmnosys(void); } #else /* !LKM || !_KERNEL */ 210 EXCL lkmnosys 211 EXCL lkmnosys 212 EXCL lkmnosys 213 EXCL lkmnosys 214 EXCL lkmnosys 215 EXCL lkmnosys 216 EXCL lkmnosys 217 EXCL lkmnosys 218 EXCL lkmnosys 219 EXCL lkmnosys #endif /* !LKM || !_KERNEL */ @ 1.70.2.1 log @Sync with HEAD. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.77 2009/01/13 22:27:43 pooka Exp $ d40 1 d68 1 a68 1 0 INDIR { int|netbsd32||syscall(int code, \ d70 10 a79 16 1 STD { void|netbsd32||exit(int rval); } 2 NOARGS { int|sys||fork(void); } 3 STD { netbsd32_ssize_t|netbsd32||read(int fd, \ netbsd32_voidp buf, netbsd32_size_t nbyte); } 4 STD { netbsd32_ssize_t|netbsd32||write(int fd, \ netbsd32_voidp buf, netbsd32_size_t nbyte); } 5 STD { int|netbsd32||open(netbsd32_charp path, int flags, \ ... mode_t mode); } 6 STD { int|netbsd32||close(int fd); } 7 COMPAT_50 { int|netbsd32||wait4(int pid, netbsd32_intp status, \ int options, netbsd32_rusage50p_t rusage); } 8 COMPAT_43 { int|netbsd32||ocreat(netbsd32_charp path, \ mode_t mode); } 9 STD { int|netbsd32||link(netbsd32_charp path, \ netbsd32_charp link); } 10 STD { int|netbsd32||unlink(netbsd32_charp path); } d81 37 a117 63 12 STD { int|netbsd32||chdir(netbsd32_charp path); } 13 STD { int|netbsd32||fchdir(int fd); } 14 COMPAT_50 { int|netbsd32||mknod(netbsd32_charp path, mode_t mode, \ uint32_t dev); } 15 STD { int|netbsd32||chmod(netbsd32_charp path, mode_t mode); } 16 STD { int|netbsd32||chown(netbsd32_charp path, uid_t uid, \ gid_t gid); } 17 STD { int|netbsd32||break(netbsd32_charp nsize); } 18 COMPAT_20 { int|netbsd32||getfsstat(netbsd32_statfsp_t buf, \ netbsd32_long bufsize, int flags); } 19 COMPAT_43 { netbsd32_long|netbsd32||olseek(int fd, \ netbsd32_long offset, int whence); } 20 NOARGS { pid_t|sys||getpid(void); } 21 STD { int|netbsd32||mount(netbsd32_charp type, \ netbsd32_charp path, int flags, \ netbsd32_voidp data); } 22 STD { int|netbsd32||unmount(netbsd32_charp path, \ int flags); } 23 STD { int|netbsd32||setuid(uid_t uid); } 24 NOARGS { uid_t|sys||getuid(void); } 25 NOARGS { uid_t|sys||geteuid(void); } 26 STD { int|netbsd32||ptrace(int req, pid_t pid, \ netbsd32_voidp addr, int data); } 27 STD { netbsd32_ssize_t|netbsd32||recvmsg(int s, \ netbsd32_msghdrp_t msg, int flags); } 28 STD { netbsd32_ssize_t|netbsd32||sendmsg(int s, \ netbsd32_msghdrp_t msg, int flags); } 29 STD { netbsd32_ssize_t|netbsd32||recvfrom(int s, \ netbsd32_voidp buf, netbsd32_size_t len, \ int flags, netbsd32_sockaddrp_t from, \ netbsd32_intp fromlenaddr); } 30 STD { int|netbsd32||accept(int s, \ netbsd32_sockaddrp_t name, \ netbsd32_intp anamelen); } 31 STD { int|netbsd32||getpeername(int fdes, \ netbsd32_sockaddrp_t asa, netbsd32_intp alen); } 32 STD { int|netbsd32||getsockname(int fdes, \ netbsd32_sockaddrp_t asa, netbsd32_intp alen); } 33 STD { int|netbsd32||access(netbsd32_charp path, int flags); } 34 STD { int|netbsd32||chflags(netbsd32_charp path, \ netbsd32_u_long flags); } 35 STD { int|netbsd32||fchflags(int fd, \ netbsd32_u_long flags); } 36 NOARGS { void|sys||sync(void); } 37 STD { int|netbsd32||kill(int pid, int signum); } 38 COMPAT_43 { int|netbsd32||stat43(netbsd32_charp path, \ netbsd32_stat43p_t ub); } 39 NOARGS { pid_t|sys||getppid(void); } 40 COMPAT_43 { int|netbsd32||lstat43(netbsd32_charp path, \ netbsd32_stat43p_t ub); } 41 STD { int|netbsd32||dup(int fd); } 42 NOARGS { int|sys||pipe(void); } 43 NOARGS { gid_t|sys||getegid(void); } 44 STD { int|netbsd32||profil(netbsd32_voidp samples, \ netbsd32_size_t size, netbsd32_u_long offset, \ u_int scale); } 45 STD { int|netbsd32||ktrace(netbsd32_charp fname, int ops, \ int facs, int pid); } 46 STD { int|netbsd32||sigaction(int signum, \ netbsd32_sigactionp_t nsa, \ netbsd32_sigactionp_t osa); } 47 NOARGS { gid_t|sys||getgid(void); } 48 COMPAT_13 { int|netbsd32||sigprocmask(int how, \ d119 17 a135 27 49 STD { int|netbsd32||__getlogin(netbsd32_charp namebuf, \ u_int namelen); } 50 STD { int|netbsd32||setlogin(netbsd32_charp namebuf); } 51 STD { int|netbsd32||acct(netbsd32_charp path); } 52 COMPAT_13 { int|sys||sigpending(void); } sigpending13 53 COMPAT_13 { int|netbsd32||sigaltstack13( \ netbsd32_sigaltstack13p_t nss, \ netbsd32_sigaltstack13p_t oss); } 54 STD { int|netbsd32||ioctl(int fd, netbsd32_u_long com, \ ... netbsd32_voidp data); } 55 COMPAT_12 { int|netbsd32||reboot(int opt); } 56 STD { int|netbsd32||revoke(netbsd32_charp path); } 57 STD { int|netbsd32||symlink(netbsd32_charp path, \ netbsd32_charp link); } 58 STD { int|netbsd32||readlink(netbsd32_charp path, \ netbsd32_charp buf, netbsd32_size_t count); } 59 STD { int|netbsd32||execve(netbsd32_charp path, \ netbsd32_charpp argp, netbsd32_charpp envp); } 60 STD { mode_t|netbsd32||umask(mode_t newmask); } 61 STD { int|netbsd32||chroot(netbsd32_charp path); } 62 COMPAT_43 { int|netbsd32||fstat43(int fd, netbsd32_stat43p_t sb); } 63 COMPAT_43 { int|netbsd32||ogetkerninfo(int op, \ netbsd32_charp where, netbsd32_intp size, \ int arg); } 64 COMPAT_43 { int|sys||getpagesize(void); } ogetpagesize 65 COMPAT_12 { int|netbsd32||msync(netbsd32_voidp addr, \ netbsd32_size_t len); } d137 1 a137 1 66 NOARGS { int|sys||vfork(void); } d140 7 a146 12 69 STD { int|netbsd32||sbrk(netbsd32_intptr_t incr); } 70 STD { int|netbsd32||sstk(int incr); } 71 COMPAT_43 { int|netbsd32||ommap(netbsd32_voidp addr, \ netbsd32_size_t len, int prot, int flags, int fd, \ netbsd32_long pos); } 72 STD { int|netbsd32||ovadvise(int anom); } vadvise 73 STD { int|netbsd32||munmap(netbsd32_voidp addr, \ netbsd32_size_t len); } 74 STD { int|netbsd32||mprotect(netbsd32_voidp addr, \ netbsd32_size_t len, int prot); } 75 STD { int|netbsd32||madvise(netbsd32_voidp addr, \ netbsd32_size_t len, int behav); } d149 13 a161 21 78 STD { int|netbsd32||mincore(netbsd32_voidp addr, \ netbsd32_size_t len, netbsd32_charp vec); } 79 STD { int|netbsd32||getgroups(int gidsetsize, \ netbsd32_gid_tp gidset); } 80 STD { int|netbsd32||setgroups(int gidsetsize, \ netbsd32_gid_tp gidset); } 81 NOARGS { int|sys||getpgrp(void); } 82 STD { int|netbsd32||setpgid(int pid, int pgid); } 83 COMPAT_50 { int|netbsd32||setitimer(int which, \ netbsd32_itimerval50p_t itv, \ netbsd32_itimerval50p_t oitv); } 84 COMPAT_43 { int|sys||wait(void); } owait 85 COMPAT_12 { int|netbsd32||oswapon(netbsd32_charp name); } 86 COMPAT_50 { int|netbsd32||getitimer(int which, \ netbsd32_itimerval50p_t itv); } 87 COMPAT_43 { int|netbsd32||ogethostname(netbsd32_charp hostname, \ u_int len); } 88 COMPAT_43 { int|netbsd32||osethostname(netbsd32_charp hostname, \ u_int len); } 89 COMPAT_43 { int|sys||getdtablesize(void); } ogetdtablesize 90 STD { int|netbsd32||dup2(int from, int to); } d163 2 a164 5 92 STD { int|netbsd32||fcntl(int fd, int cmd, \ ... netbsd32_voidp arg); } 93 COMPAT_50 { int|netbsd32||select(int nd, netbsd32_fd_setp_t in, \ netbsd32_fd_setp_t ou, netbsd32_fd_setp_t ex, \ netbsd32_timeval50p_t tv); } d166 12 a177 21 95 STD { int|netbsd32||fsync(int fd); } 96 STD { int|netbsd32||setpriority(int which, int who, \ int prio); } 97 COMPAT_30 { int|netbsd32||socket(int domain, int type, \ int protocol); } 98 STD { int|netbsd32||connect(int s, \ netbsd32_sockaddrp_t name, int namelen); } 99 COMPAT_43 { int|netbsd32||oaccept(int s, netbsd32_voidp name, \ netbsd32_intp anamelen); } 100 STD { int|netbsd32||getpriority(int which, int who); } 101 COMPAT_43 { int|netbsd32||osend(int s, netbsd32_voidp buf, \ int len, int flags); } 102 COMPAT_43 { int|netbsd32||orecv(int s, netbsd32_voidp buf, \ int len, int flags); } 103 COMPAT_13 { int|netbsd32||sigreturn( \ netbsd32_sigcontextp_t sigcntxp); } sigreturn13 104 STD { int|netbsd32||bind(int s, netbsd32_sockaddrp_t name, \ int namelen); } 105 STD { int|netbsd32||setsockopt(int s, int level, int name, \ netbsd32_voidp val, int valsize); } 106 STD { int|netbsd32||listen(int s, int backlog); } d179 7 a185 11 108 COMPAT_43 { int|netbsd32||osigvec(int signum, \ netbsd32_sigvecp_t nsv, netbsd32_sigvecp_t osv); } 109 COMPAT_43 { int|netbsd32||sigblock(int mask); } 110 COMPAT_43 { int|netbsd32||sigsetmask(int mask); } 111 COMPAT_13 { int|netbsd32||sigsuspend(int mask); } sigsuspend13 112 COMPAT_43 { int|netbsd32||osigstack(netbsd32_sigstackp_t nss, \ netbsd32_sigstackp_t oss); } 113 COMPAT_43 { int|netbsd32||orecvmsg(int s, \ netbsd32_omsghdrp_t msg, int flags); } 114 COMPAT_43 { int|netbsd32||osendmsg(int s, netbsd32_voidp msg, \ int flags); } d187 3 a189 6 116 COMPAT_50 { int|netbsd32||gettimeofday(netbsd32_timeval50p_t tp, \ netbsd32_timezonep_t tzp); } 117 COMPAT_50 { int|netbsd32||getrusage(int who, \ netbsd32_rusage50p_t rusage); } 118 STD { int|netbsd32||getsockopt(int s, int level, int name, \ netbsd32_voidp val, netbsd32_intp avalsize); } d191 19 a209 33 120 STD { netbsd32_ssize_t|netbsd32||readv(int fd, \ netbsd32_iovecp_t iovp, int iovcnt); } 121 STD { netbsd32_ssize_t|netbsd32||writev(int fd, \ netbsd32_iovecp_t iovp, int iovcnt); } 122 COMPAT_50 { int|netbsd32||settimeofday(netbsd32_timeval50p_t tv, \ netbsd32_timezonep_t tzp); } 123 STD { int|netbsd32||fchown(int fd, uid_t uid, gid_t gid); } 124 STD { int|netbsd32||fchmod(int fd, mode_t mode); } 125 COMPAT_43 { int|netbsd32||orecvfrom(int s, netbsd32_voidp buf, \ netbsd32_size_t len, int flags, \ netbsd32_voidp from, netbsd32_intp fromlenaddr); } 126 STD { int|netbsd32||setreuid(uid_t ruid, uid_t euid); } 127 STD { int|netbsd32||setregid(gid_t rgid, gid_t egid); } 128 STD { int|netbsd32||rename(netbsd32_charp from, \ netbsd32_charp to); } 129 COMPAT_43 { int|netbsd32||otruncate(netbsd32_charp path, \ netbsd32_long length); } 130 COMPAT_43 { int|netbsd32||oftruncate(int fd, \ netbsd32_long length); } 131 STD { int|netbsd32||flock(int fd, int how); } 132 STD { int|netbsd32||mkfifo(netbsd32_charp path, \ mode_t mode); } 133 STD { netbsd32_ssize_t|netbsd32||sendto(int s, \ netbsd32_voidp buf, netbsd32_size_t len, \ int flags, netbsd32_sockaddrp_t to, int tolen); } 134 STD { int|netbsd32||shutdown(int s, int how); } 135 STD { int|netbsd32||socketpair(int domain, int type, \ int protocol, netbsd32_intp rsv); } 136 STD { int|netbsd32||mkdir(netbsd32_charp path, \ mode_t mode); } 137 STD { int|netbsd32||rmdir(netbsd32_charp path); } 138 COMPAT_50 { int|netbsd32||utimes(netbsd32_charp path, \ netbsd32_timeval50p_t tptr); } d211 11 a221 17 140 COMPAT_50 { int|netbsd32||adjtime(netbsd32_timeval50p_t delta, \ netbsd32_timeval50p_t olddelta); } 141 COMPAT_43 { int|netbsd32||ogetpeername(int fdes, \ netbsd32_voidp asa, netbsd32_intp alen); } 142 COMPAT_43 { int32_t|sys||gethostid(void); } ogethostid 143 COMPAT_43 { int|netbsd32||sethostid(int32_t hostid); } 144 COMPAT_43 { int|netbsd32||ogetrlimit(int which, \ netbsd32_orlimitp_t rlp); } 145 COMPAT_43 { int|netbsd32||osetrlimit(int which, \ netbsd32_orlimitp_t rlp); } 146 COMPAT_43 { int|netbsd32||killpg(int pgid, int signum); } 147 NOARGS { int|sys||setsid(void); } 148 STD { int|netbsd32||quotactl(netbsd32_charp path, int cmd, \ int uid, netbsd32_voidp arg); } 149 COMPAT_43 { int|sys||quota(void); } oquota 150 COMPAT_43 { int|netbsd32||ogetsockname(int fdec, \ netbsd32_voidp asa, netbsd32_intp alen); } d231 8 a238 8 155 STD { int|netbsd32||nfssvc(int flag, netbsd32_voidp argp); } 156 COMPAT_43 { int|netbsd32||ogetdirentries(int fd, \ netbsd32_charp buf, u_int count, \ netbsd32_longp basep); } 157 COMPAT_20 { int|netbsd32||statfs(netbsd32_charp path, \ netbsd32_statfsp_t buf); } 158 COMPAT_20 { int|netbsd32||fstatfs(int fd, \ netbsd32_statfsp_t buf); } d241 5 a245 8 161 COMPAT_30 { int|netbsd32||getfh(netbsd32_charp fname, \ netbsd32_compat_30_fhandlep_t fhp); } 162 COMPAT_09 { int|netbsd32||ogetdomainname( \ netbsd32_charp domainname, int len); } 163 COMPAT_09 { int|netbsd32||osetdomainname( \ netbsd32_charp domainname, int len); } 164 COMPAT_09 { int|netbsd32||uname(netbsd32_outsnamep_t name); } 165 STD { int|netbsd32||sysarch(int op, netbsd32_voidp parms); } d249 2 a250 3 #if defined(SYSVSEM) || !defined(_KERNEL_OPT) 169 COMPAT_10 { int|netbsd32||semsys(int which, int a2, int a3, \ int a4, int a5); } osemsys d252 1 a252 1 169 EXCL netbsd32_semsys d254 2 a255 3 #if defined(SYSVMSG) || !defined(_KERNEL_OPT) 170 COMPAT_10 { int|netbsd32||msgsys(int which, int a2, int a3, \ int a4, int a5, int a6); } omsgsys d257 1 a257 1 170 EXCL netbsd32_msgsys d259 2 a260 3 #if defined(SYSVSHM) || !defined(_KERNEL_OPT) 171 COMPAT_10 { int|netbsd32||shmsys(int which, int a2, int a3, \ int a4); } oshmsys d262 1 a262 1 171 EXCL netbsd32_shmsys d265 4 a268 9 173 STD { netbsd32_ssize_t|netbsd32||pread(int fd, \ netbsd32_voidp buf, netbsd32_size_t nbyte, \ int pad, off_t offset); } 174 STD { netbsd32_ssize_t|netbsd32||pwrite(int fd, \ netbsd32_voidp buf, netbsd32_size_t nbyte, \ int pad, off_t offset); } 175 COMPAT_30 { int|netbsd32||ntp_gettime( \ netbsd32_ntptimeval50p_t ntvp); } 176 STD { int|netbsd32||ntp_adjtime(netbsd32_timexp_t tp); } d275 19 a293 26 181 STD { int|netbsd32||setgid(gid_t gid); } 182 STD { int|netbsd32||setegid(gid_t egid); } 183 STD { int|netbsd32||seteuid(uid_t euid); } #if defined(LFS) || !defined(_KERNEL_OPT) 184 STD { int|netbsd32||lfs_bmapv(netbsd32_fsid_tp_t fsidp, \ netbsd32_block_infop_t blkiov, int blkcnt); } 185 STD { int|netbsd32||lfs_markv(netbsd32_fsid_tp_t fsidp, \ netbsd32_block_infop_t blkiov, int blkcnt); } 186 STD { int|netbsd32||lfs_segclean(netbsd32_fsid_tp_t fsidp, \ netbsd32_u_long segment); } 187 COMPAT_50 { int|netbsd32||lfs_segwait(netbsd32_fsid_tp_t fsidp, \ netbsd32_timeval50p_t tv); } #else 184 EXCL netbsd32_lfs_bmapv 185 EXCL netbsd32_lfs_markv 186 EXCL netbsd32_lfs_segclean 187 EXCL netbsd32_lfs_segwait #endif 188 COMPAT_12 { int|netbsd32||stat12(netbsd32_charp path, \ netbsd32_stat12p_t ub); } 189 COMPAT_12 { int|netbsd32||fstat12(int fd, netbsd32_stat12p_t sb); } 190 COMPAT_12 { int|netbsd32||lstat12(netbsd32_charp path, \ netbsd32_stat12p_t ub); } 191 STD { netbsd32_long|netbsd32||pathconf(netbsd32_charp path, \ int name); } 192 STD { netbsd32_long|netbsd32||fpathconf(int fd, int name); } d295 5 a299 11 194 STD { int|netbsd32||getrlimit(int which, \ netbsd32_rlimitp_t rlp); } 195 STD { int|netbsd32||setrlimit(int which, \ netbsd32_rlimitp_t rlp); } 196 COMPAT_12 { int|netbsd32||getdirentries(int fd, \ netbsd32_charp buf, u_int count, \ netbsd32_longp basep); } 197 STD { netbsd32_voidp|netbsd32||mmap(netbsd32_voidp addr, \ netbsd32_size_t len, int prot, int flags, int fd, \ netbsd32_long pad, off_t pos); } 198 INDIR { quad_t|netbsd32||___syscall(quad_t code, \ d301 37 a337 32 199 STD { off_t|netbsd32||lseek(int fd, int pad, off_t offset, \ int whence); } 200 STD { int|netbsd32||truncate(netbsd32_charp path, int pad, \ off_t length); } 201 STD { int|netbsd32||ftruncate(int fd, int pad, \ off_t length); } 202 STD { int|netbsd32||__sysctl(netbsd32_intp name, \ u_int namelen, netbsd32_voidp old, \ netbsd32_size_tp oldlenp, netbsd32_voidp new, \ netbsd32_size_t newlen); } 203 STD { int|netbsd32||mlock(netbsd32_voidp addr, \ netbsd32_size_t len); } 204 STD { int|netbsd32||munlock(netbsd32_voidp addr, \ netbsd32_size_t len); } 205 STD { int|netbsd32||undelete(netbsd32_charp path); } 206 COMPAT_50 { int|netbsd32||futimes(int fd, \ netbsd32_timeval50p_t tptr); } 207 STD { int|netbsd32||getpgid(pid_t pid); } 208 STD { int|netbsd32||reboot(int opt, \ netbsd32_charp bootstr); } 209 STD { int|netbsd32||poll(netbsd32_pollfdp_t fds, \ u_int nfds, int timeout); } 210 UNIMPL 211 UNIMPL 212 UNIMPL 213 UNIMPL 214 UNIMPL 215 UNIMPL 216 UNIMPL 217 UNIMPL 218 UNIMPL 219 UNIMPL d339 5 a343 8 #if defined(SYSVSEM) || !defined(_KERNEL_OPT) 220 COMPAT_14 { int|netbsd32||__semctl(int semid, int semnum, \ int cmd, netbsd32_semunu_t arg); } 221 STD { int|netbsd32||semget(netbsd32_key_t key, int nsems, \ int semflg); } 222 STD { int|netbsd32||semop(int semid, \ netbsd32_sembufp_t sops, netbsd32_size_t nsops); } 223 STD { int|netbsd32||semconfig(int flag); } d350 5 a354 9 #if defined(SYSVMSG) || !defined(_KERNEL_OPT) 224 COMPAT_14 { int|netbsd32||msgctl(int msqid, int cmd, \ netbsd32_msqid_ds14p_t buf); } 225 STD { int|netbsd32||msgget(netbsd32_key_t key, int msgflg); } 226 STD { int|netbsd32||msgsnd(int msqid, netbsd32_voidp msgp, \ netbsd32_size_t msgsz, int msgflg); } 227 STD { netbsd32_ssize_t|netbsd32||msgrcv(int msqid, \ netbsd32_voidp msgp, netbsd32_size_t msgsz, \ netbsd32_long msgtyp, int msgflg); } d361 5 a365 8 #if defined(SYSVSHM) || !defined(_KERNEL_OPT) 228 STD { netbsd32_voidp|netbsd32||shmat(int shmid, \ netbsd32_voidp shmaddr, int shmflg); } 229 COMPAT_14 { int|netbsd32||shmctl(int shmid, int cmd, \ netbsd32_shmid_dsp_t buf); } 230 STD { int|netbsd32||shmdt(netbsd32_voidp shmaddr); } 231 STD { int|netbsd32||shmget(netbsd32_key_t key, \ netbsd32_size_t size, int shmflg); } d372 4 a375 12 232 COMPAT_50 { int|netbsd32||clock_gettime( \ netbsd32_clockid_t clock_id, \ netbsd32_timespec50p_t tp); } 233 COMPAT_50 { int|netbsd32||clock_settime( \ netbsd32_clockid_t clock_id, \ netbsd32_timespec50p_t tp); } 234 COMPAT_50 { int|netbsd32||clock_getres( \ netbsd32_clockid_t clock_id, \ netbsd32_timespec50p_t tp); } 235 STD { int|netbsd32||timer_create( \ netbsd32_clockid_t clock_id, \ netbsd32_sigeventp_t evp, \ d377 6 a382 9 236 STD { int|netbsd32||timer_delete(netbsd32_timer_t timerid); } 237 COMPAT_50 { int|netbsd32||timer_settime(netbsd32_timer_t timerid, \ int flags, \ netbsd32_itimerspec50p_t value, \ netbsd32_itimerspec50p_t ovalue); } 238 COMPAT_50 { int|netbsd32||timer_gettime(netbsd32_timer_t timerid, \ netbsd32_itimerspec50p_t value); } 239 STD { int|netbsd32||timer_getoverrun( \ netbsd32_timer_t timerid); } d386 5 a390 6 240 COMPAT_50 { int|netbsd32||nanosleep(netbsd32_timespec50p_t rqtp, \ netbsd32_timespec50p_t rmtp); } 241 STD { int|netbsd32||fdatasync(int fd); } 242 STD { int|netbsd32||mlockall(int flags); } 243 NOARGS { int|sys||munlockall(void); } 244 COMPAT_50 { int|netbsd32||__sigtimedwait(netbsd32_sigsetp_t set, \ d392 1 a392 1 netbsd32_timespec50p_t timeout); } d395 10 a404 12 #if defined(P1003_1B_SEMAPHORE) || (!defined(_KERNEL_OPT) && defined(_LIBC)) 247 STD { int|netbsd32||_ksem_init(unsigned int value, \ netbsd32_semidp_t idp); } 248 STD { int|netbsd32||_ksem_open(netbsd32_charp name, \ int oflag, mode_t mode, unsigned int value, \ netbsd32_semidp_t idp); } 249 STD { int|netbsd32||_ksem_unlink(netbsd32_charp name); } 250 STD { int|netbsd32||_ksem_close(netbsd32_intptr_t id); } 251 STD { int|netbsd32||_ksem_post(netbsd32_intptr_t id); } 252 STD { int|netbsd32||_ksem_wait(netbsd32_intptr_t id); } 253 STD { int|netbsd32||_ksem_trywait(netbsd32_intptr_t id); } 254 STD { int|netbsd32||_ksem_getvalue(netbsd32_intptr_t id, \ d406 1 a406 1 255 STD { int|netbsd32||_ksem_destroy(netbsd32_intptr_t id); } d433 22 a454 44 270 STD { int|netbsd32||__posix_rename(netbsd32_charp from, \ netbsd32_charp to); } 271 STD { int|netbsd32||swapctl(int cmd, netbsd32_voidp arg, \ int misc); } 272 COMPAT_30 { int|netbsd32||getdents(int fd, netbsd32_charp buf, \ netbsd32_size_t count); } 273 STD { int|netbsd32||minherit(netbsd32_voidp addr, \ netbsd32_size_t len, int inherit); } 274 STD { int|netbsd32||lchmod(netbsd32_charp path, \ mode_t mode); } 275 STD { int|netbsd32||lchown(netbsd32_charp path, uid_t uid, \ gid_t gid); } 276 COMPAT_50 { int|netbsd32||lutimes(netbsd32_charp path, \ netbsd32_timeval50p_t tptr); } 277 STD { int|netbsd32|13|msync(netbsd32_voidp addr, \ netbsd32_size_t len, int flags); } 278 COMPAT_30 { int|netbsd32|13|stat(netbsd32_charp path, \ netbsd32_stat13p_t ub); } 279 COMPAT_30 { int|netbsd32|13|fstat(int fd, \ netbsd32_stat13p_t sb); } 280 COMPAT_30 { int|netbsd32|13|lstat(netbsd32_charp path, \ netbsd32_stat13p_t ub); } 281 STD { int|netbsd32|14|sigaltstack(\ netbsd32_sigaltstackp_t nss, \ netbsd32_sigaltstackp_t oss); } 282 NOARGS { int|sys|14|vfork(void); } 283 STD { int|netbsd32||__posix_chown(netbsd32_charp path, \ uid_t uid, gid_t gid); } 284 STD { int|netbsd32||__posix_fchown(int fd, uid_t uid, \ gid_t gid); } 285 STD { int|netbsd32||__posix_lchown(netbsd32_charp path, \ uid_t uid, gid_t gid); } 286 STD { pid_t|netbsd32||getsid(pid_t pid); } 287 STD { int|netbsd32||__clone(int flags, \ netbsd32_voidp stack); } 288 STD { int|netbsd32||fktrace(int fd, int ops, int facs, \ int pid); } 289 STD { netbsd32_ssize_t|netbsd32||preadv(int fd, \ netbsd32_iovecp_t iovp, int iovcnt, int pad, \ off_t offset); } 290 STD { netbsd32_ssize_t|netbsd32||pwritev(int fd, \ netbsd32_iovecp_t iovp, int iovcnt, int pad, \ off_t offset); } 291 STD { int|netbsd32|14|sigaction(int signum, \ d457 2 a458 2 292 STD { int|netbsd32|14|sigpending(netbsd32_sigsetp_t set); } 293 STD { int|netbsd32|14|sigprocmask(int how, \ d461 5 a465 7 294 STD { int|netbsd32|14|sigsuspend(netbsd32_sigsetp_t set); } 295 COMPAT_16 { int|netbsd32|14|sigreturn( \ netbsd32_sigcontextp_t sigcntxp); } 296 STD { int|netbsd32||__getcwd(netbsd32_charp bufp, \ netbsd32_size_t length); } 297 STD { int|netbsd32||fchroot(int fd); } 298 COMPAT_30 { int|netbsd32||fhopen(netbsd32_fhandlep_t fhp, \ d467 1 a467 1 299 COMPAT_30 { int|netbsd32||fhstat(netbsd32_fhandlep_t fhp, \ d469 5 a473 5 300 COMPAT_20 { int|netbsd32||fhstatfs(netbsd32_fhandlep_t fhp, \ netbsd32_stat50p_t buf); } #if defined(SYSVSEM) || !defined(_KERNEL_OPT) 301 COMPAT_50 { int|netbsd32|14|semctl(int semid, int semnum, \ int cmd, ... netbsd32_semun50p_t arg); } d477 3 a479 3 #if defined(SYSVMSG) || !defined(_KERNEL_OPT) 302 COMPAT_50 { int|netbsd32|13|msgctl(int msqid, int cmd, \ netbsd32_msqid_ds50p_t buf); } d483 3 a485 3 #if defined(SYSVSHM) || !defined(_KERNEL_OPT) 303 COMPAT_50 { int|netbsd32|13|shmctl(int shmid, int cmd, \ netbsd32_shmid_ds50p_t buf); } d489 6 a494 7 304 STD { int|netbsd32||lchflags(netbsd32_charp path, \ netbsd32_u_long flags); } 305 NOARGS { int|sys||issetugid(void); } 306 STD { int|netbsd32||utrace(netbsd32_charp label, \ netbsd32_voidp addr, netbsd32_size_t len); } 307 STD { int|netbsd32||getcontext(netbsd32_ucontextp ucp); } 308 STD { int|netbsd32||setcontext(netbsd32_ucontextp ucp, \ d496 1 a496 1 309 STD { int|netbsd32||_lwp_create(netbsd32_ucontextp ucp, \ d498 3 a500 3 310 NOARGS { int|sys||_lwp_exit(void); } 311 NOARGS { lwpid_t|sys||_lwp_self(void); } 312 STD { int|netbsd32||_lwp_wait(lwpid_t wait_for, \ d502 14 a515 16 313 STD { int|netbsd32||_lwp_suspend(lwpid_t target); } 314 STD { int|netbsd32||_lwp_continue(lwpid_t target); } 315 STD { int|netbsd32||_lwp_wakeup(lwpid_t target); } 316 NOARGS { netbsd32_voidp|sys||_lwp_getprivate(void); } 317 STD { void|netbsd32||_lwp_setprivate(netbsd32_voidp ptr); } 318 STD { int|netbsd32||_lwp_kill(lwpid_t target, int signo); } 319 STD { int|netbsd32||_lwp_detach(lwpid_t target); } 320 COMPAT_50 { int|netbsd32||_lwp_park(netbsd32_timespec50p_t ts, \ lwpid_t unpark, netbsd32_voidp hint, \ netbsd32_voidp unparkhint); } 321 STD { int|netbsd32||_lwp_unpark(lwpid_t target, \ netbsd32_voidp hint); } 322 STD { netbsd32_size_t|netbsd32||_lwp_unpark_all( \ netbsd32_lwpidp targets, netbsd32_size_t ntargets, \ netbsd32_voidp hint); } 323 STD { int|netbsd32||_lwp_setname(lwpid_t target, \ d517 1 a517 1 324 STD { int|netbsd32||_lwp_getname(lwpid_t target, \ d519 1 a519 1 325 STD { int|netbsd32||_lwp_ctl(int features, \ d525 1 a525 1 330 STD { int|netbsd32||sa_register(netbsd32_sa_upcall_t new, \ d528 5 a532 6 331 STD { int|netbsd32||sa_stacks(int num, \ netbsd32_stackp_t stacks); } 332 NOARGS { int|sys||sa_enable(void); } 333 STD { int|netbsd32||sa_setconcurrency(int concurrency); } 334 NOARGS { int|sys||sa_yield(void); } 335 STD { int|netbsd32||sa_preempt(int sa_id); } d537 1 a537 1 340 STD { int|netbsd32||__sigaction_sigtramp(int signum, \ d543 12 a554 22 343 STD { int|netbsd32||rasctl(netbsd32_voidp addr, \ netbsd32_size_t len, int op); } 344 NOARGS { int|sys||kqueue(void); } 345 COMPAT_50 { int|netbsd32||kevent(int fd, \ netbsd32_keventp_t changelist, \ netbsd32_size_t nchanges, \ netbsd32_keventp_t eventlist, \ netbsd32_size_t nevents, \ netbsd32_timespec50p_t timeout); } ; Scheduling system calls. 346 STD { int|netbsd32||_sched_setparam(pid_t pid, lwpid_t lid, \ int policy, const netbsd32_sched_paramp_t params); } 347 STD { int|netbsd32||_sched_getparam(pid_t pid, lwpid_t lid, \ netbsd32_intp policy, \ netbsd32_sched_paramp_t params); } 348 STD { int|netbsd32||_sched_setaffinity(pid_t pid, \ lwpid_t lid, netbsd32_size_t size, \ const netbsd32_cpusetp_t cpuset); } 349 STD { int|netbsd32||_sched_getaffinity(pid_t pid, \ lwpid_t lid, netbsd32_size_t size, \ netbsd32_cpusetp_t cpuset); } 350 NOARGS { int|sys||sched_yield(void); } d558 4 a561 5 354 STD { int|netbsd32||fsync_range(int fd, int flags, \ off_t start, off_t length); } 355 STD { int|netbsd32||uuidgen(netbsd32_uuidp_t store, \ int count); } 356 STD { int|netbsd32||getvfsstat(netbsd32_statvfsp_t buf, \ d563 1 a563 1 357 STD { int|netbsd32||statvfs1(netbsd32_charp path, \ d565 3 a567 1 358 STD { int|netbsd32||fstatvfs1(int fd, \ d569 4 a572 6 359 COMPAT_30 { int|netbsd32||fhstatvfs1(netbsd32_fhandlep_t fhp, \ netbsd32_statvfsp_t buf, int flags); } 360 STD { int|netbsd32||extattrctl(netbsd32_charp path, \ int cmd, netbsd32_charp filename, \ int attrnamespace, netbsd32_charp attrname); } 361 STD { int|netbsd32||extattr_set_file(netbsd32_charp path, \ d575 1 a575 1 362 STD { int|netbsd32||extattr_get_file(netbsd32_charp path, \ d578 3 a580 4 363 STD { int|netbsd32||extattr_delete_file( \ netbsd32_charp path, int attrnamespace, \ netbsd32_charp attrname); } 364 STD { int|netbsd32||extattr_set_fd(int fd, \ d583 1 a583 1 365 STD { int|netbsd32||extattr_get_fd(int fd, \ d586 1 a586 1 366 STD { int|netbsd32||extattr_delete_fd(int fd, \ d588 1 a588 1 367 STD { int|netbsd32||extattr_set_link(netbsd32_charp path, \ d591 1 a591 1 368 STD { int|netbsd32||extattr_get_link(netbsd32_charp path, \ d594 3 a596 4 369 STD { int|netbsd32||extattr_delete_link( \ netbsd32_charp path, int attrnamespace, \ netbsd32_charp attrname); } 370 STD { int|netbsd32||extattr_list_fd(int fd, \ d599 1 a599 1 371 STD { int|netbsd32||extattr_list_file(netbsd32_charp path, \ d602 1 a602 1 372 STD { int|netbsd32||extattr_list_link(netbsd32_charp path, \ d605 1 a605 1 373 COMPAT_50 { int|netbsd32||pselect(int nd, netbsd32_fd_setp_t in, \ d607 4 a610 6 netbsd32_timespec50p_t ts, \ netbsd32_sigsetp_t mask); } 374 COMPAT_50 { int|netbsd32||pollts(netbsd32_pollfdp_t fds, \ u_int nfds, netbsd32_timespec50p_t ts, \ netbsd32_sigsetp_t mask); } 375 STD { int|netbsd32||setxattr(netbsd32_charp path, \ d613 1 a613 1 376 STD { int|netbsd32||lsetxattr(netbsd32_charp path, \ d616 1 a616 1 377 STD { int|netbsd32||fsetxattr(int fd, \ d619 1 a619 1 378 STD { int|netbsd32||getxattr(netbsd32_charp path, \ d622 1 a622 1 379 STD { int|netbsd32||lgetxattr(netbsd32_charp path, \ d625 1 a625 1 380 STD { int|netbsd32||fgetxattr(int fd, \ d628 1 a628 1 381 STD { int|netbsd32||listxattr(netbsd32_charp path, \ d630 1 a630 1 382 STD { int|netbsd32||llistxattr(netbsd32_charp path, \ d632 1 a632 1 383 STD { int|netbsd32||flistxattr(int fd, \ d634 1 a634 1 384 STD { int|netbsd32||removexattr(netbsd32_charp path, \ d636 1 a636 1 385 STD { int|netbsd32||lremovexattr(netbsd32_charp path, \ d638 1 a638 1 386 STD { int|netbsd32||fremovexattr(int fd, \ d640 7 a646 7 387 COMPAT_50 { int|netbsd32|30|stat(netbsd32_charp path, \ netbsd32_stat50p_t ub); } 388 COMPAT_50 { int|netbsd32|30|fstat(int fd, \ netbsd32_stat50p_t sb); } 389 COMPAT_50 { int|netbsd32|30|lstat( \ netbsd32_charp path, netbsd32_stat50p_t ub); } 390 STD { int|netbsd32|30|getdents(int fd, \ d649 1 a649 1 392 COMPAT_30 { int|netbsd32|30|fhstat( \ d651 5 a655 8 netbsd32_stat50p_t sb); } 393 COMPAT_50 { int|netbsd32||ntp_gettime( \ netbsd32_ntptimeval50p_t ntvp); } 394 STD { int|netbsd32|30|socket(int domain, int type, \ int protocol); } 395 STD { int|netbsd32|30|getfh(netbsd32_charp fname, \ netbsd32_pointer_t fhp, netbsd32_size_tp fh_size); } 396 STD { int|netbsd32|40|fhopen(netbsd32_pointer_t fhp, \ d657 1 a657 1 397 STD { int|netbsd32|40|fhstatvfs1( \ d660 1 a660 1 398 COMPAT_50 { int|netbsd32|40|fhstat( \ d662 1 a662 1 netbsd32_stat50p_t sb); } d665 10 a674 8 399 UNIMPL sys_aio_cancel 400 UNIMPL sys_aio_error 401 UNIMPL sys_aio_fsync 402 UNIMPL sys_aio_read 403 UNIMPL sys_aio_return 404 UNIMPL sys_aio_suspend 405 UNIMPL sys_aio_write 406 UNIMPL sys_lio_listio d680 4 a683 2 410 UNIMPL sys___mount50 411 STD { netbsd32_voidp|netbsd32||mremap( \ d694 1 a694 1 416 STD { int|netbsd32|50|posix_fadvise(int fd, int pad, \ a695 107 417 STD { int|netbsd32|50|select(int nd, \ netbsd32_fd_setp_t in, netbsd32_fd_setp_t ou, \ netbsd32_fd_setp_t ex, netbsd32_timevalp_t tv); } 418 STD { int|netbsd32|50|gettimeofday( \ netbsd32_timevalp_t tp, netbsd32_voidp tzp); } 419 STD { int|netbsd32|50|settimeofday( \ const netbsd32_timevalp_t tv, \ const netbsd32_voidp tzp); } 420 STD { int|netbsd32|50|utimes(const netbsd32_charp path, \ const netbsd32_timevalp_t tptr); } 421 STD { int|netbsd32|50|adjtime( \ const netbsd32_timevalp_t delta, \ netbsd32_timevalp_t olddelta); } #if defined(LFS) || !defined(_KERNEL_OPT) 422 STD { int|netbsd32|50|lfs_segwait( \ netbsd32_fsid_tp_t fsidp, \ netbsd32_timevalp_t tv); } #else 422 EXCL __lfs_segwait50 #endif 423 STD { int|netbsd32|50|futimes(int fd, \ const netbsd32_timevalp_t tptr); } 424 STD { int|netbsd32|50|lutimes(const netbsd32_charp path, \ const netbsd32_timevalp_t tptr); } 425 STD { int|netbsd32|50|setitimer(int which, \ const netbsd32_itimervalp_t itv, \ netbsd32_itimervalp_t oitv); } 426 STD { int|netbsd32|50|getitimer(int which, \ netbsd32_itimervalp_t itv); } 427 STD { int|netbsd32|50|clock_gettime(clockid_t clock_id, \ netbsd32_timespecp_t tp); } 428 STD { int|netbsd32|50|clock_settime(clockid_t clock_id, \ const netbsd32_timespecp_t tp); } 429 STD { int|netbsd32|50|clock_getres(clockid_t clock_id, \ netbsd32_timespecp_t tp); } 430 STD { int|netbsd32|50|nanosleep( \ const netbsd32_timespecp_t rqtp, \ netbsd32_timespecp_t rmtp); } 431 STD { int|netbsd32|50|__sigtimedwait( \ const netbsd32_sigsetp_t set, \ netbsd32_siginfop_t info, \ netbsd32_timespecp_t timeout); } 432 UNIMPL netbsd32___mq_timedsend50 433 UNIMPL netbsd32___mq_timedreceive50 434 STD { int|netbsd32|50|_lwp_park( \ const netbsd32_timespecp_t ts, \ lwpid_t unpark, const netbsd32_voidp hint, \ const netbsd32_voidp unparkhint); } 435 STD { int|netbsd32|50|kevent(int fd, \ const netbsd32_keventp_t changelist, \ netbsd32_size_t nchanges, \ netbsd32_keventp_t eventlist, \ netbsd32_size_t nevents, \ const netbsd32_timespecp_t timeout); } 436 STD { int|netbsd32|50|pselect(int nd, \ netbsd32_fd_setp_t in, \ netbsd32_fd_setp_t ou, \ netbsd32_fd_setp_t ex, \ const netbsd32_timespecp_t ts, \ const netbsd32_sigsetp_t mask); } 437 STD { int|netbsd32|50|pollts(netbsd32_pollfdp_t fds, \ u_int nfds, const netbsd32_timespecp_t ts, \ const netbsd32_sigsetp_t mask); } 438 UNIMPL netbsd32___aio_suspend50 439 STD { int|netbsd32|50|stat(const netbsd32_charp path, \ netbsd32_statp_t ub); } 440 STD { int|netbsd32|50|fstat(int fd, netbsd32_statp_t sb); } 441 STD { int|netbsd32|50|lstat(const netbsd32_charp path, \ netbsd32_statp_t ub); } #if defined(SYSVSEM) || !defined(_KERNEL_OPT) 442 STD { int|netbsd32|50|__semctl(int semid, int semnum, \ int cmd, ... netbsd32_semunp_t arg); } #else 442 EXCL ____semctl50 #endif #if defined(SYSVSHM) || !defined(_KERNEL_OPT) 443 STD { int|netbsd32|50|shmctl(int shmid, int cmd, \ netbsd32_shmid_dsp_t buf); } #else 443 EXCL ____shmctl50 #endif #if defined(SYSVMSG) || !defined(_KERNEL_OPT) 444 STD { int|netbsd32|50|msgctl(int msqid, int cmd, \ netbsd32_msqid_dsp_t buf); } #else 444 EXCL ____msgctl50 #endif 445 STD { int|netbsd32|50|getrusage(int who, \ netbsd32_rusagep_t rusage); } 446 STD { int|netbsd32|50|timer_settime(timer_t timerid, \ int flags, const netbsd32_itimerspecp_t value, \ netbsd32_itimerspecp_t ovalue); } 447 STD { int|netbsd32|50|timer_gettime(timer_t timerid, \ netbsd32_itimerspecp_t value); } #if defined(NTP) || !defined(_KERNEL_OPT) 448 STD { int|netbsd32|50|ntp_gettime( \ netbsd32_ntptimevalp_t ntvp); } #else 448 EXCL ___ntp_gettime50 #endif 449 STD { int|netbsd32|50|wait4(int pid, \ netbsd32_intp status, \ int options, netbsd32_rusagep_t rusage); } 450 STD { int|netbsd32|50|mknod(const netbsd32_charp path, \ mode_t mode, dev_t dev); } 451 STD { int|netbsd32|50|fhstat(const netbsd32_voidp fhp, \ netbsd32_size_t fh_size, netbsd32_statp_t sb); } @ 1.70.2.2 log @Sync with HEAD. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.70.2.1 2009/01/19 13:17:37 skrll Exp $ a369 1 #if defined(NTP) || !defined(_KERNEL_OPT) a372 4 #else 175 EXCL ntp_gettime 176 EXCL ntp_adjtime #endif a830 1 #if defined(NTP) || !defined(_KERNEL_OPT) a832 3 #else 393 EXCL __ntp_gettime30 #endif @ 1.70.2.3 log @Sync with HEAD. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.70.2.2 2009/03/03 18:30:08 skrll Exp $ d987 1 a987 1 mode_t mode, netbsd32_dev_t dev); } @ 1.70.4.1 log @Pull up following revision(s) (requested by mrg in ticket #121): sys/compat/netbsd32/syscalls.master: revision 1.74 sys/compat/netbsd32/netbsd32.h: revision 1.78 sys/compat/netbsd32/netbsd32_netbsd.c: revision 1.149 implement netbsd32__sched_setparam(), netbsd32__sched_getparam(), netbsd32__sched_setaffinity() and netbsd32__sched_getaffinity(). @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.70 2008/10/15 06:51:20 wrstuden Exp $ d550 4 a553 9 ; Scheduling system calls. 346 STD { int netbsd32__sched_setparam(pid_t pid, lwpid_t lid, \ int policy, const netbsd32_sched_paramp_t params); } 347 STD { int netbsd32__sched_getparam(pid_t pid, lwpid_t lid, \ netbsd32_intp policy, netbsd32_sched_paramp_t params); } 348 STD { int netbsd32__sched_setaffinity(pid_t pid, lwpid_t lid, \ netbsd32_size_t size, const netbsd32_cpusetp_t cpuset); } 349 STD { int netbsd32__sched_getaffinity(pid_t pid, lwpid_t lid, \ netbsd32_size_t size, netbsd32_cpusetp_t cpuset); } @ 1.70.4.1.4.1 log @Add netbsd32___mount50 @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.70.4.1 2008/11/25 17:31:26 snj Exp $ d685 3 a687 3 410 STD { int netbsd32___mount50(netbsd32_charp type, \ netbsd32_charp path, int flags, \ netbsd32_voidp data, netbsd32_size_t data_len); } @ 1.69 log @- Retire SYCALL_MPSAFE. With the exceptions of darwin and irix emulations, all system calls are now MPSAFE. - Remove unneeded acquire/release of kernel_lock. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.68 2008/02/24 12:52:55 martin Exp $ d525 8 a532 6 330 OBSOL netbsd32_sa_register 331 OBSOL netbsd32_sa_stacks 332 OBSOL sys_sa_enable 333 OBSOL netbsd32_sa_setconcurrency 334 OBSOL sys_sa_yield 335 OBSOL netbsd32_sa_preempt @ 1.69.2.1 log @sync with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.69 2008/04/24 11:51:18 ad Exp $ d40 1 d68 1 a68 1 0 INDIR { int|netbsd32||syscall(int code, \ d70 10 a79 16 1 STD { void|netbsd32||exit(int rval); } 2 NOARGS { int|sys||fork(void); } 3 STD { netbsd32_ssize_t|netbsd32||read(int fd, \ netbsd32_voidp buf, netbsd32_size_t nbyte); } 4 STD { netbsd32_ssize_t|netbsd32||write(int fd, \ netbsd32_voidp buf, netbsd32_size_t nbyte); } 5 STD { int|netbsd32||open(netbsd32_charp path, int flags, \ ... mode_t mode); } 6 STD { int|netbsd32||close(int fd); } 7 COMPAT_50 { int|netbsd32||wait4(int pid, netbsd32_intp status, \ int options, netbsd32_rusage50p_t rusage); } 8 COMPAT_43 { int|netbsd32||ocreat(netbsd32_charp path, \ mode_t mode); } 9 STD { int|netbsd32||link(netbsd32_charp path, \ netbsd32_charp link); } 10 STD { int|netbsd32||unlink(netbsd32_charp path); } d81 37 a117 63 12 STD { int|netbsd32||chdir(netbsd32_charp path); } 13 STD { int|netbsd32||fchdir(int fd); } 14 COMPAT_50 { int|netbsd32||mknod(netbsd32_charp path, mode_t mode, \ uint32_t dev); } 15 STD { int|netbsd32||chmod(netbsd32_charp path, mode_t mode); } 16 STD { int|netbsd32||chown(netbsd32_charp path, uid_t uid, \ gid_t gid); } 17 STD { int|netbsd32||break(netbsd32_charp nsize); } 18 COMPAT_20 { int|netbsd32||getfsstat(netbsd32_statfsp_t buf, \ netbsd32_long bufsize, int flags); } 19 COMPAT_43 { netbsd32_long|netbsd32||olseek(int fd, \ netbsd32_long offset, int whence); } 20 NOARGS { pid_t|sys||getpid(void); } 21 STD { int|netbsd32||mount(netbsd32_charp type, \ netbsd32_charp path, int flags, \ netbsd32_voidp data); } 22 STD { int|netbsd32||unmount(netbsd32_charp path, \ int flags); } 23 STD { int|netbsd32||setuid(uid_t uid); } 24 NOARGS { uid_t|sys||getuid(void); } 25 NOARGS { uid_t|sys||geteuid(void); } 26 STD { int|netbsd32||ptrace(int req, pid_t pid, \ netbsd32_voidp addr, int data); } 27 STD { netbsd32_ssize_t|netbsd32||recvmsg(int s, \ netbsd32_msghdrp_t msg, int flags); } 28 STD { netbsd32_ssize_t|netbsd32||sendmsg(int s, \ netbsd32_msghdrp_t msg, int flags); } 29 STD { netbsd32_ssize_t|netbsd32||recvfrom(int s, \ netbsd32_voidp buf, netbsd32_size_t len, \ int flags, netbsd32_sockaddrp_t from, \ netbsd32_intp fromlenaddr); } 30 STD { int|netbsd32||accept(int s, \ netbsd32_sockaddrp_t name, \ netbsd32_intp anamelen); } 31 STD { int|netbsd32||getpeername(int fdes, \ netbsd32_sockaddrp_t asa, netbsd32_intp alen); } 32 STD { int|netbsd32||getsockname(int fdes, \ netbsd32_sockaddrp_t asa, netbsd32_intp alen); } 33 STD { int|netbsd32||access(netbsd32_charp path, int flags); } 34 STD { int|netbsd32||chflags(netbsd32_charp path, \ netbsd32_u_long flags); } 35 STD { int|netbsd32||fchflags(int fd, \ netbsd32_u_long flags); } 36 NOARGS { void|sys||sync(void); } 37 STD { int|netbsd32||kill(int pid, int signum); } 38 COMPAT_43 { int|netbsd32||stat43(netbsd32_charp path, \ netbsd32_stat43p_t ub); } 39 NOARGS { pid_t|sys||getppid(void); } 40 COMPAT_43 { int|netbsd32||lstat43(netbsd32_charp path, \ netbsd32_stat43p_t ub); } 41 STD { int|netbsd32||dup(int fd); } 42 NOARGS { int|sys||pipe(void); } 43 NOARGS { gid_t|sys||getegid(void); } 44 STD { int|netbsd32||profil(netbsd32_voidp samples, \ netbsd32_size_t size, netbsd32_u_long offset, \ u_int scale); } 45 STD { int|netbsd32||ktrace(netbsd32_charp fname, int ops, \ int facs, int pid); } 46 STD { int|netbsd32||sigaction(int signum, \ netbsd32_sigactionp_t nsa, \ netbsd32_sigactionp_t osa); } 47 NOARGS { gid_t|sys||getgid(void); } 48 COMPAT_13 { int|netbsd32||sigprocmask(int how, \ d119 17 a135 27 49 STD { int|netbsd32||__getlogin(netbsd32_charp namebuf, \ u_int namelen); } 50 STD { int|netbsd32||setlogin(netbsd32_charp namebuf); } 51 STD { int|netbsd32||acct(netbsd32_charp path); } 52 COMPAT_13 { int|sys||sigpending(void); } sigpending13 53 COMPAT_13 { int|netbsd32||sigaltstack13( \ netbsd32_sigaltstack13p_t nss, \ netbsd32_sigaltstack13p_t oss); } 54 STD { int|netbsd32||ioctl(int fd, netbsd32_u_long com, \ ... netbsd32_voidp data); } 55 COMPAT_12 { int|netbsd32||reboot(int opt); } 56 STD { int|netbsd32||revoke(netbsd32_charp path); } 57 STD { int|netbsd32||symlink(netbsd32_charp path, \ netbsd32_charp link); } 58 STD { int|netbsd32||readlink(netbsd32_charp path, \ netbsd32_charp buf, netbsd32_size_t count); } 59 STD { int|netbsd32||execve(netbsd32_charp path, \ netbsd32_charpp argp, netbsd32_charpp envp); } 60 STD { mode_t|netbsd32||umask(mode_t newmask); } 61 STD { int|netbsd32||chroot(netbsd32_charp path); } 62 COMPAT_43 { int|netbsd32||fstat43(int fd, netbsd32_stat43p_t sb); } 63 COMPAT_43 { int|netbsd32||ogetkerninfo(int op, \ netbsd32_charp where, netbsd32_intp size, \ int arg); } 64 COMPAT_43 { int|sys||getpagesize(void); } ogetpagesize 65 COMPAT_12 { int|netbsd32||msync(netbsd32_voidp addr, \ netbsd32_size_t len); } d137 1 a137 1 66 NOARGS { int|sys||vfork(void); } d140 7 a146 12 69 STD { int|netbsd32||sbrk(netbsd32_intptr_t incr); } 70 STD { int|netbsd32||sstk(int incr); } 71 COMPAT_43 { int|netbsd32||ommap(netbsd32_voidp addr, \ netbsd32_size_t len, int prot, int flags, int fd, \ netbsd32_long pos); } 72 STD { int|netbsd32||ovadvise(int anom); } vadvise 73 STD { int|netbsd32||munmap(netbsd32_voidp addr, \ netbsd32_size_t len); } 74 STD { int|netbsd32||mprotect(netbsd32_voidp addr, \ netbsd32_size_t len, int prot); } 75 STD { int|netbsd32||madvise(netbsd32_voidp addr, \ netbsd32_size_t len, int behav); } d149 13 a161 21 78 STD { int|netbsd32||mincore(netbsd32_voidp addr, \ netbsd32_size_t len, netbsd32_charp vec); } 79 STD { int|netbsd32||getgroups(int gidsetsize, \ netbsd32_gid_tp gidset); } 80 STD { int|netbsd32||setgroups(int gidsetsize, \ netbsd32_gid_tp gidset); } 81 NOARGS { int|sys||getpgrp(void); } 82 STD { int|netbsd32||setpgid(int pid, int pgid); } 83 COMPAT_50 { int|netbsd32||setitimer(int which, \ netbsd32_itimerval50p_t itv, \ netbsd32_itimerval50p_t oitv); } 84 COMPAT_43 { int|sys||wait(void); } owait 85 COMPAT_12 { int|netbsd32||oswapon(netbsd32_charp name); } 86 COMPAT_50 { int|netbsd32||getitimer(int which, \ netbsd32_itimerval50p_t itv); } 87 COMPAT_43 { int|netbsd32||ogethostname(netbsd32_charp hostname, \ u_int len); } 88 COMPAT_43 { int|netbsd32||osethostname(netbsd32_charp hostname, \ u_int len); } 89 COMPAT_43 { int|sys||getdtablesize(void); } ogetdtablesize 90 STD { int|netbsd32||dup2(int from, int to); } d163 2 a164 5 92 STD { int|netbsd32||fcntl(int fd, int cmd, \ ... netbsd32_voidp arg); } 93 COMPAT_50 { int|netbsd32||select(int nd, netbsd32_fd_setp_t in, \ netbsd32_fd_setp_t ou, netbsd32_fd_setp_t ex, \ netbsd32_timeval50p_t tv); } d166 12 a177 21 95 STD { int|netbsd32||fsync(int fd); } 96 STD { int|netbsd32||setpriority(int which, int who, \ int prio); } 97 COMPAT_30 { int|netbsd32||socket(int domain, int type, \ int protocol); } 98 STD { int|netbsd32||connect(int s, \ netbsd32_sockaddrp_t name, int namelen); } 99 COMPAT_43 { int|netbsd32||oaccept(int s, netbsd32_voidp name, \ netbsd32_intp anamelen); } 100 STD { int|netbsd32||getpriority(int which, int who); } 101 COMPAT_43 { int|netbsd32||osend(int s, netbsd32_voidp buf, \ int len, int flags); } 102 COMPAT_43 { int|netbsd32||orecv(int s, netbsd32_voidp buf, \ int len, int flags); } 103 COMPAT_13 { int|netbsd32||sigreturn( \ netbsd32_sigcontextp_t sigcntxp); } sigreturn13 104 STD { int|netbsd32||bind(int s, netbsd32_sockaddrp_t name, \ int namelen); } 105 STD { int|netbsd32||setsockopt(int s, int level, int name, \ netbsd32_voidp val, int valsize); } 106 STD { int|netbsd32||listen(int s, int backlog); } d179 7 a185 11 108 COMPAT_43 { int|netbsd32||osigvec(int signum, \ netbsd32_sigvecp_t nsv, netbsd32_sigvecp_t osv); } 109 COMPAT_43 { int|netbsd32||sigblock(int mask); } 110 COMPAT_43 { int|netbsd32||sigsetmask(int mask); } 111 COMPAT_13 { int|netbsd32||sigsuspend(int mask); } sigsuspend13 112 COMPAT_43 { int|netbsd32||osigstack(netbsd32_sigstackp_t nss, \ netbsd32_sigstackp_t oss); } 113 COMPAT_43 { int|netbsd32||orecvmsg(int s, \ netbsd32_omsghdrp_t msg, int flags); } 114 COMPAT_43 { int|netbsd32||osendmsg(int s, netbsd32_voidp msg, \ int flags); } d187 3 a189 6 116 COMPAT_50 { int|netbsd32||gettimeofday(netbsd32_timeval50p_t tp, \ netbsd32_timezonep_t tzp); } 117 COMPAT_50 { int|netbsd32||getrusage(int who, \ netbsd32_rusage50p_t rusage); } 118 STD { int|netbsd32||getsockopt(int s, int level, int name, \ netbsd32_voidp val, netbsd32_intp avalsize); } d191 19 a209 33 120 STD { netbsd32_ssize_t|netbsd32||readv(int fd, \ netbsd32_iovecp_t iovp, int iovcnt); } 121 STD { netbsd32_ssize_t|netbsd32||writev(int fd, \ netbsd32_iovecp_t iovp, int iovcnt); } 122 COMPAT_50 { int|netbsd32||settimeofday(netbsd32_timeval50p_t tv, \ netbsd32_timezonep_t tzp); } 123 STD { int|netbsd32||fchown(int fd, uid_t uid, gid_t gid); } 124 STD { int|netbsd32||fchmod(int fd, mode_t mode); } 125 COMPAT_43 { int|netbsd32||orecvfrom(int s, netbsd32_voidp buf, \ netbsd32_size_t len, int flags, \ netbsd32_voidp from, netbsd32_intp fromlenaddr); } 126 STD { int|netbsd32||setreuid(uid_t ruid, uid_t euid); } 127 STD { int|netbsd32||setregid(gid_t rgid, gid_t egid); } 128 STD { int|netbsd32||rename(netbsd32_charp from, \ netbsd32_charp to); } 129 COMPAT_43 { int|netbsd32||otruncate(netbsd32_charp path, \ netbsd32_long length); } 130 COMPAT_43 { int|netbsd32||oftruncate(int fd, \ netbsd32_long length); } 131 STD { int|netbsd32||flock(int fd, int how); } 132 STD { int|netbsd32||mkfifo(netbsd32_charp path, \ mode_t mode); } 133 STD { netbsd32_ssize_t|netbsd32||sendto(int s, \ netbsd32_voidp buf, netbsd32_size_t len, \ int flags, netbsd32_sockaddrp_t to, int tolen); } 134 STD { int|netbsd32||shutdown(int s, int how); } 135 STD { int|netbsd32||socketpair(int domain, int type, \ int protocol, netbsd32_intp rsv); } 136 STD { int|netbsd32||mkdir(netbsd32_charp path, \ mode_t mode); } 137 STD { int|netbsd32||rmdir(netbsd32_charp path); } 138 COMPAT_50 { int|netbsd32||utimes(netbsd32_charp path, \ netbsd32_timeval50p_t tptr); } d211 11 a221 17 140 COMPAT_50 { int|netbsd32||adjtime(netbsd32_timeval50p_t delta, \ netbsd32_timeval50p_t olddelta); } 141 COMPAT_43 { int|netbsd32||ogetpeername(int fdes, \ netbsd32_voidp asa, netbsd32_intp alen); } 142 COMPAT_43 { int32_t|sys||gethostid(void); } ogethostid 143 COMPAT_43 { int|netbsd32||sethostid(int32_t hostid); } 144 COMPAT_43 { int|netbsd32||ogetrlimit(int which, \ netbsd32_orlimitp_t rlp); } 145 COMPAT_43 { int|netbsd32||osetrlimit(int which, \ netbsd32_orlimitp_t rlp); } 146 COMPAT_43 { int|netbsd32||killpg(int pgid, int signum); } 147 NOARGS { int|sys||setsid(void); } 148 STD { int|netbsd32||quotactl(netbsd32_charp path, int cmd, \ int uid, netbsd32_voidp arg); } 149 COMPAT_43 { int|sys||quota(void); } oquota 150 COMPAT_43 { int|netbsd32||ogetsockname(int fdec, \ netbsd32_voidp asa, netbsd32_intp alen); } d231 8 a238 8 155 STD { int|netbsd32||nfssvc(int flag, netbsd32_voidp argp); } 156 COMPAT_43 { int|netbsd32||ogetdirentries(int fd, \ netbsd32_charp buf, u_int count, \ netbsd32_longp basep); } 157 COMPAT_20 { int|netbsd32||statfs(netbsd32_charp path, \ netbsd32_statfsp_t buf); } 158 COMPAT_20 { int|netbsd32||fstatfs(int fd, \ netbsd32_statfsp_t buf); } d241 5 a245 8 161 COMPAT_30 { int|netbsd32||getfh(netbsd32_charp fname, \ netbsd32_compat_30_fhandlep_t fhp); } 162 COMPAT_09 { int|netbsd32||ogetdomainname( \ netbsd32_charp domainname, int len); } 163 COMPAT_09 { int|netbsd32||osetdomainname( \ netbsd32_charp domainname, int len); } 164 COMPAT_09 { int|netbsd32||uname(netbsd32_outsnamep_t name); } 165 STD { int|netbsd32||sysarch(int op, netbsd32_voidp parms); } d249 2 a250 3 #if defined(SYSVSEM) || !defined(_KERNEL_OPT) 169 COMPAT_10 { int|netbsd32||semsys(int which, int a2, int a3, \ int a4, int a5); } osemsys d252 1 a252 1 169 EXCL netbsd32_semsys d254 2 a255 3 #if defined(SYSVMSG) || !defined(_KERNEL_OPT) 170 COMPAT_10 { int|netbsd32||msgsys(int which, int a2, int a3, \ int a4, int a5, int a6); } omsgsys d257 1 a257 1 170 EXCL netbsd32_msgsys d259 2 a260 3 #if defined(SYSVSHM) || !defined(_KERNEL_OPT) 171 COMPAT_10 { int|netbsd32||shmsys(int which, int a2, int a3, \ int a4); } oshmsys d262 1 a262 1 171 EXCL netbsd32_shmsys d265 4 a268 14 173 STD { netbsd32_ssize_t|netbsd32||pread(int fd, \ netbsd32_voidp buf, netbsd32_size_t nbyte, \ int pad, off_t offset); } 174 STD { netbsd32_ssize_t|netbsd32||pwrite(int fd, \ netbsd32_voidp buf, netbsd32_size_t nbyte, \ int pad, off_t offset); } #if defined(NTP) || !defined(_KERNEL_OPT) 175 COMPAT_30 { int|netbsd32||ntp_gettime( \ netbsd32_ntptimeval50p_t ntvp); } 176 STD { int|netbsd32||ntp_adjtime(netbsd32_timexp_t tp); } #else 175 EXCL ntp_gettime 176 EXCL ntp_adjtime #endif d275 19 a293 26 181 STD { int|netbsd32||setgid(gid_t gid); } 182 STD { int|netbsd32||setegid(gid_t egid); } 183 STD { int|netbsd32||seteuid(uid_t euid); } #if defined(LFS) || !defined(_KERNEL_OPT) 184 STD { int|netbsd32||lfs_bmapv(netbsd32_fsid_tp_t fsidp, \ netbsd32_block_infop_t blkiov, int blkcnt); } 185 STD { int|netbsd32||lfs_markv(netbsd32_fsid_tp_t fsidp, \ netbsd32_block_infop_t blkiov, int blkcnt); } 186 STD { int|netbsd32||lfs_segclean(netbsd32_fsid_tp_t fsidp, \ netbsd32_u_long segment); } 187 COMPAT_50 { int|netbsd32||lfs_segwait(netbsd32_fsid_tp_t fsidp, \ netbsd32_timeval50p_t tv); } #else 184 EXCL netbsd32_lfs_bmapv 185 EXCL netbsd32_lfs_markv 186 EXCL netbsd32_lfs_segclean 187 EXCL netbsd32_lfs_segwait #endif 188 COMPAT_12 { int|netbsd32||stat12(netbsd32_charp path, \ netbsd32_stat12p_t ub); } 189 COMPAT_12 { int|netbsd32||fstat12(int fd, netbsd32_stat12p_t sb); } 190 COMPAT_12 { int|netbsd32||lstat12(netbsd32_charp path, \ netbsd32_stat12p_t ub); } 191 STD { netbsd32_long|netbsd32||pathconf(netbsd32_charp path, \ int name); } 192 STD { netbsd32_long|netbsd32||fpathconf(int fd, int name); } d295 5 a299 11 194 STD { int|netbsd32||getrlimit(int which, \ netbsd32_rlimitp_t rlp); } 195 STD { int|netbsd32||setrlimit(int which, \ netbsd32_rlimitp_t rlp); } 196 COMPAT_12 { int|netbsd32||getdirentries(int fd, \ netbsd32_charp buf, u_int count, \ netbsd32_longp basep); } 197 STD { netbsd32_voidp|netbsd32||mmap(netbsd32_voidp addr, \ netbsd32_size_t len, int prot, int flags, int fd, \ netbsd32_long pad, off_t pos); } 198 INDIR { quad_t|netbsd32||___syscall(quad_t code, \ d301 37 a337 32 199 STD { off_t|netbsd32||lseek(int fd, int pad, off_t offset, \ int whence); } 200 STD { int|netbsd32||truncate(netbsd32_charp path, int pad, \ off_t length); } 201 STD { int|netbsd32||ftruncate(int fd, int pad, \ off_t length); } 202 STD { int|netbsd32||__sysctl(netbsd32_intp name, \ u_int namelen, netbsd32_voidp old, \ netbsd32_size_tp oldlenp, netbsd32_voidp new, \ netbsd32_size_t newlen); } 203 STD { int|netbsd32||mlock(netbsd32_voidp addr, \ netbsd32_size_t len); } 204 STD { int|netbsd32||munlock(netbsd32_voidp addr, \ netbsd32_size_t len); } 205 STD { int|netbsd32||undelete(netbsd32_charp path); } 206 COMPAT_50 { int|netbsd32||futimes(int fd, \ netbsd32_timeval50p_t tptr); } 207 STD { int|netbsd32||getpgid(pid_t pid); } 208 STD { int|netbsd32||reboot(int opt, \ netbsd32_charp bootstr); } 209 STD { int|netbsd32||poll(netbsd32_pollfdp_t fds, \ u_int nfds, int timeout); } 210 UNIMPL 211 UNIMPL 212 UNIMPL 213 UNIMPL 214 UNIMPL 215 UNIMPL 216 UNIMPL 217 UNIMPL 218 UNIMPL 219 UNIMPL d339 5 a343 8 #if defined(SYSVSEM) || !defined(_KERNEL_OPT) 220 COMPAT_14 { int|netbsd32||__semctl(int semid, int semnum, \ int cmd, netbsd32_semunu_t arg); } 221 STD { int|netbsd32||semget(netbsd32_key_t key, int nsems, \ int semflg); } 222 STD { int|netbsd32||semop(int semid, \ netbsd32_sembufp_t sops, netbsd32_size_t nsops); } 223 STD { int|netbsd32||semconfig(int flag); } d350 5 a354 9 #if defined(SYSVMSG) || !defined(_KERNEL_OPT) 224 COMPAT_14 { int|netbsd32||msgctl(int msqid, int cmd, \ netbsd32_msqid_ds14p_t buf); } 225 STD { int|netbsd32||msgget(netbsd32_key_t key, int msgflg); } 226 STD { int|netbsd32||msgsnd(int msqid, netbsd32_voidp msgp, \ netbsd32_size_t msgsz, int msgflg); } 227 STD { netbsd32_ssize_t|netbsd32||msgrcv(int msqid, \ netbsd32_voidp msgp, netbsd32_size_t msgsz, \ netbsd32_long msgtyp, int msgflg); } d361 5 a365 8 #if defined(SYSVSHM) || !defined(_KERNEL_OPT) 228 STD { netbsd32_voidp|netbsd32||shmat(int shmid, \ netbsd32_voidp shmaddr, int shmflg); } 229 COMPAT_14 { int|netbsd32||shmctl(int shmid, int cmd, \ netbsd32_shmid_dsp_t buf); } 230 STD { int|netbsd32||shmdt(netbsd32_voidp shmaddr); } 231 STD { int|netbsd32||shmget(netbsd32_key_t key, \ netbsd32_size_t size, int shmflg); } d372 4 a375 12 232 COMPAT_50 { int|netbsd32||clock_gettime( \ netbsd32_clockid_t clock_id, \ netbsd32_timespec50p_t tp); } 233 COMPAT_50 { int|netbsd32||clock_settime( \ netbsd32_clockid_t clock_id, \ netbsd32_timespec50p_t tp); } 234 COMPAT_50 { int|netbsd32||clock_getres( \ netbsd32_clockid_t clock_id, \ netbsd32_timespec50p_t tp); } 235 STD { int|netbsd32||timer_create( \ netbsd32_clockid_t clock_id, \ netbsd32_sigeventp_t evp, \ d377 6 a382 9 236 STD { int|netbsd32||timer_delete(netbsd32_timer_t timerid); } 237 COMPAT_50 { int|netbsd32||timer_settime(netbsd32_timer_t timerid, \ int flags, \ netbsd32_itimerspec50p_t value, \ netbsd32_itimerspec50p_t ovalue); } 238 COMPAT_50 { int|netbsd32||timer_gettime(netbsd32_timer_t timerid, \ netbsd32_itimerspec50p_t value); } 239 STD { int|netbsd32||timer_getoverrun( \ netbsd32_timer_t timerid); } d386 5 a390 6 240 COMPAT_50 { int|netbsd32||nanosleep(netbsd32_timespec50p_t rqtp, \ netbsd32_timespec50p_t rmtp); } 241 STD { int|netbsd32||fdatasync(int fd); } 242 STD { int|netbsd32||mlockall(int flags); } 243 NOARGS { int|sys||munlockall(void); } 244 COMPAT_50 { int|netbsd32||__sigtimedwait(netbsd32_sigsetp_t set, \ d392 1 a392 1 netbsd32_timespec50p_t timeout); } d395 10 a404 12 #if defined(P1003_1B_SEMAPHORE) || (!defined(_KERNEL_OPT) && defined(_LIBC)) 247 STD { int|netbsd32||_ksem_init(unsigned int value, \ netbsd32_semidp_t idp); } 248 STD { int|netbsd32||_ksem_open(netbsd32_charp name, \ int oflag, mode_t mode, unsigned int value, \ netbsd32_semidp_t idp); } 249 STD { int|netbsd32||_ksem_unlink(netbsd32_charp name); } 250 STD { int|netbsd32||_ksem_close(netbsd32_intptr_t id); } 251 STD { int|netbsd32||_ksem_post(netbsd32_intptr_t id); } 252 STD { int|netbsd32||_ksem_wait(netbsd32_intptr_t id); } 253 STD { int|netbsd32||_ksem_trywait(netbsd32_intptr_t id); } 254 STD { int|netbsd32||_ksem_getvalue(netbsd32_intptr_t id, \ d406 1 a406 1 255 STD { int|netbsd32||_ksem_destroy(netbsd32_intptr_t id); } d433 22 a454 44 270 STD { int|netbsd32||__posix_rename(netbsd32_charp from, \ netbsd32_charp to); } 271 STD { int|netbsd32||swapctl(int cmd, netbsd32_voidp arg, \ int misc); } 272 COMPAT_30 { int|netbsd32||getdents(int fd, netbsd32_charp buf, \ netbsd32_size_t count); } 273 STD { int|netbsd32||minherit(netbsd32_voidp addr, \ netbsd32_size_t len, int inherit); } 274 STD { int|netbsd32||lchmod(netbsd32_charp path, \ mode_t mode); } 275 STD { int|netbsd32||lchown(netbsd32_charp path, uid_t uid, \ gid_t gid); } 276 COMPAT_50 { int|netbsd32||lutimes(netbsd32_charp path, \ netbsd32_timeval50p_t tptr); } 277 STD { int|netbsd32|13|msync(netbsd32_voidp addr, \ netbsd32_size_t len, int flags); } 278 COMPAT_30 { int|netbsd32|13|stat(netbsd32_charp path, \ netbsd32_stat13p_t ub); } 279 COMPAT_30 { int|netbsd32|13|fstat(int fd, \ netbsd32_stat13p_t sb); } 280 COMPAT_30 { int|netbsd32|13|lstat(netbsd32_charp path, \ netbsd32_stat13p_t ub); } 281 STD { int|netbsd32|14|sigaltstack(\ netbsd32_sigaltstackp_t nss, \ netbsd32_sigaltstackp_t oss); } 282 NOARGS { int|sys|14|vfork(void); } 283 STD { int|netbsd32||__posix_chown(netbsd32_charp path, \ uid_t uid, gid_t gid); } 284 STD { int|netbsd32||__posix_fchown(int fd, uid_t uid, \ gid_t gid); } 285 STD { int|netbsd32||__posix_lchown(netbsd32_charp path, \ uid_t uid, gid_t gid); } 286 STD { pid_t|netbsd32||getsid(pid_t pid); } 287 STD { int|netbsd32||__clone(int flags, \ netbsd32_voidp stack); } 288 STD { int|netbsd32||fktrace(int fd, int ops, int facs, \ int pid); } 289 STD { netbsd32_ssize_t|netbsd32||preadv(int fd, \ netbsd32_iovecp_t iovp, int iovcnt, int pad, \ off_t offset); } 290 STD { netbsd32_ssize_t|netbsd32||pwritev(int fd, \ netbsd32_iovecp_t iovp, int iovcnt, int pad, \ off_t offset); } 291 STD { int|netbsd32|14|sigaction(int signum, \ d457 2 a458 2 292 STD { int|netbsd32|14|sigpending(netbsd32_sigsetp_t set); } 293 STD { int|netbsd32|14|sigprocmask(int how, \ d461 5 a465 7 294 STD { int|netbsd32|14|sigsuspend(netbsd32_sigsetp_t set); } 295 COMPAT_16 { int|netbsd32|14|sigreturn( \ netbsd32_sigcontextp_t sigcntxp); } 296 STD { int|netbsd32||__getcwd(netbsd32_charp bufp, \ netbsd32_size_t length); } 297 STD { int|netbsd32||fchroot(int fd); } 298 COMPAT_30 { int|netbsd32||fhopen(netbsd32_fhandlep_t fhp, \ d467 1 a467 1 299 COMPAT_30 { int|netbsd32||fhstat(netbsd32_fhandlep_t fhp, \ d469 5 a473 5 300 COMPAT_20 { int|netbsd32||fhstatfs(netbsd32_fhandlep_t fhp, \ netbsd32_stat50p_t buf); } #if defined(SYSVSEM) || !defined(_KERNEL_OPT) 301 COMPAT_50 { int|netbsd32|14|semctl(int semid, int semnum, \ int cmd, ... netbsd32_semun50p_t arg); } d477 3 a479 3 #if defined(SYSVMSG) || !defined(_KERNEL_OPT) 302 COMPAT_50 { int|netbsd32|13|msgctl(int msqid, int cmd, \ netbsd32_msqid_ds50p_t buf); } d483 3 a485 3 #if defined(SYSVSHM) || !defined(_KERNEL_OPT) 303 COMPAT_50 { int|netbsd32|13|shmctl(int shmid, int cmd, \ netbsd32_shmid_ds50p_t buf); } d489 6 a494 7 304 STD { int|netbsd32||lchflags(netbsd32_charp path, \ netbsd32_u_long flags); } 305 NOARGS { int|sys||issetugid(void); } 306 STD { int|netbsd32||utrace(netbsd32_charp label, \ netbsd32_voidp addr, netbsd32_size_t len); } 307 STD { int|netbsd32||getcontext(netbsd32_ucontextp ucp); } 308 STD { int|netbsd32||setcontext(netbsd32_ucontextp ucp, \ d496 1 a496 1 309 STD { int|netbsd32||_lwp_create(netbsd32_ucontextp ucp, \ d498 3 a500 3 310 NOARGS { int|sys||_lwp_exit(void); } 311 NOARGS { lwpid_t|sys||_lwp_self(void); } 312 STD { int|netbsd32||_lwp_wait(lwpid_t wait_for, \ d502 14 a515 16 313 STD { int|netbsd32||_lwp_suspend(lwpid_t target); } 314 STD { int|netbsd32||_lwp_continue(lwpid_t target); } 315 STD { int|netbsd32||_lwp_wakeup(lwpid_t target); } 316 NOARGS { netbsd32_voidp|sys||_lwp_getprivate(void); } 317 STD { void|netbsd32||_lwp_setprivate(netbsd32_voidp ptr); } 318 STD { int|netbsd32||_lwp_kill(lwpid_t target, int signo); } 319 STD { int|netbsd32||_lwp_detach(lwpid_t target); } 320 COMPAT_50 { int|netbsd32||_lwp_park(netbsd32_timespec50p_t ts, \ lwpid_t unpark, netbsd32_voidp hint, \ netbsd32_voidp unparkhint); } 321 STD { int|netbsd32||_lwp_unpark(lwpid_t target, \ netbsd32_voidp hint); } 322 STD { netbsd32_size_t|netbsd32||_lwp_unpark_all( \ netbsd32_lwpidp targets, netbsd32_size_t ntargets, \ netbsd32_voidp hint); } 323 STD { int|netbsd32||_lwp_setname(lwpid_t target, \ d517 1 a517 1 324 STD { int|netbsd32||_lwp_getname(lwpid_t target, \ d519 1 a519 1 325 STD { int|netbsd32||_lwp_ctl(int features, \ d525 6 a530 9 330 STD { int|netbsd32||sa_register(netbsd32_sa_upcall_t new, \ netbsd32_sa_upcallp_t old, int flags, \ netbsd32_ssize_t stackinfo_offset); } 331 STD { int|netbsd32||sa_stacks(int num, \ netbsd32_stackp_t stacks); } 332 NOARGS { int|sys||sa_enable(void); } 333 STD { int|netbsd32||sa_setconcurrency(int concurrency); } 334 NOARGS { int|sys||sa_yield(void); } 335 STD { int|netbsd32||sa_preempt(int sa_id); } d535 1 a535 1 340 STD { int|netbsd32||__sigaction_sigtramp(int signum, \ d541 12 a552 22 343 STD { int|netbsd32||rasctl(netbsd32_voidp addr, \ netbsd32_size_t len, int op); } 344 NOARGS { int|sys||kqueue(void); } 345 COMPAT_50 { int|netbsd32||kevent(int fd, \ netbsd32_keventp_t changelist, \ netbsd32_size_t nchanges, \ netbsd32_keventp_t eventlist, \ netbsd32_size_t nevents, \ netbsd32_timespec50p_t timeout); } ; Scheduling system calls. 346 STD { int|netbsd32||_sched_setparam(pid_t pid, lwpid_t lid, \ int policy, const netbsd32_sched_paramp_t params); } 347 STD { int|netbsd32||_sched_getparam(pid_t pid, lwpid_t lid, \ netbsd32_intp policy, \ netbsd32_sched_paramp_t params); } 348 STD { int|netbsd32||_sched_setaffinity(pid_t pid, \ lwpid_t lid, netbsd32_size_t size, \ const netbsd32_cpusetp_t cpuset); } 349 STD { int|netbsd32||_sched_getaffinity(pid_t pid, \ lwpid_t lid, netbsd32_size_t size, \ netbsd32_cpusetp_t cpuset); } 350 NOARGS { int|sys||sched_yield(void); } d556 4 a559 5 354 STD { int|netbsd32||fsync_range(int fd, int flags, \ off_t start, off_t length); } 355 STD { int|netbsd32||uuidgen(netbsd32_uuidp_t store, \ int count); } 356 STD { int|netbsd32||getvfsstat(netbsd32_statvfsp_t buf, \ d561 1 a561 1 357 STD { int|netbsd32||statvfs1(netbsd32_charp path, \ d563 3 a565 1 358 STD { int|netbsd32||fstatvfs1(int fd, \ d567 4 a570 6 359 COMPAT_30 { int|netbsd32||fhstatvfs1(netbsd32_fhandlep_t fhp, \ netbsd32_statvfsp_t buf, int flags); } 360 STD { int|netbsd32||extattrctl(netbsd32_charp path, \ int cmd, netbsd32_charp filename, \ int attrnamespace, netbsd32_charp attrname); } 361 STD { int|netbsd32||extattr_set_file(netbsd32_charp path, \ d573 1 a573 1 362 STD { int|netbsd32||extattr_get_file(netbsd32_charp path, \ d576 3 a578 4 363 STD { int|netbsd32||extattr_delete_file( \ netbsd32_charp path, int attrnamespace, \ netbsd32_charp attrname); } 364 STD { int|netbsd32||extattr_set_fd(int fd, \ d581 1 a581 1 365 STD { int|netbsd32||extattr_get_fd(int fd, \ d584 1 a584 1 366 STD { int|netbsd32||extattr_delete_fd(int fd, \ d586 1 a586 1 367 STD { int|netbsd32||extattr_set_link(netbsd32_charp path, \ d589 1 a589 1 368 STD { int|netbsd32||extattr_get_link(netbsd32_charp path, \ d592 3 a594 4 369 STD { int|netbsd32||extattr_delete_link( \ netbsd32_charp path, int attrnamespace, \ netbsd32_charp attrname); } 370 STD { int|netbsd32||extattr_list_fd(int fd, \ d597 1 a597 1 371 STD { int|netbsd32||extattr_list_file(netbsd32_charp path, \ d600 1 a600 1 372 STD { int|netbsd32||extattr_list_link(netbsd32_charp path, \ d603 1 a603 1 373 COMPAT_50 { int|netbsd32||pselect(int nd, netbsd32_fd_setp_t in, \ d605 4 a608 6 netbsd32_timespec50p_t ts, \ netbsd32_sigsetp_t mask); } 374 COMPAT_50 { int|netbsd32||pollts(netbsd32_pollfdp_t fds, \ u_int nfds, netbsd32_timespec50p_t ts, \ netbsd32_sigsetp_t mask); } 375 STD { int|netbsd32||setxattr(netbsd32_charp path, \ d611 1 a611 1 376 STD { int|netbsd32||lsetxattr(netbsd32_charp path, \ d614 1 a614 1 377 STD { int|netbsd32||fsetxattr(int fd, \ d617 1 a617 1 378 STD { int|netbsd32||getxattr(netbsd32_charp path, \ d620 1 a620 1 379 STD { int|netbsd32||lgetxattr(netbsd32_charp path, \ d623 1 a623 1 380 STD { int|netbsd32||fgetxattr(int fd, \ d626 1 a626 1 381 STD { int|netbsd32||listxattr(netbsd32_charp path, \ d628 1 a628 1 382 STD { int|netbsd32||llistxattr(netbsd32_charp path, \ d630 1 a630 1 383 STD { int|netbsd32||flistxattr(int fd, \ d632 1 a632 1 384 STD { int|netbsd32||removexattr(netbsd32_charp path, \ d634 1 a634 1 385 STD { int|netbsd32||lremovexattr(netbsd32_charp path, \ d636 1 a636 1 386 STD { int|netbsd32||fremovexattr(int fd, \ d638 7 a644 7 387 COMPAT_50 { int|netbsd32|30|stat(netbsd32_charp path, \ netbsd32_stat50p_t ub); } 388 COMPAT_50 { int|netbsd32|30|fstat(int fd, \ netbsd32_stat50p_t sb); } 389 COMPAT_50 { int|netbsd32|30|lstat( \ netbsd32_charp path, netbsd32_stat50p_t ub); } 390 STD { int|netbsd32|30|getdents(int fd, \ d647 1 a647 1 392 COMPAT_30 { int|netbsd32|30|fhstat( \ d649 5 a653 12 netbsd32_stat50p_t sb); } #if defined(NTP) || !defined(_KERNEL_OPT) 393 COMPAT_50 { int|netbsd32||ntp_gettime( \ netbsd32_ntptimeval50p_t ntvp); } #else 393 EXCL __ntp_gettime30 #endif 394 STD { int|netbsd32|30|socket(int domain, int type, \ int protocol); } 395 STD { int|netbsd32|30|getfh(netbsd32_charp fname, \ netbsd32_pointer_t fhp, netbsd32_size_tp fh_size); } 396 STD { int|netbsd32|40|fhopen(netbsd32_pointer_t fhp, \ d655 1 a655 1 397 STD { int|netbsd32|40|fhstatvfs1( \ d658 1 a658 1 398 COMPAT_50 { int|netbsd32|40|fhstat( \ d660 1 a660 1 netbsd32_stat50p_t sb); } d663 10 a672 8 399 UNIMPL sys_aio_cancel 400 UNIMPL sys_aio_error 401 UNIMPL sys_aio_fsync 402 UNIMPL sys_aio_read 403 UNIMPL sys_aio_return 404 UNIMPL sys_aio_suspend 405 UNIMPL sys_aio_write 406 UNIMPL sys_lio_listio d678 4 a681 2 410 UNIMPL sys___mount50 411 STD { netbsd32_voidp|netbsd32||mremap( \ d692 1 a692 1 416 STD { int|netbsd32|50|posix_fadvise(int fd, int pad, \ a693 107 417 STD { int|netbsd32|50|select(int nd, \ netbsd32_fd_setp_t in, netbsd32_fd_setp_t ou, \ netbsd32_fd_setp_t ex, netbsd32_timevalp_t tv); } 418 STD { int|netbsd32|50|gettimeofday( \ netbsd32_timevalp_t tp, netbsd32_voidp tzp); } 419 STD { int|netbsd32|50|settimeofday( \ const netbsd32_timevalp_t tv, \ const netbsd32_voidp tzp); } 420 STD { int|netbsd32|50|utimes(const netbsd32_charp path, \ const netbsd32_timevalp_t tptr); } 421 STD { int|netbsd32|50|adjtime( \ const netbsd32_timevalp_t delta, \ netbsd32_timevalp_t olddelta); } #if defined(LFS) || !defined(_KERNEL_OPT) 422 STD { int|netbsd32|50|lfs_segwait( \ netbsd32_fsid_tp_t fsidp, \ netbsd32_timevalp_t tv); } #else 422 EXCL __lfs_segwait50 #endif 423 STD { int|netbsd32|50|futimes(int fd, \ const netbsd32_timevalp_t tptr); } 424 STD { int|netbsd32|50|lutimes(const netbsd32_charp path, \ const netbsd32_timevalp_t tptr); } 425 STD { int|netbsd32|50|setitimer(int which, \ const netbsd32_itimervalp_t itv, \ netbsd32_itimervalp_t oitv); } 426 STD { int|netbsd32|50|getitimer(int which, \ netbsd32_itimervalp_t itv); } 427 STD { int|netbsd32|50|clock_gettime(clockid_t clock_id, \ netbsd32_timespecp_t tp); } 428 STD { int|netbsd32|50|clock_settime(clockid_t clock_id, \ const netbsd32_timespecp_t tp); } 429 STD { int|netbsd32|50|clock_getres(clockid_t clock_id, \ netbsd32_timespecp_t tp); } 430 STD { int|netbsd32|50|nanosleep( \ const netbsd32_timespecp_t rqtp, \ netbsd32_timespecp_t rmtp); } 431 STD { int|netbsd32|50|__sigtimedwait( \ const netbsd32_sigsetp_t set, \ netbsd32_siginfop_t info, \ netbsd32_timespecp_t timeout); } 432 UNIMPL netbsd32___mq_timedsend50 433 UNIMPL netbsd32___mq_timedreceive50 434 STD { int|netbsd32|50|_lwp_park( \ const netbsd32_timespecp_t ts, \ lwpid_t unpark, const netbsd32_voidp hint, \ const netbsd32_voidp unparkhint); } 435 STD { int|netbsd32|50|kevent(int fd, \ const netbsd32_keventp_t changelist, \ netbsd32_size_t nchanges, \ netbsd32_keventp_t eventlist, \ netbsd32_size_t nevents, \ const netbsd32_timespecp_t timeout); } 436 STD { int|netbsd32|50|pselect(int nd, \ netbsd32_fd_setp_t in, \ netbsd32_fd_setp_t ou, \ netbsd32_fd_setp_t ex, \ const netbsd32_timespecp_t ts, \ const netbsd32_sigsetp_t mask); } 437 STD { int|netbsd32|50|pollts(netbsd32_pollfdp_t fds, \ u_int nfds, const netbsd32_timespecp_t ts, \ const netbsd32_sigsetp_t mask); } 438 UNIMPL netbsd32___aio_suspend50 439 STD { int|netbsd32|50|stat(const netbsd32_charp path, \ netbsd32_statp_t ub); } 440 STD { int|netbsd32|50|fstat(int fd, netbsd32_statp_t sb); } 441 STD { int|netbsd32|50|lstat(const netbsd32_charp path, \ netbsd32_statp_t ub); } #if defined(SYSVSEM) || !defined(_KERNEL_OPT) 442 STD { int|netbsd32|50|__semctl(int semid, int semnum, \ int cmd, ... netbsd32_semunp_t arg); } #else 442 EXCL ____semctl50 #endif #if defined(SYSVSHM) || !defined(_KERNEL_OPT) 443 STD { int|netbsd32|50|shmctl(int shmid, int cmd, \ netbsd32_shmid_dsp_t buf); } #else 443 EXCL ____shmctl50 #endif #if defined(SYSVMSG) || !defined(_KERNEL_OPT) 444 STD { int|netbsd32|50|msgctl(int msqid, int cmd, \ netbsd32_msqid_dsp_t buf); } #else 444 EXCL ____msgctl50 #endif 445 STD { int|netbsd32|50|getrusage(int who, \ netbsd32_rusagep_t rusage); } 446 STD { int|netbsd32|50|timer_settime(timer_t timerid, \ int flags, const netbsd32_itimerspecp_t value, \ netbsd32_itimerspecp_t ovalue); } 447 STD { int|netbsd32|50|timer_gettime(timer_t timerid, \ netbsd32_itimerspecp_t value); } #if defined(NTP) || !defined(_KERNEL_OPT) 448 STD { int|netbsd32|50|ntp_gettime( \ netbsd32_ntptimevalp_t ntvp); } #else 448 EXCL ___ntp_gettime50 #endif 449 STD { int|netbsd32|50|wait4(int pid, \ netbsd32_intp status, \ int options, netbsd32_rusagep_t rusage); } 450 STD { int|netbsd32|50|mknod(const netbsd32_charp path, \ mode_t mode, netbsd32_dev_t dev); } 451 STD { int|netbsd32|50|fhstat(const netbsd32_voidp fhp, \ netbsd32_size_t fh_size, netbsd32_statp_t sb); } @ 1.69.2.2 log @sync with head @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.69.2.1 2009/05/04 08:12:26 yamt Exp $ d366 1 a366 1 int PAD, off_t offset); } d369 1 a369 1 int PAD, off_t offset); } d420 1 a420 1 netbsd32_long PAD, off_t pos); } d423 1 a423 1 199 STD { off_t|netbsd32||lseek(int fd, int PAD, off_t offset, \ d425 1 a425 1 200 STD { int|netbsd32||truncate(netbsd32_charp path, int PAD, \ d427 1 a427 1 201 STD { int|netbsd32||ftruncate(int fd, int PAD, \ d612 1 a612 1 netbsd32_iovecp_t iovp, int iovcnt, int PAD, \ d615 1 a615 1 netbsd32_iovecp_t iovp, int iovcnt, int PAD, \ d881 1 a881 1 416 STD { int|netbsd32|50|posix_fadvise(int fd, int PAD, \ @ 1.69.2.3 log @sync with head @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.69.2.2 2009/06/20 07:20:18 yamt Exp $ d45 3 d324 1 a324 1 155 UNIMPL netbsd32_nfssvc d387 10 d401 1 d869 1 a869 3 410 STD { int|netbsd32||__mount50(netbsd32_charp type, \ netbsd32_charp path, int flags, \ netbsd32_voidp data, netbsd32_size_t data_len); } d896 5 d902 1 @ 1.69.8.1 log @Sync with HEAD. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.70 2008/10/15 06:51:20 wrstuden Exp $ d525 6 a530 8 330 STD { int netbsd32_sa_register(netbsd32_sa_upcall_t new, \ netbsd32_sa_upcallp_t old, int flags, \ netbsd32_ssize_t stackinfo_offset); } 331 STD { int netbsd32_sa_stacks(int num, netbsd32_stackp_t stacks); } 332 NOARGS { int sys_sa_enable(void); } 333 STD { int netbsd32_sa_setconcurrency(int concurrency); } 334 NOARGS { int sys_sa_yield(void); } 335 STD { int netbsd32_sa_preempt(int sa_id); } @ 1.69.8.2 log @Update haad-dm branch to haad-dm-base2. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.74 2008/11/22 23:13:38 mrg Exp $ d40 1 d231 1 d233 3 d312 26 a337 10 210 UNIMPL 211 UNIMPL 212 UNIMPL 213 UNIMPL 214 UNIMPL 215 UNIMPL 216 UNIMPL 217 UNIMPL 218 UNIMPL 219 UNIMPL d400 5 a404 5 250 STD { int netbsd32__ksem_close(netbsd32_intptr_t id); } 251 STD { int netbsd32__ksem_post(netbsd32_intptr_t id); } 252 STD { int netbsd32__ksem_wait(netbsd32_intptr_t id); } 253 STD { int netbsd32__ksem_trywait(netbsd32_intptr_t id); } 254 STD { int netbsd32__ksem_getvalue(netbsd32_intptr_t id, \ d406 1 a406 1 255 STD { int netbsd32__ksem_destroy(netbsd32_intptr_t id); } d550 4 a553 9 ; Scheduling system calls. 346 STD { int netbsd32__sched_setparam(pid_t pid, lwpid_t lid, \ int policy, const netbsd32_sched_paramp_t params); } 347 STD { int netbsd32__sched_getparam(pid_t pid, lwpid_t lid, \ netbsd32_intp policy, netbsd32_sched_paramp_t params); } 348 STD { int netbsd32__sched_setaffinity(pid_t pid, lwpid_t lid, \ netbsd32_size_t size, const netbsd32_cpusetp_t cpuset); } 349 STD { int netbsd32__sched_getaffinity(pid_t pid, lwpid_t lid, \ netbsd32_size_t size, netbsd32_cpusetp_t cpuset); } @ 1.69.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.69 2008/04/24 11:51:18 ad Exp $ a54 1 #include @ 1.69.4.2 log @Per discussion with ad, remove most of the #include 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.69.4.1 2008/05/10 23:48:58 wrstuden Exp $ d55 1 @ 1.69.4.3 log @Re-add SA syscalls. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.69.4.2 2008/05/14 01:35:10 wrstuden Exp $ d525 6 a530 8 330 STD { int netbsd32_sa_register(netbsd32_sa_upcall_t new, \ netbsd32_sa_upcallp_t old, int flags, \ netbsd32_ssize_t stackinfo_offset); } 331 STD { int netbsd32_sa_stacks(int num, netbsd32_stackp_t stacks); } 332 NOARGS { int sys_sa_enable(void); } 333 STD { int netbsd32_sa_setconcurrency(int concurrency); } 334 NOARGS { int sys_sa_yield(void); } 335 STD { int netbsd32_sa_preempt(int sa_id); } @ 1.68 log @Desupport compatibility for the old posix_fadvise syscall per yamt's request and just ignore it. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.67 2008/01/27 20:13:07 martin Exp $ d89 1 a89 1 20 NOARGS MPSAFE { pid_t sys_getpid(void); } d93 2 a94 2 24 NOARGS MPSAFE { uid_t sys_getuid(void); } 25 NOARGS MPSAFE { uid_t sys_geteuid(void); } d108 1 a108 1 39 NOARGS MPSAFE { pid_t sys_getppid(void); } d112 1 a112 1 43 NOARGS MPSAFE { gid_t sys_getegid(void); } d116 1 a116 1 47 NOARGS MPSAFE { gid_t sys_getgid(void); } d122 1 a122 1 52 COMPAT_13 MPSAFE { int sys_sigpending(void); } sigpending13 d152 1 a152 1 81 NOARGS MPSAFE { int sys_getpgrp(void); } d490 1 a490 1 305 NOARGS MPSAFE { int sys_issetugid(void); } d499 2 a500 2 311 NOARGS MPSAFE { lwpid_t sys__lwp_self(void); } 312 STD MPSAFE { int netbsd32__lwp_wait(lwpid_t wait_for, \ d502 5 a506 5 313 STD MPSAFE { int netbsd32__lwp_suspend(lwpid_t target); } 314 STD MPSAFE { int netbsd32__lwp_continue(lwpid_t target); } 315 STD MPSAFE { int netbsd32__lwp_wakeup(lwpid_t target); } 316 NOARGS MPSAFE { void *sys__lwp_getprivate(void); } 317 STD MPSAFE { void netbsd32__lwp_setprivate(netbsd32_voidp ptr); } d508 2 a509 2 319 STD MPSAFE { int netbsd32__lwp_detach(lwpid_t target); } 320 STD MPSAFE { int netbsd32__lwp_park(netbsd32_timespecp_t ts, \ d512 2 a513 2 321 STD MPSAFE { int netbsd32__lwp_unpark(lwpid_t target, netbsd32_voidp hint); } 322 STD MPSAFE { netbsd32_size_t netbsd32__lwp_unpark_all(netbsd32_lwpidp targets, \ d552 1 a552 1 350 NOARGS MPSAFE { int sys_sched_yield(void); } d681 1 a681 1 411 STD MPSAFE { netbsd32_voidp netbsd32_mremap( \ d692 1 a692 1 416 STD MPSAFE { int netbsd32___posix_fadvise50(int fd, int pad, \ @ 1.68.2.1 log @sync with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.68 2008/02/24 12:52:55 martin Exp $ d89 1 a89 1 20 NOARGS { pid_t sys_getpid(void); } d93 2 a94 2 24 NOARGS { uid_t sys_getuid(void); } 25 NOARGS { uid_t sys_geteuid(void); } d108 1 a108 1 39 NOARGS { pid_t sys_getppid(void); } d112 1 a112 1 43 NOARGS { gid_t sys_getegid(void); } d116 1 a116 1 47 NOARGS { gid_t sys_getgid(void); } d122 1 a122 1 52 COMPAT_13 { int sys_sigpending(void); } sigpending13 d152 1 a152 1 81 NOARGS { int sys_getpgrp(void); } d490 1 a490 1 305 NOARGS { int sys_issetugid(void); } d499 2 a500 2 311 NOARGS { lwpid_t sys__lwp_self(void); } 312 STD { int netbsd32__lwp_wait(lwpid_t wait_for, \ d502 5 a506 5 313 STD { int netbsd32__lwp_suspend(lwpid_t target); } 314 STD { int netbsd32__lwp_continue(lwpid_t target); } 315 STD { int netbsd32__lwp_wakeup(lwpid_t target); } 316 NOARGS { void *sys__lwp_getprivate(void); } 317 STD { void netbsd32__lwp_setprivate(netbsd32_voidp ptr); } d508 2 a509 2 319 STD { int netbsd32__lwp_detach(lwpid_t target); } 320 STD { int netbsd32__lwp_park(netbsd32_timespecp_t ts, \ d512 2 a513 2 321 STD { int netbsd32__lwp_unpark(lwpid_t target, netbsd32_voidp hint); } 322 STD { netbsd32_size_t netbsd32__lwp_unpark_all(netbsd32_lwpidp targets, \ d552 1 a552 1 350 NOARGS { int sys_sched_yield(void); } d681 1 a681 1 411 STD { netbsd32_voidp netbsd32_mremap( \ d692 1 a692 1 416 STD { int netbsd32___posix_fadvise50(int fd, int pad, \ @ 1.67 log @Catch up with versioning of posix_fadvise @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.66 2008/01/26 08:35:51 dsl Exp $ d11 1 a11 1 ; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of d17 1 d646 1 a646 2 391 STD { int netbsd32_posix_fadvise(int fd, off_t offset, \ off_t len, int advice); } @ 1.67.6.1 log @Sync with HEAD. @ text @d1 1 a1 1 $NetBSD$ d11 1 a11 1 ; type one of STD, OBSOL, UNIMPL, IGNORED, NODEF, NOARGS, or one of a16 1 ; IGNORED syscall is a null op, but always succeeds d645 2 a646 1 391 IGNORED old posix fadvise @ 1.67.6.2 log @Sync with HEAD. @ text @d89 1 a89 1 20 NOARGS { pid_t sys_getpid(void); } d93 2 a94 2 24 NOARGS { uid_t sys_getuid(void); } 25 NOARGS { uid_t sys_geteuid(void); } d108 1 a108 1 39 NOARGS { pid_t sys_getppid(void); } d112 1 a112 1 43 NOARGS { gid_t sys_getegid(void); } d116 1 a116 1 47 NOARGS { gid_t sys_getgid(void); } d122 1 a122 1 52 COMPAT_13 { int sys_sigpending(void); } sigpending13 d152 1 a152 1 81 NOARGS { int sys_getpgrp(void); } d490 1 a490 1 305 NOARGS { int sys_issetugid(void); } d499 2 a500 2 311 NOARGS { lwpid_t sys__lwp_self(void); } 312 STD { int netbsd32__lwp_wait(lwpid_t wait_for, \ d502 5 a506 5 313 STD { int netbsd32__lwp_suspend(lwpid_t target); } 314 STD { int netbsd32__lwp_continue(lwpid_t target); } 315 STD { int netbsd32__lwp_wakeup(lwpid_t target); } 316 NOARGS { void *sys__lwp_getprivate(void); } 317 STD { void netbsd32__lwp_setprivate(netbsd32_voidp ptr); } d508 2 a509 2 319 STD { int netbsd32__lwp_detach(lwpid_t target); } 320 STD { int netbsd32__lwp_park(netbsd32_timespecp_t ts, \ d512 2 a513 2 321 STD { int netbsd32__lwp_unpark(lwpid_t target, netbsd32_voidp hint); } 322 STD { netbsd32_size_t netbsd32__lwp_unpark_all(netbsd32_lwpidp targets, \ d552 1 a552 1 350 NOARGS { int sys_sched_yield(void); } d681 1 a681 1 411 STD { netbsd32_voidp netbsd32_mremap( \ d692 1 a692 1 416 STD { int netbsd32___posix_fadvise50(int fd, int pad, \ @ 1.67.6.3 log @Sync with HEAD. @ text @d40 1 d68 1 a68 1 0 INDIR { int|netbsd32||syscall(int code, \ d70 10 a79 16 1 STD { void|netbsd32||exit(int rval); } 2 NOARGS { int|sys||fork(void); } 3 STD { netbsd32_ssize_t|netbsd32||read(int fd, \ netbsd32_voidp buf, netbsd32_size_t nbyte); } 4 STD { netbsd32_ssize_t|netbsd32||write(int fd, \ netbsd32_voidp buf, netbsd32_size_t nbyte); } 5 STD { int|netbsd32||open(netbsd32_charp path, int flags, \ ... mode_t mode); } 6 STD { int|netbsd32||close(int fd); } 7 COMPAT_50 { int|netbsd32||wait4(int pid, netbsd32_intp status, \ int options, netbsd32_rusage50p_t rusage); } 8 COMPAT_43 { int|netbsd32||ocreat(netbsd32_charp path, \ mode_t mode); } 9 STD { int|netbsd32||link(netbsd32_charp path, \ netbsd32_charp link); } 10 STD { int|netbsd32||unlink(netbsd32_charp path); } d81 37 a117 63 12 STD { int|netbsd32||chdir(netbsd32_charp path); } 13 STD { int|netbsd32||fchdir(int fd); } 14 COMPAT_50 { int|netbsd32||mknod(netbsd32_charp path, mode_t mode, \ uint32_t dev); } 15 STD { int|netbsd32||chmod(netbsd32_charp path, mode_t mode); } 16 STD { int|netbsd32||chown(netbsd32_charp path, uid_t uid, \ gid_t gid); } 17 STD { int|netbsd32||break(netbsd32_charp nsize); } 18 COMPAT_20 { int|netbsd32||getfsstat(netbsd32_statfsp_t buf, \ netbsd32_long bufsize, int flags); } 19 COMPAT_43 { netbsd32_long|netbsd32||olseek(int fd, \ netbsd32_long offset, int whence); } 20 NOARGS { pid_t|sys||getpid(void); } 21 STD { int|netbsd32||mount(netbsd32_charp type, \ netbsd32_charp path, int flags, \ netbsd32_voidp data); } 22 STD { int|netbsd32||unmount(netbsd32_charp path, \ int flags); } 23 STD { int|netbsd32||setuid(uid_t uid); } 24 NOARGS { uid_t|sys||getuid(void); } 25 NOARGS { uid_t|sys||geteuid(void); } 26 STD { int|netbsd32||ptrace(int req, pid_t pid, \ netbsd32_voidp addr, int data); } 27 STD { netbsd32_ssize_t|netbsd32||recvmsg(int s, \ netbsd32_msghdrp_t msg, int flags); } 28 STD { netbsd32_ssize_t|netbsd32||sendmsg(int s, \ netbsd32_msghdrp_t msg, int flags); } 29 STD { netbsd32_ssize_t|netbsd32||recvfrom(int s, \ netbsd32_voidp buf, netbsd32_size_t len, \ int flags, netbsd32_sockaddrp_t from, \ netbsd32_intp fromlenaddr); } 30 STD { int|netbsd32||accept(int s, \ netbsd32_sockaddrp_t name, \ netbsd32_intp anamelen); } 31 STD { int|netbsd32||getpeername(int fdes, \ netbsd32_sockaddrp_t asa, netbsd32_intp alen); } 32 STD { int|netbsd32||getsockname(int fdes, \ netbsd32_sockaddrp_t asa, netbsd32_intp alen); } 33 STD { int|netbsd32||access(netbsd32_charp path, int flags); } 34 STD { int|netbsd32||chflags(netbsd32_charp path, \ netbsd32_u_long flags); } 35 STD { int|netbsd32||fchflags(int fd, \ netbsd32_u_long flags); } 36 NOARGS { void|sys||sync(void); } 37 STD { int|netbsd32||kill(int pid, int signum); } 38 COMPAT_43 { int|netbsd32||stat43(netbsd32_charp path, \ netbsd32_stat43p_t ub); } 39 NOARGS { pid_t|sys||getppid(void); } 40 COMPAT_43 { int|netbsd32||lstat43(netbsd32_charp path, \ netbsd32_stat43p_t ub); } 41 STD { int|netbsd32||dup(int fd); } 42 NOARGS { int|sys||pipe(void); } 43 NOARGS { gid_t|sys||getegid(void); } 44 STD { int|netbsd32||profil(netbsd32_voidp samples, \ netbsd32_size_t size, netbsd32_u_long offset, \ u_int scale); } 45 STD { int|netbsd32||ktrace(netbsd32_charp fname, int ops, \ int facs, int pid); } 46 STD { int|netbsd32||sigaction(int signum, \ netbsd32_sigactionp_t nsa, \ netbsd32_sigactionp_t osa); } 47 NOARGS { gid_t|sys||getgid(void); } 48 COMPAT_13 { int|netbsd32||sigprocmask(int how, \ d119 17 a135 27 49 STD { int|netbsd32||__getlogin(netbsd32_charp namebuf, \ u_int namelen); } 50 STD { int|netbsd32||setlogin(netbsd32_charp namebuf); } 51 STD { int|netbsd32||acct(netbsd32_charp path); } 52 COMPAT_13 { int|sys||sigpending(void); } sigpending13 53 COMPAT_13 { int|netbsd32||sigaltstack13( \ netbsd32_sigaltstack13p_t nss, \ netbsd32_sigaltstack13p_t oss); } 54 STD { int|netbsd32||ioctl(int fd, netbsd32_u_long com, \ ... netbsd32_voidp data); } 55 COMPAT_12 { int|netbsd32||reboot(int opt); } 56 STD { int|netbsd32||revoke(netbsd32_charp path); } 57 STD { int|netbsd32||symlink(netbsd32_charp path, \ netbsd32_charp link); } 58 STD { int|netbsd32||readlink(netbsd32_charp path, \ netbsd32_charp buf, netbsd32_size_t count); } 59 STD { int|netbsd32||execve(netbsd32_charp path, \ netbsd32_charpp argp, netbsd32_charpp envp); } 60 STD { mode_t|netbsd32||umask(mode_t newmask); } 61 STD { int|netbsd32||chroot(netbsd32_charp path); } 62 COMPAT_43 { int|netbsd32||fstat43(int fd, netbsd32_stat43p_t sb); } 63 COMPAT_43 { int|netbsd32||ogetkerninfo(int op, \ netbsd32_charp where, netbsd32_intp size, \ int arg); } 64 COMPAT_43 { int|sys||getpagesize(void); } ogetpagesize 65 COMPAT_12 { int|netbsd32||msync(netbsd32_voidp addr, \ netbsd32_size_t len); } d137 1 a137 1 66 NOARGS { int|sys||vfork(void); } d140 7 a146 12 69 STD { int|netbsd32||sbrk(netbsd32_intptr_t incr); } 70 STD { int|netbsd32||sstk(int incr); } 71 COMPAT_43 { int|netbsd32||ommap(netbsd32_voidp addr, \ netbsd32_size_t len, int prot, int flags, int fd, \ netbsd32_long pos); } 72 STD { int|netbsd32||ovadvise(int anom); } vadvise 73 STD { int|netbsd32||munmap(netbsd32_voidp addr, \ netbsd32_size_t len); } 74 STD { int|netbsd32||mprotect(netbsd32_voidp addr, \ netbsd32_size_t len, int prot); } 75 STD { int|netbsd32||madvise(netbsd32_voidp addr, \ netbsd32_size_t len, int behav); } d149 13 a161 21 78 STD { int|netbsd32||mincore(netbsd32_voidp addr, \ netbsd32_size_t len, netbsd32_charp vec); } 79 STD { int|netbsd32||getgroups(int gidsetsize, \ netbsd32_gid_tp gidset); } 80 STD { int|netbsd32||setgroups(int gidsetsize, \ netbsd32_gid_tp gidset); } 81 NOARGS { int|sys||getpgrp(void); } 82 STD { int|netbsd32||setpgid(int pid, int pgid); } 83 COMPAT_50 { int|netbsd32||setitimer(int which, \ netbsd32_itimerval50p_t itv, \ netbsd32_itimerval50p_t oitv); } 84 COMPAT_43 { int|sys||wait(void); } owait 85 COMPAT_12 { int|netbsd32||oswapon(netbsd32_charp name); } 86 COMPAT_50 { int|netbsd32||getitimer(int which, \ netbsd32_itimerval50p_t itv); } 87 COMPAT_43 { int|netbsd32||ogethostname(netbsd32_charp hostname, \ u_int len); } 88 COMPAT_43 { int|netbsd32||osethostname(netbsd32_charp hostname, \ u_int len); } 89 COMPAT_43 { int|sys||getdtablesize(void); } ogetdtablesize 90 STD { int|netbsd32||dup2(int from, int to); } d163 2 a164 5 92 STD { int|netbsd32||fcntl(int fd, int cmd, \ ... netbsd32_voidp arg); } 93 COMPAT_50 { int|netbsd32||select(int nd, netbsd32_fd_setp_t in, \ netbsd32_fd_setp_t ou, netbsd32_fd_setp_t ex, \ netbsd32_timeval50p_t tv); } d166 12 a177 21 95 STD { int|netbsd32||fsync(int fd); } 96 STD { int|netbsd32||setpriority(int which, int who, \ int prio); } 97 COMPAT_30 { int|netbsd32||socket(int domain, int type, \ int protocol); } 98 STD { int|netbsd32||connect(int s, \ netbsd32_sockaddrp_t name, int namelen); } 99 COMPAT_43 { int|netbsd32||oaccept(int s, netbsd32_voidp name, \ netbsd32_intp anamelen); } 100 STD { int|netbsd32||getpriority(int which, int who); } 101 COMPAT_43 { int|netbsd32||osend(int s, netbsd32_voidp buf, \ int len, int flags); } 102 COMPAT_43 { int|netbsd32||orecv(int s, netbsd32_voidp buf, \ int len, int flags); } 103 COMPAT_13 { int|netbsd32||sigreturn( \ netbsd32_sigcontextp_t sigcntxp); } sigreturn13 104 STD { int|netbsd32||bind(int s, netbsd32_sockaddrp_t name, \ int namelen); } 105 STD { int|netbsd32||setsockopt(int s, int level, int name, \ netbsd32_voidp val, int valsize); } 106 STD { int|netbsd32||listen(int s, int backlog); } d179 7 a185 11 108 COMPAT_43 { int|netbsd32||osigvec(int signum, \ netbsd32_sigvecp_t nsv, netbsd32_sigvecp_t osv); } 109 COMPAT_43 { int|netbsd32||sigblock(int mask); } 110 COMPAT_43 { int|netbsd32||sigsetmask(int mask); } 111 COMPAT_13 { int|netbsd32||sigsuspend(int mask); } sigsuspend13 112 COMPAT_43 { int|netbsd32||osigstack(netbsd32_sigstackp_t nss, \ netbsd32_sigstackp_t oss); } 113 COMPAT_43 { int|netbsd32||orecvmsg(int s, \ netbsd32_omsghdrp_t msg, int flags); } 114 COMPAT_43 { int|netbsd32||osendmsg(int s, netbsd32_voidp msg, \ int flags); } d187 3 a189 6 116 COMPAT_50 { int|netbsd32||gettimeofday(netbsd32_timeval50p_t tp, \ netbsd32_timezonep_t tzp); } 117 COMPAT_50 { int|netbsd32||getrusage(int who, \ netbsd32_rusage50p_t rusage); } 118 STD { int|netbsd32||getsockopt(int s, int level, int name, \ netbsd32_voidp val, netbsd32_intp avalsize); } d191 19 a209 33 120 STD { netbsd32_ssize_t|netbsd32||readv(int fd, \ netbsd32_iovecp_t iovp, int iovcnt); } 121 STD { netbsd32_ssize_t|netbsd32||writev(int fd, \ netbsd32_iovecp_t iovp, int iovcnt); } 122 COMPAT_50 { int|netbsd32||settimeofday(netbsd32_timeval50p_t tv, \ netbsd32_timezonep_t tzp); } 123 STD { int|netbsd32||fchown(int fd, uid_t uid, gid_t gid); } 124 STD { int|netbsd32||fchmod(int fd, mode_t mode); } 125 COMPAT_43 { int|netbsd32||orecvfrom(int s, netbsd32_voidp buf, \ netbsd32_size_t len, int flags, \ netbsd32_voidp from, netbsd32_intp fromlenaddr); } 126 STD { int|netbsd32||setreuid(uid_t ruid, uid_t euid); } 127 STD { int|netbsd32||setregid(gid_t rgid, gid_t egid); } 128 STD { int|netbsd32||rename(netbsd32_charp from, \ netbsd32_charp to); } 129 COMPAT_43 { int|netbsd32||otruncate(netbsd32_charp path, \ netbsd32_long length); } 130 COMPAT_43 { int|netbsd32||oftruncate(int fd, \ netbsd32_long length); } 131 STD { int|netbsd32||flock(int fd, int how); } 132 STD { int|netbsd32||mkfifo(netbsd32_charp path, \ mode_t mode); } 133 STD { netbsd32_ssize_t|netbsd32||sendto(int s, \ netbsd32_voidp buf, netbsd32_size_t len, \ int flags, netbsd32_sockaddrp_t to, int tolen); } 134 STD { int|netbsd32||shutdown(int s, int how); } 135 STD { int|netbsd32||socketpair(int domain, int type, \ int protocol, netbsd32_intp rsv); } 136 STD { int|netbsd32||mkdir(netbsd32_charp path, \ mode_t mode); } 137 STD { int|netbsd32||rmdir(netbsd32_charp path); } 138 COMPAT_50 { int|netbsd32||utimes(netbsd32_charp path, \ netbsd32_timeval50p_t tptr); } d211 11 a221 17 140 COMPAT_50 { int|netbsd32||adjtime(netbsd32_timeval50p_t delta, \ netbsd32_timeval50p_t olddelta); } 141 COMPAT_43 { int|netbsd32||ogetpeername(int fdes, \ netbsd32_voidp asa, netbsd32_intp alen); } 142 COMPAT_43 { int32_t|sys||gethostid(void); } ogethostid 143 COMPAT_43 { int|netbsd32||sethostid(int32_t hostid); } 144 COMPAT_43 { int|netbsd32||ogetrlimit(int which, \ netbsd32_orlimitp_t rlp); } 145 COMPAT_43 { int|netbsd32||osetrlimit(int which, \ netbsd32_orlimitp_t rlp); } 146 COMPAT_43 { int|netbsd32||killpg(int pgid, int signum); } 147 NOARGS { int|sys||setsid(void); } 148 STD { int|netbsd32||quotactl(netbsd32_charp path, int cmd, \ int uid, netbsd32_voidp arg); } 149 COMPAT_43 { int|sys||quota(void); } oquota 150 COMPAT_43 { int|netbsd32||ogetsockname(int fdec, \ netbsd32_voidp asa, netbsd32_intp alen); } d231 8 a238 8 155 STD { int|netbsd32||nfssvc(int flag, netbsd32_voidp argp); } 156 COMPAT_43 { int|netbsd32||ogetdirentries(int fd, \ netbsd32_charp buf, u_int count, \ netbsd32_longp basep); } 157 COMPAT_20 { int|netbsd32||statfs(netbsd32_charp path, \ netbsd32_statfsp_t buf); } 158 COMPAT_20 { int|netbsd32||fstatfs(int fd, \ netbsd32_statfsp_t buf); } d241 5 a245 8 161 COMPAT_30 { int|netbsd32||getfh(netbsd32_charp fname, \ netbsd32_compat_30_fhandlep_t fhp); } 162 COMPAT_09 { int|netbsd32||ogetdomainname( \ netbsd32_charp domainname, int len); } 163 COMPAT_09 { int|netbsd32||osetdomainname( \ netbsd32_charp domainname, int len); } 164 COMPAT_09 { int|netbsd32||uname(netbsd32_outsnamep_t name); } 165 STD { int|netbsd32||sysarch(int op, netbsd32_voidp parms); } d249 2 a250 3 #if defined(SYSVSEM) || !defined(_KERNEL_OPT) 169 COMPAT_10 { int|netbsd32||semsys(int which, int a2, int a3, \ int a4, int a5); } osemsys d252 1 a252 1 169 EXCL netbsd32_semsys d254 2 a255 3 #if defined(SYSVMSG) || !defined(_KERNEL_OPT) 170 COMPAT_10 { int|netbsd32||msgsys(int which, int a2, int a3, \ int a4, int a5, int a6); } omsgsys d257 1 a257 1 170 EXCL netbsd32_msgsys d259 2 a260 3 #if defined(SYSVSHM) || !defined(_KERNEL_OPT) 171 COMPAT_10 { int|netbsd32||shmsys(int which, int a2, int a3, \ int a4); } oshmsys d262 1 a262 1 171 EXCL netbsd32_shmsys d265 4 a268 9 173 STD { netbsd32_ssize_t|netbsd32||pread(int fd, \ netbsd32_voidp buf, netbsd32_size_t nbyte, \ int pad, off_t offset); } 174 STD { netbsd32_ssize_t|netbsd32||pwrite(int fd, \ netbsd32_voidp buf, netbsd32_size_t nbyte, \ int pad, off_t offset); } 175 COMPAT_30 { int|netbsd32||ntp_gettime( \ netbsd32_ntptimeval50p_t ntvp); } 176 STD { int|netbsd32||ntp_adjtime(netbsd32_timexp_t tp); } d275 19 a293 26 181 STD { int|netbsd32||setgid(gid_t gid); } 182 STD { int|netbsd32||setegid(gid_t egid); } 183 STD { int|netbsd32||seteuid(uid_t euid); } #if defined(LFS) || !defined(_KERNEL_OPT) 184 STD { int|netbsd32||lfs_bmapv(netbsd32_fsid_tp_t fsidp, \ netbsd32_block_infop_t blkiov, int blkcnt); } 185 STD { int|netbsd32||lfs_markv(netbsd32_fsid_tp_t fsidp, \ netbsd32_block_infop_t blkiov, int blkcnt); } 186 STD { int|netbsd32||lfs_segclean(netbsd32_fsid_tp_t fsidp, \ netbsd32_u_long segment); } 187 COMPAT_50 { int|netbsd32||lfs_segwait(netbsd32_fsid_tp_t fsidp, \ netbsd32_timeval50p_t tv); } #else 184 EXCL netbsd32_lfs_bmapv 185 EXCL netbsd32_lfs_markv 186 EXCL netbsd32_lfs_segclean 187 EXCL netbsd32_lfs_segwait #endif 188 COMPAT_12 { int|netbsd32||stat12(netbsd32_charp path, \ netbsd32_stat12p_t ub); } 189 COMPAT_12 { int|netbsd32||fstat12(int fd, netbsd32_stat12p_t sb); } 190 COMPAT_12 { int|netbsd32||lstat12(netbsd32_charp path, \ netbsd32_stat12p_t ub); } 191 STD { netbsd32_long|netbsd32||pathconf(netbsd32_charp path, \ int name); } 192 STD { netbsd32_long|netbsd32||fpathconf(int fd, int name); } d295 5 a299 11 194 STD { int|netbsd32||getrlimit(int which, \ netbsd32_rlimitp_t rlp); } 195 STD { int|netbsd32||setrlimit(int which, \ netbsd32_rlimitp_t rlp); } 196 COMPAT_12 { int|netbsd32||getdirentries(int fd, \ netbsd32_charp buf, u_int count, \ netbsd32_longp basep); } 197 STD { netbsd32_voidp|netbsd32||mmap(netbsd32_voidp addr, \ netbsd32_size_t len, int prot, int flags, int fd, \ netbsd32_long pad, off_t pos); } 198 INDIR { quad_t|netbsd32||___syscall(quad_t code, \ d301 37 a337 32 199 STD { off_t|netbsd32||lseek(int fd, int pad, off_t offset, \ int whence); } 200 STD { int|netbsd32||truncate(netbsd32_charp path, int pad, \ off_t length); } 201 STD { int|netbsd32||ftruncate(int fd, int pad, \ off_t length); } 202 STD { int|netbsd32||__sysctl(netbsd32_intp name, \ u_int namelen, netbsd32_voidp old, \ netbsd32_size_tp oldlenp, netbsd32_voidp new, \ netbsd32_size_t newlen); } 203 STD { int|netbsd32||mlock(netbsd32_voidp addr, \ netbsd32_size_t len); } 204 STD { int|netbsd32||munlock(netbsd32_voidp addr, \ netbsd32_size_t len); } 205 STD { int|netbsd32||undelete(netbsd32_charp path); } 206 COMPAT_50 { int|netbsd32||futimes(int fd, \ netbsd32_timeval50p_t tptr); } 207 STD { int|netbsd32||getpgid(pid_t pid); } 208 STD { int|netbsd32||reboot(int opt, \ netbsd32_charp bootstr); } 209 STD { int|netbsd32||poll(netbsd32_pollfdp_t fds, \ u_int nfds, int timeout); } 210 UNIMPL 211 UNIMPL 212 UNIMPL 213 UNIMPL 214 UNIMPL 215 UNIMPL 216 UNIMPL 217 UNIMPL 218 UNIMPL 219 UNIMPL d339 5 a343 8 #if defined(SYSVSEM) || !defined(_KERNEL_OPT) 220 COMPAT_14 { int|netbsd32||__semctl(int semid, int semnum, \ int cmd, netbsd32_semunu_t arg); } 221 STD { int|netbsd32||semget(netbsd32_key_t key, int nsems, \ int semflg); } 222 STD { int|netbsd32||semop(int semid, \ netbsd32_sembufp_t sops, netbsd32_size_t nsops); } 223 STD { int|netbsd32||semconfig(int flag); } d350 5 a354 9 #if defined(SYSVMSG) || !defined(_KERNEL_OPT) 224 COMPAT_14 { int|netbsd32||msgctl(int msqid, int cmd, \ netbsd32_msqid_ds14p_t buf); } 225 STD { int|netbsd32||msgget(netbsd32_key_t key, int msgflg); } 226 STD { int|netbsd32||msgsnd(int msqid, netbsd32_voidp msgp, \ netbsd32_size_t msgsz, int msgflg); } 227 STD { netbsd32_ssize_t|netbsd32||msgrcv(int msqid, \ netbsd32_voidp msgp, netbsd32_size_t msgsz, \ netbsd32_long msgtyp, int msgflg); } d361 5 a365 8 #if defined(SYSVSHM) || !defined(_KERNEL_OPT) 228 STD { netbsd32_voidp|netbsd32||shmat(int shmid, \ netbsd32_voidp shmaddr, int shmflg); } 229 COMPAT_14 { int|netbsd32||shmctl(int shmid, int cmd, \ netbsd32_shmid_dsp_t buf); } 230 STD { int|netbsd32||shmdt(netbsd32_voidp shmaddr); } 231 STD { int|netbsd32||shmget(netbsd32_key_t key, \ netbsd32_size_t size, int shmflg); } d372 4 a375 12 232 COMPAT_50 { int|netbsd32||clock_gettime( \ netbsd32_clockid_t clock_id, \ netbsd32_timespec50p_t tp); } 233 COMPAT_50 { int|netbsd32||clock_settime( \ netbsd32_clockid_t clock_id, \ netbsd32_timespec50p_t tp); } 234 COMPAT_50 { int|netbsd32||clock_getres( \ netbsd32_clockid_t clock_id, \ netbsd32_timespec50p_t tp); } 235 STD { int|netbsd32||timer_create( \ netbsd32_clockid_t clock_id, \ netbsd32_sigeventp_t evp, \ d377 6 a382 9 236 STD { int|netbsd32||timer_delete(netbsd32_timer_t timerid); } 237 COMPAT_50 { int|netbsd32||timer_settime(netbsd32_timer_t timerid, \ int flags, \ netbsd32_itimerspec50p_t value, \ netbsd32_itimerspec50p_t ovalue); } 238 COMPAT_50 { int|netbsd32||timer_gettime(netbsd32_timer_t timerid, \ netbsd32_itimerspec50p_t value); } 239 STD { int|netbsd32||timer_getoverrun( \ netbsd32_timer_t timerid); } d386 5 a390 6 240 COMPAT_50 { int|netbsd32||nanosleep(netbsd32_timespec50p_t rqtp, \ netbsd32_timespec50p_t rmtp); } 241 STD { int|netbsd32||fdatasync(int fd); } 242 STD { int|netbsd32||mlockall(int flags); } 243 NOARGS { int|sys||munlockall(void); } 244 COMPAT_50 { int|netbsd32||__sigtimedwait(netbsd32_sigsetp_t set, \ d392 1 a392 1 netbsd32_timespec50p_t timeout); } d395 10 a404 12 #if defined(P1003_1B_SEMAPHORE) || (!defined(_KERNEL_OPT) && defined(_LIBC)) 247 STD { int|netbsd32||_ksem_init(unsigned int value, \ netbsd32_semidp_t idp); } 248 STD { int|netbsd32||_ksem_open(netbsd32_charp name, \ int oflag, mode_t mode, unsigned int value, \ netbsd32_semidp_t idp); } 249 STD { int|netbsd32||_ksem_unlink(netbsd32_charp name); } 250 STD { int|netbsd32||_ksem_close(netbsd32_intptr_t id); } 251 STD { int|netbsd32||_ksem_post(netbsd32_intptr_t id); } 252 STD { int|netbsd32||_ksem_wait(netbsd32_intptr_t id); } 253 STD { int|netbsd32||_ksem_trywait(netbsd32_intptr_t id); } 254 STD { int|netbsd32||_ksem_getvalue(netbsd32_intptr_t id, \ d406 1 a406 1 255 STD { int|netbsd32||_ksem_destroy(netbsd32_intptr_t id); } d433 22 a454 44 270 STD { int|netbsd32||__posix_rename(netbsd32_charp from, \ netbsd32_charp to); } 271 STD { int|netbsd32||swapctl(int cmd, netbsd32_voidp arg, \ int misc); } 272 COMPAT_30 { int|netbsd32||getdents(int fd, netbsd32_charp buf, \ netbsd32_size_t count); } 273 STD { int|netbsd32||minherit(netbsd32_voidp addr, \ netbsd32_size_t len, int inherit); } 274 STD { int|netbsd32||lchmod(netbsd32_charp path, \ mode_t mode); } 275 STD { int|netbsd32||lchown(netbsd32_charp path, uid_t uid, \ gid_t gid); } 276 COMPAT_50 { int|netbsd32||lutimes(netbsd32_charp path, \ netbsd32_timeval50p_t tptr); } 277 STD { int|netbsd32|13|msync(netbsd32_voidp addr, \ netbsd32_size_t len, int flags); } 278 COMPAT_30 { int|netbsd32|13|stat(netbsd32_charp path, \ netbsd32_stat13p_t ub); } 279 COMPAT_30 { int|netbsd32|13|fstat(int fd, \ netbsd32_stat13p_t sb); } 280 COMPAT_30 { int|netbsd32|13|lstat(netbsd32_charp path, \ netbsd32_stat13p_t ub); } 281 STD { int|netbsd32|14|sigaltstack(\ netbsd32_sigaltstackp_t nss, \ netbsd32_sigaltstackp_t oss); } 282 NOARGS { int|sys|14|vfork(void); } 283 STD { int|netbsd32||__posix_chown(netbsd32_charp path, \ uid_t uid, gid_t gid); } 284 STD { int|netbsd32||__posix_fchown(int fd, uid_t uid, \ gid_t gid); } 285 STD { int|netbsd32||__posix_lchown(netbsd32_charp path, \ uid_t uid, gid_t gid); } 286 STD { pid_t|netbsd32||getsid(pid_t pid); } 287 STD { int|netbsd32||__clone(int flags, \ netbsd32_voidp stack); } 288 STD { int|netbsd32||fktrace(int fd, int ops, int facs, \ int pid); } 289 STD { netbsd32_ssize_t|netbsd32||preadv(int fd, \ netbsd32_iovecp_t iovp, int iovcnt, int pad, \ off_t offset); } 290 STD { netbsd32_ssize_t|netbsd32||pwritev(int fd, \ netbsd32_iovecp_t iovp, int iovcnt, int pad, \ off_t offset); } 291 STD { int|netbsd32|14|sigaction(int signum, \ d457 2 a458 2 292 STD { int|netbsd32|14|sigpending(netbsd32_sigsetp_t set); } 293 STD { int|netbsd32|14|sigprocmask(int how, \ d461 5 a465 7 294 STD { int|netbsd32|14|sigsuspend(netbsd32_sigsetp_t set); } 295 COMPAT_16 { int|netbsd32|14|sigreturn( \ netbsd32_sigcontextp_t sigcntxp); } 296 STD { int|netbsd32||__getcwd(netbsd32_charp bufp, \ netbsd32_size_t length); } 297 STD { int|netbsd32||fchroot(int fd); } 298 COMPAT_30 { int|netbsd32||fhopen(netbsd32_fhandlep_t fhp, \ d467 1 a467 1 299 COMPAT_30 { int|netbsd32||fhstat(netbsd32_fhandlep_t fhp, \ d469 5 a473 5 300 COMPAT_20 { int|netbsd32||fhstatfs(netbsd32_fhandlep_t fhp, \ netbsd32_stat50p_t buf); } #if defined(SYSVSEM) || !defined(_KERNEL_OPT) 301 COMPAT_50 { int|netbsd32|14|semctl(int semid, int semnum, \ int cmd, ... netbsd32_semun50p_t arg); } d477 3 a479 3 #if defined(SYSVMSG) || !defined(_KERNEL_OPT) 302 COMPAT_50 { int|netbsd32|13|msgctl(int msqid, int cmd, \ netbsd32_msqid_ds50p_t buf); } d483 3 a485 3 #if defined(SYSVSHM) || !defined(_KERNEL_OPT) 303 COMPAT_50 { int|netbsd32|13|shmctl(int shmid, int cmd, \ netbsd32_shmid_ds50p_t buf); } d489 6 a494 7 304 STD { int|netbsd32||lchflags(netbsd32_charp path, \ netbsd32_u_long flags); } 305 NOARGS { int|sys||issetugid(void); } 306 STD { int|netbsd32||utrace(netbsd32_charp label, \ netbsd32_voidp addr, netbsd32_size_t len); } 307 STD { int|netbsd32||getcontext(netbsd32_ucontextp ucp); } 308 STD { int|netbsd32||setcontext(netbsd32_ucontextp ucp, \ d496 1 a496 1 309 STD { int|netbsd32||_lwp_create(netbsd32_ucontextp ucp, \ d498 3 a500 3 310 NOARGS { int|sys||_lwp_exit(void); } 311 NOARGS { lwpid_t|sys||_lwp_self(void); } 312 STD { int|netbsd32||_lwp_wait(lwpid_t wait_for, \ d502 14 a515 16 313 STD { int|netbsd32||_lwp_suspend(lwpid_t target); } 314 STD { int|netbsd32||_lwp_continue(lwpid_t target); } 315 STD { int|netbsd32||_lwp_wakeup(lwpid_t target); } 316 NOARGS { netbsd32_voidp|sys||_lwp_getprivate(void); } 317 STD { void|netbsd32||_lwp_setprivate(netbsd32_voidp ptr); } 318 STD { int|netbsd32||_lwp_kill(lwpid_t target, int signo); } 319 STD { int|netbsd32||_lwp_detach(lwpid_t target); } 320 COMPAT_50 { int|netbsd32||_lwp_park(netbsd32_timespec50p_t ts, \ lwpid_t unpark, netbsd32_voidp hint, \ netbsd32_voidp unparkhint); } 321 STD { int|netbsd32||_lwp_unpark(lwpid_t target, \ netbsd32_voidp hint); } 322 STD { netbsd32_size_t|netbsd32||_lwp_unpark_all( \ netbsd32_lwpidp targets, netbsd32_size_t ntargets, \ netbsd32_voidp hint); } 323 STD { int|netbsd32||_lwp_setname(lwpid_t target, \ d517 1 a517 1 324 STD { int|netbsd32||_lwp_getname(lwpid_t target, \ d519 1 a519 1 325 STD { int|netbsd32||_lwp_ctl(int features, \ d525 6 a530 9 330 STD { int|netbsd32||sa_register(netbsd32_sa_upcall_t new, \ netbsd32_sa_upcallp_t old, int flags, \ netbsd32_ssize_t stackinfo_offset); } 331 STD { int|netbsd32||sa_stacks(int num, \ netbsd32_stackp_t stacks); } 332 NOARGS { int|sys||sa_enable(void); } 333 STD { int|netbsd32||sa_setconcurrency(int concurrency); } 334 NOARGS { int|sys||sa_yield(void); } 335 STD { int|netbsd32||sa_preempt(int sa_id); } d535 1 a535 1 340 STD { int|netbsd32||__sigaction_sigtramp(int signum, \ d541 12 a552 22 343 STD { int|netbsd32||rasctl(netbsd32_voidp addr, \ netbsd32_size_t len, int op); } 344 NOARGS { int|sys||kqueue(void); } 345 COMPAT_50 { int|netbsd32||kevent(int fd, \ netbsd32_keventp_t changelist, \ netbsd32_size_t nchanges, \ netbsd32_keventp_t eventlist, \ netbsd32_size_t nevents, \ netbsd32_timespec50p_t timeout); } ; Scheduling system calls. 346 STD { int|netbsd32||_sched_setparam(pid_t pid, lwpid_t lid, \ int policy, const netbsd32_sched_paramp_t params); } 347 STD { int|netbsd32||_sched_getparam(pid_t pid, lwpid_t lid, \ netbsd32_intp policy, \ netbsd32_sched_paramp_t params); } 348 STD { int|netbsd32||_sched_setaffinity(pid_t pid, \ lwpid_t lid, netbsd32_size_t size, \ const netbsd32_cpusetp_t cpuset); } 349 STD { int|netbsd32||_sched_getaffinity(pid_t pid, \ lwpid_t lid, netbsd32_size_t size, \ netbsd32_cpusetp_t cpuset); } 350 NOARGS { int|sys||sched_yield(void); } d556 4 a559 5 354 STD { int|netbsd32||fsync_range(int fd, int flags, \ off_t start, off_t length); } 355 STD { int|netbsd32||uuidgen(netbsd32_uuidp_t store, \ int count); } 356 STD { int|netbsd32||getvfsstat(netbsd32_statvfsp_t buf, \ d561 1 a561 1 357 STD { int|netbsd32||statvfs1(netbsd32_charp path, \ d563 3 a565 1 358 STD { int|netbsd32||fstatvfs1(int fd, \ d567 4 a570 6 359 COMPAT_30 { int|netbsd32||fhstatvfs1(netbsd32_fhandlep_t fhp, \ netbsd32_statvfsp_t buf, int flags); } 360 STD { int|netbsd32||extattrctl(netbsd32_charp path, \ int cmd, netbsd32_charp filename, \ int attrnamespace, netbsd32_charp attrname); } 361 STD { int|netbsd32||extattr_set_file(netbsd32_charp path, \ d573 1 a573 1 362 STD { int|netbsd32||extattr_get_file(netbsd32_charp path, \ d576 3 a578 4 363 STD { int|netbsd32||extattr_delete_file( \ netbsd32_charp path, int attrnamespace, \ netbsd32_charp attrname); } 364 STD { int|netbsd32||extattr_set_fd(int fd, \ d581 1 a581 1 365 STD { int|netbsd32||extattr_get_fd(int fd, \ d584 1 a584 1 366 STD { int|netbsd32||extattr_delete_fd(int fd, \ d586 1 a586 1 367 STD { int|netbsd32||extattr_set_link(netbsd32_charp path, \ d589 1 a589 1 368 STD { int|netbsd32||extattr_get_link(netbsd32_charp path, \ d592 3 a594 4 369 STD { int|netbsd32||extattr_delete_link( \ netbsd32_charp path, int attrnamespace, \ netbsd32_charp attrname); } 370 STD { int|netbsd32||extattr_list_fd(int fd, \ d597 1 a597 1 371 STD { int|netbsd32||extattr_list_file(netbsd32_charp path, \ d600 1 a600 1 372 STD { int|netbsd32||extattr_list_link(netbsd32_charp path, \ d603 1 a603 1 373 COMPAT_50 { int|netbsd32||pselect(int nd, netbsd32_fd_setp_t in, \ d605 4 a608 6 netbsd32_timespec50p_t ts, \ netbsd32_sigsetp_t mask); } 374 COMPAT_50 { int|netbsd32||pollts(netbsd32_pollfdp_t fds, \ u_int nfds, netbsd32_timespec50p_t ts, \ netbsd32_sigsetp_t mask); } 375 STD { int|netbsd32||setxattr(netbsd32_charp path, \ d611 1 a611 1 376 STD { int|netbsd32||lsetxattr(netbsd32_charp path, \ d614 1 a614 1 377 STD { int|netbsd32||fsetxattr(int fd, \ d617 1 a617 1 378 STD { int|netbsd32||getxattr(netbsd32_charp path, \ d620 1 a620 1 379 STD { int|netbsd32||lgetxattr(netbsd32_charp path, \ d623 1 a623 1 380 STD { int|netbsd32||fgetxattr(int fd, \ d626 1 a626 1 381 STD { int|netbsd32||listxattr(netbsd32_charp path, \ d628 1 a628 1 382 STD { int|netbsd32||llistxattr(netbsd32_charp path, \ d630 1 a630 1 383 STD { int|netbsd32||flistxattr(int fd, \ d632 1 a632 1 384 STD { int|netbsd32||removexattr(netbsd32_charp path, \ d634 1 a634 1 385 STD { int|netbsd32||lremovexattr(netbsd32_charp path, \ d636 1 a636 1 386 STD { int|netbsd32||fremovexattr(int fd, \ d638 7 a644 7 387 COMPAT_50 { int|netbsd32|30|stat(netbsd32_charp path, \ netbsd32_stat50p_t ub); } 388 COMPAT_50 { int|netbsd32|30|fstat(int fd, \ netbsd32_stat50p_t sb); } 389 COMPAT_50 { int|netbsd32|30|lstat( \ netbsd32_charp path, netbsd32_stat50p_t ub); } 390 STD { int|netbsd32|30|getdents(int fd, \ d647 1 a647 1 392 COMPAT_30 { int|netbsd32|30|fhstat( \ d649 5 a653 8 netbsd32_stat50p_t sb); } 393 COMPAT_50 { int|netbsd32||ntp_gettime( \ netbsd32_ntptimeval50p_t ntvp); } 394 STD { int|netbsd32|30|socket(int domain, int type, \ int protocol); } 395 STD { int|netbsd32|30|getfh(netbsd32_charp fname, \ netbsd32_pointer_t fhp, netbsd32_size_tp fh_size); } 396 STD { int|netbsd32|40|fhopen(netbsd32_pointer_t fhp, \ d655 1 a655 1 397 STD { int|netbsd32|40|fhstatvfs1( \ d658 1 a658 1 398 COMPAT_50 { int|netbsd32|40|fhstat( \ d660 1 a660 1 netbsd32_stat50p_t sb); } d663 10 a672 8 399 UNIMPL sys_aio_cancel 400 UNIMPL sys_aio_error 401 UNIMPL sys_aio_fsync 402 UNIMPL sys_aio_read 403 UNIMPL sys_aio_return 404 UNIMPL sys_aio_suspend 405 UNIMPL sys_aio_write 406 UNIMPL sys_lio_listio d678 4 a681 2 410 UNIMPL sys___mount50 411 STD { netbsd32_voidp|netbsd32||mremap( \ d692 1 a692 1 416 STD { int|netbsd32|50|posix_fadvise(int fd, int pad, \ a693 107 417 STD { int|netbsd32|50|select(int nd, \ netbsd32_fd_setp_t in, netbsd32_fd_setp_t ou, \ netbsd32_fd_setp_t ex, netbsd32_timevalp_t tv); } 418 STD { int|netbsd32|50|gettimeofday( \ netbsd32_timevalp_t tp, netbsd32_voidp tzp); } 419 STD { int|netbsd32|50|settimeofday( \ const netbsd32_timevalp_t tv, \ const netbsd32_voidp tzp); } 420 STD { int|netbsd32|50|utimes(const netbsd32_charp path, \ const netbsd32_timevalp_t tptr); } 421 STD { int|netbsd32|50|adjtime( \ const netbsd32_timevalp_t delta, \ netbsd32_timevalp_t olddelta); } #if defined(LFS) || !defined(_KERNEL_OPT) 422 STD { int|netbsd32|50|lfs_segwait( \ netbsd32_fsid_tp_t fsidp, \ netbsd32_timevalp_t tv); } #else 422 EXCL __lfs_segwait50 #endif 423 STD { int|netbsd32|50|futimes(int fd, \ const netbsd32_timevalp_t tptr); } 424 STD { int|netbsd32|50|lutimes(const netbsd32_charp path, \ const netbsd32_timevalp_t tptr); } 425 STD { int|netbsd32|50|setitimer(int which, \ const netbsd32_itimervalp_t itv, \ netbsd32_itimervalp_t oitv); } 426 STD { int|netbsd32|50|getitimer(int which, \ netbsd32_itimervalp_t itv); } 427 STD { int|netbsd32|50|clock_gettime(clockid_t clock_id, \ netbsd32_timespecp_t tp); } 428 STD { int|netbsd32|50|clock_settime(clockid_t clock_id, \ const netbsd32_timespecp_t tp); } 429 STD { int|netbsd32|50|clock_getres(clockid_t clock_id, \ netbsd32_timespecp_t tp); } 430 STD { int|netbsd32|50|nanosleep( \ const netbsd32_timespecp_t rqtp, \ netbsd32_timespecp_t rmtp); } 431 STD { int|netbsd32|50|__sigtimedwait( \ const netbsd32_sigsetp_t set, \ netbsd32_siginfop_t info, \ netbsd32_timespecp_t timeout); } 432 UNIMPL netbsd32___mq_timedsend50 433 UNIMPL netbsd32___mq_timedreceive50 434 STD { int|netbsd32|50|_lwp_park( \ const netbsd32_timespecp_t ts, \ lwpid_t unpark, const netbsd32_voidp hint, \ const netbsd32_voidp unparkhint); } 435 STD { int|netbsd32|50|kevent(int fd, \ const netbsd32_keventp_t changelist, \ netbsd32_size_t nchanges, \ netbsd32_keventp_t eventlist, \ netbsd32_size_t nevents, \ const netbsd32_timespecp_t timeout); } 436 STD { int|netbsd32|50|pselect(int nd, \ netbsd32_fd_setp_t in, \ netbsd32_fd_setp_t ou, \ netbsd32_fd_setp_t ex, \ const netbsd32_timespecp_t ts, \ const netbsd32_sigsetp_t mask); } 437 STD { int|netbsd32|50|pollts(netbsd32_pollfdp_t fds, \ u_int nfds, const netbsd32_timespecp_t ts, \ const netbsd32_sigsetp_t mask); } 438 UNIMPL netbsd32___aio_suspend50 439 STD { int|netbsd32|50|stat(const netbsd32_charp path, \ netbsd32_statp_t ub); } 440 STD { int|netbsd32|50|fstat(int fd, netbsd32_statp_t sb); } 441 STD { int|netbsd32|50|lstat(const netbsd32_charp path, \ netbsd32_statp_t ub); } #if defined(SYSVSEM) || !defined(_KERNEL_OPT) 442 STD { int|netbsd32|50|__semctl(int semid, int semnum, \ int cmd, ... netbsd32_semunp_t arg); } #else 442 EXCL ____semctl50 #endif #if defined(SYSVSHM) || !defined(_KERNEL_OPT) 443 STD { int|netbsd32|50|shmctl(int shmid, int cmd, \ netbsd32_shmid_dsp_t buf); } #else 443 EXCL ____shmctl50 #endif #if defined(SYSVMSG) || !defined(_KERNEL_OPT) 444 STD { int|netbsd32|50|msgctl(int msqid, int cmd, \ netbsd32_msqid_dsp_t buf); } #else 444 EXCL ____msgctl50 #endif 445 STD { int|netbsd32|50|getrusage(int who, \ netbsd32_rusagep_t rusage); } 446 STD { int|netbsd32|50|timer_settime(timer_t timerid, \ int flags, const netbsd32_itimerspecp_t value, \ netbsd32_itimerspecp_t ovalue); } 447 STD { int|netbsd32|50|timer_gettime(timer_t timerid, \ netbsd32_itimerspecp_t value); } #if defined(NTP) || !defined(_KERNEL_OPT) 448 STD { int|netbsd32|50|ntp_gettime( \ netbsd32_ntptimevalp_t ntvp); } #else 448 EXCL ___ntp_gettime50 #endif 449 STD { int|netbsd32|50|wait4(int pid, \ netbsd32_intp status, \ int options, netbsd32_rusagep_t rusage); } 450 STD { int|netbsd32|50|mknod(const netbsd32_charp path, \ mode_t mode, dev_t dev); } 451 STD { int|netbsd32|50|fhstat(const netbsd32_voidp fhp, \ netbsd32_size_t fh_size, netbsd32_statp_t sb); } @ 1.67.2.1 log @sync with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.68 2008/02/24 12:52:55 martin Exp $ d11 1 a11 1 ; type one of STD, OBSOL, UNIMPL, IGNORED, NODEF, NOARGS, or one of a16 1 ; IGNORED syscall is a null op, but always succeeds d645 2 a646 1 391 IGNORED old posix fadvise @ 1.66 log @Add a wrapper for posix_fadvise() @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.65 2008/01/19 22:25:12 dsl Exp $ d686 8 @ 1.65 log @Add netbsd32 wrapper for sys_mremap(), compiles, and assuming the mmap() wrapper is ok, it should work! I presume the kernel knows not to map above 4GB though.... @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.64 2007/12/17 20:45:29 dsl Exp $ d645 1 a645 1 391 NOARGS { int sys_posix_fadvise(int fd, off_t offset, \ @ 1.64 log @Remove all the 'const'. Although the fields might be 32bit pointers to constant data, the 'const' applies to the field itself - which is stupid. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.63 2007/12/07 22:41:05 ad Exp $ d661 25 @ 1.63 log @Add: _lwp_setname, _lwp_getname, _lwp_ctl. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.62 2007/11/09 15:05:34 dsl Exp $ d72 2 a73 2 4 STD { netbsd32_ssize_t netbsd32_write(int fd, const netbsd32_voidp buf, netbsd32_size_t nbyte); } 5 STD { int netbsd32_open(const netbsd32_charp path, int flags, ... mode_t mode); } d76 3 a78 3 8 COMPAT_43 { int netbsd32_ocreat(const netbsd32_charp path, mode_t mode); } 9 STD { int netbsd32_link(const netbsd32_charp path, const netbsd32_charp link); } 10 STD { int netbsd32_unlink(const netbsd32_charp path); } d80 1 a80 1 12 STD { int netbsd32_chdir(const netbsd32_charp path); } d82 3 a84 3 14 STD { int netbsd32_mknod(const netbsd32_charp path, mode_t mode, dev_t dev); } 15 STD { int netbsd32_chmod(const netbsd32_charp path, mode_t mode); } 16 STD { int netbsd32_chown(const netbsd32_charp path, uid_t uid, gid_t gid); } d89 2 a90 2 21 STD { int netbsd32_mount(const netbsd32_charp type, const netbsd32_charp path, int flags, netbsd32_voidp data); } 22 STD { int netbsd32_unmount(const netbsd32_charp path, int flags); } d96 1 a96 1 28 STD { netbsd32_ssize_t netbsd32_sendmsg(int s, const netbsd32_msghdrp_t msg, int flags); } d101 2 a102 2 33 STD { int netbsd32_access(const netbsd32_charp path, int flags); } 34 STD { int netbsd32_chflags(const netbsd32_charp path, netbsd32_u_long flags); } d106 1 a106 1 38 COMPAT_43 { int netbsd32_stat43(const netbsd32_charp path, netbsd32_stat43p_t ub); } d108 1 a108 1 40 COMPAT_43 { int netbsd32_lstat43(const netbsd32_charp path, netbsd32_stat43p_t ub); } d113 2 a114 2 45 STD { int netbsd32_ktrace(const netbsd32_charp fname, int ops, int facs, int pid); } 46 STD { int netbsd32_sigaction(int signum, const netbsd32_sigactionp_t nsa, netbsd32_sigactionp_t osa); } d119 2 a120 2 50 STD { int netbsd32_setlogin(const netbsd32_charp namebuf); } 51 STD { int netbsd32_acct(const netbsd32_charp path); } d122 1 a122 1 53 COMPAT_13 { int netbsd32_sigaltstack13(const netbsd32_sigaltstack13p_t nss, netbsd32_sigaltstack13p_t oss); } d125 4 a128 4 56 STD { int netbsd32_revoke(const netbsd32_charp path); } 57 STD { int netbsd32_symlink(const netbsd32_charp path, const netbsd32_charp link); } 58 STD { int netbsd32_readlink(const netbsd32_charp path, netbsd32_charp buf, netbsd32_size_t count); } 59 STD { int netbsd32_execve(const netbsd32_charp path, netbsd32_charpp argp, netbsd32_charpp envp); } d130 1 a130 1 61 STD { int netbsd32_chroot(const netbsd32_charp path); } d150 1 a150 1 80 STD { int netbsd32_setgroups(int gidsetsize, const netbsd32_gid_tp gidset); } d153 1 a153 1 83 STD { int netbsd32_setitimer(int which, const netbsd32_itimervalp_t itv, netbsd32_itimervalp_t oitv); } d155 1 a155 1 85 COMPAT_12 { int netbsd32_oswapon(const netbsd32_charp name); } d168 1 a168 1 98 STD { int netbsd32_connect(int s, const netbsd32_sockaddrp_t name, int namelen); } d174 2 a175 2 104 STD { int netbsd32_bind(int s, const netbsd32_sockaddrp_t name, int namelen); } 105 STD { int netbsd32_setsockopt(int s, int level, int name, const netbsd32_voidp val, int valsize); } d190 3 a192 3 120 STD { netbsd32_ssize_t netbsd32_readv(int fd, const netbsd32_iovecp_t iovp, int iovcnt); } 121 STD { netbsd32_ssize_t netbsd32_writev(int fd, const netbsd32_iovecp_t iovp, int iovcnt); } 122 STD { int netbsd32_settimeofday(const netbsd32_timevalp_t tv, const netbsd32_timezonep_t tzp); } d198 2 a199 2 128 STD { int netbsd32_rename(const netbsd32_charp from, const netbsd32_charp to); } 129 COMPAT_43 { int netbsd32_otruncate(const netbsd32_charp path, netbsd32_long length); } d202 2 a203 2 132 STD { int netbsd32_mkfifo(const netbsd32_charp path, mode_t mode); } 133 STD { netbsd32_ssize_t netbsd32_sendto(int s, const netbsd32_voidp buf, netbsd32_size_t len, int flags, const netbsd32_sockaddrp_t to, int tolen); } d206 3 a208 3 136 STD { int netbsd32_mkdir(const netbsd32_charp path, mode_t mode); } 137 STD { int netbsd32_rmdir(const netbsd32_charp path); } 138 STD { int netbsd32_utimes(const netbsd32_charp path, const netbsd32_timevalp_t tptr); } d210 1 a210 1 140 STD { int netbsd32_adjtime(const netbsd32_timevalp_t delta, netbsd32_timevalp_t olddelta); } d215 1 a215 1 145 COMPAT_43 { int netbsd32_osetrlimit(int which, const netbsd32_orlimitp_t rlp); } d218 1 a218 1 148 STD { int netbsd32_quotactl(const netbsd32_charp path, int cmd, int uid, netbsd32_caddr_t arg); } d236 1 a236 1 157 COMPAT_20 { int netbsd32_statfs(const netbsd32_charp path, netbsd32_statfsp_t buf); } d240 1 a240 1 161 COMPAT_30 { int netbsd32_getfh(const netbsd32_charp fname, netbsd32_compat_30_fhandlep_t fhp); } d265 1 a265 1 174 STD { netbsd32_ssize_t netbsd32_pwrite(int fd, const netbsd32_voidp buf, netbsd32_size_t nbyte, int pad, off_t offset); } d288 1 a288 1 188 COMPAT_12 { int netbsd32_stat12(const netbsd32_charp path, netbsd32_stat12p_t ub); } d290 2 a291 2 190 COMPAT_12 { int netbsd32_lstat12(const netbsd32_charp path, netbsd32_stat12p_t ub); } 191 STD { netbsd32_long netbsd32_pathconf(const netbsd32_charp path, int name); } d295 1 a295 1 195 STD { int netbsd32_setrlimit(int which, const netbsd32_rlimitp_t rlp); } d301 1 a301 1 200 STD { int netbsd32_truncate(const netbsd32_charp path, int pad, off_t length); } d304 4 a307 4 203 STD { int netbsd32_mlock(const netbsd32_voidp addr, netbsd32_size_t len); } 204 STD { int netbsd32_munlock(const netbsd32_voidp addr, netbsd32_size_t len); } 205 STD { int netbsd32_undelete(const netbsd32_charp path); } 206 STD { int netbsd32_futimes(int fd, const netbsd32_timevalp_t tptr); } d352 1 a352 1 226 STD { int netbsd32_msgsnd(int msqid, const netbsd32_voidp msgp, netbsd32_size_t msgsz, int msgflg); } d361 1 a361 1 228 STD { netbsd32_voidp netbsd32_shmat(int shmid, const netbsd32_voidp shmaddr, int shmflg); } d363 1 a363 1 230 STD { int netbsd32_shmdt(const netbsd32_voidp shmaddr); } d372 1 a372 1 233 STD { int netbsd32_clock_settime(netbsd32_clockid_t clock_id, const netbsd32_timespecp_t tp); } d378 1 a378 1 const netbsd32_itimerspecp_t value, \ d385 1 a385 1 240 STD { int netbsd32_nanosleep(const netbsd32_timespecp_t rqtp, netbsd32_timespecp_t rmtp); } d389 1 a389 1 244 STD { int netbsd32___sigtimedwait(const netbsd32_sigsetp_t set, \ d396 1 a396 1 248 STD { int netbsd32__ksem_open(const netbsd32_charp name, int oflag, \ d398 1 a398 1 249 STD { int netbsd32__ksem_unlink(const netbsd32_charp name); } d432 1 a432 1 270 STD { int netbsd32___posix_rename(const netbsd32_charp from, const netbsd32_charp to); } d436 3 a438 3 274 STD { int netbsd32_lchmod(const netbsd32_charp path, mode_t mode); } 275 STD { int netbsd32_lchown(const netbsd32_charp path, uid_t uid, gid_t gid); } 276 STD { int netbsd32_lutimes(const netbsd32_charp path, const netbsd32_timevalp_t tptr); } d440 1 a440 1 278 COMPAT_30 { int netbsd32___stat13(const netbsd32_charp path, netbsd32_stat13p_t ub); } d442 2 a443 2 280 COMPAT_30 { int netbsd32___lstat13(const netbsd32_charp path, netbsd32_stat13p_t ub); } 281 STD { int netbsd32___sigaltstack14(const netbsd32_sigaltstackp_t nss, netbsd32_sigaltstackp_t oss); } d445 1 a445 1 283 STD { int netbsd32___posix_chown(const netbsd32_charp path, uid_t uid, gid_t gid); } d447 1 a447 1 285 STD { int netbsd32___posix_lchown(const netbsd32_charp path, uid_t uid, gid_t gid); } d450 3 a452 3 288 STD { int netbsd32_fktrace(const int fd, int ops, int facs, int pid); } 289 STD { netbsd32_ssize_t netbsd32_preadv(int fd, const netbsd32_iovecp_t iovp, int iovcnt, int pad, off_t offset); } 290 STD { netbsd32_ssize_t netbsd32_pwritev(int fd, const netbsd32_iovecp_t iovp, int iovcnt, int pad, off_t offset); } d454 1 a454 1 const netbsd32_sigactionp_t nsa, \ d458 1 a458 1 const netbsd32_sigsetp_t set, \ d460 1 a460 1 294 STD { int netbsd32___sigsuspend14(const netbsd32_sigsetp_t set); } d464 1 a464 1 298 COMPAT_30 { int netbsd32_fhopen(const netbsd32_fhandlep_t fhp, \ d466 1 a466 1 299 COMPAT_30 { int netbsd32_fhstat(const netbsd32_fhandlep_t fhp, \ d488 1 a488 1 304 STD { int netbsd32_lchflags(const netbsd32_charp path, netbsd32_u_long flags); } d490 1 a490 1 306 STD { int netbsd32_utrace(const netbsd32_charp label, netbsd32_voidp addr, \ d495 1 a495 1 309 STD { int netbsd32__lwp_create(const netbsd32_ucontextp ucp, \ d508 6 a513 6 320 STD MPSAFE { int netbsd32__lwp_park(const netbsd32_timespecp_t ts, \ lwpid_t unpark, const netbsd32_voidp hint, \ const netbsd32_voidp unparkhint); } 321 STD MPSAFE { int netbsd32__lwp_unpark(lwpid_t target, const netbsd32_voidp hint); } 322 STD MPSAFE { netbsd32_size_t netbsd32__lwp_unpark_all(const netbsd32_lwpidp targets, \ netbsd32_size_t ntargets, const netbsd32_voidp hint); } d515 1 a515 1 const netbsd32_charp name); } d535 1 a535 1 const netbsd32_sigactionp_t nsa, \ d560 1 a560 1 357 STD { int netbsd32_statvfs1(const netbsd32_charp path, \ d564 1 a564 1 359 COMPAT_30 { int netbsd32_fhstatvfs1(const netbsd32_fhandlep_t fhp, \ d566 5 a570 8 360 STD { int netbsd32_extattrctl(const netbsd32_charp path, \ int cmd, const netbsd32_charp filename, int attrnamespace, \ const netbsd32_charp attrname); } 361 STD { int netbsd32_extattr_set_file(const netbsd32_charp path, \ int attrnamespace, const netbsd32_charp attrname, \ const netbsd32_voidp data, netbsd32_size_t nbytes); } 362 STD { int netbsd32_extattr_get_file(const netbsd32_charp path, \ int attrnamespace, const netbsd32_charp attrname, \ d572 5 a576 2 363 STD { int netbsd32_extattr_delete_file(const netbsd32_charp path, \ int attrnamespace, const netbsd32_charp attrname); } d578 2 a579 2 int attrnamespace, const netbsd32_charp attrname, \ const netbsd32_voidp data, netbsd32_size_t nbytes); } d581 1 a581 1 int attrnamespace, const netbsd32_charp attrname, \ d584 6 a589 6 int attrnamespace, const netbsd32_charp attrname); } 367 STD { int netbsd32_extattr_set_link(const netbsd32_charp path, \ int attrnamespace, const netbsd32_charp attrname, \ const netbsd32_voidp data, netbsd32_size_t nbytes); } 368 STD { int netbsd32_extattr_get_link(const netbsd32_charp path, \ int attrnamespace, const netbsd32_charp attrname, \ d591 2 a592 2 369 STD { int netbsd32_extattr_delete_link(const netbsd32_charp path, \ int attrnamespace, const netbsd32_charp attrname); } d596 1 a596 1 371 STD { int netbsd32_extattr_list_file(const netbsd32_charp path, \ d599 1 a599 1 372 STD { int netbsd32_extattr_list_link(const netbsd32_charp path, \ d604 1 a604 1 const netbsd32_timespecp_t ts, const netbsd32_sigsetp_t mask); } d606 3 a608 3 const netbsd32_timespecp_t ts, const netbsd32_sigsetp_t mask); } 375 STD { int netbsd32_setxattr(const netbsd32_charp path, \ const netbsd32_charp name, netbsd32_voidp value, \ d610 2 a611 2 376 STD { int netbsd32_lsetxattr(const netbsd32_charp path, \ const netbsd32_charp name, netbsd32_voidp value, \ d614 1 a614 1 const netbsd32_charp name, netbsd32_voidp value, \ d616 2 a617 2 378 STD { int netbsd32_getxattr(const netbsd32_charp path, \ const netbsd32_charp name, netbsd32_voidp value, \ d619 2 a620 2 379 STD { int netbsd32_lgetxattr(const netbsd32_charp path, \ const netbsd32_charp name, netbsd32_voidp value, \ d623 1 a623 1 const netbsd32_charp name, netbsd32_voidp value, \ d625 1 a625 1 381 STD { int netbsd32_listxattr(const netbsd32_charp path, \ d627 1 a627 1 382 STD { int netbsd32_llistxattr(const netbsd32_charp path, \ d631 4 a634 4 384 STD { int netbsd32_removexattr(const netbsd32_charp path, \ const netbsd32_charp name); } 385 STD { int netbsd32_lremovexattr(const netbsd32_charp path, \ const netbsd32_charp name); } d636 2 a637 2 const netbsd32_charp name); } 387 STD { int netbsd32_sys___stat30(const netbsd32_charp path, \ d642 1 a642 1 const netbsd32_charp path, netbsd32_statp_t ub); } d648 1 a648 1 const netbsd32_fhandlep_t fhp, \ d652 2 a653 2 395 STD { int netbsd32___getfh30(const netbsd32_charp fname, netbsd32_pointer_t fhp, netbsd32_size_tp fh_size); } 396 STD { int netbsd32___fhopen40(const netbsd32_pointer_t fhp, \ @ 1.63.4.1 log @Sync with HEAD @ text @d1 1 a1 1 $NetBSD$ d72 2 a73 2 4 STD { netbsd32_ssize_t netbsd32_write(int fd, netbsd32_voidp buf, netbsd32_size_t nbyte); } 5 STD { int netbsd32_open(netbsd32_charp path, int flags, ... mode_t mode); } d76 3 a78 3 8 COMPAT_43 { int netbsd32_ocreat(netbsd32_charp path, mode_t mode); } 9 STD { int netbsd32_link(netbsd32_charp path, netbsd32_charp link); } 10 STD { int netbsd32_unlink(netbsd32_charp path); } d80 1 a80 1 12 STD { int netbsd32_chdir(netbsd32_charp path); } d82 3 a84 3 14 STD { int netbsd32_mknod(netbsd32_charp path, mode_t mode, dev_t dev); } 15 STD { int netbsd32_chmod(netbsd32_charp path, mode_t mode); } 16 STD { int netbsd32_chown(netbsd32_charp path, uid_t uid, gid_t gid); } d89 2 a90 2 21 STD { int netbsd32_mount(netbsd32_charp type, netbsd32_charp path, int flags, netbsd32_voidp data); } 22 STD { int netbsd32_unmount(netbsd32_charp path, int flags); } d96 1 a96 1 28 STD { netbsd32_ssize_t netbsd32_sendmsg(int s, netbsd32_msghdrp_t msg, int flags); } d101 2 a102 2 33 STD { int netbsd32_access(netbsd32_charp path, int flags); } 34 STD { int netbsd32_chflags(netbsd32_charp path, netbsd32_u_long flags); } d106 1 a106 1 38 COMPAT_43 { int netbsd32_stat43(netbsd32_charp path, netbsd32_stat43p_t ub); } d108 1 a108 1 40 COMPAT_43 { int netbsd32_lstat43(netbsd32_charp path, netbsd32_stat43p_t ub); } d113 2 a114 2 45 STD { int netbsd32_ktrace(netbsd32_charp fname, int ops, int facs, int pid); } 46 STD { int netbsd32_sigaction(int signum, netbsd32_sigactionp_t nsa, netbsd32_sigactionp_t osa); } d119 2 a120 2 50 STD { int netbsd32_setlogin(netbsd32_charp namebuf); } 51 STD { int netbsd32_acct(netbsd32_charp path); } d122 1 a122 1 53 COMPAT_13 { int netbsd32_sigaltstack13(netbsd32_sigaltstack13p_t nss, netbsd32_sigaltstack13p_t oss); } d125 4 a128 4 56 STD { int netbsd32_revoke(netbsd32_charp path); } 57 STD { int netbsd32_symlink(netbsd32_charp path, netbsd32_charp link); } 58 STD { int netbsd32_readlink(netbsd32_charp path, netbsd32_charp buf, netbsd32_size_t count); } 59 STD { int netbsd32_execve(netbsd32_charp path, netbsd32_charpp argp, netbsd32_charpp envp); } d130 1 a130 1 61 STD { int netbsd32_chroot(netbsd32_charp path); } d150 1 a150 1 80 STD { int netbsd32_setgroups(int gidsetsize, netbsd32_gid_tp gidset); } d153 1 a153 1 83 STD { int netbsd32_setitimer(int which, netbsd32_itimervalp_t itv, netbsd32_itimervalp_t oitv); } d155 1 a155 1 85 COMPAT_12 { int netbsd32_oswapon(netbsd32_charp name); } d168 1 a168 1 98 STD { int netbsd32_connect(int s, netbsd32_sockaddrp_t name, int namelen); } d174 2 a175 2 104 STD { int netbsd32_bind(int s, netbsd32_sockaddrp_t name, int namelen); } 105 STD { int netbsd32_setsockopt(int s, int level, int name, netbsd32_voidp val, int valsize); } d190 3 a192 3 120 STD { netbsd32_ssize_t netbsd32_readv(int fd, netbsd32_iovecp_t iovp, int iovcnt); } 121 STD { netbsd32_ssize_t netbsd32_writev(int fd, netbsd32_iovecp_t iovp, int iovcnt); } 122 STD { int netbsd32_settimeofday(netbsd32_timevalp_t tv, netbsd32_timezonep_t tzp); } d198 2 a199 2 128 STD { int netbsd32_rename(netbsd32_charp from, netbsd32_charp to); } 129 COMPAT_43 { int netbsd32_otruncate(netbsd32_charp path, netbsd32_long length); } d202 2 a203 2 132 STD { int netbsd32_mkfifo(netbsd32_charp path, mode_t mode); } 133 STD { netbsd32_ssize_t netbsd32_sendto(int s, netbsd32_voidp buf, netbsd32_size_t len, int flags, netbsd32_sockaddrp_t to, int tolen); } d206 3 a208 3 136 STD { int netbsd32_mkdir(netbsd32_charp path, mode_t mode); } 137 STD { int netbsd32_rmdir(netbsd32_charp path); } 138 STD { int netbsd32_utimes(netbsd32_charp path, netbsd32_timevalp_t tptr); } d210 1 a210 1 140 STD { int netbsd32_adjtime(netbsd32_timevalp_t delta, netbsd32_timevalp_t olddelta); } d215 1 a215 1 145 COMPAT_43 { int netbsd32_osetrlimit(int which, netbsd32_orlimitp_t rlp); } d218 1 a218 1 148 STD { int netbsd32_quotactl(netbsd32_charp path, int cmd, int uid, netbsd32_caddr_t arg); } d236 1 a236 1 157 COMPAT_20 { int netbsd32_statfs(netbsd32_charp path, netbsd32_statfsp_t buf); } d240 1 a240 1 161 COMPAT_30 { int netbsd32_getfh(netbsd32_charp fname, netbsd32_compat_30_fhandlep_t fhp); } d265 1 a265 1 174 STD { netbsd32_ssize_t netbsd32_pwrite(int fd, netbsd32_voidp buf, netbsd32_size_t nbyte, int pad, off_t offset); } d288 1 a288 1 188 COMPAT_12 { int netbsd32_stat12(netbsd32_charp path, netbsd32_stat12p_t ub); } d290 2 a291 2 190 COMPAT_12 { int netbsd32_lstat12(netbsd32_charp path, netbsd32_stat12p_t ub); } 191 STD { netbsd32_long netbsd32_pathconf(netbsd32_charp path, int name); } d295 1 a295 1 195 STD { int netbsd32_setrlimit(int which, netbsd32_rlimitp_t rlp); } d301 1 a301 1 200 STD { int netbsd32_truncate(netbsd32_charp path, int pad, off_t length); } d304 4 a307 4 203 STD { int netbsd32_mlock(netbsd32_voidp addr, netbsd32_size_t len); } 204 STD { int netbsd32_munlock(netbsd32_voidp addr, netbsd32_size_t len); } 205 STD { int netbsd32_undelete(netbsd32_charp path); } 206 STD { int netbsd32_futimes(int fd, netbsd32_timevalp_t tptr); } d352 1 a352 1 226 STD { int netbsd32_msgsnd(int msqid, netbsd32_voidp msgp, netbsd32_size_t msgsz, int msgflg); } d361 1 a361 1 228 STD { netbsd32_voidp netbsd32_shmat(int shmid, netbsd32_voidp shmaddr, int shmflg); } d363 1 a363 1 230 STD { int netbsd32_shmdt(netbsd32_voidp shmaddr); } d372 1 a372 1 233 STD { int netbsd32_clock_settime(netbsd32_clockid_t clock_id, netbsd32_timespecp_t tp); } d378 1 a378 1 netbsd32_itimerspecp_t value, \ d385 1 a385 1 240 STD { int netbsd32_nanosleep(netbsd32_timespecp_t rqtp, netbsd32_timespecp_t rmtp); } d389 1 a389 1 244 STD { int netbsd32___sigtimedwait(netbsd32_sigsetp_t set, \ d396 1 a396 1 248 STD { int netbsd32__ksem_open(netbsd32_charp name, int oflag, \ d398 1 a398 1 249 STD { int netbsd32__ksem_unlink(netbsd32_charp name); } d432 1 a432 1 270 STD { int netbsd32___posix_rename(netbsd32_charp from, netbsd32_charp to); } d436 3 a438 3 274 STD { int netbsd32_lchmod(netbsd32_charp path, mode_t mode); } 275 STD { int netbsd32_lchown(netbsd32_charp path, uid_t uid, gid_t gid); } 276 STD { int netbsd32_lutimes(netbsd32_charp path, netbsd32_timevalp_t tptr); } d440 1 a440 1 278 COMPAT_30 { int netbsd32___stat13(netbsd32_charp path, netbsd32_stat13p_t ub); } d442 2 a443 2 280 COMPAT_30 { int netbsd32___lstat13(netbsd32_charp path, netbsd32_stat13p_t ub); } 281 STD { int netbsd32___sigaltstack14(netbsd32_sigaltstackp_t nss, netbsd32_sigaltstackp_t oss); } d445 1 a445 1 283 STD { int netbsd32___posix_chown(netbsd32_charp path, uid_t uid, gid_t gid); } d447 1 a447 1 285 STD { int netbsd32___posix_lchown(netbsd32_charp path, uid_t uid, gid_t gid); } d450 3 a452 3 288 STD { int netbsd32_fktrace(int fd, int ops, int facs, int pid); } 289 STD { netbsd32_ssize_t netbsd32_preadv(int fd, netbsd32_iovecp_t iovp, int iovcnt, int pad, off_t offset); } 290 STD { netbsd32_ssize_t netbsd32_pwritev(int fd, netbsd32_iovecp_t iovp, int iovcnt, int pad, off_t offset); } d454 1 a454 1 netbsd32_sigactionp_t nsa, \ d458 1 a458 1 netbsd32_sigsetp_t set, \ d460 1 a460 1 294 STD { int netbsd32___sigsuspend14(netbsd32_sigsetp_t set); } d464 1 a464 1 298 COMPAT_30 { int netbsd32_fhopen(netbsd32_fhandlep_t fhp, \ d466 1 a466 1 299 COMPAT_30 { int netbsd32_fhstat(netbsd32_fhandlep_t fhp, \ d488 1 a488 1 304 STD { int netbsd32_lchflags(netbsd32_charp path, netbsd32_u_long flags); } d490 1 a490 1 306 STD { int netbsd32_utrace(netbsd32_charp label, netbsd32_voidp addr, \ d495 1 a495 1 309 STD { int netbsd32__lwp_create(netbsd32_ucontextp ucp, \ d508 6 a513 6 320 STD MPSAFE { int netbsd32__lwp_park(netbsd32_timespecp_t ts, \ lwpid_t unpark, netbsd32_voidp hint, \ netbsd32_voidp unparkhint); } 321 STD MPSAFE { int netbsd32__lwp_unpark(lwpid_t target, netbsd32_voidp hint); } 322 STD MPSAFE { netbsd32_size_t netbsd32__lwp_unpark_all(netbsd32_lwpidp targets, \ netbsd32_size_t ntargets, netbsd32_voidp hint); } d515 1 a515 1 netbsd32_charp name); } d535 1 a535 1 netbsd32_sigactionp_t nsa, \ d560 1 a560 1 357 STD { int netbsd32_statvfs1(netbsd32_charp path, \ d564 1 a564 1 359 COMPAT_30 { int netbsd32_fhstatvfs1(netbsd32_fhandlep_t fhp, \ d566 8 a573 5 360 STD { int netbsd32_extattrctl(netbsd32_charp path, \ int cmd, netbsd32_charp filename, int attrnamespace, \ netbsd32_charp attrname); } 361 STD { int netbsd32_extattr_set_file(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname, \ d575 2 a576 5 362 STD { int netbsd32_extattr_get_file(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname, \ netbsd32_voidp data, netbsd32_size_t nbytes); } 363 STD { int netbsd32_extattr_delete_file(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname); } d578 2 a579 2 int attrnamespace, netbsd32_charp attrname, \ netbsd32_voidp data, netbsd32_size_t nbytes); } d581 1 a581 1 int attrnamespace, netbsd32_charp attrname, \ d584 6 a589 6 int attrnamespace, netbsd32_charp attrname); } 367 STD { int netbsd32_extattr_set_link(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname, \ netbsd32_voidp data, netbsd32_size_t nbytes); } 368 STD { int netbsd32_extattr_get_link(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname, \ d591 2 a592 2 369 STD { int netbsd32_extattr_delete_link(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname); } d596 1 a596 1 371 STD { int netbsd32_extattr_list_file(netbsd32_charp path, \ d599 1 a599 1 372 STD { int netbsd32_extattr_list_link(netbsd32_charp path, \ d604 1 a604 1 netbsd32_timespecp_t ts, netbsd32_sigsetp_t mask); } d606 3 a608 3 netbsd32_timespecp_t ts, netbsd32_sigsetp_t mask); } 375 STD { int netbsd32_setxattr(netbsd32_charp path, \ netbsd32_charp name, netbsd32_voidp value, \ d610 2 a611 2 376 STD { int netbsd32_lsetxattr(netbsd32_charp path, \ netbsd32_charp name, netbsd32_voidp value, \ d614 1 a614 1 netbsd32_charp name, netbsd32_voidp value, \ d616 2 a617 2 378 STD { int netbsd32_getxattr(netbsd32_charp path, \ netbsd32_charp name, netbsd32_voidp value, \ d619 2 a620 2 379 STD { int netbsd32_lgetxattr(netbsd32_charp path, \ netbsd32_charp name, netbsd32_voidp value, \ d623 1 a623 1 netbsd32_charp name, netbsd32_voidp value, \ d625 1 a625 1 381 STD { int netbsd32_listxattr(netbsd32_charp path, \ d627 1 a627 1 382 STD { int netbsd32_llistxattr(netbsd32_charp path, \ d631 4 a634 4 384 STD { int netbsd32_removexattr(netbsd32_charp path, \ netbsd32_charp name); } 385 STD { int netbsd32_lremovexattr(netbsd32_charp path, \ netbsd32_charp name); } d636 2 a637 2 netbsd32_charp name); } 387 STD { int netbsd32_sys___stat30(netbsd32_charp path, \ d642 1 a642 1 netbsd32_charp path, netbsd32_statp_t ub); } d648 1 a648 1 netbsd32_fhandlep_t fhp, \ d652 2 a653 2 395 STD { int netbsd32___getfh30(netbsd32_charp fname, netbsd32_pointer_t fhp, netbsd32_size_tp fh_size); } 396 STD { int netbsd32___fhopen40(netbsd32_pointer_t fhp, \ @ 1.63.4.2 log @Sync with HEAD @ text @a660 25 ; Asynchronous I/O system calls 399 UNIMPL { int sys_aio_cancel(int fildes, struct aiocb *aiocbp); } 400 UNIMPL { int sys_aio_error(const struct aiocb *aiocbp); } 401 UNIMPL { int sys_aio_fsync(int op, struct aiocb *aiocbp); } 402 UNIMPL { int sys_aio_read(struct aiocb *aiocbp); } 403 UNIMPL { int sys_aio_return(struct aiocb *aiocbp); } 404 UNIMPL { int sys_aio_suspend(const struct aiocb *const *list, \ int nent, const struct timespec *timeout); } 405 UNIMPL { int sys_aio_write(struct aiocb *aiocbp); } 406 UNIMPL { int sys_lio_listio(int mode, struct aiocb *const *list, \ int nent, struct sigevent *sig); } 407 UNIMPL 408 UNIMPL 409 UNIMPL 410 UNIMPL { int sys___mount50(const char *type, \ const char *path, int flags, void *data, \ size_t data_len); } 411 STD MPSAFE { netbsd32_voidp netbsd32_mremap( \ netbsd32_voidp old_address, \ netbsd32_size_t old_size, \ netbsd32_voidp new_address, \ netbsd32_size_t new_size, int flags); } @ 1.62 log @Add arguments to sys_syscall and sys___syscall. Use MI wrappers for them in netbsd32. Change prefix for constants from netbsd32 to NETBSD32 (used in #defines etc). @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.61 2007/08/15 12:07:31 ad Exp $ d514 6 a519 3 323 UNIMPL 324 UNIMPL 325 UNIMPL @ 1.62.2.1 log @Sync with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.63 2007/12/07 22:41:05 ad Exp $ d514 3 a516 6 323 STD { int netbsd32__lwp_setname(lwpid_t target, \ const netbsd32_charp name); } 324 STD { int netbsd32__lwp_getname(lwpid_t target, \ netbsd32_charp name, netbsd32_size_t len); } 325 STD { int netbsd32__lwp_ctl(int features, \ netbsd32_pointer_t address); } @ 1.62.2.2 log @Sync with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.62.2.1 2007/12/08 17:57:01 ad Exp $ d72 2 a73 2 4 STD { netbsd32_ssize_t netbsd32_write(int fd, netbsd32_voidp buf, netbsd32_size_t nbyte); } 5 STD { int netbsd32_open(netbsd32_charp path, int flags, ... mode_t mode); } d76 3 a78 3 8 COMPAT_43 { int netbsd32_ocreat(netbsd32_charp path, mode_t mode); } 9 STD { int netbsd32_link(netbsd32_charp path, netbsd32_charp link); } 10 STD { int netbsd32_unlink(netbsd32_charp path); } d80 1 a80 1 12 STD { int netbsd32_chdir(netbsd32_charp path); } d82 3 a84 3 14 STD { int netbsd32_mknod(netbsd32_charp path, mode_t mode, dev_t dev); } 15 STD { int netbsd32_chmod(netbsd32_charp path, mode_t mode); } 16 STD { int netbsd32_chown(netbsd32_charp path, uid_t uid, gid_t gid); } d89 2 a90 2 21 STD { int netbsd32_mount(netbsd32_charp type, netbsd32_charp path, int flags, netbsd32_voidp data); } 22 STD { int netbsd32_unmount(netbsd32_charp path, int flags); } d96 1 a96 1 28 STD { netbsd32_ssize_t netbsd32_sendmsg(int s, netbsd32_msghdrp_t msg, int flags); } d101 2 a102 2 33 STD { int netbsd32_access(netbsd32_charp path, int flags); } 34 STD { int netbsd32_chflags(netbsd32_charp path, netbsd32_u_long flags); } d106 1 a106 1 38 COMPAT_43 { int netbsd32_stat43(netbsd32_charp path, netbsd32_stat43p_t ub); } d108 1 a108 1 40 COMPAT_43 { int netbsd32_lstat43(netbsd32_charp path, netbsd32_stat43p_t ub); } d113 2 a114 2 45 STD { int netbsd32_ktrace(netbsd32_charp fname, int ops, int facs, int pid); } 46 STD { int netbsd32_sigaction(int signum, netbsd32_sigactionp_t nsa, netbsd32_sigactionp_t osa); } d119 2 a120 2 50 STD { int netbsd32_setlogin(netbsd32_charp namebuf); } 51 STD { int netbsd32_acct(netbsd32_charp path); } d122 1 a122 1 53 COMPAT_13 { int netbsd32_sigaltstack13(netbsd32_sigaltstack13p_t nss, netbsd32_sigaltstack13p_t oss); } d125 4 a128 4 56 STD { int netbsd32_revoke(netbsd32_charp path); } 57 STD { int netbsd32_symlink(netbsd32_charp path, netbsd32_charp link); } 58 STD { int netbsd32_readlink(netbsd32_charp path, netbsd32_charp buf, netbsd32_size_t count); } 59 STD { int netbsd32_execve(netbsd32_charp path, netbsd32_charpp argp, netbsd32_charpp envp); } d130 1 a130 1 61 STD { int netbsd32_chroot(netbsd32_charp path); } d150 1 a150 1 80 STD { int netbsd32_setgroups(int gidsetsize, netbsd32_gid_tp gidset); } d153 1 a153 1 83 STD { int netbsd32_setitimer(int which, netbsd32_itimervalp_t itv, netbsd32_itimervalp_t oitv); } d155 1 a155 1 85 COMPAT_12 { int netbsd32_oswapon(netbsd32_charp name); } d168 1 a168 1 98 STD { int netbsd32_connect(int s, netbsd32_sockaddrp_t name, int namelen); } d174 2 a175 2 104 STD { int netbsd32_bind(int s, netbsd32_sockaddrp_t name, int namelen); } 105 STD { int netbsd32_setsockopt(int s, int level, int name, netbsd32_voidp val, int valsize); } d190 3 a192 3 120 STD { netbsd32_ssize_t netbsd32_readv(int fd, netbsd32_iovecp_t iovp, int iovcnt); } 121 STD { netbsd32_ssize_t netbsd32_writev(int fd, netbsd32_iovecp_t iovp, int iovcnt); } 122 STD { int netbsd32_settimeofday(netbsd32_timevalp_t tv, netbsd32_timezonep_t tzp); } d198 2 a199 2 128 STD { int netbsd32_rename(netbsd32_charp from, netbsd32_charp to); } 129 COMPAT_43 { int netbsd32_otruncate(netbsd32_charp path, netbsd32_long length); } d202 2 a203 2 132 STD { int netbsd32_mkfifo(netbsd32_charp path, mode_t mode); } 133 STD { netbsd32_ssize_t netbsd32_sendto(int s, netbsd32_voidp buf, netbsd32_size_t len, int flags, netbsd32_sockaddrp_t to, int tolen); } d206 3 a208 3 136 STD { int netbsd32_mkdir(netbsd32_charp path, mode_t mode); } 137 STD { int netbsd32_rmdir(netbsd32_charp path); } 138 STD { int netbsd32_utimes(netbsd32_charp path, netbsd32_timevalp_t tptr); } d210 1 a210 1 140 STD { int netbsd32_adjtime(netbsd32_timevalp_t delta, netbsd32_timevalp_t olddelta); } d215 1 a215 1 145 COMPAT_43 { int netbsd32_osetrlimit(int which, netbsd32_orlimitp_t rlp); } d218 1 a218 1 148 STD { int netbsd32_quotactl(netbsd32_charp path, int cmd, int uid, netbsd32_caddr_t arg); } d236 1 a236 1 157 COMPAT_20 { int netbsd32_statfs(netbsd32_charp path, netbsd32_statfsp_t buf); } d240 1 a240 1 161 COMPAT_30 { int netbsd32_getfh(netbsd32_charp fname, netbsd32_compat_30_fhandlep_t fhp); } d265 1 a265 1 174 STD { netbsd32_ssize_t netbsd32_pwrite(int fd, netbsd32_voidp buf, netbsd32_size_t nbyte, int pad, off_t offset); } d288 1 a288 1 188 COMPAT_12 { int netbsd32_stat12(netbsd32_charp path, netbsd32_stat12p_t ub); } d290 2 a291 2 190 COMPAT_12 { int netbsd32_lstat12(netbsd32_charp path, netbsd32_stat12p_t ub); } 191 STD { netbsd32_long netbsd32_pathconf(netbsd32_charp path, int name); } d295 1 a295 1 195 STD { int netbsd32_setrlimit(int which, netbsd32_rlimitp_t rlp); } d301 1 a301 1 200 STD { int netbsd32_truncate(netbsd32_charp path, int pad, off_t length); } d304 4 a307 4 203 STD { int netbsd32_mlock(netbsd32_voidp addr, netbsd32_size_t len); } 204 STD { int netbsd32_munlock(netbsd32_voidp addr, netbsd32_size_t len); } 205 STD { int netbsd32_undelete(netbsd32_charp path); } 206 STD { int netbsd32_futimes(int fd, netbsd32_timevalp_t tptr); } d352 1 a352 1 226 STD { int netbsd32_msgsnd(int msqid, netbsd32_voidp msgp, netbsd32_size_t msgsz, int msgflg); } d361 1 a361 1 228 STD { netbsd32_voidp netbsd32_shmat(int shmid, netbsd32_voidp shmaddr, int shmflg); } d363 1 a363 1 230 STD { int netbsd32_shmdt(netbsd32_voidp shmaddr); } d372 1 a372 1 233 STD { int netbsd32_clock_settime(netbsd32_clockid_t clock_id, netbsd32_timespecp_t tp); } d378 1 a378 1 netbsd32_itimerspecp_t value, \ d385 1 a385 1 240 STD { int netbsd32_nanosleep(netbsd32_timespecp_t rqtp, netbsd32_timespecp_t rmtp); } d389 1 a389 1 244 STD { int netbsd32___sigtimedwait(netbsd32_sigsetp_t set, \ d396 1 a396 1 248 STD { int netbsd32__ksem_open(netbsd32_charp name, int oflag, \ d398 1 a398 1 249 STD { int netbsd32__ksem_unlink(netbsd32_charp name); } d432 1 a432 1 270 STD { int netbsd32___posix_rename(netbsd32_charp from, netbsd32_charp to); } d436 3 a438 3 274 STD { int netbsd32_lchmod(netbsd32_charp path, mode_t mode); } 275 STD { int netbsd32_lchown(netbsd32_charp path, uid_t uid, gid_t gid); } 276 STD { int netbsd32_lutimes(netbsd32_charp path, netbsd32_timevalp_t tptr); } d440 1 a440 1 278 COMPAT_30 { int netbsd32___stat13(netbsd32_charp path, netbsd32_stat13p_t ub); } d442 2 a443 2 280 COMPAT_30 { int netbsd32___lstat13(netbsd32_charp path, netbsd32_stat13p_t ub); } 281 STD { int netbsd32___sigaltstack14(netbsd32_sigaltstackp_t nss, netbsd32_sigaltstackp_t oss); } d445 1 a445 1 283 STD { int netbsd32___posix_chown(netbsd32_charp path, uid_t uid, gid_t gid); } d447 1 a447 1 285 STD { int netbsd32___posix_lchown(netbsd32_charp path, uid_t uid, gid_t gid); } d450 3 a452 3 288 STD { int netbsd32_fktrace(int fd, int ops, int facs, int pid); } 289 STD { netbsd32_ssize_t netbsd32_preadv(int fd, netbsd32_iovecp_t iovp, int iovcnt, int pad, off_t offset); } 290 STD { netbsd32_ssize_t netbsd32_pwritev(int fd, netbsd32_iovecp_t iovp, int iovcnt, int pad, off_t offset); } d454 1 a454 1 netbsd32_sigactionp_t nsa, \ d458 1 a458 1 netbsd32_sigsetp_t set, \ d460 1 a460 1 294 STD { int netbsd32___sigsuspend14(netbsd32_sigsetp_t set); } d464 1 a464 1 298 COMPAT_30 { int netbsd32_fhopen(netbsd32_fhandlep_t fhp, \ d466 1 a466 1 299 COMPAT_30 { int netbsd32_fhstat(netbsd32_fhandlep_t fhp, \ d488 1 a488 1 304 STD { int netbsd32_lchflags(netbsd32_charp path, netbsd32_u_long flags); } d490 1 a490 1 306 STD { int netbsd32_utrace(netbsd32_charp label, netbsd32_voidp addr, \ d495 1 a495 1 309 STD { int netbsd32__lwp_create(netbsd32_ucontextp ucp, \ d508 6 a513 6 320 STD MPSAFE { int netbsd32__lwp_park(netbsd32_timespecp_t ts, \ lwpid_t unpark, netbsd32_voidp hint, \ netbsd32_voidp unparkhint); } 321 STD MPSAFE { int netbsd32__lwp_unpark(lwpid_t target, netbsd32_voidp hint); } 322 STD MPSAFE { netbsd32_size_t netbsd32__lwp_unpark_all(netbsd32_lwpidp targets, \ netbsd32_size_t ntargets, netbsd32_voidp hint); } d515 1 a515 1 netbsd32_charp name); } d535 1 a535 1 netbsd32_sigactionp_t nsa, \ d560 1 a560 1 357 STD { int netbsd32_statvfs1(netbsd32_charp path, \ d564 1 a564 1 359 COMPAT_30 { int netbsd32_fhstatvfs1(netbsd32_fhandlep_t fhp, \ d566 8 a573 5 360 STD { int netbsd32_extattrctl(netbsd32_charp path, \ int cmd, netbsd32_charp filename, int attrnamespace, \ netbsd32_charp attrname); } 361 STD { int netbsd32_extattr_set_file(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname, \ d575 2 a576 5 362 STD { int netbsd32_extattr_get_file(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname, \ netbsd32_voidp data, netbsd32_size_t nbytes); } 363 STD { int netbsd32_extattr_delete_file(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname); } d578 2 a579 2 int attrnamespace, netbsd32_charp attrname, \ netbsd32_voidp data, netbsd32_size_t nbytes); } d581 1 a581 1 int attrnamespace, netbsd32_charp attrname, \ d584 6 a589 6 int attrnamespace, netbsd32_charp attrname); } 367 STD { int netbsd32_extattr_set_link(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname, \ netbsd32_voidp data, netbsd32_size_t nbytes); } 368 STD { int netbsd32_extattr_get_link(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname, \ d591 2 a592 2 369 STD { int netbsd32_extattr_delete_link(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname); } d596 1 a596 1 371 STD { int netbsd32_extattr_list_file(netbsd32_charp path, \ d599 1 a599 1 372 STD { int netbsd32_extattr_list_link(netbsd32_charp path, \ d604 1 a604 1 netbsd32_timespecp_t ts, netbsd32_sigsetp_t mask); } d606 3 a608 3 netbsd32_timespecp_t ts, netbsd32_sigsetp_t mask); } 375 STD { int netbsd32_setxattr(netbsd32_charp path, \ netbsd32_charp name, netbsd32_voidp value, \ d610 2 a611 2 376 STD { int netbsd32_lsetxattr(netbsd32_charp path, \ netbsd32_charp name, netbsd32_voidp value, \ d614 1 a614 1 netbsd32_charp name, netbsd32_voidp value, \ d616 2 a617 2 378 STD { int netbsd32_getxattr(netbsd32_charp path, \ netbsd32_charp name, netbsd32_voidp value, \ d619 2 a620 2 379 STD { int netbsd32_lgetxattr(netbsd32_charp path, \ netbsd32_charp name, netbsd32_voidp value, \ d623 1 a623 1 netbsd32_charp name, netbsd32_voidp value, \ d625 1 a625 1 381 STD { int netbsd32_listxattr(netbsd32_charp path, \ d627 1 a627 1 382 STD { int netbsd32_llistxattr(netbsd32_charp path, \ d631 4 a634 4 384 STD { int netbsd32_removexattr(netbsd32_charp path, \ netbsd32_charp name); } 385 STD { int netbsd32_lremovexattr(netbsd32_charp path, \ netbsd32_charp name); } d636 2 a637 2 netbsd32_charp name); } 387 STD { int netbsd32_sys___stat30(netbsd32_charp path, \ d642 1 a642 1 netbsd32_charp path, netbsd32_statp_t ub); } d648 1 a648 1 netbsd32_fhandlep_t fhp, \ d652 2 a653 2 395 STD { int netbsd32___getfh30(netbsd32_charp fname, netbsd32_pointer_t fhp, netbsd32_size_tp fh_size); } 396 STD { int netbsd32___fhopen40(netbsd32_pointer_t fhp, \ @ 1.61 log @Changes to make ktrace LKM friendly and reduce ifdef KTRACE. Proposed on tech-kern. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.60 2007/08/07 19:00:42 ad Exp $ d67 2 a68 1 0 INDIR { int sys_syscall(int number, ...); } d298 2 a299 1 198 INDIR { quad_t sys___syscall(quad_t num, ...); } @ 1.61.2.1 log @sync with HEAD @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.61 2007/08/15 12:07:31 ad Exp $ d67 1 a67 2 0 INDIR { int netbsd32_sys_syscall(int code, \ ... register32_t args[NETBSD32_SYS_MAXSYSARGS]); } d71 2 a72 2 4 STD { netbsd32_ssize_t netbsd32_write(int fd, netbsd32_voidp buf, netbsd32_size_t nbyte); } 5 STD { int netbsd32_open(netbsd32_charp path, int flags, ... mode_t mode); } d75 3 a77 3 8 COMPAT_43 { int netbsd32_ocreat(netbsd32_charp path, mode_t mode); } 9 STD { int netbsd32_link(netbsd32_charp path, netbsd32_charp link); } 10 STD { int netbsd32_unlink(netbsd32_charp path); } d79 1 a79 1 12 STD { int netbsd32_chdir(netbsd32_charp path); } d81 3 a83 3 14 STD { int netbsd32_mknod(netbsd32_charp path, mode_t mode, dev_t dev); } 15 STD { int netbsd32_chmod(netbsd32_charp path, mode_t mode); } 16 STD { int netbsd32_chown(netbsd32_charp path, uid_t uid, gid_t gid); } d88 2 a89 2 21 STD { int netbsd32_mount(netbsd32_charp type, netbsd32_charp path, int flags, netbsd32_voidp data); } 22 STD { int netbsd32_unmount(netbsd32_charp path, int flags); } d95 1 a95 1 28 STD { netbsd32_ssize_t netbsd32_sendmsg(int s, netbsd32_msghdrp_t msg, int flags); } d100 2 a101 2 33 STD { int netbsd32_access(netbsd32_charp path, int flags); } 34 STD { int netbsd32_chflags(netbsd32_charp path, netbsd32_u_long flags); } d105 1 a105 1 38 COMPAT_43 { int netbsd32_stat43(netbsd32_charp path, netbsd32_stat43p_t ub); } d107 1 a107 1 40 COMPAT_43 { int netbsd32_lstat43(netbsd32_charp path, netbsd32_stat43p_t ub); } d112 2 a113 2 45 STD { int netbsd32_ktrace(netbsd32_charp fname, int ops, int facs, int pid); } 46 STD { int netbsd32_sigaction(int signum, netbsd32_sigactionp_t nsa, netbsd32_sigactionp_t osa); } d118 2 a119 2 50 STD { int netbsd32_setlogin(netbsd32_charp namebuf); } 51 STD { int netbsd32_acct(netbsd32_charp path); } d121 1 a121 1 53 COMPAT_13 { int netbsd32_sigaltstack13(netbsd32_sigaltstack13p_t nss, netbsd32_sigaltstack13p_t oss); } d124 4 a127 4 56 STD { int netbsd32_revoke(netbsd32_charp path); } 57 STD { int netbsd32_symlink(netbsd32_charp path, netbsd32_charp link); } 58 STD { int netbsd32_readlink(netbsd32_charp path, netbsd32_charp buf, netbsd32_size_t count); } 59 STD { int netbsd32_execve(netbsd32_charp path, netbsd32_charpp argp, netbsd32_charpp envp); } d129 1 a129 1 61 STD { int netbsd32_chroot(netbsd32_charp path); } d149 1 a149 1 80 STD { int netbsd32_setgroups(int gidsetsize, netbsd32_gid_tp gidset); } d152 1 a152 1 83 STD { int netbsd32_setitimer(int which, netbsd32_itimervalp_t itv, netbsd32_itimervalp_t oitv); } d154 1 a154 1 85 COMPAT_12 { int netbsd32_oswapon(netbsd32_charp name); } d167 1 a167 1 98 STD { int netbsd32_connect(int s, netbsd32_sockaddrp_t name, int namelen); } d173 2 a174 2 104 STD { int netbsd32_bind(int s, netbsd32_sockaddrp_t name, int namelen); } 105 STD { int netbsd32_setsockopt(int s, int level, int name, netbsd32_voidp val, int valsize); } d189 3 a191 3 120 STD { netbsd32_ssize_t netbsd32_readv(int fd, netbsd32_iovecp_t iovp, int iovcnt); } 121 STD { netbsd32_ssize_t netbsd32_writev(int fd, netbsd32_iovecp_t iovp, int iovcnt); } 122 STD { int netbsd32_settimeofday(netbsd32_timevalp_t tv, netbsd32_timezonep_t tzp); } d197 2 a198 2 128 STD { int netbsd32_rename(netbsd32_charp from, netbsd32_charp to); } 129 COMPAT_43 { int netbsd32_otruncate(netbsd32_charp path, netbsd32_long length); } d201 2 a202 2 132 STD { int netbsd32_mkfifo(netbsd32_charp path, mode_t mode); } 133 STD { netbsd32_ssize_t netbsd32_sendto(int s, netbsd32_voidp buf, netbsd32_size_t len, int flags, netbsd32_sockaddrp_t to, int tolen); } d205 3 a207 3 136 STD { int netbsd32_mkdir(netbsd32_charp path, mode_t mode); } 137 STD { int netbsd32_rmdir(netbsd32_charp path); } 138 STD { int netbsd32_utimes(netbsd32_charp path, netbsd32_timevalp_t tptr); } d209 1 a209 1 140 STD { int netbsd32_adjtime(netbsd32_timevalp_t delta, netbsd32_timevalp_t olddelta); } d214 1 a214 1 145 COMPAT_43 { int netbsd32_osetrlimit(int which, netbsd32_orlimitp_t rlp); } d217 1 a217 1 148 STD { int netbsd32_quotactl(netbsd32_charp path, int cmd, int uid, netbsd32_caddr_t arg); } d235 1 a235 1 157 COMPAT_20 { int netbsd32_statfs(netbsd32_charp path, netbsd32_statfsp_t buf); } d239 1 a239 1 161 COMPAT_30 { int netbsd32_getfh(netbsd32_charp fname, netbsd32_compat_30_fhandlep_t fhp); } d264 1 a264 1 174 STD { netbsd32_ssize_t netbsd32_pwrite(int fd, netbsd32_voidp buf, netbsd32_size_t nbyte, int pad, off_t offset); } d287 1 a287 1 188 COMPAT_12 { int netbsd32_stat12(netbsd32_charp path, netbsd32_stat12p_t ub); } d289 2 a290 2 190 COMPAT_12 { int netbsd32_lstat12(netbsd32_charp path, netbsd32_stat12p_t ub); } 191 STD { netbsd32_long netbsd32_pathconf(netbsd32_charp path, int name); } d294 1 a294 1 195 STD { int netbsd32_setrlimit(int which, netbsd32_rlimitp_t rlp); } d297 1 a297 2 198 INDIR { quad_t netbsd32_sys___syscall(quad_t code, \ ... register32_t args[NETBSD32_SYS_MAXSYSARGS]); } d299 1 a299 1 200 STD { int netbsd32_truncate(netbsd32_charp path, int pad, off_t length); } d302 4 a305 4 203 STD { int netbsd32_mlock(netbsd32_voidp addr, netbsd32_size_t len); } 204 STD { int netbsd32_munlock(netbsd32_voidp addr, netbsd32_size_t len); } 205 STD { int netbsd32_undelete(netbsd32_charp path); } 206 STD { int netbsd32_futimes(int fd, netbsd32_timevalp_t tptr); } d350 1 a350 1 226 STD { int netbsd32_msgsnd(int msqid, netbsd32_voidp msgp, netbsd32_size_t msgsz, int msgflg); } d359 1 a359 1 228 STD { netbsd32_voidp netbsd32_shmat(int shmid, netbsd32_voidp shmaddr, int shmflg); } d361 1 a361 1 230 STD { int netbsd32_shmdt(netbsd32_voidp shmaddr); } d370 1 a370 1 233 STD { int netbsd32_clock_settime(netbsd32_clockid_t clock_id, netbsd32_timespecp_t tp); } d376 1 a376 1 netbsd32_itimerspecp_t value, \ d383 1 a383 1 240 STD { int netbsd32_nanosleep(netbsd32_timespecp_t rqtp, netbsd32_timespecp_t rmtp); } d387 1 a387 1 244 STD { int netbsd32___sigtimedwait(netbsd32_sigsetp_t set, \ d394 1 a394 1 248 STD { int netbsd32__ksem_open(netbsd32_charp name, int oflag, \ d396 1 a396 1 249 STD { int netbsd32__ksem_unlink(netbsd32_charp name); } d430 1 a430 1 270 STD { int netbsd32___posix_rename(netbsd32_charp from, netbsd32_charp to); } d434 3 a436 3 274 STD { int netbsd32_lchmod(netbsd32_charp path, mode_t mode); } 275 STD { int netbsd32_lchown(netbsd32_charp path, uid_t uid, gid_t gid); } 276 STD { int netbsd32_lutimes(netbsd32_charp path, netbsd32_timevalp_t tptr); } d438 1 a438 1 278 COMPAT_30 { int netbsd32___stat13(netbsd32_charp path, netbsd32_stat13p_t ub); } d440 2 a441 2 280 COMPAT_30 { int netbsd32___lstat13(netbsd32_charp path, netbsd32_stat13p_t ub); } 281 STD { int netbsd32___sigaltstack14(netbsd32_sigaltstackp_t nss, netbsd32_sigaltstackp_t oss); } d443 1 a443 1 283 STD { int netbsd32___posix_chown(netbsd32_charp path, uid_t uid, gid_t gid); } d445 1 a445 1 285 STD { int netbsd32___posix_lchown(netbsd32_charp path, uid_t uid, gid_t gid); } d448 3 a450 3 288 STD { int netbsd32_fktrace(int fd, int ops, int facs, int pid); } 289 STD { netbsd32_ssize_t netbsd32_preadv(int fd, netbsd32_iovecp_t iovp, int iovcnt, int pad, off_t offset); } 290 STD { netbsd32_ssize_t netbsd32_pwritev(int fd, netbsd32_iovecp_t iovp, int iovcnt, int pad, off_t offset); } d452 1 a452 1 netbsd32_sigactionp_t nsa, \ d456 1 a456 1 netbsd32_sigsetp_t set, \ d458 1 a458 1 294 STD { int netbsd32___sigsuspend14(netbsd32_sigsetp_t set); } d462 1 a462 1 298 COMPAT_30 { int netbsd32_fhopen(netbsd32_fhandlep_t fhp, \ d464 1 a464 1 299 COMPAT_30 { int netbsd32_fhstat(netbsd32_fhandlep_t fhp, \ d486 1 a486 1 304 STD { int netbsd32_lchflags(netbsd32_charp path, netbsd32_u_long flags); } d488 1 a488 1 306 STD { int netbsd32_utrace(netbsd32_charp label, netbsd32_voidp addr, \ d493 1 a493 1 309 STD { int netbsd32__lwp_create(netbsd32_ucontextp ucp, \ d506 9 a514 12 320 STD MPSAFE { int netbsd32__lwp_park(netbsd32_timespecp_t ts, \ lwpid_t unpark, netbsd32_voidp hint, \ netbsd32_voidp unparkhint); } 321 STD MPSAFE { int netbsd32__lwp_unpark(lwpid_t target, netbsd32_voidp hint); } 322 STD MPSAFE { netbsd32_size_t netbsd32__lwp_unpark_all(netbsd32_lwpidp targets, \ netbsd32_size_t ntargets, netbsd32_voidp hint); } 323 STD { int netbsd32__lwp_setname(lwpid_t target, \ netbsd32_charp name); } 324 STD { int netbsd32__lwp_getname(lwpid_t target, \ netbsd32_charp name, netbsd32_size_t len); } 325 STD { int netbsd32__lwp_ctl(int features, \ netbsd32_pointer_t address); } d530 1 a530 1 netbsd32_sigactionp_t nsa, \ d555 1 a555 1 357 STD { int netbsd32_statvfs1(netbsd32_charp path, \ d559 1 a559 1 359 COMPAT_30 { int netbsd32_fhstatvfs1(netbsd32_fhandlep_t fhp, \ d561 8 a568 5 360 STD { int netbsd32_extattrctl(netbsd32_charp path, \ int cmd, netbsd32_charp filename, int attrnamespace, \ netbsd32_charp attrname); } 361 STD { int netbsd32_extattr_set_file(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname, \ d570 2 a571 5 362 STD { int netbsd32_extattr_get_file(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname, \ netbsd32_voidp data, netbsd32_size_t nbytes); } 363 STD { int netbsd32_extattr_delete_file(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname); } d573 2 a574 2 int attrnamespace, netbsd32_charp attrname, \ netbsd32_voidp data, netbsd32_size_t nbytes); } d576 1 a576 1 int attrnamespace, netbsd32_charp attrname, \ d579 6 a584 6 int attrnamespace, netbsd32_charp attrname); } 367 STD { int netbsd32_extattr_set_link(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname, \ netbsd32_voidp data, netbsd32_size_t nbytes); } 368 STD { int netbsd32_extattr_get_link(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname, \ d586 2 a587 2 369 STD { int netbsd32_extattr_delete_link(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname); } d591 1 a591 1 371 STD { int netbsd32_extattr_list_file(netbsd32_charp path, \ d594 1 a594 1 372 STD { int netbsd32_extattr_list_link(netbsd32_charp path, \ d599 1 a599 1 netbsd32_timespecp_t ts, netbsd32_sigsetp_t mask); } d601 3 a603 3 netbsd32_timespecp_t ts, netbsd32_sigsetp_t mask); } 375 STD { int netbsd32_setxattr(netbsd32_charp path, \ netbsd32_charp name, netbsd32_voidp value, \ d605 2 a606 2 376 STD { int netbsd32_lsetxattr(netbsd32_charp path, \ netbsd32_charp name, netbsd32_voidp value, \ d609 1 a609 1 netbsd32_charp name, netbsd32_voidp value, \ d611 2 a612 2 378 STD { int netbsd32_getxattr(netbsd32_charp path, \ netbsd32_charp name, netbsd32_voidp value, \ d614 2 a615 2 379 STD { int netbsd32_lgetxattr(netbsd32_charp path, \ netbsd32_charp name, netbsd32_voidp value, \ d618 1 a618 1 netbsd32_charp name, netbsd32_voidp value, \ d620 1 a620 1 381 STD { int netbsd32_listxattr(netbsd32_charp path, \ d622 1 a622 1 382 STD { int netbsd32_llistxattr(netbsd32_charp path, \ d626 4 a629 4 384 STD { int netbsd32_removexattr(netbsd32_charp path, \ netbsd32_charp name); } 385 STD { int netbsd32_lremovexattr(netbsd32_charp path, \ netbsd32_charp name); } d631 2 a632 2 netbsd32_charp name); } 387 STD { int netbsd32_sys___stat30(netbsd32_charp path, \ d637 1 a637 1 netbsd32_charp path, netbsd32_statp_t ub); } d643 1 a643 1 netbsd32_fhandlep_t fhp, \ d647 2 a648 2 395 STD { int netbsd32___getfh30(netbsd32_charp fname, netbsd32_pointer_t fhp, netbsd32_size_tp fh_size); } 396 STD { int netbsd32___fhopen40(netbsd32_pointer_t fhp, \ @ 1.61.2.2 log @sync with HEAD @ text @d1 1 a1 1 syscalls.master,v 1.61.2.1 2008/01/09 01:51:41 matt Exp d11 1 a11 1 ; type one of STD, OBSOL, UNIMPL, IGNORED, NODEF, NOARGS, or one of a16 1 ; IGNORED syscall is a null op, but always succeeds d645 2 a646 1 391 IGNORED old posix fadvise a660 33 ; Asynchronous I/O system calls 399 UNIMPL { int sys_aio_cancel(int fildes, struct aiocb *aiocbp); } 400 UNIMPL { int sys_aio_error(const struct aiocb *aiocbp); } 401 UNIMPL { int sys_aio_fsync(int op, struct aiocb *aiocbp); } 402 UNIMPL { int sys_aio_read(struct aiocb *aiocbp); } 403 UNIMPL { int sys_aio_return(struct aiocb *aiocbp); } 404 UNIMPL { int sys_aio_suspend(const struct aiocb *const *list, \ int nent, const struct timespec *timeout); } 405 UNIMPL { int sys_aio_write(struct aiocb *aiocbp); } 406 UNIMPL { int sys_lio_listio(int mode, struct aiocb *const *list, \ int nent, struct sigevent *sig); } 407 UNIMPL 408 UNIMPL 409 UNIMPL 410 UNIMPL { int sys___mount50(const char *type, \ const char *path, int flags, void *data, \ size_t data_len); } 411 STD MPSAFE { netbsd32_voidp netbsd32_mremap( \ netbsd32_voidp old_address, \ netbsd32_size_t old_size, \ netbsd32_voidp new_address, \ netbsd32_size_t new_size, int flags); } 412 UNIMPL 413 UNIMPL 414 UNIMPL 415 UNIMPL 416 STD MPSAFE { int netbsd32___posix_fadvise50(int fd, int pad, \ off_t offset, off_t len, int advice); } @ 1.61.8.1 log @Sync with HEAD. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.62 2007/11/09 15:05:34 dsl Exp $ d67 1 a67 2 0 INDIR { int netbsd32_sys_syscall(int code, \ ... register32_t args[NETBSD32_SYS_MAXSYSARGS]); } d297 1 a297 2 198 INDIR { quad_t netbsd32_sys___syscall(quad_t code, \ ... register32_t args[NETBSD32_SYS_MAXSYSARGS]); } @ 1.61.8.2 log @Sync with HEAD. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.63 2007/12/07 22:41:05 ad Exp $ d514 3 a516 6 323 STD { int netbsd32__lwp_setname(lwpid_t target, \ const netbsd32_charp name); } 324 STD { int netbsd32__lwp_getname(lwpid_t target, \ netbsd32_charp name, netbsd32_size_t len); } 325 STD { int netbsd32__lwp_ctl(int features, \ netbsd32_pointer_t address); } @ 1.61.8.3 log @Sync with HEAD. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.64 2007/12/17 20:45:29 dsl Exp $ d72 2 a73 2 4 STD { netbsd32_ssize_t netbsd32_write(int fd, netbsd32_voidp buf, netbsd32_size_t nbyte); } 5 STD { int netbsd32_open(netbsd32_charp path, int flags, ... mode_t mode); } d76 3 a78 3 8 COMPAT_43 { int netbsd32_ocreat(netbsd32_charp path, mode_t mode); } 9 STD { int netbsd32_link(netbsd32_charp path, netbsd32_charp link); } 10 STD { int netbsd32_unlink(netbsd32_charp path); } d80 1 a80 1 12 STD { int netbsd32_chdir(netbsd32_charp path); } d82 3 a84 3 14 STD { int netbsd32_mknod(netbsd32_charp path, mode_t mode, dev_t dev); } 15 STD { int netbsd32_chmod(netbsd32_charp path, mode_t mode); } 16 STD { int netbsd32_chown(netbsd32_charp path, uid_t uid, gid_t gid); } d89 2 a90 2 21 STD { int netbsd32_mount(netbsd32_charp type, netbsd32_charp path, int flags, netbsd32_voidp data); } 22 STD { int netbsd32_unmount(netbsd32_charp path, int flags); } d96 1 a96 1 28 STD { netbsd32_ssize_t netbsd32_sendmsg(int s, netbsd32_msghdrp_t msg, int flags); } d101 2 a102 2 33 STD { int netbsd32_access(netbsd32_charp path, int flags); } 34 STD { int netbsd32_chflags(netbsd32_charp path, netbsd32_u_long flags); } d106 1 a106 1 38 COMPAT_43 { int netbsd32_stat43(netbsd32_charp path, netbsd32_stat43p_t ub); } d108 1 a108 1 40 COMPAT_43 { int netbsd32_lstat43(netbsd32_charp path, netbsd32_stat43p_t ub); } d113 2 a114 2 45 STD { int netbsd32_ktrace(netbsd32_charp fname, int ops, int facs, int pid); } 46 STD { int netbsd32_sigaction(int signum, netbsd32_sigactionp_t nsa, netbsd32_sigactionp_t osa); } d119 2 a120 2 50 STD { int netbsd32_setlogin(netbsd32_charp namebuf); } 51 STD { int netbsd32_acct(netbsd32_charp path); } d122 1 a122 1 53 COMPAT_13 { int netbsd32_sigaltstack13(netbsd32_sigaltstack13p_t nss, netbsd32_sigaltstack13p_t oss); } d125 4 a128 4 56 STD { int netbsd32_revoke(netbsd32_charp path); } 57 STD { int netbsd32_symlink(netbsd32_charp path, netbsd32_charp link); } 58 STD { int netbsd32_readlink(netbsd32_charp path, netbsd32_charp buf, netbsd32_size_t count); } 59 STD { int netbsd32_execve(netbsd32_charp path, netbsd32_charpp argp, netbsd32_charpp envp); } d130 1 a130 1 61 STD { int netbsd32_chroot(netbsd32_charp path); } d150 1 a150 1 80 STD { int netbsd32_setgroups(int gidsetsize, netbsd32_gid_tp gidset); } d153 1 a153 1 83 STD { int netbsd32_setitimer(int which, netbsd32_itimervalp_t itv, netbsd32_itimervalp_t oitv); } d155 1 a155 1 85 COMPAT_12 { int netbsd32_oswapon(netbsd32_charp name); } d168 1 a168 1 98 STD { int netbsd32_connect(int s, netbsd32_sockaddrp_t name, int namelen); } d174 2 a175 2 104 STD { int netbsd32_bind(int s, netbsd32_sockaddrp_t name, int namelen); } 105 STD { int netbsd32_setsockopt(int s, int level, int name, netbsd32_voidp val, int valsize); } d190 3 a192 3 120 STD { netbsd32_ssize_t netbsd32_readv(int fd, netbsd32_iovecp_t iovp, int iovcnt); } 121 STD { netbsd32_ssize_t netbsd32_writev(int fd, netbsd32_iovecp_t iovp, int iovcnt); } 122 STD { int netbsd32_settimeofday(netbsd32_timevalp_t tv, netbsd32_timezonep_t tzp); } d198 2 a199 2 128 STD { int netbsd32_rename(netbsd32_charp from, netbsd32_charp to); } 129 COMPAT_43 { int netbsd32_otruncate(netbsd32_charp path, netbsd32_long length); } d202 2 a203 2 132 STD { int netbsd32_mkfifo(netbsd32_charp path, mode_t mode); } 133 STD { netbsd32_ssize_t netbsd32_sendto(int s, netbsd32_voidp buf, netbsd32_size_t len, int flags, netbsd32_sockaddrp_t to, int tolen); } d206 3 a208 3 136 STD { int netbsd32_mkdir(netbsd32_charp path, mode_t mode); } 137 STD { int netbsd32_rmdir(netbsd32_charp path); } 138 STD { int netbsd32_utimes(netbsd32_charp path, netbsd32_timevalp_t tptr); } d210 1 a210 1 140 STD { int netbsd32_adjtime(netbsd32_timevalp_t delta, netbsd32_timevalp_t olddelta); } d215 1 a215 1 145 COMPAT_43 { int netbsd32_osetrlimit(int which, netbsd32_orlimitp_t rlp); } d218 1 a218 1 148 STD { int netbsd32_quotactl(netbsd32_charp path, int cmd, int uid, netbsd32_caddr_t arg); } d236 1 a236 1 157 COMPAT_20 { int netbsd32_statfs(netbsd32_charp path, netbsd32_statfsp_t buf); } d240 1 a240 1 161 COMPAT_30 { int netbsd32_getfh(netbsd32_charp fname, netbsd32_compat_30_fhandlep_t fhp); } d265 1 a265 1 174 STD { netbsd32_ssize_t netbsd32_pwrite(int fd, netbsd32_voidp buf, netbsd32_size_t nbyte, int pad, off_t offset); } d288 1 a288 1 188 COMPAT_12 { int netbsd32_stat12(netbsd32_charp path, netbsd32_stat12p_t ub); } d290 2 a291 2 190 COMPAT_12 { int netbsd32_lstat12(netbsd32_charp path, netbsd32_stat12p_t ub); } 191 STD { netbsd32_long netbsd32_pathconf(netbsd32_charp path, int name); } d295 1 a295 1 195 STD { int netbsd32_setrlimit(int which, netbsd32_rlimitp_t rlp); } d301 1 a301 1 200 STD { int netbsd32_truncate(netbsd32_charp path, int pad, off_t length); } d304 4 a307 4 203 STD { int netbsd32_mlock(netbsd32_voidp addr, netbsd32_size_t len); } 204 STD { int netbsd32_munlock(netbsd32_voidp addr, netbsd32_size_t len); } 205 STD { int netbsd32_undelete(netbsd32_charp path); } 206 STD { int netbsd32_futimes(int fd, netbsd32_timevalp_t tptr); } d352 1 a352 1 226 STD { int netbsd32_msgsnd(int msqid, netbsd32_voidp msgp, netbsd32_size_t msgsz, int msgflg); } d361 1 a361 1 228 STD { netbsd32_voidp netbsd32_shmat(int shmid, netbsd32_voidp shmaddr, int shmflg); } d363 1 a363 1 230 STD { int netbsd32_shmdt(netbsd32_voidp shmaddr); } d372 1 a372 1 233 STD { int netbsd32_clock_settime(netbsd32_clockid_t clock_id, netbsd32_timespecp_t tp); } d378 1 a378 1 netbsd32_itimerspecp_t value, \ d385 1 a385 1 240 STD { int netbsd32_nanosleep(netbsd32_timespecp_t rqtp, netbsd32_timespecp_t rmtp); } d389 1 a389 1 244 STD { int netbsd32___sigtimedwait(netbsd32_sigsetp_t set, \ d396 1 a396 1 248 STD { int netbsd32__ksem_open(netbsd32_charp name, int oflag, \ d398 1 a398 1 249 STD { int netbsd32__ksem_unlink(netbsd32_charp name); } d432 1 a432 1 270 STD { int netbsd32___posix_rename(netbsd32_charp from, netbsd32_charp to); } d436 3 a438 3 274 STD { int netbsd32_lchmod(netbsd32_charp path, mode_t mode); } 275 STD { int netbsd32_lchown(netbsd32_charp path, uid_t uid, gid_t gid); } 276 STD { int netbsd32_lutimes(netbsd32_charp path, netbsd32_timevalp_t tptr); } d440 1 a440 1 278 COMPAT_30 { int netbsd32___stat13(netbsd32_charp path, netbsd32_stat13p_t ub); } d442 2 a443 2 280 COMPAT_30 { int netbsd32___lstat13(netbsd32_charp path, netbsd32_stat13p_t ub); } 281 STD { int netbsd32___sigaltstack14(netbsd32_sigaltstackp_t nss, netbsd32_sigaltstackp_t oss); } d445 1 a445 1 283 STD { int netbsd32___posix_chown(netbsd32_charp path, uid_t uid, gid_t gid); } d447 1 a447 1 285 STD { int netbsd32___posix_lchown(netbsd32_charp path, uid_t uid, gid_t gid); } d450 3 a452 3 288 STD { int netbsd32_fktrace(int fd, int ops, int facs, int pid); } 289 STD { netbsd32_ssize_t netbsd32_preadv(int fd, netbsd32_iovecp_t iovp, int iovcnt, int pad, off_t offset); } 290 STD { netbsd32_ssize_t netbsd32_pwritev(int fd, netbsd32_iovecp_t iovp, int iovcnt, int pad, off_t offset); } d454 1 a454 1 netbsd32_sigactionp_t nsa, \ d458 1 a458 1 netbsd32_sigsetp_t set, \ d460 1 a460 1 294 STD { int netbsd32___sigsuspend14(netbsd32_sigsetp_t set); } d464 1 a464 1 298 COMPAT_30 { int netbsd32_fhopen(netbsd32_fhandlep_t fhp, \ d466 1 a466 1 299 COMPAT_30 { int netbsd32_fhstat(netbsd32_fhandlep_t fhp, \ d488 1 a488 1 304 STD { int netbsd32_lchflags(netbsd32_charp path, netbsd32_u_long flags); } d490 1 a490 1 306 STD { int netbsd32_utrace(netbsd32_charp label, netbsd32_voidp addr, \ d495 1 a495 1 309 STD { int netbsd32__lwp_create(netbsd32_ucontextp ucp, \ d508 6 a513 6 320 STD MPSAFE { int netbsd32__lwp_park(netbsd32_timespecp_t ts, \ lwpid_t unpark, netbsd32_voidp hint, \ netbsd32_voidp unparkhint); } 321 STD MPSAFE { int netbsd32__lwp_unpark(lwpid_t target, netbsd32_voidp hint); } 322 STD MPSAFE { netbsd32_size_t netbsd32__lwp_unpark_all(netbsd32_lwpidp targets, \ netbsd32_size_t ntargets, netbsd32_voidp hint); } d515 1 a515 1 netbsd32_charp name); } d535 1 a535 1 netbsd32_sigactionp_t nsa, \ d560 1 a560 1 357 STD { int netbsd32_statvfs1(netbsd32_charp path, \ d564 1 a564 1 359 COMPAT_30 { int netbsd32_fhstatvfs1(netbsd32_fhandlep_t fhp, \ d566 8 a573 5 360 STD { int netbsd32_extattrctl(netbsd32_charp path, \ int cmd, netbsd32_charp filename, int attrnamespace, \ netbsd32_charp attrname); } 361 STD { int netbsd32_extattr_set_file(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname, \ d575 2 a576 5 362 STD { int netbsd32_extattr_get_file(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname, \ netbsd32_voidp data, netbsd32_size_t nbytes); } 363 STD { int netbsd32_extattr_delete_file(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname); } d578 2 a579 2 int attrnamespace, netbsd32_charp attrname, \ netbsd32_voidp data, netbsd32_size_t nbytes); } d581 1 a581 1 int attrnamespace, netbsd32_charp attrname, \ d584 6 a589 6 int attrnamespace, netbsd32_charp attrname); } 367 STD { int netbsd32_extattr_set_link(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname, \ netbsd32_voidp data, netbsd32_size_t nbytes); } 368 STD { int netbsd32_extattr_get_link(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname, \ d591 2 a592 2 369 STD { int netbsd32_extattr_delete_link(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname); } d596 1 a596 1 371 STD { int netbsd32_extattr_list_file(netbsd32_charp path, \ d599 1 a599 1 372 STD { int netbsd32_extattr_list_link(netbsd32_charp path, \ d604 1 a604 1 netbsd32_timespecp_t ts, netbsd32_sigsetp_t mask); } d606 3 a608 3 netbsd32_timespecp_t ts, netbsd32_sigsetp_t mask); } 375 STD { int netbsd32_setxattr(netbsd32_charp path, \ netbsd32_charp name, netbsd32_voidp value, \ d610 2 a611 2 376 STD { int netbsd32_lsetxattr(netbsd32_charp path, \ netbsd32_charp name, netbsd32_voidp value, \ d614 1 a614 1 netbsd32_charp name, netbsd32_voidp value, \ d616 2 a617 2 378 STD { int netbsd32_getxattr(netbsd32_charp path, \ netbsd32_charp name, netbsd32_voidp value, \ d619 2 a620 2 379 STD { int netbsd32_lgetxattr(netbsd32_charp path, \ netbsd32_charp name, netbsd32_voidp value, \ d623 1 a623 1 netbsd32_charp name, netbsd32_voidp value, \ d625 1 a625 1 381 STD { int netbsd32_listxattr(netbsd32_charp path, \ d627 1 a627 1 382 STD { int netbsd32_llistxattr(netbsd32_charp path, \ d631 4 a634 4 384 STD { int netbsd32_removexattr(netbsd32_charp path, \ netbsd32_charp name); } 385 STD { int netbsd32_lremovexattr(netbsd32_charp path, \ netbsd32_charp name); } d636 2 a637 2 netbsd32_charp name); } 387 STD { int netbsd32_sys___stat30(netbsd32_charp path, \ d642 1 a642 1 netbsd32_charp path, netbsd32_statp_t ub); } d648 1 a648 1 netbsd32_fhandlep_t fhp, \ d652 2 a653 2 395 STD { int netbsd32___getfh30(netbsd32_charp fname, netbsd32_pointer_t fhp, netbsd32_size_tp fh_size); } 396 STD { int netbsd32___fhopen40(netbsd32_pointer_t fhp, \ @ 1.61.8.4 log @Sync with HEAD. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.67 2008/01/27 20:13:07 martin Exp $ d645 1 a645 1 391 STD { int netbsd32_posix_fadvise(int fd, off_t offset, \ a660 33 ; Asynchronous I/O system calls 399 UNIMPL { int sys_aio_cancel(int fildes, struct aiocb *aiocbp); } 400 UNIMPL { int sys_aio_error(const struct aiocb *aiocbp); } 401 UNIMPL { int sys_aio_fsync(int op, struct aiocb *aiocbp); } 402 UNIMPL { int sys_aio_read(struct aiocb *aiocbp); } 403 UNIMPL { int sys_aio_return(struct aiocb *aiocbp); } 404 UNIMPL { int sys_aio_suspend(const struct aiocb *const *list, \ int nent, const struct timespec *timeout); } 405 UNIMPL { int sys_aio_write(struct aiocb *aiocbp); } 406 UNIMPL { int sys_lio_listio(int mode, struct aiocb *const *list, \ int nent, struct sigevent *sig); } 407 UNIMPL 408 UNIMPL 409 UNIMPL 410 UNIMPL { int sys___mount50(const char *type, \ const char *path, int flags, void *data, \ size_t data_len); } 411 STD MPSAFE { netbsd32_voidp netbsd32_mremap( \ netbsd32_voidp old_address, \ netbsd32_size_t old_size, \ netbsd32_voidp new_address, \ netbsd32_size_t new_size, int flags); } 412 UNIMPL 413 UNIMPL 414 UNIMPL 415 UNIMPL 416 STD MPSAFE { int netbsd32___posix_fadvise50(int fd, int pad, \ off_t offset, off_t len, int advice); } @ 1.61.6.1 log @Sync with HEAD @ text @d1 1 a1 1 $NetBSD$ d67 1 a67 2 0 INDIR { int netbsd32_sys_syscall(int code, \ ... register32_t args[NETBSD32_SYS_MAXSYSARGS]); } d297 1 a297 2 198 INDIR { quad_t netbsd32_sys___syscall(quad_t code, \ ... register32_t args[NETBSD32_SYS_MAXSYSARGS]); } @ 1.60 log @- Fix a bug with _lwp_park() where if the computed wakeup time was under 1 microsecond into the future, the thread could enter an untimed sleep. - Change the signature of _lwp_park() to accept an lwpid_t and second hint pointer, but do so in a way that remains compatible with older pthread libraries. This can be used to wake another thread before the calling thread goes asleep, saving at least one syscall + involuntary context switch. This turns out to be a fairly large win on the condvar benchmarks that I have tried. - Mark some more syscalls MP safe. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.59 2007/03/04 07:54:09 christos Exp $ a38 1 #include "opt_ktrace.h" a111 1 #if defined(KTRACE) || !defined(_KERNEL) a112 3 #else 45 EXCL netbsd32_ktrace #endif a447 1 #if defined(KTRACE) || !defined(_KERNEL) a448 3 #else 288 EXCL netbsd32_fktrace #endif @ 1.59 log @fix fallout from caddr_t changes. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.58 2007/03/04 06:01:27 christos Exp $ d506 1 a506 1 312 STD { int netbsd32__lwp_wait(lwpid_t wait_for, \ d508 3 a510 3 313 STD { int netbsd32__lwp_suspend(lwpid_t target); } 314 STD { int netbsd32__lwp_continue(lwpid_t target); } 315 STD { int netbsd32__lwp_wakeup(lwpid_t target); } d512 1 a512 1 317 STD { void netbsd32__lwp_setprivate(netbsd32_voidp ptr); } d514 6 a519 5 319 STD { int netbsd32__lwp_detach(lwpid_t target); } 320 STD { int netbsd32__lwp_park(const netbsd32_timespecp_t ts, \ netbsd32_ucontextp ucp, const netbsd32_voidp hint); } 321 STD { int netbsd32__lwp_unpark(lwpid_t target, const netbsd32_voidp hint); } 322 STD { netbsd32_size_t netbsd32__lwp_unpark_all(const netbsd32_lwpidp targets, \ @ 1.59.6.1 log @Pullup to HEAD @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.63 2007/12/07 22:41:05 ad Exp $ d520 3 a522 6 323 STD { int netbsd32__lwp_setname(lwpid_t target, \ const netbsd32_charp name); } 324 STD { int netbsd32__lwp_getname(lwpid_t target, \ netbsd32_charp name, netbsd32_size_t len); } 325 STD { int netbsd32__lwp_ctl(int features, \ netbsd32_pointer_t address); } @ 1.59.2.1 log @Sync with HEAD. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.59 2007/03/04 07:54:09 christos Exp $ d39 1 d113 1 d115 3 d453 1 d455 3 d506 1 a506 1 312 STD MPSAFE { int netbsd32__lwp_wait(lwpid_t wait_for, \ d508 3 a510 3 313 STD MPSAFE { int netbsd32__lwp_suspend(lwpid_t target); } 314 STD MPSAFE { int netbsd32__lwp_continue(lwpid_t target); } 315 STD MPSAFE { int netbsd32__lwp_wakeup(lwpid_t target); } d512 1 a512 1 317 STD MPSAFE { void netbsd32__lwp_setprivate(netbsd32_voidp ptr); } d514 5 a518 6 319 STD MPSAFE { int netbsd32__lwp_detach(lwpid_t target); } 320 STD MPSAFE { int netbsd32__lwp_park(const netbsd32_timespecp_t ts, \ lwpid_t unpark, const netbsd32_voidp hint, \ const netbsd32_voidp unparkhint); } 321 STD MPSAFE { int netbsd32__lwp_unpark(lwpid_t target, const netbsd32_voidp hint); } 322 STD MPSAFE { netbsd32_size_t netbsd32__lwp_unpark_all(const netbsd32_lwpidp targets, \ @ 1.59.10.1 log @Sync with HEAD. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.60 2007/08/07 19:00:42 ad Exp $ d506 1 a506 1 312 STD MPSAFE { int netbsd32__lwp_wait(lwpid_t wait_for, \ d508 3 a510 3 313 STD MPSAFE { int netbsd32__lwp_suspend(lwpid_t target); } 314 STD MPSAFE { int netbsd32__lwp_continue(lwpid_t target); } 315 STD MPSAFE { int netbsd32__lwp_wakeup(lwpid_t target); } d512 1 a512 1 317 STD MPSAFE { void netbsd32__lwp_setprivate(netbsd32_voidp ptr); } d514 5 a518 6 319 STD MPSAFE { int netbsd32__lwp_detach(lwpid_t target); } 320 STD MPSAFE { int netbsd32__lwp_park(const netbsd32_timespecp_t ts, \ lwpid_t unpark, const netbsd32_voidp hint, \ const netbsd32_voidp unparkhint); } 321 STD MPSAFE { int netbsd32__lwp_unpark(lwpid_t target, const netbsd32_voidp hint); } 322 STD MPSAFE { netbsd32_size_t netbsd32__lwp_unpark_all(const netbsd32_lwpidp targets, \ @ 1.59.10.2 log @Sync with HEAD. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.59.10.1 2007/08/15 13:48:09 skrll Exp $ d39 1 d113 1 d115 3 d453 1 d455 3 @ 1.59.14.1 log @Sync with HEAD. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.60 2007/08/07 19:00:42 ad Exp $ d506 1 a506 1 312 STD MPSAFE { int netbsd32__lwp_wait(lwpid_t wait_for, \ d508 3 a510 3 313 STD MPSAFE { int netbsd32__lwp_suspend(lwpid_t target); } 314 STD MPSAFE { int netbsd32__lwp_continue(lwpid_t target); } 315 STD MPSAFE { int netbsd32__lwp_wakeup(lwpid_t target); } d512 1 a512 1 317 STD MPSAFE { void netbsd32__lwp_setprivate(netbsd32_voidp ptr); } d514 5 a518 6 319 STD MPSAFE { int netbsd32__lwp_detach(lwpid_t target); } 320 STD MPSAFE { int netbsd32__lwp_park(const netbsd32_timespecp_t ts, \ lwpid_t unpark, const netbsd32_voidp hint, \ const netbsd32_voidp unparkhint); } 321 STD MPSAFE { int netbsd32__lwp_unpark(lwpid_t target, const netbsd32_voidp hint); } 322 STD MPSAFE { netbsd32_size_t netbsd32__lwp_unpark_all(const netbsd32_lwpidp targets, \ @ 1.59.14.2 log @Sync with HEAD. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.61 2007/08/15 12:07:31 ad Exp $ d39 1 d113 1 d115 3 d453 1 d455 3 @ 1.59.14.3 log @Sync with HEAD. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.59.14.2 2007/08/16 11:03:00 jmcneill Exp $ d67 1 a67 2 0 INDIR { int netbsd32_sys_syscall(int code, \ ... register32_t args[NETBSD32_SYS_MAXSYSARGS]); } d297 1 a297 2 198 INDIR { quad_t netbsd32_sys___syscall(quad_t code, \ ... register32_t args[NETBSD32_SYS_MAXSYSARGS]); } @ 1.59.14.4 log @Sync with HEAD. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.63 2007/12/07 22:41:05 ad Exp $ d514 3 a516 6 323 STD { int netbsd32__lwp_setname(lwpid_t target, \ const netbsd32_charp name); } 324 STD { int netbsd32__lwp_getname(lwpid_t target, \ netbsd32_charp name, netbsd32_size_t len); } 325 STD { int netbsd32__lwp_ctl(int features, \ netbsd32_pointer_t address); } @ 1.58 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.57 2007/02/19 15:32:43 cube Exp $ d94 1 a94 1 26 STD { int netbsd32_ptrace(int req, pid_t pid, netbsd32_void *addr, int data); } d112 1 a112 1 44 STD { int netbsd32_profil(netbsd32_void *samples, netbsd32_size_t size, netbsd32_u_long offset, u_int scale); } d138 1 a138 1 65 COMPAT_12 { int netbsd32_msync(netbsd32_void *addr, netbsd32_size_t len); } d145 1 a145 1 71 COMPAT_43 { int netbsd32_ommap(netbsd32_void *addr, netbsd32_size_t len, int prot, int flags, int fd, netbsd32_long pos); } d152 1 a152 1 78 STD { int netbsd32_mincore(netbsd32_void *addr, netbsd32_size_t len, netbsd32_charp vec); } d173 1 a173 1 99 COMPAT_43 { int netbsd32_oaccept(int s, netbsd32_void *name, netbsd32_intp anamelen); } d175 2 a176 2 101 COMPAT_43 { int netbsd32_osend(int s, netbsd32_void *buf, int len, int flags); } 102 COMPAT_43 { int netbsd32_orecv(int s, netbsd32_void *buf, int len, int flags); } d188 1 a188 1 114 COMPAT_43 { int netbsd32_osendmsg(int s, netbsd32_void *msg, int flags); } d199 1 a199 1 125 COMPAT_43 { int netbsd32_orecvfrom(int s, netbsd32_void *buf, netbsd32_size_t len, int flags, netbsd32_void *from, netbsd32_intp fromlenaddr); } d215 1 a215 1 141 COMPAT_43 { int netbsd32_ogetpeername(int fdes, netbsd32_void *asa, netbsd32_intp alen); } d222 1 a222 1 148 STD { int netbsd32_quotactl(const netbsd32_charp path, int cmd, int uid, netbsd32_void *arg); } d224 1 a224 1 150 COMPAT_43 { int netbsd32_ogetsockname(int fdec, netbsd32_void *asa, netbsd32_intp alen); } d543 1 a543 1 343 STD { int netbsd32_rasctl(netbsd32_void *addr, netbsd32_size_t len, \ @ 1.57 log @Mark MPSAFE the syscalls that are not translated (and of course, only when the native syscall is itself marked MPSAFE). @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.56 2007/02/18 09:03:55 cube Exp $ d94 1 a94 1 26 STD { int netbsd32_ptrace(int req, pid_t pid, netbsd32_caddr_t addr, int data); } d112 1 a112 1 44 STD { int netbsd32_profil(netbsd32_caddr_t samples, netbsd32_size_t size, netbsd32_u_long offset, u_int scale); } d138 1 a138 1 65 COMPAT_12 { int netbsd32_msync(netbsd32_caddr_t addr, netbsd32_size_t len); } d145 1 a145 1 71 COMPAT_43 { int netbsd32_ommap(netbsd32_caddr_t addr, netbsd32_size_t len, int prot, int flags, int fd, netbsd32_long pos); } d152 1 a152 1 78 STD { int netbsd32_mincore(netbsd32_caddr_t addr, netbsd32_size_t len, netbsd32_charp vec); } d173 1 a173 1 99 COMPAT_43 { int netbsd32_oaccept(int s, netbsd32_caddr_t name, netbsd32_intp anamelen); } d175 2 a176 2 101 COMPAT_43 { int netbsd32_osend(int s, netbsd32_caddr_t buf, int len, int flags); } 102 COMPAT_43 { int netbsd32_orecv(int s, netbsd32_caddr_t buf, int len, int flags); } d188 1 a188 1 114 COMPAT_43 { int netbsd32_osendmsg(int s, netbsd32_caddr_t msg, int flags); } d199 1 a199 1 125 COMPAT_43 { int netbsd32_orecvfrom(int s, netbsd32_caddr_t buf, netbsd32_size_t len, int flags, netbsd32_caddr_t from, netbsd32_intp fromlenaddr); } d215 1 a215 1 141 COMPAT_43 { int netbsd32_ogetpeername(int fdes, netbsd32_caddr_t asa, netbsd32_intp alen); } d222 1 a222 1 148 STD { int netbsd32_quotactl(const netbsd32_charp path, int cmd, int uid, netbsd32_caddr_t arg); } d224 1 a224 1 150 COMPAT_43 { int netbsd32_ogetsockname(int fdec, netbsd32_caddr_t asa, netbsd32_intp alen); } d543 1 a543 1 343 STD { int netbsd32_rasctl(netbsd32_caddr_t addr, netbsd32_size_t len, \ @ 1.56 log @Add missing lwp syscalls. Put them all together into a new file, netbsd32_lwp.c, and remove remaining traces of SA. This still needs some MD (and possibly MI, depending on the chosen solution) changes to actually work. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.55 2007/02/09 21:55:22 ad Exp $ d92 2 a93 2 24 NOARGS { uid_t sys_getuid(void); } 25 NOARGS { uid_t sys_geteuid(void); } d107 1 a107 1 39 NOARGS { pid_t sys_getppid(void); } d111 1 a111 1 43 NOARGS { gid_t sys_getegid(void); } d119 1 a119 1 47 NOARGS { gid_t sys_getgid(void); } d125 1 a125 1 52 COMPAT_13 { int sys_sigpending(void); } sigpending13 d155 1 a155 1 81 NOARGS { int sys_getpgrp(void); } d496 1 a496 1 305 STD { int sys_issetugid(void); } d505 1 a505 1 311 NOARGS { lwpid_t sys__lwp_self(void); } d511 1 a511 1 316 NOARGS { void *sys__lwp_getprivate(void); } @ 1.55 log @Merge newlock2 to head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.54 2006/11/09 14:09:37 cube Exp $ a498 3 ; ; Syscalls 307 and 308 are reserved for getcontext and setcontext ; a501 3 ; ; Syscalls 309-339 are reserved for LWP and scheduler activation syscalls. ; d513 7 a519 5 318 UNIMPL 319 UNIMPL 320 UNIMPL 321 UNIMPL 322 UNIMPL d554 1 a554 1 350 UNIMPL @ 1.55.2.1 log @- sync with head. - move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.55 2007/02/09 21:55:22 ad Exp $ d92 2 a93 2 24 NOARGS MPSAFE { uid_t sys_getuid(void); } 25 NOARGS MPSAFE { uid_t sys_geteuid(void); } d107 1 a107 1 39 NOARGS MPSAFE { pid_t sys_getppid(void); } d111 1 a111 1 43 NOARGS MPSAFE { gid_t sys_getegid(void); } d119 1 a119 1 47 NOARGS MPSAFE { gid_t sys_getgid(void); } d125 1 a125 1 52 COMPAT_13 MPSAFE { int sys_sigpending(void); } sigpending13 d155 1 a155 1 81 NOARGS MPSAFE { int sys_getpgrp(void); } d496 1 a496 1 305 NOARGS MPSAFE { int sys_issetugid(void); } d499 3 d505 3 d511 1 a511 1 311 NOARGS MPSAFE { lwpid_t sys__lwp_self(void); } d517 1 a517 1 316 NOARGS MPSAFE { void *sys__lwp_getprivate(void); } d519 5 a523 7 318 STD { int netbsd32__lwp_kill(lwpid_t target, int signo); } 319 STD { int netbsd32__lwp_detach(lwpid_t target); } 320 STD { int netbsd32__lwp_park(const netbsd32_timespecp_t ts, \ netbsd32_ucontextp ucp, const netbsd32_voidp hint); } 321 STD { int netbsd32__lwp_unpark(lwpid_t target, const netbsd32_voidp hint); } 322 STD { netbsd32_size_t netbsd32__lwp_unpark_all(const netbsd32_lwpidp targets, \ netbsd32_size_t ntargets, const netbsd32_voidp hint); } d558 1 a558 1 350 NOARGS MPSAFE { int sys_sched_yield(void); } @ 1.54 log @- Make better use of COMPAT_XX type in syscalls.master - Remove useless (thanks to COMPAT_XX behaviour) #ifdefs in syscalls.master - Make netbsd32_compat_43.c compiled per COMPAT_LINUX32 because the latter needs stuff from it. Fixes Perry's PR#34951. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.53 2006/09/01 20:58:18 matt Exp $ a54 1 #include d531 6 a536 8 330 STD { int netbsd32_sa_register(netbsd32_sa_upcall_t new, \ netbsd32_sa_upcallp_t old, int flags, \ netbsd32_ssize_t stackinfo_offset); } 331 STD { int netbsd32_sa_stacks(int num, netbsd32_stackp_t stacks); } 332 NOARGS { int sys_sa_enable(void); } 333 STD { int netbsd32_sa_setconcurrency(int concurrency); } 334 NOARGS { int sys_sa_yield(void); } 335 STD { int netbsd32_sa_preempt(int sa_id); } @ 1.53 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.52 2006/08/30 13:57:47 cube Exp $ a183 1 #if defined(COMPAT_43) || defined(COMPAT_SUNOS) a185 4 #else 109 OBSOL sigblock 110 OBSOL sigsetmask #endif a217 1 #if defined(COMPAT_43) || defined(COMPAT_SUNOS) a218 3 #else 143 OBSOL sethostid #endif a220 1 #if defined(COMPAT_43) || defined(COMPAT_SUNOS) a221 3 #else 146 OBSOL killpg #endif d438 1 a438 1 272 STD { int netbsd32_getdents(int fd, netbsd32_charp buf, netbsd32_size_t count); } d444 3 a446 3 278 STD { int netbsd32___stat13(const netbsd32_charp path, netbsd32_stat13p_t ub); } 279 STD { int netbsd32___fstat13(int fd, netbsd32_stat13p_t sb); } 280 STD { int netbsd32___lstat13(const netbsd32_charp path, netbsd32_stat13p_t ub); } @ 1.53.4.1 log @sync with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.53 2006/09/01 20:58:18 matt Exp $ d184 1 d187 4 d223 1 d225 3 d230 1 d232 3 d451 1 a451 1 272 COMPAT_30 { int netbsd32_getdents(int fd, netbsd32_charp buf, netbsd32_size_t count); } d457 3 a459 3 278 COMPAT_30 { int netbsd32___stat13(const netbsd32_charp path, netbsd32_stat13p_t ub); } 279 COMPAT_30 { int netbsd32___fstat13(int fd, netbsd32_stat13p_t sb); } 280 COMPAT_30 { int netbsd32___lstat13(const netbsd32_charp path, netbsd32_stat13p_t ub); } @ 1.53.2.1 log @Sync with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.54 2006/11/09 14:09:37 cube Exp $ d184 1 d187 4 d223 1 d225 3 d230 1 d232 3 d451 1 a451 1 272 COMPAT_30 { int netbsd32_getdents(int fd, netbsd32_charp buf, netbsd32_size_t count); } d457 3 a459 3 278 COMPAT_30 { int netbsd32___stat13(const netbsd32_charp path, netbsd32_stat13p_t ub); } 279 COMPAT_30 { int netbsd32___fstat13(int fd, netbsd32_stat13p_t sb); } 280 COMPAT_30 { int netbsd32___lstat13(const netbsd32_charp path, netbsd32_stat13p_t ub); } @ 1.53.2.2 log @Remove support for SA. Ok core@@. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.53.2.1 2006/11/18 21:39:14 ad Exp $ d55 1 d532 8 a539 6 330 OBSOL netbsd32_sa_register 331 OBSOL netbsd32_sa_stacks 332 OBSOL sys_sa_enable 333 OBSOL netbsd32_sa_setconcurrency 334 OBSOL sys_sa_yield 335 OBSOL netbsd32_sa_preempt @ 1.52 log @Protect netbsd32_ptrace with options PTRACE. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.51 2006/07/31 16:32:51 martin Exp $ a45 1 #include "opt_ptrace.h" a94 1 #if defined(PTRACE) || !defined(_KERNEL) a95 3 #else 26 EXCL netbsd32_ptrace #endif @ 1.51 log @Step 1 to make filehandles completely opaque to userland @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.50 2006/07/13 23:22:40 pavel Exp $ d46 1 d96 1 d98 3 @ 1.50 log @do not protect the getfh syscall by #if defined(NFS) || defined(NFSSERVER). The native syscall also isn't. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.49 2006/07/13 12:00:25 martin Exp $ d485 1 a485 1 298 STD { int netbsd32_fhopen(const netbsd32_fhandlep_t fhp, \ d587 1 a587 1 359 STD { int netbsd32_fhstatvfs1(const netbsd32_fhandlep_t fhp, \ d670 1 a670 1 392 STD { int netbsd32_sys___fhstat30( \ d675 9 a683 1 395 STD { int netbsd32___getfh30(const netbsd32_charp fname, netbsd32_fhandlep_t fhp, netbsd32_size_tp fh_size); } @ 1.49 log @Fix alignement problems for fhandle_t, exposed by gcc4.1. While touching all vptofh/fhtovp functions, get rid of VFS_MAXFIDSIZ, version the getfh(2) syscall and explicitly pass the size available in the filehandle from userland. Discussed on tech-kern, with lots of help from yamt (thanks!). @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.48 2006/06/26 21:23:57 mrg Exp $ a257 1 #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL) a258 3 #else 161 EXCL netbsd32_getfh #endif a674 1 #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL) a675 3 #else 395 EXCL netbsd32_getfh #endif @ 1.48 log @version the socket(2) syscall. for compat30 socket, we use EPROTONOSUPPORT instead of EAFNOSUPPORT. from pavel@@ with a little bit of clean up from myself. XXX: netbsd32 (and perhaps other emulations) should be able XXX: to call the standard socket calls for this i think, but XXX: revisit this at another time. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.47 2006/05/31 09:52:27 drochner Exp $ d259 1 a259 1 161 STD { int netbsd32_getfh(const netbsd32_charp fname, netbsd32_fhandlep_t fhp); } d679 5 @ 1.47 log @support ntp_gettime again compile tested by Havard Eidnes @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.46 2006/05/29 09:44:51 drochner Exp $ d172 1 a172 1 97 STD { int netbsd32_socket(int domain, int type, int protocol); } d678 1 @ 1.47.2.1 log @Merge from HEAD. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.49 2006/07/13 12:00:25 martin Exp $ d172 1 a172 1 97 COMPAT_30 { int netbsd32_socket(int domain, int type, int protocol); } d259 1 a259 1 161 COMPAT_30 { int netbsd32_getfh(const netbsd32_charp fname, netbsd32_compat_30_fhandlep_t fhp); } a677 6 394 STD { int netbsd32_sys___socket30(int domain, int type, int protocol); } #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL) 395 STD { int netbsd32___getfh30(const netbsd32_charp fname, netbsd32_fhandlep_t fhp, netbsd32_size_tp fh_size); } #else 395 EXCL netbsd32_getfh #endif @ 1.46 log @Remove emulation of ntp_gettime. In preparation for "timecounters" we will change "struct ntptimeval", so some translation would be necessary. ntp_gettine is considered dispensable, the only userland program known to use it is "ntptime". @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.45 2006/05/05 13:28:52 cube Exp $ d288 1 a288 1 175 UNIMPL { int netbsd32_ntp_gettime(netbsd32_ntptimevalp_t ntvp); } d677 1 @ 1.45 log @Follow on fhstat(2) versioning. While there, add sys_posix_fadvise (no emulation needed there). @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.44 2006/03/29 23:04:12 cube Exp $ d288 1 a288 2 ; For some reason, ntp_gettime doesn't want to raise SIGSYS when it's excluded. 175 STD { int netbsd32_ntp_gettime(netbsd32_ntptimevalp_t ntvp); } @ 1.45.2.1 log @Sync with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.47 2006/05/31 09:52:27 drochner Exp $ d288 2 a289 1 175 COMPAT_30 { int netbsd32_ntp_gettime(netbsd32_ntptimevalp_t ntvp); } a677 1 393 STD { int netbsd32_ntp_gettime(netbsd32_ntptimevalp_t ntvp); } @ 1.44 log @Implement the _lwp* and sa_* families of syscalls, using the newly introduced hooks in the native code. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.43 2006/03/06 14:40:55 cube Exp $ d492 2 a493 2 299 STD { int netbsd32_fhstat(const netbsd32_fhandlep_t fhp, \ netbsd32_statp_t sb); } d673 5 @ 1.43 log @Implement the SysV IPC family of syscalls. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.42 2006/03/05 01:28:20 cube Exp $ d527 11 a537 9 309 UNIMPL 310 UNIMPL 311 UNIMPL 312 UNIMPL 313 UNIMPL 314 UNIMPL 315 UNIMPL 316 UNIMPL 317 UNIMPL d550 9 a558 7 330 UNIMPL 331 UNIMPL 332 UNIMPL 333 UNIMPL 334 UNIMPL 335 UNIMPL 336 UNIMPL @ 1.43.2.1 log @sync with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.44 2006/03/29 23:04:12 cube Exp $ d527 9 a535 11 309 STD { int netbsd32__lwp_create(const netbsd32_ucontextp ucp, \ netbsd32_u_long flags, netbsd32_lwpidp new_lwp); } 310 NOARGS { int sys__lwp_exit(void); } 311 NOARGS { lwpid_t sys__lwp_self(void); } 312 STD { int netbsd32__lwp_wait(lwpid_t wait_for, \ netbsd32_lwpidp departed); } 313 STD { int netbsd32__lwp_suspend(lwpid_t target); } 314 STD { int netbsd32__lwp_continue(lwpid_t target); } 315 STD { int netbsd32__lwp_wakeup(lwpid_t target); } 316 NOARGS { void *sys__lwp_getprivate(void); } 317 STD { void netbsd32__lwp_setprivate(netbsd32_voidp ptr); } d548 7 a554 9 330 STD { int netbsd32_sa_register(netbsd32_sa_upcall_t new, \ netbsd32_sa_upcallp_t old, int flags, \ netbsd32_ssize_t stackinfo_offset); } 331 STD { int netbsd32_sa_stacks(int num, netbsd32_stackp_t stacks); } 332 NOARGS { int sys_sa_enable(void); } 333 STD { int netbsd32_sa_setconcurrency(int concurrency); } 334 NOARGS { int sys_sa_yield(void); } 335 STD { int netbsd32_sa_preempt(int sa_id); } 336 OBSOL sys_sa_unblockyield @ 1.43.2.2 log @sync with head @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.43.2.1 2006/04/19 04:01:24 elad Exp $ d492 2 a493 2 299 COMPAT_30 { int netbsd32_fhstat(const netbsd32_fhandlep_t fhp, \ netbsd32_stat13p_t sb); } a672 5 391 NOARGS { int sys_posix_fadvise(int fd, off_t offset, \ off_t len, int advice); } 392 STD { int netbsd32_sys___fhstat30( \ const netbsd32_fhandlep_t fhp, \ netbsd32_statp_t sb); } @ 1.43.4.1 log @Merge 2006-03-31 NetBSD-current into the "peter-altq" branch. @ text @d1 1 a1 1 $NetBSD$ d527 9 a535 11 309 STD { int netbsd32__lwp_create(const netbsd32_ucontextp ucp, \ netbsd32_u_long flags, netbsd32_lwpidp new_lwp); } 310 NOARGS { int sys__lwp_exit(void); } 311 NOARGS { lwpid_t sys__lwp_self(void); } 312 STD { int netbsd32__lwp_wait(lwpid_t wait_for, \ netbsd32_lwpidp departed); } 313 STD { int netbsd32__lwp_suspend(lwpid_t target); } 314 STD { int netbsd32__lwp_continue(lwpid_t target); } 315 STD { int netbsd32__lwp_wakeup(lwpid_t target); } 316 NOARGS { void *sys__lwp_getprivate(void); } 317 STD { void netbsd32__lwp_setprivate(netbsd32_voidp ptr); } d548 7 a554 9 330 STD { int netbsd32_sa_register(netbsd32_sa_upcall_t new, \ netbsd32_sa_upcallp_t old, int flags, \ netbsd32_ssize_t stackinfo_offset); } 331 STD { int netbsd32_sa_stacks(int num, netbsd32_stackp_t stacks); } 332 NOARGS { int sys_sa_enable(void); } 333 STD { int netbsd32_sa_setconcurrency(int concurrency); } 334 NOARGS { int sys_sa_yield(void); } 335 STD { int netbsd32_sa_preempt(int sa_id); } 336 OBSOL sys_sa_unblockyield @ 1.43.4.2 log @Merge 2006-05-24 NetBSD-current into the "peter-altq" branch. @ text @d492 2 a493 2 299 COMPAT_30 { int netbsd32_fhstat(const netbsd32_fhandlep_t fhp, \ netbsd32_stat13p_t sb); } a672 5 391 NOARGS { int sys_posix_fadvise(int fd, off_t offset, \ off_t len, int advice); } 392 STD { int netbsd32_sys___fhstat30( \ const netbsd32_fhandlep_t fhp, \ netbsd32_statp_t sb); } @ 1.42 log @Implement the ksem_* family of syscalls. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.41 2005/12/11 12:20:22 christos Exp $ d498 1 a498 1 union netbsd32_semun3* arg); } @ 1.42.2.1 log @file syscalls.master was added on branch yamt-pdpolicy on 2006-03-13 09:07:08 +0000 @ text @d1 668 @ 1.42.2.2 log @sync with head. @ text @a0 668 $NetBSD: syscalls.master,v 1.42.2.1 2006/03/13 09:07:08 yamt Exp $ ; from: NetBSD: syscalls.master,v 1.81 1998/07/05 08:49:50 jonathan Exp ; @@(#)syscalls.master 8.2 (Berkeley) 1/13/94 ; NetBSD 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 ; EXCL implemented, but 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_ktrace.h" #include "opt_nfsserver.h" #include "opt_compat_netbsd.h" #include "opt_ntp.h" #include "opt_sysv.h" #include "opt_compat_43.h" #include "opt_posix.h" #include "fs_lfs.h" #include "fs_nfs.h" #endif #include #include #include #include #include #include #include #include %% ; Reserved/unimplemented system calls in the range 0-150 inclusive ; are reserved for use in future Berkeley releases. ; Additional system calls implemented in vendor and other ; redistributions should be placed in the reserved range at the end ; of the current calls. 0 INDIR { int sys_syscall(int number, ...); } 1 STD { void netbsd32_exit(int rval); } 2 NOARGS { int sys_fork(void); } 3 STD { netbsd32_ssize_t netbsd32_read(int fd, netbsd32_voidp buf, netbsd32_size_t nbyte); } 4 STD { netbsd32_ssize_t netbsd32_write(int fd, const netbsd32_voidp buf, netbsd32_size_t nbyte); } 5 STD { int netbsd32_open(const netbsd32_charp path, int flags, ... mode_t mode); } 6 STD { int netbsd32_close(int fd); } 7 STD { int netbsd32_wait4(int pid, netbsd32_intp status, int options, netbsd32_rusagep_t rusage); } 8 COMPAT_43 { int netbsd32_ocreat(const netbsd32_charp path, mode_t mode); } 9 STD { int netbsd32_link(const netbsd32_charp path, const netbsd32_charp link); } 10 STD { int netbsd32_unlink(const netbsd32_charp path); } 11 OBSOL execv 12 STD { int netbsd32_chdir(const netbsd32_charp path); } 13 STD { int netbsd32_fchdir(int fd); } 14 STD { int netbsd32_mknod(const netbsd32_charp path, mode_t mode, dev_t dev); } 15 STD { int netbsd32_chmod(const netbsd32_charp path, mode_t mode); } 16 STD { int netbsd32_chown(const netbsd32_charp path, uid_t uid, gid_t gid); } 17 STD { int netbsd32_break(netbsd32_charp nsize); } 18 COMPAT_20 { int netbsd32_getfsstat(netbsd32_statfsp_t buf, netbsd32_long bufsize, int flags); } 19 COMPAT_43 { netbsd32_long netbsd32_olseek(int fd, netbsd32_long offset, int whence); } 20 NOARGS MPSAFE { pid_t sys_getpid(void); } 21 STD { int netbsd32_mount(const netbsd32_charp type, const netbsd32_charp path, int flags, netbsd32_voidp data); } 22 STD { int netbsd32_unmount(const netbsd32_charp path, int flags); } 23 STD { int netbsd32_setuid(uid_t uid); } 24 NOARGS { uid_t sys_getuid(void); } 25 NOARGS { uid_t sys_geteuid(void); } 26 STD { int netbsd32_ptrace(int req, pid_t pid, netbsd32_caddr_t addr, int data); } 27 STD { netbsd32_ssize_t netbsd32_recvmsg(int s, netbsd32_msghdrp_t msg, int flags); } 28 STD { netbsd32_ssize_t netbsd32_sendmsg(int s, const netbsd32_msghdrp_t msg, int flags); } 29 STD { netbsd32_ssize_t netbsd32_recvfrom(int s, netbsd32_voidp buf, netbsd32_size_t len, int flags, netbsd32_sockaddrp_t from, netbsd32_intp fromlenaddr); } 30 STD { int netbsd32_accept(int s, netbsd32_sockaddrp_t name, netbsd32_intp anamelen); } 31 STD { int netbsd32_getpeername(int fdes, netbsd32_sockaddrp_t asa, netbsd32_intp alen); } 32 STD { int netbsd32_getsockname(int fdes, netbsd32_sockaddrp_t asa, netbsd32_intp alen); } 33 STD { int netbsd32_access(const netbsd32_charp path, int flags); } 34 STD { int netbsd32_chflags(const netbsd32_charp path, netbsd32_u_long flags); } 35 STD { int netbsd32_fchflags(int fd, netbsd32_u_long flags); } 36 NOARGS { void sys_sync(void); } 37 STD { int netbsd32_kill(int pid, int signum); } 38 COMPAT_43 { int netbsd32_stat43(const netbsd32_charp path, netbsd32_stat43p_t ub); } 39 NOARGS { pid_t sys_getppid(void); } 40 COMPAT_43 { int netbsd32_lstat43(const netbsd32_charp path, netbsd32_stat43p_t ub); } 41 STD { int netbsd32_dup(int fd); } 42 NOARGS { int sys_pipe(void); } 43 NOARGS { gid_t sys_getegid(void); } 44 STD { int netbsd32_profil(netbsd32_caddr_t samples, netbsd32_size_t size, netbsd32_u_long offset, u_int scale); } #if defined(KTRACE) || !defined(_KERNEL) 45 STD { int netbsd32_ktrace(const netbsd32_charp fname, int ops, int facs, int pid); } #else 45 EXCL netbsd32_ktrace #endif 46 STD { int netbsd32_sigaction(int signum, const netbsd32_sigactionp_t nsa, netbsd32_sigactionp_t osa); } 47 NOARGS { gid_t sys_getgid(void); } 48 COMPAT_13 { int netbsd32_sigprocmask(int how, \ int mask); } sigprocmask13 49 STD { int netbsd32___getlogin(netbsd32_charp namebuf, u_int namelen); } 50 STD { int netbsd32_setlogin(const netbsd32_charp namebuf); } 51 STD { int netbsd32_acct(const netbsd32_charp path); } 52 COMPAT_13 { int sys_sigpending(void); } sigpending13 53 COMPAT_13 { int netbsd32_sigaltstack13(const netbsd32_sigaltstack13p_t nss, netbsd32_sigaltstack13p_t oss); } 54 STD { int netbsd32_ioctl(int fd, netbsd32_u_long com, ... netbsd32_voidp data); } 55 COMPAT_12 { int netbsd32_reboot(int opt); } 56 STD { int netbsd32_revoke(const netbsd32_charp path); } 57 STD { int netbsd32_symlink(const netbsd32_charp path, const netbsd32_charp link); } 58 STD { int netbsd32_readlink(const netbsd32_charp path, netbsd32_charp buf, netbsd32_size_t count); } 59 STD { int netbsd32_execve(const netbsd32_charp path, netbsd32_charpp argp, netbsd32_charpp envp); } 60 STD { mode_t netbsd32_umask(mode_t newmask); } 61 STD { int netbsd32_chroot(const netbsd32_charp path); } 62 COMPAT_43 { int netbsd32_fstat43(int fd, netbsd32_stat43p_t sb); } 63 COMPAT_43 { int netbsd32_ogetkerninfo(int op, netbsd32_charp where, netbsd32_intp size, int arg); } 64 COMPAT_43 { int sys_getpagesize(void); } ogetpagesize 65 COMPAT_12 { int netbsd32_msync(netbsd32_caddr_t addr, netbsd32_size_t len); } ; XXX COMPAT_??? for 4.4BSD-compatible vfork(2)? 66 NOARGS { int sys_vfork(void); } 67 OBSOL vread 68 OBSOL vwrite 69 STD { int netbsd32_sbrk(netbsd32_intptr_t incr); } 70 STD { int netbsd32_sstk(int incr); } 71 COMPAT_43 { int netbsd32_ommap(netbsd32_caddr_t addr, netbsd32_size_t len, int prot, int flags, int fd, netbsd32_long pos); } 72 STD { int netbsd32_ovadvise(int anom); } vadvise 73 STD { int netbsd32_munmap(netbsd32_voidp addr, netbsd32_size_t len); } 74 STD { int netbsd32_mprotect(netbsd32_voidp addr, netbsd32_size_t len, int prot); } 75 STD { int netbsd32_madvise(netbsd32_voidp addr, netbsd32_size_t len, int behav); } 76 OBSOL vhangup 77 OBSOL vlimit 78 STD { int netbsd32_mincore(netbsd32_caddr_t addr, netbsd32_size_t len, netbsd32_charp vec); } 79 STD { int netbsd32_getgroups(int gidsetsize, netbsd32_gid_tp gidset); } 80 STD { int netbsd32_setgroups(int gidsetsize, const netbsd32_gid_tp gidset); } 81 NOARGS { int sys_getpgrp(void); } 82 STD { int netbsd32_setpgid(int pid, int pgid); } 83 STD { int netbsd32_setitimer(int which, const netbsd32_itimervalp_t itv, netbsd32_itimervalp_t oitv); } 84 COMPAT_43 { int sys_wait(void); } owait 85 COMPAT_12 { int netbsd32_oswapon(const netbsd32_charp name); } 86 STD { int netbsd32_getitimer(int which, netbsd32_itimervalp_t itv); } 87 COMPAT_43 { int netbsd32_ogethostname(netbsd32_charp hostname, u_int len); } 88 COMPAT_43 { int netbsd32_osethostname(netbsd32_charp hostname, u_int len); } 89 COMPAT_43 { int sys_getdtablesize(void); } ogetdtablesize 90 STD { int netbsd32_dup2(int from, int to); } 91 UNIMPL getdopt 92 STD { int netbsd32_fcntl(int fd, int cmd, ... netbsd32_voidp arg); } 93 STD { int netbsd32_select(int nd, netbsd32_fd_setp_t in, netbsd32_fd_setp_t ou, netbsd32_fd_setp_t ex, netbsd32_timevalp_t tv); } 94 UNIMPL setdopt 95 STD { int netbsd32_fsync(int fd); } 96 STD { int netbsd32_setpriority(int which, int who, int prio); } 97 STD { int netbsd32_socket(int domain, int type, int protocol); } 98 STD { int netbsd32_connect(int s, const netbsd32_sockaddrp_t name, int namelen); } 99 COMPAT_43 { int netbsd32_oaccept(int s, netbsd32_caddr_t name, netbsd32_intp anamelen); } 100 STD { int netbsd32_getpriority(int which, int who); } 101 COMPAT_43 { int netbsd32_osend(int s, netbsd32_caddr_t buf, int len, int flags); } 102 COMPAT_43 { int netbsd32_orecv(int s, netbsd32_caddr_t buf, int len, int flags); } 103 COMPAT_13 { int netbsd32_sigreturn(netbsd32_sigcontextp_t sigcntxp); } sigreturn13 104 STD { int netbsd32_bind(int s, const netbsd32_sockaddrp_t name, int namelen); } 105 STD { int netbsd32_setsockopt(int s, int level, int name, const netbsd32_voidp val, int valsize); } 106 STD { int netbsd32_listen(int s, int backlog); } 107 OBSOL vtimes 108 COMPAT_43 { int netbsd32_osigvec(int signum, netbsd32_sigvecp_t nsv, netbsd32_sigvecp_t osv); } #if defined(COMPAT_43) || defined(COMPAT_SUNOS) 109 COMPAT_43 { int netbsd32_sigblock(int mask); } 110 COMPAT_43 { int netbsd32_sigsetmask(int mask); } #else 109 OBSOL sigblock 110 OBSOL sigsetmask #endif 111 COMPAT_13 { int netbsd32_sigsuspend(int mask); } sigsuspend13 112 COMPAT_43 { int netbsd32_osigstack(netbsd32_sigstackp_t nss, netbsd32_sigstackp_t oss); } 113 COMPAT_43 { int netbsd32_orecvmsg(int s, netbsd32_omsghdrp_t msg, int flags); } 114 COMPAT_43 { int netbsd32_osendmsg(int s, netbsd32_caddr_t msg, int flags); } 115 OBSOL vtrace 116 STD { int netbsd32_gettimeofday(netbsd32_timevalp_t tp, netbsd32_timezonep_t tzp); } 117 STD { int netbsd32_getrusage(int who, netbsd32_rusagep_t rusage); } 118 STD { int netbsd32_getsockopt(int s, int level, int name, netbsd32_voidp val, netbsd32_intp avalsize); } 119 OBSOL resuba 120 STD { netbsd32_ssize_t netbsd32_readv(int fd, const netbsd32_iovecp_t iovp, int iovcnt); } 121 STD { netbsd32_ssize_t netbsd32_writev(int fd, const netbsd32_iovecp_t iovp, int iovcnt); } 122 STD { int netbsd32_settimeofday(const netbsd32_timevalp_t tv, const netbsd32_timezonep_t tzp); } 123 STD { int netbsd32_fchown(int fd, uid_t uid, gid_t gid); } 124 STD { int netbsd32_fchmod(int fd, mode_t mode); } 125 COMPAT_43 { int netbsd32_orecvfrom(int s, netbsd32_caddr_t buf, netbsd32_size_t len, int flags, netbsd32_caddr_t from, netbsd32_intp fromlenaddr); } 126 STD { int netbsd32_setreuid(uid_t ruid, uid_t euid); } 127 STD { int netbsd32_setregid(gid_t rgid, gid_t egid); } 128 STD { int netbsd32_rename(const netbsd32_charp from, const netbsd32_charp to); } 129 COMPAT_43 { int netbsd32_otruncate(const netbsd32_charp path, netbsd32_long length); } 130 COMPAT_43 { int netbsd32_oftruncate(int fd, netbsd32_long length); } 131 STD { int netbsd32_flock(int fd, int how); } 132 STD { int netbsd32_mkfifo(const netbsd32_charp path, mode_t mode); } 133 STD { netbsd32_ssize_t netbsd32_sendto(int s, const netbsd32_voidp buf, netbsd32_size_t len, int flags, const netbsd32_sockaddrp_t to, int tolen); } 134 STD { int netbsd32_shutdown(int s, int how); } 135 STD { int netbsd32_socketpair(int domain, int type, int protocol, netbsd32_intp rsv); } 136 STD { int netbsd32_mkdir(const netbsd32_charp path, mode_t mode); } 137 STD { int netbsd32_rmdir(const netbsd32_charp path); } 138 STD { int netbsd32_utimes(const netbsd32_charp path, const netbsd32_timevalp_t tptr); } 139 OBSOL 4.2 sigreturn 140 STD { int netbsd32_adjtime(const netbsd32_timevalp_t delta, netbsd32_timevalp_t olddelta); } 141 COMPAT_43 { int netbsd32_ogetpeername(int fdes, netbsd32_caddr_t asa, netbsd32_intp alen); } 142 COMPAT_43 { int32_t sys_gethostid(void); } ogethostid #if defined(COMPAT_43) || defined(COMPAT_SUNOS) 143 COMPAT_43 { int netbsd32_sethostid(int32_t hostid); } #else 143 OBSOL sethostid #endif 144 COMPAT_43 { int netbsd32_ogetrlimit(int which, netbsd32_orlimitp_t rlp); } 145 COMPAT_43 { int netbsd32_osetrlimit(int which, const netbsd32_orlimitp_t rlp); } #if defined(COMPAT_43) || defined(COMPAT_SUNOS) 146 COMPAT_43 { int netbsd32_killpg(int pgid, int signum); } #else 146 OBSOL killpg #endif 147 NOARGS { int sys_setsid(void); } 148 STD { int netbsd32_quotactl(const netbsd32_charp path, int cmd, int uid, netbsd32_caddr_t arg); } 149 COMPAT_43 { int sys_quota(void); } oquota 150 COMPAT_43 { int netbsd32_ogetsockname(int fdec, netbsd32_caddr_t asa, netbsd32_intp alen); } ; Syscalls 151-180 inclusive are reserved for vendor-specific ; system calls. (This includes various calls added for compatibity ; with other Unix variants.) ; Some of these calls are now supported by BSD... 151 UNIMPL 152 UNIMPL 153 UNIMPL 154 UNIMPL #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL) 155 STD { int netbsd32_nfssvc(int flag, netbsd32_voidp argp); } #else 155 EXCL netbsd32_nfssvc #endif 156 COMPAT_43 { int netbsd32_ogetdirentries(int fd, netbsd32_charp buf, u_int count, netbsd32_longp basep); } 157 COMPAT_20 { int netbsd32_statfs(const netbsd32_charp path, netbsd32_statfsp_t buf); } 158 COMPAT_20 { int netbsd32_fstatfs(int fd, netbsd32_statfsp_t buf); } 159 UNIMPL 160 UNIMPL #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL) 161 STD { int netbsd32_getfh(const netbsd32_charp fname, netbsd32_fhandlep_t fhp); } #else 161 EXCL netbsd32_getfh #endif 162 COMPAT_09 { int netbsd32_ogetdomainname(netbsd32_charp domainname, int len); } 163 COMPAT_09 { int netbsd32_osetdomainname(netbsd32_charp domainname, int len); } 164 COMPAT_09 { int netbsd32_uname(netbsd32_outsnamep_t name); } 165 STD { int netbsd32_sysarch(int op, netbsd32_voidp parms); } 166 UNIMPL 167 UNIMPL 168 UNIMPL #if defined(SYSVSEM) || !defined(_KERNEL) 169 COMPAT_10 { int netbsd32_sys_semsys(int which, int a2, int a3, int a4, int a5); } osemsys #else 169 EXCL netbsd32_sys_semsys #endif #if defined(SYSVMSG) || !defined(_KERNEL) 170 COMPAT_10 { int netbsd32_sys_msgsys(int which, int a2, int a3, int a4, int a5, int a6); } omsgsys #else 170 EXCL netbsd32_sys_msgsys #endif #if defined(SYSVSHM) || !defined(_KERNEL) 171 COMPAT_10 { int netbsd32_sys_shmsys(int which, int a2, int a3, int a4); } oshmsys #else 171 EXCL netbsd32_sys_shmsys #endif 172 UNIMPL 173 STD { netbsd32_ssize_t netbsd32_pread(int fd, netbsd32_voidp buf, netbsd32_size_t nbyte, int pad, off_t offset); } 174 STD { netbsd32_ssize_t netbsd32_pwrite(int fd, const netbsd32_voidp buf, netbsd32_size_t nbyte, int pad, off_t offset); } ; For some reason, ntp_gettime doesn't want to raise SIGSYS when it's excluded. 175 STD { int netbsd32_ntp_gettime(netbsd32_ntptimevalp_t ntvp); } 176 STD { int netbsd32_ntp_adjtime(netbsd32_timexp_t tp); } 177 UNIMPL 178 UNIMPL 179 UNIMPL 180 UNIMPL ; Syscalls 180-199 are used by/reserved for BSD 181 STD { int netbsd32_setgid(gid_t gid); } 182 STD { int netbsd32_setegid(gid_t egid); } 183 STD { int netbsd32_seteuid(uid_t euid); } #if defined(LFS) || !defined(_KERNEL) 184 STD { int netbsd32_sys_lfs_bmapv(netbsd32_fsid_tp_t fsidp, netbsd32_block_infop_t blkiov, int blkcnt); } 185 STD { int netbsd32_sys_lfs_markv(netbsd32_fsid_tp_t fsidp, netbsd32_block_infop_t blkiov, int blkcnt); } 186 STD { int netbsd32_sys_lfs_segclean(netbsd32_fsid_tp_t fsidp, netbsd32_u_long segment); } 187 STD { int netbsd32_sys_lfs_segwait(netbsd32_fsid_tp_t fsidp, netbsd32_timevalp_t tv); } #else 184 EXCL netbsd32_sys_lfs_bmapv 185 EXCL netbsd32_sys_lfs_markv 186 EXCL netbsd32_sys_lfs_segclean 187 EXCL netbsd32_sys_lfs_segwait #endif 188 COMPAT_12 { int netbsd32_stat12(const netbsd32_charp path, netbsd32_stat12p_t ub); } 189 COMPAT_12 { int netbsd32_fstat12(int fd, netbsd32_stat12p_t sb); } 190 COMPAT_12 { int netbsd32_lstat12(const netbsd32_charp path, netbsd32_stat12p_t ub); } 191 STD { netbsd32_long netbsd32_pathconf(const netbsd32_charp path, int name); } 192 STD { netbsd32_long netbsd32_fpathconf(int fd, int name); } 193 UNIMPL 194 STD { int netbsd32_getrlimit(int which, netbsd32_rlimitp_t rlp); } 195 STD { int netbsd32_setrlimit(int which, const netbsd32_rlimitp_t rlp); } 196 COMPAT_12 { int netbsd32_getdirentries(int fd, netbsd32_charp buf, u_int count, netbsd32_longp basep); } 197 STD { netbsd32_voidp netbsd32_mmap(netbsd32_voidp addr, netbsd32_size_t len, int prot, int flags, int fd, netbsd32_long pad, off_t pos); } 198 INDIR { quad_t sys___syscall(quad_t num, ...); } 199 STD { off_t netbsd32_lseek(int fd, int pad, off_t offset, int whence); } 200 STD { int netbsd32_truncate(const netbsd32_charp path, int pad, off_t length); } 201 STD { int netbsd32_ftruncate(int fd, int pad, off_t length); } 202 STD { int netbsd32___sysctl(netbsd32_intp name, u_int namelen, netbsd32_voidp old, netbsd32_size_tp oldlenp, netbsd32_voidp new, netbsd32_size_t newlen); } 203 STD { int netbsd32_mlock(const netbsd32_voidp addr, netbsd32_size_t len); } 204 STD { int netbsd32_munlock(const netbsd32_voidp addr, netbsd32_size_t len); } 205 STD { int netbsd32_undelete(const netbsd32_charp path); } 206 STD { int netbsd32_futimes(int fd, const netbsd32_timevalp_t tptr); } 207 STD { int netbsd32_getpgid(pid_t pid); } 208 STD { int netbsd32_reboot(int opt, netbsd32_charp bootstr); } 209 STD { int netbsd32_poll(netbsd32_pollfdp_t fds, u_int nfds, int timeout); } ; ; Syscalls 210-219 are reserved for dynamically loaded syscalls ; #if defined(LKM) || !defined(_KERNEL) 210 NODEF { int sys_lkmnosys(void); } 211 NODEF { int sys_lkmnosys(void); } 212 NODEF { int sys_lkmnosys(void); } 213 NODEF { int sys_lkmnosys(void); } 214 NODEF { int sys_lkmnosys(void); } 215 NODEF { int sys_lkmnosys(void); } 216 NODEF { int sys_lkmnosys(void); } 217 NODEF { int sys_lkmnosys(void); } 218 NODEF { int sys_lkmnosys(void); } 219 NODEF { int sys_lkmnosys(void); } #else /* !LKM || !_KERNEL */ 210 EXCL lkmnosys 211 EXCL lkmnosys 212 EXCL lkmnosys 213 EXCL lkmnosys 214 EXCL lkmnosys 215 EXCL lkmnosys 216 EXCL lkmnosys 217 EXCL lkmnosys 218 EXCL lkmnosys 219 EXCL lkmnosys #endif /* !LKM || !_KERNEL */ ; System calls 220-300 are reserved for use by NetBSD #if defined(SYSVSEM) || !defined(_KERNEL) 220 COMPAT_14 { int netbsd32___semctl(int semid, int semnum, int cmd, netbsd32_semunu_t arg); } 221 STD { int netbsd32_semget(netbsd32_key_t key, int nsems, int semflg); } 222 STD { int netbsd32_semop(int semid, netbsd32_sembufp_t sops, netbsd32_size_t nsops); } 223 STD { int netbsd32_semconfig(int flag); } #else 220 EXCL compat_14_netbsd32_semctl 221 EXCL netbsd32_semget 222 EXCL netbsd32_semop 223 EXCL netbsd32_semconfig #endif #if defined(SYSVMSG) || !defined(_KERNEL) 224 COMPAT_14 { int netbsd32_msgctl(int msqid, int cmd, netbsd32_msqid_dsp_t buf); } 225 STD { int netbsd32_msgget(netbsd32_key_t key, int msgflg); } 226 STD { int netbsd32_msgsnd(int msqid, const netbsd32_voidp msgp, netbsd32_size_t msgsz, int msgflg); } 227 STD { netbsd32_ssize_t netbsd32_msgrcv(int msqid, netbsd32_voidp msgp, netbsd32_size_t msgsz, netbsd32_long msgtyp, int msgflg); } #else 224 EXCL compat_14_netbsd32_msgctl 225 EXCL netbsd32_msgget 226 EXCL netbsd32_msgsnd 227 EXCL netbsd32_msgrcv #endif #if defined(SYSVSHM) || !defined(_KERNEL) 228 STD { netbsd32_voidp netbsd32_shmat(int shmid, const netbsd32_voidp shmaddr, int shmflg); } 229 COMPAT_14 { int netbsd32_shmctl(int shmid, int cmd, netbsd32_shmid_dsp_t buf); } 230 STD { int netbsd32_shmdt(const netbsd32_voidp shmaddr); } 231 STD { int netbsd32_shmget(netbsd32_key_t key, netbsd32_size_t size, int shmflg); } #else 228 EXCL netbsd32_shmat 229 EXCL compat_14_netbsd32_shmctl 230 EXCL netbsd32_shmdt 231 EXCL netbsd32_shmget #endif 232 STD { int netbsd32_clock_gettime(netbsd32_clockid_t clock_id, netbsd32_timespecp_t tp); } 233 STD { int netbsd32_clock_settime(netbsd32_clockid_t clock_id, const netbsd32_timespecp_t tp); } 234 STD { int netbsd32_clock_getres(netbsd32_clockid_t clock_id, netbsd32_timespecp_t tp); } 235 STD { int netbsd32_timer_create(netbsd32_clockid_t clock_id, netbsd32_sigeventp_t evp, \ netbsd32_timerp_t timerid); } 236 STD { int netbsd32_timer_delete(netbsd32_timer_t timerid); } 237 STD { int netbsd32_timer_settime(netbsd32_timer_t timerid, int flags, \ const netbsd32_itimerspecp_t value, \ netbsd32_itimerspecp_t ovalue); } 238 STD { int netbsd32_timer_gettime(netbsd32_timer_t timerid, netbsd32_itimerspecp_t value); } 239 STD { int netbsd32_timer_getoverrun(netbsd32_timer_t timerid); } ; ; Syscalls 240-269 are reserved for other IEEE Std1003.1b syscalls ; 240 STD { int netbsd32_nanosleep(const netbsd32_timespecp_t rqtp, netbsd32_timespecp_t rmtp); } 241 STD { int netbsd32_fdatasync(int fd); } 242 STD { int netbsd32_mlockall(int flags); } 243 NOARGS { int sys_munlockall(void); } 244 STD { int netbsd32___sigtimedwait(const netbsd32_sigsetp_t set, \ netbsd32_siginfop_t info, \ netbsd32_timespecp_t timeout); } 245 UNIMPL 246 UNIMPL #if defined(P1003_1B_SEMAPHORE) || (!defined(_KERNEL) && defined(_LIBC)) 247 STD { int netbsd32__ksem_init(unsigned int value, netbsd32_semidp_t idp); } 248 STD { int netbsd32__ksem_open(const netbsd32_charp name, int oflag, \ mode_t mode, unsigned int value, netbsd32_semidp_t idp); } 249 STD { int netbsd32__ksem_unlink(const netbsd32_charp name); } 250 STD { int netbsd32__ksem_close(netbsd32_semid_t id); } 251 STD { int netbsd32__ksem_post(netbsd32_semid_t id); } 252 STD { int netbsd32__ksem_wait(netbsd32_semid_t id); } 253 STD { int netbsd32__ksem_trywait(netbsd32_semid_t id); } 254 STD { int netbsd32__ksem_getvalue(netbsd32_semid_t id, \ netbsd32_intp value); } 255 STD { int netbsd32__ksem_destroy(netbsd32_semid_t id); } 256 UNIMPL sys__ksem_timedwait #else 247 EXCL sys__ksem_init 248 EXCL sys__ksem_open 249 EXCL sys__ksem_unlink 250 EXCL sys__ksem_close 251 EXCL sys__ksem_post 252 EXCL sys__ksem_wait 253 EXCL sys__ksem_trywait 254 EXCL sys__ksem_getvalue 255 EXCL sys__ksem_destroy 256 UNIMPL sys__ksem_timedwait #endif 257 UNIMPL 258 UNIMPL 259 UNIMPL 260 UNIMPL 261 UNIMPL 262 UNIMPL 263 UNIMPL 264 UNIMPL 265 UNIMPL 266 UNIMPL 267 UNIMPL 268 UNIMPL 269 UNIMPL 270 STD { int netbsd32___posix_rename(const netbsd32_charp from, const netbsd32_charp to); } 271 STD { int netbsd32_swapctl(int cmd, netbsd32_voidp arg, int misc); } 272 STD { int netbsd32_getdents(int fd, netbsd32_charp buf, netbsd32_size_t count); } 273 STD { int netbsd32_minherit(netbsd32_voidp addr, netbsd32_size_t len, int inherit); } 274 STD { int netbsd32_lchmod(const netbsd32_charp path, mode_t mode); } 275 STD { int netbsd32_lchown(const netbsd32_charp path, uid_t uid, gid_t gid); } 276 STD { int netbsd32_lutimes(const netbsd32_charp path, const netbsd32_timevalp_t tptr); } 277 STD { int netbsd32___msync13(netbsd32_voidp addr, netbsd32_size_t len, int flags); } 278 STD { int netbsd32___stat13(const netbsd32_charp path, netbsd32_stat13p_t ub); } 279 STD { int netbsd32___fstat13(int fd, netbsd32_stat13p_t sb); } 280 STD { int netbsd32___lstat13(const netbsd32_charp path, netbsd32_stat13p_t ub); } 281 STD { int netbsd32___sigaltstack14(const netbsd32_sigaltstackp_t nss, netbsd32_sigaltstackp_t oss); } 282 NOARGS { int sys___vfork14(void); } 283 STD { int netbsd32___posix_chown(const netbsd32_charp path, uid_t uid, gid_t gid); } 284 STD { int netbsd32___posix_fchown(int fd, uid_t uid, gid_t gid); } 285 STD { int netbsd32___posix_lchown(const netbsd32_charp path, uid_t uid, gid_t gid); } 286 STD { pid_t netbsd32_getsid(pid_t pid); } 287 STD { int netbsd32___clone(int flags, netbsd32_voidp stack); } #if defined(KTRACE) || !defined(_KERNEL) 288 STD { int netbsd32_fktrace(const int fd, int ops, int facs, int pid); } #else 288 EXCL netbsd32_fktrace #endif 289 STD { netbsd32_ssize_t netbsd32_preadv(int fd, const netbsd32_iovecp_t iovp, int iovcnt, int pad, off_t offset); } 290 STD { netbsd32_ssize_t netbsd32_pwritev(int fd, const netbsd32_iovecp_t iovp, int iovcnt, int pad, off_t offset); } 291 STD { int netbsd32___sigaction14(int signum, \ const netbsd32_sigactionp_t nsa, \ netbsd32_sigactionp_t osa); } 292 STD { int netbsd32___sigpending14(netbsd32_sigsetp_t set); } 293 STD { int netbsd32___sigprocmask14(int how, \ const netbsd32_sigsetp_t set, \ netbsd32_sigsetp_t oset); } 294 STD { int netbsd32___sigsuspend14(const netbsd32_sigsetp_t set); } 295 COMPAT_16 { int netbsd32___sigreturn14(netbsd32_sigcontextp_t sigcntxp); } 296 STD { int netbsd32___getcwd(netbsd32_charp bufp, netbsd32_size_t length); } 297 STD { int netbsd32_fchroot(int fd); } 298 STD { int netbsd32_fhopen(const netbsd32_fhandlep_t fhp, \ int flags); } 299 STD { int netbsd32_fhstat(const netbsd32_fhandlep_t fhp, \ netbsd32_statp_t sb); } 300 COMPAT_20 { int netbsd32_fhstatfs(netbsd32_fhandlep_t fhp, \ netbsd32_statp_t buf); } #if defined(SYSVSEM) || !defined(_KERNEL) 301 STD { int netbsd32___semctl14(int semid, int semnum, int cmd, \ ... netbsd32_semunp_t arg); } #else 301 EXCL __semctl14 #endif #if defined(SYSVMSG) || !defined(_KERNEL) 302 STD { int netbsd32___msgctl13(int msqid, int cmd, \ netbsd32_msqid_dsp_t buf); } #else 302 EXCL __msgctl13 #endif #if defined(SYSVSHM) || !defined(_KERNEL) 303 STD { int netbsd32___shmctl13(int shmid, int cmd, \ netbsd32_shmid_dsp_t buf); } #else 303 EXCL __shmctl13 #endif 304 STD { int netbsd32_lchflags(const netbsd32_charp path, netbsd32_u_long flags); } 305 STD { int sys_issetugid(void); } 306 STD { int netbsd32_utrace(const netbsd32_charp label, netbsd32_voidp addr, \ netbsd32_size_t len); } ; ; Syscalls 307 and 308 are reserved for getcontext and setcontext ; 307 STD { int netbsd32_getcontext(netbsd32_ucontextp ucp); } 308 STD { int netbsd32_setcontext(netbsd32_ucontextp ucp, \ uint32_t flags, netbsd32_lwpidp new_lwp); } ; ; Syscalls 309-339 are reserved for LWP and scheduler activation syscalls. ; 309 UNIMPL 310 UNIMPL 311 UNIMPL 312 UNIMPL 313 UNIMPL 314 UNIMPL 315 UNIMPL 316 UNIMPL 317 UNIMPL 318 UNIMPL 319 UNIMPL 320 UNIMPL 321 UNIMPL 322 UNIMPL 323 UNIMPL 324 UNIMPL 325 UNIMPL 326 UNIMPL 327 UNIMPL 328 UNIMPL 329 UNIMPL 330 UNIMPL 331 UNIMPL 332 UNIMPL 333 UNIMPL 334 UNIMPL 335 UNIMPL 336 UNIMPL 337 UNIMPL 338 UNIMPL 339 UNIMPL 340 STD { int netbsd32___sigaction_sigtramp(int signum, \ const netbsd32_sigactionp_t nsa, \ netbsd32_sigactionp_t osa, \ netbsd32_voidp tramp, int vers); } 341 UNIMPL 342 UNIMPL 343 STD { int netbsd32_rasctl(netbsd32_caddr_t addr, netbsd32_size_t len, \ int op); } 344 NOARGS { int sys_kqueue(void); } 345 STD { int netbsd32_kevent(int fd, \ netbsd32_keventp_t changelist, netbsd32_size_t nchanges, \ netbsd32_keventp_t eventlist, netbsd32_size_t nevents, \ netbsd32_timespecp_t timeout); } 346 UNIMPL 347 UNIMPL 348 UNIMPL 349 UNIMPL 350 UNIMPL 351 UNIMPL 352 UNIMPL 353 UNIMPL 354 STD { int netbsd32_fsync_range(int fd, int flags, off_t start, \ off_t length); } 355 STD { int netbsd32_uuidgen(netbsd32_uuidp_t store, int count); } 356 STD { int netbsd32_getvfsstat(netbsd32_statvfsp_t buf, \ netbsd32_size_t bufsize, int flags); } 357 STD { int netbsd32_statvfs1(const netbsd32_charp path, \ netbsd32_statvfsp_t buf, int flags); } 358 STD { int netbsd32_fstatvfs1(int fd, netbsd32_statvfsp_t buf, \ int flags); } 359 STD { int netbsd32_fhstatvfs1(const netbsd32_fhandlep_t fhp, \ netbsd32_statvfsp_t buf, int flags); } 360 STD { int netbsd32_extattrctl(const netbsd32_charp path, \ int cmd, const netbsd32_charp filename, int attrnamespace, \ const netbsd32_charp attrname); } 361 STD { int netbsd32_extattr_set_file(const netbsd32_charp path, \ int attrnamespace, const netbsd32_charp attrname, \ const netbsd32_voidp data, netbsd32_size_t nbytes); } 362 STD { int netbsd32_extattr_get_file(const netbsd32_charp path, \ int attrnamespace, const netbsd32_charp attrname, \ netbsd32_voidp data, netbsd32_size_t nbytes); } 363 STD { int netbsd32_extattr_delete_file(const netbsd32_charp path, \ int attrnamespace, const netbsd32_charp attrname); } 364 STD { int netbsd32_extattr_set_fd(int fd, \ int attrnamespace, const netbsd32_charp attrname, \ const netbsd32_voidp data, netbsd32_size_t nbytes); } 365 STD { int netbsd32_extattr_get_fd(int fd, \ int attrnamespace, const netbsd32_charp attrname, \ netbsd32_voidp data, netbsd32_size_t nbytes); } 366 STD { int netbsd32_extattr_delete_fd(int fd, \ int attrnamespace, const netbsd32_charp attrname); } 367 STD { int netbsd32_extattr_set_link(const netbsd32_charp path, \ int attrnamespace, const netbsd32_charp attrname, \ const netbsd32_voidp data, netbsd32_size_t nbytes); } 368 STD { int netbsd32_extattr_get_link(const netbsd32_charp path, \ int attrnamespace, const netbsd32_charp attrname, \ netbsd32_voidp data, netbsd32_size_t nbytes); } 369 STD { int netbsd32_extattr_delete_link(const netbsd32_charp path, \ int attrnamespace, const netbsd32_charp attrname); } 370 STD { int netbsd32_extattr_list_fd(int fd, \ int attrnamespace, netbsd32_voidp data, \ netbsd32_size_t nbytes); } 371 STD { int netbsd32_extattr_list_file(const netbsd32_charp path, \ int attrnamespace, netbsd32_voidp data, \ netbsd32_size_t nbytes); } 372 STD { int netbsd32_extattr_list_link(const netbsd32_charp path, \ int attrnamespace, netbsd32_voidp data, \ netbsd32_size_t nbytes); } 373 STD { int netbsd32_pselect(int nd, netbsd32_fd_setp_t in, \ netbsd32_fd_setp_t ou, netbsd32_fd_setp_t ex, \ const netbsd32_timespecp_t ts, const netbsd32_sigsetp_t mask); } 374 STD { int netbsd32_pollts(netbsd32_pollfdp_t fds, u_int nfds, \ const netbsd32_timespecp_t ts, const netbsd32_sigsetp_t mask); } 375 STD { int netbsd32_setxattr(const netbsd32_charp path, \ const netbsd32_charp name, netbsd32_voidp value, \ netbsd32_size_t size, int flags); } 376 STD { int netbsd32_lsetxattr(const netbsd32_charp path, \ const netbsd32_charp name, netbsd32_voidp value, \ netbsd32_size_t size, int flags); } 377 STD { int netbsd32_fsetxattr(int fd, \ const netbsd32_charp name, netbsd32_voidp value, \ netbsd32_size_t size, int flags); } 378 STD { int netbsd32_getxattr(const netbsd32_charp path, \ const netbsd32_charp name, netbsd32_voidp value, \ netbsd32_size_t size); } 379 STD { int netbsd32_lgetxattr(const netbsd32_charp path, \ const netbsd32_charp name, netbsd32_voidp value, \ netbsd32_size_t size); } 380 STD { int netbsd32_fgetxattr(int fd, \ const netbsd32_charp name, netbsd32_voidp value, \ netbsd32_size_t size); } 381 STD { int netbsd32_listxattr(const netbsd32_charp path, \ netbsd32_charp list, netbsd32_size_t size); } 382 STD { int netbsd32_llistxattr(const netbsd32_charp path, \ netbsd32_charp list, netbsd32_size_t size); } 383 STD { int netbsd32_flistxattr(int fd, \ netbsd32_charp list, netbsd32_size_t size); } 384 STD { int netbsd32_removexattr(const netbsd32_charp path, \ const netbsd32_charp name); } 385 STD { int netbsd32_lremovexattr(const netbsd32_charp path, \ const netbsd32_charp name); } 386 STD { int netbsd32_fremovexattr(int fd, \ const netbsd32_charp name); } 387 STD { int netbsd32_sys___stat30(const netbsd32_charp path, \ netbsd32_statp_t ub); } 388 STD { int netbsd32_sys___fstat30(int fd, \ netbsd32_statp_t sb); } 389 STD { int netbsd32_sys___lstat30( \ const netbsd32_charp path, netbsd32_statp_t ub); } 390 STD { int netbsd32_sys___getdents30(int fd, \ netbsd32_charp buf, netbsd32_size_t count); } @ 1.42.2.3 log @sync with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.42.2.2 2006/04/01 12:06:42 yamt Exp $ d527 9 a535 11 309 STD { int netbsd32__lwp_create(const netbsd32_ucontextp ucp, \ netbsd32_u_long flags, netbsd32_lwpidp new_lwp); } 310 NOARGS { int sys__lwp_exit(void); } 311 NOARGS { lwpid_t sys__lwp_self(void); } 312 STD { int netbsd32__lwp_wait(lwpid_t wait_for, \ netbsd32_lwpidp departed); } 313 STD { int netbsd32__lwp_suspend(lwpid_t target); } 314 STD { int netbsd32__lwp_continue(lwpid_t target); } 315 STD { int netbsd32__lwp_wakeup(lwpid_t target); } 316 NOARGS { void *sys__lwp_getprivate(void); } 317 STD { void netbsd32__lwp_setprivate(netbsd32_voidp ptr); } d548 7 a554 9 330 STD { int netbsd32_sa_register(netbsd32_sa_upcall_t new, \ netbsd32_sa_upcallp_t old, int flags, \ netbsd32_ssize_t stackinfo_offset); } 331 STD { int netbsd32_sa_stacks(int num, netbsd32_stackp_t stacks); } 332 NOARGS { int sys_sa_enable(void); } 333 STD { int netbsd32_sa_setconcurrency(int concurrency); } 334 NOARGS { int sys_sa_yield(void); } 335 STD { int netbsd32_sa_preempt(int sa_id); } 336 OBSOL sys_sa_unblockyield @ 1.42.2.4 log @sync with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.42.2.3 2006/05/24 10:57:31 yamt Exp $ d492 2 a493 2 299 COMPAT_30 { int netbsd32_fhstat(const netbsd32_fhandlep_t fhp, \ netbsd32_stat13p_t sb); } a672 5 391 NOARGS { int sys_posix_fadvise(int fd, off_t offset, \ off_t len, int advice); } 392 STD { int netbsd32_sys___fhstat30( \ const netbsd32_fhandlep_t fhp, \ netbsd32_statp_t sb); } @ 1.42.2.5 log @sync with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.42.2.4 2006/06/26 12:46:19 yamt Exp $ d288 2 a289 1 175 COMPAT_30 { int netbsd32_ntp_gettime(netbsd32_ntptimevalp_t ntvp); } a677 1 393 STD { int netbsd32_ntp_gettime(netbsd32_ntptimevalp_t ntvp); } @ 1.42.2.6 log @sync with head @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.42.2.5 2006/08/11 15:43:30 yamt Exp $ d172 1 a172 1 97 COMPAT_30 { int netbsd32_socket(int domain, int type, int protocol); } d258 5 a262 1 161 COMPAT_30 { int netbsd32_getfh(const netbsd32_charp fname, netbsd32_compat_30_fhandlep_t fhp); } d489 1 a489 1 298 COMPAT_30 { int netbsd32_fhopen(const netbsd32_fhandlep_t fhp, \ d591 1 a591 1 359 COMPAT_30 { int netbsd32_fhstatvfs1(const netbsd32_fhandlep_t fhp, \ d674 1 a674 1 392 COMPAT_30 { int netbsd32_sys___fhstat30( \ a677 10 394 STD { int netbsd32_sys___socket30(int domain, int type, int protocol); } 395 STD { int netbsd32___getfh30(const netbsd32_charp fname, netbsd32_pointer_t fhp, netbsd32_size_tp fh_size); } 396 STD { int netbsd32___fhopen40(const netbsd32_pointer_t fhp, \ netbsd32_size_t fh_size, int flags); } 397 STD { int netbsd32___fhstatvfs140( \ netbsd32_pointer_t fhp, netbsd32_size_t fh_size,\ netbsd32_statvfsp_t buf, int flags); } 398 STD { int netbsd32___fhstat40( \ netbsd32_pointer_t fhp, netbsd32_size_t fh_size,\ netbsd32_statp_t sb); } @ 1.41 log @merge ktrace-lwp. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.23.2.4 2005/11/10 14:01:21 skrll Exp $ d45 1 d416 25 a440 10 247 UNIMPL 248 UNIMPL 249 UNIMPL 250 UNIMPL 251 UNIMPL 252 UNIMPL 253 UNIMPL 254 UNIMPL 255 UNIMPL 256 UNIMPL @ 1.41.4.1 log @sync with head @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.53 2006/09/01 20:58:18 matt Exp $ a44 1 #include "opt_posix.h" d171 1 a171 1 97 COMPAT_30 { int netbsd32_socket(int domain, int type, int protocol); } d257 5 a261 1 161 COMPAT_30 { int netbsd32_getfh(const netbsd32_charp fname, netbsd32_compat_30_fhandlep_t fhp); } d287 2 a288 1 175 COMPAT_30 { int netbsd32_ntp_gettime(netbsd32_ntptimevalp_t ntvp); } d415 10 a424 25 #if defined(P1003_1B_SEMAPHORE) || (!defined(_KERNEL) && defined(_LIBC)) 247 STD { int netbsd32__ksem_init(unsigned int value, netbsd32_semidp_t idp); } 248 STD { int netbsd32__ksem_open(const netbsd32_charp name, int oflag, \ mode_t mode, unsigned int value, netbsd32_semidp_t idp); } 249 STD { int netbsd32__ksem_unlink(const netbsd32_charp name); } 250 STD { int netbsd32__ksem_close(netbsd32_semid_t id); } 251 STD { int netbsd32__ksem_post(netbsd32_semid_t id); } 252 STD { int netbsd32__ksem_wait(netbsd32_semid_t id); } 253 STD { int netbsd32__ksem_trywait(netbsd32_semid_t id); } 254 STD { int netbsd32__ksem_getvalue(netbsd32_semid_t id, \ netbsd32_intp value); } 255 STD { int netbsd32__ksem_destroy(netbsd32_semid_t id); } 256 UNIMPL sys__ksem_timedwait #else 247 EXCL sys__ksem_init 248 EXCL sys__ksem_open 249 EXCL sys__ksem_unlink 250 EXCL sys__ksem_close 251 EXCL sys__ksem_post 252 EXCL sys__ksem_wait 253 EXCL sys__ksem_trywait 254 EXCL sys__ksem_getvalue 255 EXCL sys__ksem_destroy 256 UNIMPL sys__ksem_timedwait #endif d474 1 a474 1 298 COMPAT_30 { int netbsd32_fhopen(const netbsd32_fhandlep_t fhp, \ d476 2 a477 2 299 COMPAT_30 { int netbsd32_fhstat(const netbsd32_fhandlep_t fhp, \ netbsd32_stat13p_t sb); } d482 1 a482 1 ... netbsd32_semunp_t arg); } d511 9 a519 11 309 STD { int netbsd32__lwp_create(const netbsd32_ucontextp ucp, \ netbsd32_u_long flags, netbsd32_lwpidp new_lwp); } 310 NOARGS { int sys__lwp_exit(void); } 311 NOARGS { lwpid_t sys__lwp_self(void); } 312 STD { int netbsd32__lwp_wait(lwpid_t wait_for, \ netbsd32_lwpidp departed); } 313 STD { int netbsd32__lwp_suspend(lwpid_t target); } 314 STD { int netbsd32__lwp_continue(lwpid_t target); } 315 STD { int netbsd32__lwp_wakeup(lwpid_t target); } 316 NOARGS { void *sys__lwp_getprivate(void); } 317 STD { void netbsd32__lwp_setprivate(netbsd32_voidp ptr); } d532 7 a538 9 330 STD { int netbsd32_sa_register(netbsd32_sa_upcall_t new, \ netbsd32_sa_upcallp_t old, int flags, \ netbsd32_ssize_t stackinfo_offset); } 331 STD { int netbsd32_sa_stacks(int num, netbsd32_stackp_t stacks); } 332 NOARGS { int sys_sa_enable(void); } 333 STD { int netbsd32_sa_setconcurrency(int concurrency); } 334 NOARGS { int sys_sa_yield(void); } 335 STD { int netbsd32_sa_preempt(int sa_id); } 336 OBSOL sys_sa_unblockyield d572 1 a572 1 359 COMPAT_30 { int netbsd32_fhstatvfs1(const netbsd32_fhandlep_t fhp, \ a652 16 391 NOARGS { int sys_posix_fadvise(int fd, off_t offset, \ off_t len, int advice); } 392 COMPAT_30 { int netbsd32_sys___fhstat30( \ const netbsd32_fhandlep_t fhp, \ netbsd32_statp_t sb); } 393 STD { int netbsd32_ntp_gettime(netbsd32_ntptimevalp_t ntvp); } 394 STD { int netbsd32_sys___socket30(int domain, int type, int protocol); } 395 STD { int netbsd32___getfh30(const netbsd32_charp fname, netbsd32_pointer_t fhp, netbsd32_size_tp fh_size); } 396 STD { int netbsd32___fhopen40(const netbsd32_pointer_t fhp, \ netbsd32_size_t fh_size, int flags); } 397 STD { int netbsd32___fhstatvfs140( \ netbsd32_pointer_t fhp, netbsd32_size_t fh_size,\ netbsd32_statvfsp_t buf, int flags); } 398 STD { int netbsd32___fhstat40( \ netbsd32_pointer_t fhp, netbsd32_size_t fh_size,\ netbsd32_statp_t sb); } @ 1.41.6.1 log @Sync with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.44 2006/03/29 23:04:12 cube Exp $ a44 1 #include "opt_posix.h" d415 10 a424 25 #if defined(P1003_1B_SEMAPHORE) || (!defined(_KERNEL) && defined(_LIBC)) 247 STD { int netbsd32__ksem_init(unsigned int value, netbsd32_semidp_t idp); } 248 STD { int netbsd32__ksem_open(const netbsd32_charp name, int oflag, \ mode_t mode, unsigned int value, netbsd32_semidp_t idp); } 249 STD { int netbsd32__ksem_unlink(const netbsd32_charp name); } 250 STD { int netbsd32__ksem_close(netbsd32_semid_t id); } 251 STD { int netbsd32__ksem_post(netbsd32_semid_t id); } 252 STD { int netbsd32__ksem_wait(netbsd32_semid_t id); } 253 STD { int netbsd32__ksem_trywait(netbsd32_semid_t id); } 254 STD { int netbsd32__ksem_getvalue(netbsd32_semid_t id, \ netbsd32_intp value); } 255 STD { int netbsd32__ksem_destroy(netbsd32_semid_t id); } 256 UNIMPL sys__ksem_timedwait #else 247 EXCL sys__ksem_init 248 EXCL sys__ksem_open 249 EXCL sys__ksem_unlink 250 EXCL sys__ksem_close 251 EXCL sys__ksem_post 252 EXCL sys__ksem_wait 253 EXCL sys__ksem_trywait 254 EXCL sys__ksem_getvalue 255 EXCL sys__ksem_destroy 256 UNIMPL sys__ksem_timedwait #endif d482 1 a482 1 ... netbsd32_semunp_t arg); } d511 9 a519 11 309 STD { int netbsd32__lwp_create(const netbsd32_ucontextp ucp, \ netbsd32_u_long flags, netbsd32_lwpidp new_lwp); } 310 NOARGS { int sys__lwp_exit(void); } 311 NOARGS { lwpid_t sys__lwp_self(void); } 312 STD { int netbsd32__lwp_wait(lwpid_t wait_for, \ netbsd32_lwpidp departed); } 313 STD { int netbsd32__lwp_suspend(lwpid_t target); } 314 STD { int netbsd32__lwp_continue(lwpid_t target); } 315 STD { int netbsd32__lwp_wakeup(lwpid_t target); } 316 NOARGS { void *sys__lwp_getprivate(void); } 317 STD { void netbsd32__lwp_setprivate(netbsd32_voidp ptr); } d532 7 a538 9 330 STD { int netbsd32_sa_register(netbsd32_sa_upcall_t new, \ netbsd32_sa_upcallp_t old, int flags, \ netbsd32_ssize_t stackinfo_offset); } 331 STD { int netbsd32_sa_stacks(int num, netbsd32_stackp_t stacks); } 332 NOARGS { int sys_sa_enable(void); } 333 STD { int netbsd32_sa_setconcurrency(int concurrency); } 334 NOARGS { int sys_sa_yield(void); } 335 STD { int netbsd32_sa_preempt(int sa_id); } 336 OBSOL sys_sa_unblockyield @ 1.41.6.2 log @Sync with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.41.6.1 2006/04/22 11:38:17 simonb Exp $ d288 2 a289 1 175 COMPAT_30 { int netbsd32_ntp_gettime(netbsd32_ntptimevalp_t ntvp); } d492 2 a493 2 299 COMPAT_30 { int netbsd32_fhstat(const netbsd32_fhandlep_t fhp, \ netbsd32_stat13p_t sb); } a672 6 391 NOARGS { int sys_posix_fadvise(int fd, off_t offset, \ off_t len, int advice); } 392 STD { int netbsd32_sys___fhstat30( \ const netbsd32_fhandlep_t fhp, \ netbsd32_statp_t sb); } 393 STD { int netbsd32_ntp_gettime(netbsd32_ntptimevalp_t ntvp); } @ 1.40 log @- Split sys_kevent into kevent1 so that it can be used by COMPAT_NETBSD32 code. - To achieve COMPAT_NETBSD32 compatibility, introduce a parameter to kevent1 that points to functions that do the actual copyin/copyout operations. This is similar to what was done in FreeBSD by Paul Saab. - Add the COMPAT_NETBSD32 definitions and hooks. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.39 2005/08/19 04:24:38 christos Exp $ @ 1.39 log @Fix lossage I created with the 64 bit ino_t change. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.38 2005/08/19 02:03:57 christos Exp $ d550 5 a554 2 344 UNIMPL 345 UNIMPL @ 1.39.2.1 log @sync with head @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.39 2005/08/19 04:24:38 christos Exp $ d550 2 a551 5 344 NOARGS { int sys_kqueue(void); } 345 STD { int netbsd32_kevent(int fd, \ netbsd32_keventp_t changelist, netbsd32_size_t nchanges, \ netbsd32_keventp_t eventlist, netbsd32_size_t nevents, \ netbsd32_timespecp_t timeout); } @ 1.38 log @64 bit inode changes. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.37 2005/07/23 22:03:45 cube Exp $ d446 3 a448 3 278 STD { int netbsd32___stat13(const netbsd32_charp path, netbsd32_stat30p_t ub); } 279 STD { int netbsd32___fstat13(int fd, netbsd32_stat30p_t sb); } 280 STD { int netbsd32___lstat13(const netbsd32_charp path, netbsd32_stat30p_t ub); } d649 1 a649 1 netbsd32_charp buf, netbsd32_size_t count); @ 1.37 log @Implement __sigtimedwait(2). @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.36 2005/07/23 18:56:15 cube Exp $ d446 3 a448 3 278 STD { int netbsd32___stat13(const netbsd32_charp path, netbsd32_statp_t ub); } 279 STD { int netbsd32___fstat13(int fd, netbsd32_statp_t sb); } 280 STD { int netbsd32___lstat13(const netbsd32_charp path, netbsd32_statp_t ub); } d642 8 @ 1.36 log @Implement the timer_create(2) family of syscalls. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.35 2005/07/12 07:45:34 cube Exp $ d410 3 a412 1 244 UNIMPL @ 1.35 log @Add the *xattr(2) family of syscalls. Just like the *extattr(2) family, they're waiting for an actual FS back-end to be tested, but are still straightforward enough. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.34 2005/07/11 20:18:05 cube Exp $ d395 8 a402 5 235 UNIMPL timer_create 236 UNIMPL timer_delete 237 UNIMPL timer_settime 238 UNIMPL timer_gettime 239 UNIMPL timer_getoverrun @ 1.34 log @Add rasctl(2). Thanks to the regression tests for that syscall, I was able to discover the bugs in netbsd32_setitimer() and netbsd32_execve(). @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.33 2005/07/10 14:32:16 cube Exp $ d607 30 @ 1.33 log @Add support for fsync_range(2). @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.32 2005/07/10 11:28:58 cube Exp $ d543 2 a544 1 343 UNIMPL @ 1.32 log @Implement __clone(2). @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.31 2005/07/09 22:40:13 cube Exp $ d554 2 a555 1 354 UNIMPL @ 1.31 log @Implement pselect(2) and pollts(2). @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.30 2005/07/08 22:21:43 cube Exp $ d450 1 a450 1 287 UNIMPL @ 1.30 log @Add mlockall(2) and munlockall(2). @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.29 2005/07/08 21:39:39 cube Exp $ d600 5 @ 1.29 log @Implement the extattr(3) family of syscalls. XXX However, those remain untested as there are currently no backend for XXX extattr(9) in NetBSD. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.28 2005/07/04 00:26:07 cube Exp $ d405 2 a406 2 242 UNIMPL 243 UNIMPL @ 1.28 log @Implement uuidgen(2). @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.27 2005/05/30 22:59:55 chs Exp $ d564 36 @ 1.28.2.1 log @sync with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.28 2005/07/04 00:26:07 cube Exp $ a44 1 #include "opt_posix.h" d287 2 a288 1 175 COMPAT_30 { int netbsd32_ntp_gettime(netbsd32_ntptimevalp_t ntvp); } d395 5 a399 8 235 STD { int netbsd32_timer_create(netbsd32_clockid_t clock_id, netbsd32_sigeventp_t evp, \ netbsd32_timerp_t timerid); } 236 STD { int netbsd32_timer_delete(netbsd32_timer_t timerid); } 237 STD { int netbsd32_timer_settime(netbsd32_timer_t timerid, int flags, \ const netbsd32_itimerspecp_t value, \ netbsd32_itimerspecp_t ovalue); } 238 STD { int netbsd32_timer_gettime(netbsd32_timer_t timerid, netbsd32_itimerspecp_t value); } 239 STD { int netbsd32_timer_getoverrun(netbsd32_timer_t timerid); } d405 3 a407 5 242 STD { int netbsd32_mlockall(int flags); } 243 NOARGS { int sys_munlockall(void); } 244 STD { int netbsd32___sigtimedwait(const netbsd32_sigsetp_t set, \ netbsd32_siginfop_t info, \ netbsd32_timespecp_t timeout); } d410 10 a419 25 #if defined(P1003_1B_SEMAPHORE) || (!defined(_KERNEL) && defined(_LIBC)) 247 STD { int netbsd32__ksem_init(unsigned int value, netbsd32_semidp_t idp); } 248 STD { int netbsd32__ksem_open(const netbsd32_charp name, int oflag, \ mode_t mode, unsigned int value, netbsd32_semidp_t idp); } 249 STD { int netbsd32__ksem_unlink(const netbsd32_charp name); } 250 STD { int netbsd32__ksem_close(netbsd32_semid_t id); } 251 STD { int netbsd32__ksem_post(netbsd32_semid_t id); } 252 STD { int netbsd32__ksem_wait(netbsd32_semid_t id); } 253 STD { int netbsd32__ksem_trywait(netbsd32_semid_t id); } 254 STD { int netbsd32__ksem_getvalue(netbsd32_semid_t id, \ netbsd32_intp value); } 255 STD { int netbsd32__ksem_destroy(netbsd32_semid_t id); } 256 UNIMPL sys__ksem_timedwait #else 247 EXCL sys__ksem_init 248 EXCL sys__ksem_open 249 EXCL sys__ksem_unlink 250 EXCL sys__ksem_close 251 EXCL sys__ksem_post 252 EXCL sys__ksem_wait 253 EXCL sys__ksem_trywait 254 EXCL sys__ksem_getvalue 255 EXCL sys__ksem_destroy 256 UNIMPL sys__ksem_timedwait #endif d441 3 a443 3 278 STD { int netbsd32___stat13(const netbsd32_charp path, netbsd32_stat13p_t ub); } 279 STD { int netbsd32___fstat13(int fd, netbsd32_stat13p_t sb); } 280 STD { int netbsd32___lstat13(const netbsd32_charp path, netbsd32_stat13p_t ub); } d450 1 a450 1 287 STD { int netbsd32___clone(int flags, netbsd32_voidp stack); } d471 2 a472 2 299 COMPAT_30 { int netbsd32_fhstat(const netbsd32_fhandlep_t fhp, \ netbsd32_stat13p_t sb); } d477 1 a477 1 ... netbsd32_semunp_t arg); } d506 9 a514 11 309 STD { int netbsd32__lwp_create(const netbsd32_ucontextp ucp, \ netbsd32_u_long flags, netbsd32_lwpidp new_lwp); } 310 NOARGS { int sys__lwp_exit(void); } 311 NOARGS { lwpid_t sys__lwp_self(void); } 312 STD { int netbsd32__lwp_wait(lwpid_t wait_for, \ netbsd32_lwpidp departed); } 313 STD { int netbsd32__lwp_suspend(lwpid_t target); } 314 STD { int netbsd32__lwp_continue(lwpid_t target); } 315 STD { int netbsd32__lwp_wakeup(lwpid_t target); } 316 NOARGS { void *sys__lwp_getprivate(void); } 317 STD { void netbsd32__lwp_setprivate(netbsd32_voidp ptr); } d527 7 a533 9 330 STD { int netbsd32_sa_register(netbsd32_sa_upcall_t new, \ netbsd32_sa_upcallp_t old, int flags, \ netbsd32_ssize_t stackinfo_offset); } 331 STD { int netbsd32_sa_stacks(int num, netbsd32_stackp_t stacks); } 332 NOARGS { int sys_sa_enable(void); } 333 STD { int netbsd32_sa_setconcurrency(int concurrency); } 334 NOARGS { int sys_sa_yield(void); } 335 STD { int netbsd32_sa_preempt(int sa_id); } 336 OBSOL sys_sa_unblockyield d543 3 a545 7 343 STD { int netbsd32_rasctl(netbsd32_caddr_t addr, netbsd32_size_t len, \ int op); } 344 NOARGS { int sys_kqueue(void); } 345 STD { int netbsd32_kevent(int fd, \ netbsd32_keventp_t changelist, netbsd32_size_t nchanges, \ netbsd32_keventp_t eventlist, netbsd32_size_t nevents, \ netbsd32_timespecp_t timeout); } d554 1 a554 2 354 STD { int netbsd32_fsync_range(int fd, int flags, off_t start, \ off_t length); } a563 85 360 STD { int netbsd32_extattrctl(const netbsd32_charp path, \ int cmd, const netbsd32_charp filename, int attrnamespace, \ const netbsd32_charp attrname); } 361 STD { int netbsd32_extattr_set_file(const netbsd32_charp path, \ int attrnamespace, const netbsd32_charp attrname, \ const netbsd32_voidp data, netbsd32_size_t nbytes); } 362 STD { int netbsd32_extattr_get_file(const netbsd32_charp path, \ int attrnamespace, const netbsd32_charp attrname, \ netbsd32_voidp data, netbsd32_size_t nbytes); } 363 STD { int netbsd32_extattr_delete_file(const netbsd32_charp path, \ int attrnamespace, const netbsd32_charp attrname); } 364 STD { int netbsd32_extattr_set_fd(int fd, \ int attrnamespace, const netbsd32_charp attrname, \ const netbsd32_voidp data, netbsd32_size_t nbytes); } 365 STD { int netbsd32_extattr_get_fd(int fd, \ int attrnamespace, const netbsd32_charp attrname, \ netbsd32_voidp data, netbsd32_size_t nbytes); } 366 STD { int netbsd32_extattr_delete_fd(int fd, \ int attrnamespace, const netbsd32_charp attrname); } 367 STD { int netbsd32_extattr_set_link(const netbsd32_charp path, \ int attrnamespace, const netbsd32_charp attrname, \ const netbsd32_voidp data, netbsd32_size_t nbytes); } 368 STD { int netbsd32_extattr_get_link(const netbsd32_charp path, \ int attrnamespace, const netbsd32_charp attrname, \ netbsd32_voidp data, netbsd32_size_t nbytes); } 369 STD { int netbsd32_extattr_delete_link(const netbsd32_charp path, \ int attrnamespace, const netbsd32_charp attrname); } 370 STD { int netbsd32_extattr_list_fd(int fd, \ int attrnamespace, netbsd32_voidp data, \ netbsd32_size_t nbytes); } 371 STD { int netbsd32_extattr_list_file(const netbsd32_charp path, \ int attrnamespace, netbsd32_voidp data, \ netbsd32_size_t nbytes); } 372 STD { int netbsd32_extattr_list_link(const netbsd32_charp path, \ int attrnamespace, netbsd32_voidp data, \ netbsd32_size_t nbytes); } 373 STD { int netbsd32_pselect(int nd, netbsd32_fd_setp_t in, \ netbsd32_fd_setp_t ou, netbsd32_fd_setp_t ex, \ const netbsd32_timespecp_t ts, const netbsd32_sigsetp_t mask); } 374 STD { int netbsd32_pollts(netbsd32_pollfdp_t fds, u_int nfds, \ const netbsd32_timespecp_t ts, const netbsd32_sigsetp_t mask); } 375 STD { int netbsd32_setxattr(const netbsd32_charp path, \ const netbsd32_charp name, netbsd32_voidp value, \ netbsd32_size_t size, int flags); } 376 STD { int netbsd32_lsetxattr(const netbsd32_charp path, \ const netbsd32_charp name, netbsd32_voidp value, \ netbsd32_size_t size, int flags); } 377 STD { int netbsd32_fsetxattr(int fd, \ const netbsd32_charp name, netbsd32_voidp value, \ netbsd32_size_t size, int flags); } 378 STD { int netbsd32_getxattr(const netbsd32_charp path, \ const netbsd32_charp name, netbsd32_voidp value, \ netbsd32_size_t size); } 379 STD { int netbsd32_lgetxattr(const netbsd32_charp path, \ const netbsd32_charp name, netbsd32_voidp value, \ netbsd32_size_t size); } 380 STD { int netbsd32_fgetxattr(int fd, \ const netbsd32_charp name, netbsd32_voidp value, \ netbsd32_size_t size); } 381 STD { int netbsd32_listxattr(const netbsd32_charp path, \ netbsd32_charp list, netbsd32_size_t size); } 382 STD { int netbsd32_llistxattr(const netbsd32_charp path, \ netbsd32_charp list, netbsd32_size_t size); } 383 STD { int netbsd32_flistxattr(int fd, \ netbsd32_charp list, netbsd32_size_t size); } 384 STD { int netbsd32_removexattr(const netbsd32_charp path, \ const netbsd32_charp name); } 385 STD { int netbsd32_lremovexattr(const netbsd32_charp path, \ const netbsd32_charp name); } 386 STD { int netbsd32_fremovexattr(int fd, \ const netbsd32_charp name); } 387 STD { int netbsd32_sys___stat30(const netbsd32_charp path, \ netbsd32_statp_t ub); } 388 STD { int netbsd32_sys___fstat30(int fd, \ netbsd32_statp_t sb); } 389 STD { int netbsd32_sys___lstat30( \ const netbsd32_charp path, netbsd32_statp_t ub); } 390 STD { int netbsd32_sys___getdents30(int fd, \ netbsd32_charp buf, netbsd32_size_t count); } 391 NOARGS { int sys_posix_fadvise(int fd, off_t offset, \ off_t len, int advice); } 392 STD { int netbsd32_sys___fhstat30( \ const netbsd32_fhandlep_t fhp, \ netbsd32_statp_t sb); } 393 STD { int netbsd32_ntp_gettime(netbsd32_ntptimevalp_t ntvp); } @ 1.28.2.2 log @sync with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.28.2.1 2006/06/21 14:59:36 yamt Exp $ d172 1 a172 1 97 COMPAT_30 { int netbsd32_socket(int domain, int type, int protocol); } d184 1 d187 4 d223 1 d225 3 d230 1 d232 3 d258 5 a262 1 161 COMPAT_30 { int netbsd32_getfh(const netbsd32_charp fname, netbsd32_compat_30_fhandlep_t fhp); } d455 1 a455 1 272 COMPAT_30 { int netbsd32_getdents(int fd, netbsd32_charp buf, netbsd32_size_t count); } d461 3 a463 3 278 COMPAT_30 { int netbsd32___stat13(const netbsd32_charp path, netbsd32_stat13p_t ub); } 279 COMPAT_30 { int netbsd32___fstat13(int fd, netbsd32_stat13p_t sb); } 280 COMPAT_30 { int netbsd32___lstat13(const netbsd32_charp path, netbsd32_stat13p_t ub); } d489 1 a489 1 298 COMPAT_30 { int netbsd32_fhopen(const netbsd32_fhandlep_t fhp, \ d591 1 a591 1 359 COMPAT_30 { int netbsd32_fhstatvfs1(const netbsd32_fhandlep_t fhp, \ d674 1 a674 1 392 COMPAT_30 { int netbsd32_sys___fhstat30( \ a677 10 394 STD { int netbsd32_sys___socket30(int domain, int type, int protocol); } 395 STD { int netbsd32___getfh30(const netbsd32_charp fname, netbsd32_pointer_t fhp, netbsd32_size_tp fh_size); } 396 STD { int netbsd32___fhopen40(const netbsd32_pointer_t fhp, \ netbsd32_size_t fh_size, int flags); } 397 STD { int netbsd32___fhstatvfs140( \ netbsd32_pointer_t fhp, netbsd32_size_t fh_size,\ netbsd32_statvfsp_t buf, int flags); } 398 STD { int netbsd32___fhstat40( \ netbsd32_pointer_t fhp, netbsd32_size_t fh_size,\ netbsd32_statp_t sb); } @ 1.28.2.3 log @sync with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.28.2.2 2006/12/30 20:47:43 yamt Exp $ d55 1 d93 2 a94 2 24 NOARGS MPSAFE { uid_t sys_getuid(void); } 25 NOARGS MPSAFE { uid_t sys_geteuid(void); } d108 1 a108 1 39 NOARGS MPSAFE { pid_t sys_getppid(void); } d112 1 a112 1 43 NOARGS MPSAFE { gid_t sys_getegid(void); } d120 1 a120 1 47 NOARGS MPSAFE { gid_t sys_getgid(void); } d126 1 a126 1 52 COMPAT_13 MPSAFE { int sys_sigpending(void); } sigpending13 d156 1 a156 1 81 NOARGS MPSAFE { int sys_getpgrp(void); } d497 1 a497 1 305 NOARGS MPSAFE { int sys_issetugid(void); } d500 3 d506 3 d512 1 a512 1 311 NOARGS MPSAFE { lwpid_t sys__lwp_self(void); } d518 1 a518 1 316 NOARGS MPSAFE { void *sys__lwp_getprivate(void); } d520 5 a524 7 318 STD { int netbsd32__lwp_kill(lwpid_t target, int signo); } 319 STD { int netbsd32__lwp_detach(lwpid_t target); } 320 STD { int netbsd32__lwp_park(const netbsd32_timespecp_t ts, \ netbsd32_ucontextp ucp, const netbsd32_voidp hint); } 321 STD { int netbsd32__lwp_unpark(lwpid_t target, const netbsd32_voidp hint); } 322 STD { netbsd32_size_t netbsd32__lwp_unpark_all(const netbsd32_lwpidp targets, \ netbsd32_size_t ntargets, const netbsd32_voidp hint); } d532 8 a539 6 330 OBSOL netbsd32_sa_register 331 OBSOL netbsd32_sa_stacks 332 OBSOL sys_sa_enable 333 OBSOL netbsd32_sa_setconcurrency 334 OBSOL sys_sa_yield 335 OBSOL netbsd32_sa_preempt d561 1 a561 1 350 NOARGS MPSAFE { int sys_sched_yield(void); } @ 1.28.2.4 log @sync with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.28.2.3 2007/02/26 09:09:33 yamt Exp $ d39 1 d113 1 d115 3 d453 1 d455 3 d506 1 a506 1 312 STD MPSAFE { int netbsd32__lwp_wait(lwpid_t wait_for, \ d508 3 a510 3 313 STD MPSAFE { int netbsd32__lwp_suspend(lwpid_t target); } 314 STD MPSAFE { int netbsd32__lwp_continue(lwpid_t target); } 315 STD MPSAFE { int netbsd32__lwp_wakeup(lwpid_t target); } d512 1 a512 1 317 STD MPSAFE { void netbsd32__lwp_setprivate(netbsd32_voidp ptr); } d514 5 a518 6 319 STD MPSAFE { int netbsd32__lwp_detach(lwpid_t target); } 320 STD MPSAFE { int netbsd32__lwp_park(const netbsd32_timespecp_t ts, \ lwpid_t unpark, const netbsd32_voidp hint, \ const netbsd32_voidp unparkhint); } 321 STD MPSAFE { int netbsd32__lwp_unpark(lwpid_t target, const netbsd32_voidp hint); } 322 STD MPSAFE { netbsd32_size_t netbsd32__lwp_unpark_all(const netbsd32_lwpidp targets, \ @ 1.28.2.5 log @sync with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.28.2.4 2007/09/03 14:32:43 yamt Exp $ d67 1 a67 2 0 INDIR { int netbsd32_sys_syscall(int code, \ ... register32_t args[NETBSD32_SYS_MAXSYSARGS]); } d297 1 a297 2 198 INDIR { quad_t netbsd32_sys___syscall(quad_t code, \ ... register32_t args[NETBSD32_SYS_MAXSYSARGS]); } @ 1.28.2.6 log @sync with head @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.28.2.5 2007/11/15 11:43:56 yamt Exp $ d72 2 a73 2 4 STD { netbsd32_ssize_t netbsd32_write(int fd, netbsd32_voidp buf, netbsd32_size_t nbyte); } 5 STD { int netbsd32_open(netbsd32_charp path, int flags, ... mode_t mode); } d76 3 a78 3 8 COMPAT_43 { int netbsd32_ocreat(netbsd32_charp path, mode_t mode); } 9 STD { int netbsd32_link(netbsd32_charp path, netbsd32_charp link); } 10 STD { int netbsd32_unlink(netbsd32_charp path); } d80 1 a80 1 12 STD { int netbsd32_chdir(netbsd32_charp path); } d82 3 a84 3 14 STD { int netbsd32_mknod(netbsd32_charp path, mode_t mode, dev_t dev); } 15 STD { int netbsd32_chmod(netbsd32_charp path, mode_t mode); } 16 STD { int netbsd32_chown(netbsd32_charp path, uid_t uid, gid_t gid); } d89 2 a90 2 21 STD { int netbsd32_mount(netbsd32_charp type, netbsd32_charp path, int flags, netbsd32_voidp data); } 22 STD { int netbsd32_unmount(netbsd32_charp path, int flags); } d96 1 a96 1 28 STD { netbsd32_ssize_t netbsd32_sendmsg(int s, netbsd32_msghdrp_t msg, int flags); } d101 2 a102 2 33 STD { int netbsd32_access(netbsd32_charp path, int flags); } 34 STD { int netbsd32_chflags(netbsd32_charp path, netbsd32_u_long flags); } d106 1 a106 1 38 COMPAT_43 { int netbsd32_stat43(netbsd32_charp path, netbsd32_stat43p_t ub); } d108 1 a108 1 40 COMPAT_43 { int netbsd32_lstat43(netbsd32_charp path, netbsd32_stat43p_t ub); } d113 2 a114 2 45 STD { int netbsd32_ktrace(netbsd32_charp fname, int ops, int facs, int pid); } 46 STD { int netbsd32_sigaction(int signum, netbsd32_sigactionp_t nsa, netbsd32_sigactionp_t osa); } d119 2 a120 2 50 STD { int netbsd32_setlogin(netbsd32_charp namebuf); } 51 STD { int netbsd32_acct(netbsd32_charp path); } d122 1 a122 1 53 COMPAT_13 { int netbsd32_sigaltstack13(netbsd32_sigaltstack13p_t nss, netbsd32_sigaltstack13p_t oss); } d125 4 a128 4 56 STD { int netbsd32_revoke(netbsd32_charp path); } 57 STD { int netbsd32_symlink(netbsd32_charp path, netbsd32_charp link); } 58 STD { int netbsd32_readlink(netbsd32_charp path, netbsd32_charp buf, netbsd32_size_t count); } 59 STD { int netbsd32_execve(netbsd32_charp path, netbsd32_charpp argp, netbsd32_charpp envp); } d130 1 a130 1 61 STD { int netbsd32_chroot(netbsd32_charp path); } d150 1 a150 1 80 STD { int netbsd32_setgroups(int gidsetsize, netbsd32_gid_tp gidset); } d153 1 a153 1 83 STD { int netbsd32_setitimer(int which, netbsd32_itimervalp_t itv, netbsd32_itimervalp_t oitv); } d155 1 a155 1 85 COMPAT_12 { int netbsd32_oswapon(netbsd32_charp name); } d168 1 a168 1 98 STD { int netbsd32_connect(int s, netbsd32_sockaddrp_t name, int namelen); } d174 2 a175 2 104 STD { int netbsd32_bind(int s, netbsd32_sockaddrp_t name, int namelen); } 105 STD { int netbsd32_setsockopt(int s, int level, int name, netbsd32_voidp val, int valsize); } d190 3 a192 3 120 STD { netbsd32_ssize_t netbsd32_readv(int fd, netbsd32_iovecp_t iovp, int iovcnt); } 121 STD { netbsd32_ssize_t netbsd32_writev(int fd, netbsd32_iovecp_t iovp, int iovcnt); } 122 STD { int netbsd32_settimeofday(netbsd32_timevalp_t tv, netbsd32_timezonep_t tzp); } d198 2 a199 2 128 STD { int netbsd32_rename(netbsd32_charp from, netbsd32_charp to); } 129 COMPAT_43 { int netbsd32_otruncate(netbsd32_charp path, netbsd32_long length); } d202 2 a203 2 132 STD { int netbsd32_mkfifo(netbsd32_charp path, mode_t mode); } 133 STD { netbsd32_ssize_t netbsd32_sendto(int s, netbsd32_voidp buf, netbsd32_size_t len, int flags, netbsd32_sockaddrp_t to, int tolen); } d206 3 a208 3 136 STD { int netbsd32_mkdir(netbsd32_charp path, mode_t mode); } 137 STD { int netbsd32_rmdir(netbsd32_charp path); } 138 STD { int netbsd32_utimes(netbsd32_charp path, netbsd32_timevalp_t tptr); } d210 1 a210 1 140 STD { int netbsd32_adjtime(netbsd32_timevalp_t delta, netbsd32_timevalp_t olddelta); } d215 1 a215 1 145 COMPAT_43 { int netbsd32_osetrlimit(int which, netbsd32_orlimitp_t rlp); } d218 1 a218 1 148 STD { int netbsd32_quotactl(netbsd32_charp path, int cmd, int uid, netbsd32_caddr_t arg); } d236 1 a236 1 157 COMPAT_20 { int netbsd32_statfs(netbsd32_charp path, netbsd32_statfsp_t buf); } d240 1 a240 1 161 COMPAT_30 { int netbsd32_getfh(netbsd32_charp fname, netbsd32_compat_30_fhandlep_t fhp); } d265 1 a265 1 174 STD { netbsd32_ssize_t netbsd32_pwrite(int fd, netbsd32_voidp buf, netbsd32_size_t nbyte, int pad, off_t offset); } d288 1 a288 1 188 COMPAT_12 { int netbsd32_stat12(netbsd32_charp path, netbsd32_stat12p_t ub); } d290 2 a291 2 190 COMPAT_12 { int netbsd32_lstat12(netbsd32_charp path, netbsd32_stat12p_t ub); } 191 STD { netbsd32_long netbsd32_pathconf(netbsd32_charp path, int name); } d295 1 a295 1 195 STD { int netbsd32_setrlimit(int which, netbsd32_rlimitp_t rlp); } d301 1 a301 1 200 STD { int netbsd32_truncate(netbsd32_charp path, int pad, off_t length); } d304 4 a307 4 203 STD { int netbsd32_mlock(netbsd32_voidp addr, netbsd32_size_t len); } 204 STD { int netbsd32_munlock(netbsd32_voidp addr, netbsd32_size_t len); } 205 STD { int netbsd32_undelete(netbsd32_charp path); } 206 STD { int netbsd32_futimes(int fd, netbsd32_timevalp_t tptr); } d352 1 a352 1 226 STD { int netbsd32_msgsnd(int msqid, netbsd32_voidp msgp, netbsd32_size_t msgsz, int msgflg); } d361 1 a361 1 228 STD { netbsd32_voidp netbsd32_shmat(int shmid, netbsd32_voidp shmaddr, int shmflg); } d363 1 a363 1 230 STD { int netbsd32_shmdt(netbsd32_voidp shmaddr); } d372 1 a372 1 233 STD { int netbsd32_clock_settime(netbsd32_clockid_t clock_id, netbsd32_timespecp_t tp); } d378 1 a378 1 netbsd32_itimerspecp_t value, \ d385 1 a385 1 240 STD { int netbsd32_nanosleep(netbsd32_timespecp_t rqtp, netbsd32_timespecp_t rmtp); } d389 1 a389 1 244 STD { int netbsd32___sigtimedwait(netbsd32_sigsetp_t set, \ d396 1 a396 1 248 STD { int netbsd32__ksem_open(netbsd32_charp name, int oflag, \ d398 1 a398 1 249 STD { int netbsd32__ksem_unlink(netbsd32_charp name); } d432 1 a432 1 270 STD { int netbsd32___posix_rename(netbsd32_charp from, netbsd32_charp to); } d436 3 a438 3 274 STD { int netbsd32_lchmod(netbsd32_charp path, mode_t mode); } 275 STD { int netbsd32_lchown(netbsd32_charp path, uid_t uid, gid_t gid); } 276 STD { int netbsd32_lutimes(netbsd32_charp path, netbsd32_timevalp_t tptr); } d440 1 a440 1 278 COMPAT_30 { int netbsd32___stat13(netbsd32_charp path, netbsd32_stat13p_t ub); } d442 2 a443 2 280 COMPAT_30 { int netbsd32___lstat13(netbsd32_charp path, netbsd32_stat13p_t ub); } 281 STD { int netbsd32___sigaltstack14(netbsd32_sigaltstackp_t nss, netbsd32_sigaltstackp_t oss); } d445 1 a445 1 283 STD { int netbsd32___posix_chown(netbsd32_charp path, uid_t uid, gid_t gid); } d447 1 a447 1 285 STD { int netbsd32___posix_lchown(netbsd32_charp path, uid_t uid, gid_t gid); } d450 3 a452 3 288 STD { int netbsd32_fktrace(int fd, int ops, int facs, int pid); } 289 STD { netbsd32_ssize_t netbsd32_preadv(int fd, netbsd32_iovecp_t iovp, int iovcnt, int pad, off_t offset); } 290 STD { netbsd32_ssize_t netbsd32_pwritev(int fd, netbsd32_iovecp_t iovp, int iovcnt, int pad, off_t offset); } d454 1 a454 1 netbsd32_sigactionp_t nsa, \ d458 1 a458 1 netbsd32_sigsetp_t set, \ d460 1 a460 1 294 STD { int netbsd32___sigsuspend14(netbsd32_sigsetp_t set); } d464 1 a464 1 298 COMPAT_30 { int netbsd32_fhopen(netbsd32_fhandlep_t fhp, \ d466 1 a466 1 299 COMPAT_30 { int netbsd32_fhstat(netbsd32_fhandlep_t fhp, \ d488 1 a488 1 304 STD { int netbsd32_lchflags(netbsd32_charp path, netbsd32_u_long flags); } d490 1 a490 1 306 STD { int netbsd32_utrace(netbsd32_charp label, netbsd32_voidp addr, \ d495 1 a495 1 309 STD { int netbsd32__lwp_create(netbsd32_ucontextp ucp, \ d508 9 a516 12 320 STD MPSAFE { int netbsd32__lwp_park(netbsd32_timespecp_t ts, \ lwpid_t unpark, netbsd32_voidp hint, \ netbsd32_voidp unparkhint); } 321 STD MPSAFE { int netbsd32__lwp_unpark(lwpid_t target, netbsd32_voidp hint); } 322 STD MPSAFE { netbsd32_size_t netbsd32__lwp_unpark_all(netbsd32_lwpidp targets, \ netbsd32_size_t ntargets, netbsd32_voidp hint); } 323 STD { int netbsd32__lwp_setname(lwpid_t target, \ netbsd32_charp name); } 324 STD { int netbsd32__lwp_getname(lwpid_t target, \ netbsd32_charp name, netbsd32_size_t len); } 325 STD { int netbsd32__lwp_ctl(int features, \ netbsd32_pointer_t address); } d532 1 a532 1 netbsd32_sigactionp_t nsa, \ d557 1 a557 1 357 STD { int netbsd32_statvfs1(netbsd32_charp path, \ d561 1 a561 1 359 COMPAT_30 { int netbsd32_fhstatvfs1(netbsd32_fhandlep_t fhp, \ d563 8 a570 5 360 STD { int netbsd32_extattrctl(netbsd32_charp path, \ int cmd, netbsd32_charp filename, int attrnamespace, \ netbsd32_charp attrname); } 361 STD { int netbsd32_extattr_set_file(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname, \ d572 2 a573 5 362 STD { int netbsd32_extattr_get_file(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname, \ netbsd32_voidp data, netbsd32_size_t nbytes); } 363 STD { int netbsd32_extattr_delete_file(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname); } d575 2 a576 2 int attrnamespace, netbsd32_charp attrname, \ netbsd32_voidp data, netbsd32_size_t nbytes); } d578 1 a578 1 int attrnamespace, netbsd32_charp attrname, \ d581 6 a586 3 int attrnamespace, netbsd32_charp attrname); } 367 STD { int netbsd32_extattr_set_link(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname, \ d588 2 a589 5 368 STD { int netbsd32_extattr_get_link(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname, \ netbsd32_voidp data, netbsd32_size_t nbytes); } 369 STD { int netbsd32_extattr_delete_link(netbsd32_charp path, \ int attrnamespace, netbsd32_charp attrname); } d593 1 a593 1 371 STD { int netbsd32_extattr_list_file(netbsd32_charp path, \ d596 1 a596 1 372 STD { int netbsd32_extattr_list_link(netbsd32_charp path, \ d601 1 a601 1 netbsd32_timespecp_t ts, netbsd32_sigsetp_t mask); } d603 3 a605 3 netbsd32_timespecp_t ts, netbsd32_sigsetp_t mask); } 375 STD { int netbsd32_setxattr(netbsd32_charp path, \ netbsd32_charp name, netbsd32_voidp value, \ d607 2 a608 2 376 STD { int netbsd32_lsetxattr(netbsd32_charp path, \ netbsd32_charp name, netbsd32_voidp value, \ d611 1 a611 1 netbsd32_charp name, netbsd32_voidp value, \ d613 2 a614 2 378 STD { int netbsd32_getxattr(netbsd32_charp path, \ netbsd32_charp name, netbsd32_voidp value, \ d616 2 a617 2 379 STD { int netbsd32_lgetxattr(netbsd32_charp path, \ netbsd32_charp name, netbsd32_voidp value, \ d620 1 a620 1 netbsd32_charp name, netbsd32_voidp value, \ d622 1 a622 1 381 STD { int netbsd32_listxattr(netbsd32_charp path, \ d624 1 a624 1 382 STD { int netbsd32_llistxattr(netbsd32_charp path, \ d628 4 a631 4 384 STD { int netbsd32_removexattr(netbsd32_charp path, \ netbsd32_charp name); } 385 STD { int netbsd32_lremovexattr(netbsd32_charp path, \ netbsd32_charp name); } d633 2 a634 2 netbsd32_charp name); } 387 STD { int netbsd32_sys___stat30(netbsd32_charp path, \ d639 1 a639 1 netbsd32_charp path, netbsd32_statp_t ub); } d645 1 a645 1 netbsd32_fhandlep_t fhp, \ d649 2 a650 2 395 STD { int netbsd32___getfh30(netbsd32_charp fname, netbsd32_pointer_t fhp, netbsd32_size_tp fh_size); } 396 STD { int netbsd32___fhopen40(netbsd32_pointer_t fhp, \ a657 25 ; Asynchronous I/O system calls 399 UNIMPL { int sys_aio_cancel(int fildes, struct aiocb *aiocbp); } 400 UNIMPL { int sys_aio_error(const struct aiocb *aiocbp); } 401 UNIMPL { int sys_aio_fsync(int op, struct aiocb *aiocbp); } 402 UNIMPL { int sys_aio_read(struct aiocb *aiocbp); } 403 UNIMPL { int sys_aio_return(struct aiocb *aiocbp); } 404 UNIMPL { int sys_aio_suspend(const struct aiocb *const *list, \ int nent, const struct timespec *timeout); } 405 UNIMPL { int sys_aio_write(struct aiocb *aiocbp); } 406 UNIMPL { int sys_lio_listio(int mode, struct aiocb *const *list, \ int nent, struct sigevent *sig); } 407 UNIMPL 408 UNIMPL 409 UNIMPL 410 UNIMPL { int sys___mount50(const char *type, \ const char *path, int flags, void *data, \ size_t data_len); } 411 STD MPSAFE { netbsd32_voidp netbsd32_mremap( \ netbsd32_voidp old_address, \ netbsd32_size_t old_size, \ netbsd32_voidp new_address, \ netbsd32_size_t new_size, int flags); } @ 1.28.2.7 log @sync with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.28.2.6 2008/01/21 09:41:56 yamt Exp $ d645 1 a645 1 391 STD { int netbsd32_posix_fadvise(int fd, off_t offset, \ a685 8 412 UNIMPL 413 UNIMPL 414 UNIMPL 415 UNIMPL 416 STD MPSAFE { int netbsd32___posix_fadvise50(int fd, int pad, \ off_t offset, off_t len, int advice); } @ 1.28.2.8 log @sync with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.28.2.7 2008/02/04 09:23:14 yamt Exp $ d11 1 a11 1 ; type one of STD, OBSOL, UNIMPL, IGNORED, NODEF, NOARGS, or one of a16 1 ; IGNORED syscall is a null op, but always succeeds d645 2 a646 1 391 IGNORED old posix fadvise @ 1.27 log @track change to swapctl args in kern/syscalls.master. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.26 2004/06/17 18:29:40 cube Exp $ d555 1 a555 1 355 UNIMPL @ 1.26 log @o Add support for the statvfs family of syscalls (statvfs1, fstatvfs1, fhstatvfs1 and getvfsstat) o Move the statfs family out of netbsd32_fs.c and netbsd32_netbsd.c to netbsd_compat_20.c, compiled with COMPAT_20 Reviewed by christos@@. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.25 2003/10/25 16:27:25 chs Exp $ d434 1 a434 1 271 STD { int netbsd32_swapctl(int cmd, const netbsd32_voidp arg, int misc); } @ 1.25 log @allow COMPAT_SUNOS without COMPAT_43. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.24 2003/10/13 18:53:35 fvdl Exp $ d86 1 a86 1 18 STD { int netbsd32_getfsstat(netbsd32_statfsp_t buf, netbsd32_long bufsize, int flags); } d253 2 a254 2 157 STD { int netbsd32_statfs(const netbsd32_charp path, netbsd32_statfsp_t buf); } 158 STD { int netbsd32_fstatfs(int fd, netbsd32_statfsp_t buf); } d473 1 a473 1 300 STD { int netbsd32_fhstatfs(netbsd32_fhandlep_t fhp, \ d541 23 @ 1.24 log @Define compat_16 as valid prefix; define the 1.6 compat sigreturn. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.23 2003/01/18 08:28:26 thorpej Exp $ d183 1 a183 1 #ifdef COMPAT_43 d222 1 a222 1 #ifdef COMPAT_43 d229 1 a229 1 #ifdef COMPAT_43 @ 1.23 log @Merge the nathanw_sa branch. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.22 2002/10/23 13:16:46 scw Exp $ d466 1 a466 1 295 STD { int netbsd32___sigreturn14(netbsd32_sigcontextp_t sigcntxp); } d500 3 a502 2 307 UNIMPL 308 UNIMPL @ 1.23.2.1 log @Sync with HEAD @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.26 2004/06/17 18:29:40 cube Exp $ d86 1 a86 1 18 COMPAT_20 { int netbsd32_getfsstat(netbsd32_statfsp_t buf, netbsd32_long bufsize, int flags); } d183 1 a183 1 #if defined(COMPAT_43) || defined(COMPAT_SUNOS) d222 1 a222 1 #if defined(COMPAT_43) || defined(COMPAT_SUNOS) d229 1 a229 1 #if defined(COMPAT_43) || defined(COMPAT_SUNOS) d253 2 a254 2 157 COMPAT_20 { int netbsd32_statfs(const netbsd32_charp path, netbsd32_statfsp_t buf); } 158 COMPAT_20 { int netbsd32_fstatfs(int fd, netbsd32_statfsp_t buf); } d466 1 a466 1 295 COMPAT_16 { int netbsd32___sigreturn14(netbsd32_sigcontextp_t sigcntxp); } d473 1 a473 1 300 COMPAT_20 { int netbsd32_fhstatfs(netbsd32_fhandlep_t fhp, \ d500 2 a501 3 307 STD { int netbsd32_getcontext(netbsd32_ucontextp ucp); } 308 STD { int netbsd32_setcontext(netbsd32_ucontextp ucp, \ uint32_t flags, netbsd32_lwpidp new_lwp); } a539 23 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 STD { int netbsd32_getvfsstat(netbsd32_statvfsp_t buf, \ netbsd32_size_t bufsize, int flags); } 357 STD { int netbsd32_statvfs1(const netbsd32_charp path, \ netbsd32_statvfsp_t buf, int flags); } 358 STD { int netbsd32_fstatvfs1(int fd, netbsd32_statvfsp_t buf, \ int flags); } 359 STD { int netbsd32_fhstatvfs1(const netbsd32_fhandlep_t fhp, \ netbsd32_statvfsp_t buf, int flags); } @ 1.23.2.2 log @Sync with HEAD. @ text @@ 1.23.2.3 log @Fix the sync with head I botched. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.23.2.1 2004/08/03 10:44:23 skrll Exp $ @ 1.23.2.4 log @Sync with HEAD. Here we go again... @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.23.2.3 2004/09/21 13:25:58 skrll Exp $ d395 5 a399 8 235 STD { int netbsd32_timer_create(netbsd32_clockid_t clock_id, netbsd32_sigeventp_t evp, \ netbsd32_timerp_t timerid); } 236 STD { int netbsd32_timer_delete(netbsd32_timer_t timerid); } 237 STD { int netbsd32_timer_settime(netbsd32_timer_t timerid, int flags, \ const netbsd32_itimerspecp_t value, \ netbsd32_itimerspecp_t ovalue); } 238 STD { int netbsd32_timer_gettime(netbsd32_timer_t timerid, netbsd32_itimerspecp_t value); } 239 STD { int netbsd32_timer_getoverrun(netbsd32_timer_t timerid); } d405 3 a407 5 242 STD { int netbsd32_mlockall(int flags); } 243 NOARGS { int sys_munlockall(void); } 244 STD { int netbsd32___sigtimedwait(const netbsd32_sigsetp_t set, \ netbsd32_siginfop_t info, \ netbsd32_timespecp_t timeout); } d434 1 a434 1 271 STD { int netbsd32_swapctl(int cmd, netbsd32_voidp arg, int misc); } d441 3 a443 3 278 STD { int netbsd32___stat13(const netbsd32_charp path, netbsd32_stat13p_t ub); } 279 STD { int netbsd32___fstat13(int fd, netbsd32_stat13p_t sb); } 280 STD { int netbsd32___lstat13(const netbsd32_charp path, netbsd32_stat13p_t ub); } d450 1 a450 1 287 STD { int netbsd32___clone(int flags, netbsd32_voidp stack); } d543 3 a545 7 343 STD { int netbsd32_rasctl(netbsd32_caddr_t addr, netbsd32_size_t len, \ int op); } 344 NOARGS { int sys_kqueue(void); } 345 STD { int netbsd32_kevent(int fd, \ netbsd32_keventp_t changelist, netbsd32_size_t nchanges, \ netbsd32_keventp_t eventlist, netbsd32_size_t nevents, \ netbsd32_timespecp_t timeout); } d554 2 a555 3 354 STD { int netbsd32_fsync_range(int fd, int flags, off_t start, \ off_t length); } 355 STD { int netbsd32_uuidgen(netbsd32_uuidp_t store, int count); } a563 79 360 STD { int netbsd32_extattrctl(const netbsd32_charp path, \ int cmd, const netbsd32_charp filename, int attrnamespace, \ const netbsd32_charp attrname); } 361 STD { int netbsd32_extattr_set_file(const netbsd32_charp path, \ int attrnamespace, const netbsd32_charp attrname, \ const netbsd32_voidp data, netbsd32_size_t nbytes); } 362 STD { int netbsd32_extattr_get_file(const netbsd32_charp path, \ int attrnamespace, const netbsd32_charp attrname, \ netbsd32_voidp data, netbsd32_size_t nbytes); } 363 STD { int netbsd32_extattr_delete_file(const netbsd32_charp path, \ int attrnamespace, const netbsd32_charp attrname); } 364 STD { int netbsd32_extattr_set_fd(int fd, \ int attrnamespace, const netbsd32_charp attrname, \ const netbsd32_voidp data, netbsd32_size_t nbytes); } 365 STD { int netbsd32_extattr_get_fd(int fd, \ int attrnamespace, const netbsd32_charp attrname, \ netbsd32_voidp data, netbsd32_size_t nbytes); } 366 STD { int netbsd32_extattr_delete_fd(int fd, \ int attrnamespace, const netbsd32_charp attrname); } 367 STD { int netbsd32_extattr_set_link(const netbsd32_charp path, \ int attrnamespace, const netbsd32_charp attrname, \ const netbsd32_voidp data, netbsd32_size_t nbytes); } 368 STD { int netbsd32_extattr_get_link(const netbsd32_charp path, \ int attrnamespace, const netbsd32_charp attrname, \ netbsd32_voidp data, netbsd32_size_t nbytes); } 369 STD { int netbsd32_extattr_delete_link(const netbsd32_charp path, \ int attrnamespace, const netbsd32_charp attrname); } 370 STD { int netbsd32_extattr_list_fd(int fd, \ int attrnamespace, netbsd32_voidp data, \ netbsd32_size_t nbytes); } 371 STD { int netbsd32_extattr_list_file(const netbsd32_charp path, \ int attrnamespace, netbsd32_voidp data, \ netbsd32_size_t nbytes); } 372 STD { int netbsd32_extattr_list_link(const netbsd32_charp path, \ int attrnamespace, netbsd32_voidp data, \ netbsd32_size_t nbytes); } 373 STD { int netbsd32_pselect(int nd, netbsd32_fd_setp_t in, \ netbsd32_fd_setp_t ou, netbsd32_fd_setp_t ex, \ const netbsd32_timespecp_t ts, const netbsd32_sigsetp_t mask); } 374 STD { int netbsd32_pollts(netbsd32_pollfdp_t fds, u_int nfds, \ const netbsd32_timespecp_t ts, const netbsd32_sigsetp_t mask); } 375 STD { int netbsd32_setxattr(const netbsd32_charp path, \ const netbsd32_charp name, netbsd32_voidp value, \ netbsd32_size_t size, int flags); } 376 STD { int netbsd32_lsetxattr(const netbsd32_charp path, \ const netbsd32_charp name, netbsd32_voidp value, \ netbsd32_size_t size, int flags); } 377 STD { int netbsd32_fsetxattr(int fd, \ const netbsd32_charp name, netbsd32_voidp value, \ netbsd32_size_t size, int flags); } 378 STD { int netbsd32_getxattr(const netbsd32_charp path, \ const netbsd32_charp name, netbsd32_voidp value, \ netbsd32_size_t size); } 379 STD { int netbsd32_lgetxattr(const netbsd32_charp path, \ const netbsd32_charp name, netbsd32_voidp value, \ netbsd32_size_t size); } 380 STD { int netbsd32_fgetxattr(int fd, \ const netbsd32_charp name, netbsd32_voidp value, \ netbsd32_size_t size); } 381 STD { int netbsd32_listxattr(const netbsd32_charp path, \ netbsd32_charp list, netbsd32_size_t size); } 382 STD { int netbsd32_llistxattr(const netbsd32_charp path, \ netbsd32_charp list, netbsd32_size_t size); } 383 STD { int netbsd32_flistxattr(int fd, \ netbsd32_charp list, netbsd32_size_t size); } 384 STD { int netbsd32_removexattr(const netbsd32_charp path, \ const netbsd32_charp name); } 385 STD { int netbsd32_lremovexattr(const netbsd32_charp path, \ const netbsd32_charp name); } 386 STD { int netbsd32_fremovexattr(int fd, \ const netbsd32_charp name); } 387 STD { int netbsd32_sys___stat30(const netbsd32_charp path, \ netbsd32_statp_t ub); } 388 STD { int netbsd32_sys___fstat30(int fd, \ netbsd32_statp_t sb); } 389 STD { int netbsd32_sys___lstat30( \ const netbsd32_charp path, netbsd32_statp_t ub); } 390 STD { int netbsd32_sys___getdents30(int fd, \ netbsd32_charp buf, netbsd32_size_t count); } @ 1.22 log @In preparation for COMPAT_NETBSD32 on SH-5: - The MD netbsd32_machdep.h header now defines the 32-bit pointer type instead of using u_int32_t everywhere, - The MD netbsd32_machdep.h header now defines a macro (at least on current implementations) which converts a 32-bit pointer to its 64-bit equivalent, - Change the MI code to utilise the above two items in all the right places, - Implement netbsd32___sigaction_sigtramp(). Tested on Sparc64 by Matt Green. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.21 2002/04/29 09:53:41 mrg Exp $ d54 1 @ 1.21 log @build the netbsd32_compat* objects into libcompat.a, so they are available to emulations not just netbsd itself. rename the compat_10 functions to match everything else. fixes a problem reported by julian coleman. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.20 2001/05/30 11:37:29 mrg Exp $ d535 4 @ 1.20 log @use _KERNEL_OPT. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.19 2001/04/10 11:11:17 kleink Exp $ a126 1 #ifdef COMPAT_12 a127 3 #else 55 OBSOL oreboot #endif d268 2 a269 3 ; XXX more generally, never on machines where sizeof(netbsd32_voidp ) != sizeof(int) #if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(alpha) && defined(COMPAT_10) 169 STD { int netbsd32_compat_10_sys_semsys(int which, int a2, int a3, int a4, int a5); } osemsys d271 1 a271 1 169 EXCL 1.0 semsys d273 2 a274 3 ; XXX more generally, never on machines where sizeof(netbsd32_voidp ) != sizeof(int) #if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(alpha) && defined(COMPAT_10) 170 STD { int netbsd32_compat_10_sys_msgsys(int which, int a2, int a3, int a4, int a5, int a6); } omsgsys d276 1 a276 1 170 EXCL 1.0 msgsys d278 2 a279 3 ; XXX more generally, never on machines where sizeof(netbsd32_voidp ) != sizeof(int) #if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(alpha) && defined(COMPAT_10) 171 STD { int netbsd32_compat_10_sys_shmsys(int which, int a2, int a3, int a4); } oshmsys d281 1 a281 1 171 EXCL 1.0 shmsys @ 1.20.2.1 log @catch up with -current on kqueue branch @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.20 2001/05/30 11:37:29 mrg Exp $ d127 1 d129 3 d272 3 a274 2 #if defined(SYSVSEM) || !defined(_KERNEL) 169 COMPAT_10 { int netbsd32_sys_semsys(int which, int a2, int a3, int a4, int a5); } osemsys d276 1 a276 1 169 EXCL netbsd32_sys_semsys d278 3 a280 2 #if defined(SYSVMSG) || !defined(_KERNEL) 170 COMPAT_10 { int netbsd32_sys_msgsys(int which, int a2, int a3, int a4, int a5, int a6); } omsgsys d282 1 a282 1 170 EXCL netbsd32_sys_msgsys d284 3 a286 2 #if defined(SYSVSHM) || !defined(_KERNEL) 171 COMPAT_10 { int netbsd32_sys_shmsys(int which, int a2, int a3, int a4); } oshmsys d288 1 a288 1 171 EXCL netbsd32_sys_shmsys @ 1.19 log @Slight indentation nit. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.18 2001/02/02 13:01:44 mrg Exp $ d38 1 a38 1 #if defined(_KERNEL) && !defined(_LKM) @ 1.18 log @add lchflags, issetugid, utrace, reserves for [gs]etcontext, and sched/SA. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.17 2001/01/27 07:58:22 thorpej Exp $ d502 1 a502 1 netbsd32_size_t len); } @ 1.18.2.1 log @Catch up to -current. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.18 2001/02/02 13:01:44 mrg Exp $ d38 1 a38 1 #if defined(_KERNEL_OPT) d502 1 a502 1 netbsd32_size_t len); } @ 1.18.2.2 log @#include before , to provide sa_upcall_t now that doesn't include . (Behold the Power of Ed) @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.18.2.1 2001/06/21 20:00:12 nathanw Exp $ a53 1 #include @ 1.18.2.3 log @Catch up to -current. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.18.2.2 2002/05/29 21:32:50 nathanw Exp $ d128 1 d130 3 d273 3 a275 2 #if defined(SYSVSEM) || !defined(_KERNEL) 169 COMPAT_10 { int netbsd32_sys_semsys(int which, int a2, int a3, int a4, int a5); } osemsys d277 1 a277 1 169 EXCL netbsd32_sys_semsys d279 3 a281 2 #if defined(SYSVMSG) || !defined(_KERNEL) 170 COMPAT_10 { int netbsd32_sys_msgsys(int which, int a2, int a3, int a4, int a5, int a6); } omsgsys d283 1 a283 1 170 EXCL netbsd32_sys_msgsys d285 3 a287 2 #if defined(SYSVSHM) || !defined(_KERNEL) 171 COMPAT_10 { int netbsd32_sys_shmsys(int which, int a2, int a3, int a4); } oshmsys d289 1 a289 1 171 EXCL netbsd32_sys_shmsys @ 1.18.2.4 log @Catch up to -current @ text @d1 1 a1 1 $NetBSD$ a535 4 340 STD { int netbsd32___sigaction_sigtramp(int signum, \ const netbsd32_sigactionp_t nsa, \ netbsd32_sigactionp_t osa, \ netbsd32_voidp tramp, int vers); } @ 1.17 log @getpid(2) is MP-safe. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.16 2000/12/09 05:27:30 mycroft Exp $ d499 43 @ 1.16 log @Add the %% separators. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.15 2000/11/30 19:17:57 jdolecek Exp $ d87 1 a87 1 20 NOARGS { pid_t sys_getpid(void); } @ 1.15 log @always include netbsd32_ntp_adjtime(), LKMify @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.14 2000/08/07 17:59:36 bjh21 Exp $ d38 1 a38 1 if defined(_KERNEL) && !defined(_LKM) d48 1 a48 1 endif d58 2 @ 1.14 log @Changes to syscalls.master to exclude ntp_adjtime(2) entirely if NTP is not defined. Changes to other files will follow in a moment. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.13 2000/07/09 13:39:32 mrg Exp $ d38 1 d48 1 a292 1 #if defined(NTP) || !defined(_KERNEL) a293 3 #else 176 EXCL ntp_adjtime #endif @ 1.13 log @- massive warning fix fest. - fix pread/pwrite return values (plus some other syscalls that looked similarly broken). - prototypes and clean up for netbsd32_ioctl.c now getpw*() works under compat32! @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.12 2000/01/31 15:59:58 christos Exp $ d289 1 d291 1 d293 3 @ 1.12 log @__semctl13 -> ____semctl13 @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.11 1999/12/30 15:40:46 eeh Exp $ a288 1 #if defined(NTP) && !defined(_KERNEL) a290 4 #else 175 EXCL netbsd32_ntp_gettime 176 EXCL netbsd32_ntp_adjtime #endif @ 1.11 log @Update to 32-bit compatibility routines. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.10 1999/10/11 01:36:24 eeh Exp $ d482 2 a483 2 301 STD { int netbsd32___semctl13(int semid, int semnum, int cmd, \ union netbsd32_semun arg); } d485 1 a485 1 301 EXCL __semctl13 @ 1.10 log @Add netbsd32_compat_14.c Rename everything from compat_netbsd32 -> netbsd32 so we don't have silly names like compat_14_compat_netbsd32_sys_shmctl(). @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.9 1999/07/12 21:55:20 kleink Exp $ d176 1 a176 1 103 STD { int netbsd32_sigreturn(netbsd32_sigcontextp_t sigcntxp); } d371 1 a371 1 220 EXCL netbsd32_semctl d382 1 a382 1 224 EXCL netbsd32_msgctl d394 1 a394 1 229 EXCL netbsd32_shmctl d464 35 @ 1.10.2.1 log @Update thorpej_scsipi to -current as of a month ago @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.14 2000/08/07 17:59:36 bjh21 Exp $ d176 1 a176 1 103 COMPAT_13 { int netbsd32_sigreturn(netbsd32_sigcontextp_t sigcntxp); } sigreturn13 d289 1 a289 1 ; For some reason, ntp_gettime doesn't want to raise SIGSYS when it's excluded. a290 1 #if defined(NTP) || !defined(_KERNEL) d293 2 a294 1 176 EXCL ntp_adjtime d371 1 a371 1 220 EXCL compat_14_netbsd32_semctl d382 1 a382 1 224 EXCL compat_14_netbsd32_msgctl d394 1 a394 1 229 EXCL compat_14_netbsd32_shmctl a463 35 291 STD { int netbsd32___sigaction14(int signum, \ const netbsd32_sigactionp_t nsa, \ netbsd32_sigactionp_t osa); } 292 STD { int netbsd32___sigpending14(netbsd32_sigsetp_t set); } 293 STD { int netbsd32___sigprocmask14(int how, \ const netbsd32_sigsetp_t set, \ netbsd32_sigsetp_t oset); } 294 STD { int netbsd32___sigsuspend14(const netbsd32_sigsetp_t set); } 295 STD { int netbsd32___sigreturn14(netbsd32_sigcontextp_t sigcntxp); } 296 STD { int netbsd32___getcwd(netbsd32_charp bufp, netbsd32_size_t length); } 297 STD { int netbsd32_fchroot(int fd); } 298 STD { int netbsd32_fhopen(const netbsd32_fhandlep_t fhp, \ int flags); } 299 STD { int netbsd32_fhstat(const netbsd32_fhandlep_t fhp, \ netbsd32_statp_t sb); } 300 STD { int netbsd32_fhstatfs(netbsd32_fhandlep_t fhp, \ netbsd32_statp_t buf); } #if defined(SYSVSEM) || !defined(_KERNEL) 301 STD { int netbsd32___semctl14(int semid, int semnum, int cmd, \ union netbsd32_semun3* arg); } #else 301 EXCL __semctl14 #endif #if defined(SYSVMSG) || !defined(_KERNEL) 302 STD { int netbsd32___msgctl13(int msqid, int cmd, \ netbsd32_msqid_dsp_t buf); } #else 302 EXCL __msgctl13 #endif #if defined(SYSVSHM) || !defined(_KERNEL) 303 STD { int netbsd32___shmctl13(int shmid, int cmd, \ netbsd32_shmid_dsp_t buf); } #else 303 EXCL __shmctl13 #endif @ 1.10.2.2 log @Sync with HEAD. @ text @d1 1 a1 1 $NetBSD$ a37 1 if defined(_KERNEL) && !defined(_LKM) a46 1 endif d291 1 d293 3 @ 1.10.2.3 log @Sync with HEAD (for UBC fixes). @ text @d38 1 a38 1 #if defined(_KERNEL) && !defined(_LKM) d48 1 a48 1 #endif a57 2 %% @ 1.10.2.4 log @Sync with HEAD. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.10.2.3 2000/12/13 15:49:52 bouyer Exp $ d87 1 a87 1 20 NOARGS MPSAFE { pid_t sys_getpid(void); } a498 43 304 STD { int netbsd32_lchflags(const netbsd32_charp path, netbsd32_u_long flags); } 305 STD { int sys_issetugid(void); } 306 STD { int netbsd32_utrace(const netbsd32_charp label, netbsd32_voidp addr, \ netbsd32_size_t len); } ; ; Syscalls 307 and 308 are reserved for getcontext and setcontext ; 307 UNIMPL 308 UNIMPL ; ; Syscalls 309-339 are reserved for LWP and scheduler activation syscalls. ; 309 UNIMPL 310 UNIMPL 311 UNIMPL 312 UNIMPL 313 UNIMPL 314 UNIMPL 315 UNIMPL 316 UNIMPL 317 UNIMPL 318 UNIMPL 319 UNIMPL 320 UNIMPL 321 UNIMPL 322 UNIMPL 323 UNIMPL 324 UNIMPL 325 UNIMPL 326 UNIMPL 327 UNIMPL 328 UNIMPL 329 UNIMPL 330 UNIMPL 331 UNIMPL 332 UNIMPL 333 UNIMPL 334 UNIMPL 335 UNIMPL 336 UNIMPL 337 UNIMPL 338 UNIMPL 339 UNIMPL @ 1.10.2.5 log @Sync with HEAD @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.10.2.4 2001/02/11 19:14:23 bouyer Exp $ d502 1 a502 1 netbsd32_size_t len); } @ 1.9 log @XSH5: change function signature to `void *sbrk(intptr_t)'. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.8 1999/06/09 04:50:11 christos Exp $ d64 1 a64 1 1 STD { void compat_netbsd32_exit(int rval); } d66 8 a73 8 3 STD { netbsd32_ssize_t compat_netbsd32_read(int fd, netbsd32_voidp buf, netbsd32_size_t nbyte); } 4 STD { netbsd32_ssize_t compat_netbsd32_write(int fd, const netbsd32_voidp buf, netbsd32_size_t nbyte); } 5 STD { int compat_netbsd32_open(const netbsd32_charp path, int flags, ... mode_t mode); } 6 STD { int compat_netbsd32_close(int fd); } 7 STD { int compat_netbsd32_wait4(int pid, netbsd32_intp status, int options, netbsd32_rusagep_t rusage); } 8 COMPAT_43 { int compat_netbsd32_ocreat(const netbsd32_charp path, mode_t mode); } 9 STD { int compat_netbsd32_link(const netbsd32_charp path, const netbsd32_charp link); } 10 STD { int compat_netbsd32_unlink(const netbsd32_charp path); } d75 8 a82 8 12 STD { int compat_netbsd32_chdir(const netbsd32_charp path); } 13 STD { int compat_netbsd32_fchdir(int fd); } 14 STD { int compat_netbsd32_mknod(const netbsd32_charp path, mode_t mode, dev_t dev); } 15 STD { int compat_netbsd32_chmod(const netbsd32_charp path, mode_t mode); } 16 STD { int compat_netbsd32_chown(const netbsd32_charp path, uid_t uid, gid_t gid); } 17 STD { int compat_netbsd32_break(netbsd32_charp nsize); } 18 STD { int compat_netbsd32_getfsstat(netbsd32_statfsp_t buf, netbsd32_long bufsize, int flags); } 19 COMPAT_43 { netbsd32_long compat_netbsd32_olseek(int fd, netbsd32_long offset, int whence); } d84 3 a86 3 21 STD { int compat_netbsd32_mount(const netbsd32_charp type, const netbsd32_charp path, int flags, netbsd32_voidp data); } 22 STD { int compat_netbsd32_unmount(const netbsd32_charp path, int flags); } 23 STD { int compat_netbsd32_setuid(uid_t uid); } d89 10 a98 10 26 STD { int compat_netbsd32_ptrace(int req, pid_t pid, netbsd32_caddr_t addr, int data); } 27 STD { netbsd32_ssize_t compat_netbsd32_recvmsg(int s, netbsd32_msghdrp_t msg, int flags); } 28 STD { netbsd32_ssize_t compat_netbsd32_sendmsg(int s, const netbsd32_msghdrp_t msg, int flags); } 29 STD { netbsd32_ssize_t compat_netbsd32_recvfrom(int s, netbsd32_voidp buf, netbsd32_size_t len, int flags, netbsd32_sockaddrp_t from, netbsd32_intp fromlenaddr); } 30 STD { int compat_netbsd32_accept(int s, netbsd32_sockaddrp_t name, netbsd32_intp anamelen); } 31 STD { int compat_netbsd32_getpeername(int fdes, netbsd32_sockaddrp_t asa, netbsd32_intp alen); } 32 STD { int compat_netbsd32_getsockname(int fdes, netbsd32_sockaddrp_t asa, netbsd32_intp alen); } 33 STD { int compat_netbsd32_access(const netbsd32_charp path, int flags); } 34 STD { int compat_netbsd32_chflags(const netbsd32_charp path, netbsd32_u_long flags); } 35 STD { int compat_netbsd32_fchflags(int fd, netbsd32_u_long flags); } d100 2 a101 2 37 STD { int compat_netbsd32_kill(int pid, int signum); } 38 COMPAT_43 { int compat_netbsd32_stat43(const netbsd32_charp path, netbsd32_stat43p_t ub); } d103 2 a104 2 40 COMPAT_43 { int compat_netbsd32_lstat43(const netbsd32_charp path, netbsd32_stat43p_t ub); } 41 STD { int compat_netbsd32_dup(int fd); } d107 1 a107 1 44 STD { int compat_netbsd32_profil(netbsd32_caddr_t samples, netbsd32_size_t size, netbsd32_u_long offset, u_int scale); } d109 1 a109 1 45 STD { int compat_netbsd32_ktrace(const netbsd32_charp fname, int ops, int facs, int pid); } d111 1 a111 1 45 EXCL compat_netbsd32_ktrace d113 1 a113 1 46 STD { int compat_netbsd32_sigaction(int signum, const netbsd32_sigactionp_t nsa, netbsd32_sigactionp_t osa); } d115 1 a115 1 48 COMPAT_13 { int compat_netbsd32_sigprocmask(int how, \ d117 3 a119 3 49 STD { int compat_netbsd32___getlogin(netbsd32_charp namebuf, u_int namelen); } 50 STD { int compat_netbsd32_setlogin(const netbsd32_charp namebuf); } 51 STD { int compat_netbsd32_acct(const netbsd32_charp path); } d121 2 a122 2 53 COMPAT_13 { int compat_netbsd32_sigaltstack13(const netbsd32_sigaltstack13p_t nss, netbsd32_sigaltstack13p_t oss); } 54 STD { int compat_netbsd32_ioctl(int fd, netbsd32_u_long com, ... netbsd32_voidp data); } d124 1 a124 1 55 COMPAT_12 { int compat_netbsd32_reboot(int opt); } d128 8 a135 8 56 STD { int compat_netbsd32_revoke(const netbsd32_charp path); } 57 STD { int compat_netbsd32_symlink(const netbsd32_charp path, const netbsd32_charp link); } 58 STD { int compat_netbsd32_readlink(const netbsd32_charp path, netbsd32_charp buf, netbsd32_size_t count); } 59 STD { int compat_netbsd32_execve(const netbsd32_charp path, netbsd32_charpp argp, netbsd32_charpp envp); } 60 STD { mode_t compat_netbsd32_umask(mode_t newmask); } 61 STD { int compat_netbsd32_chroot(const netbsd32_charp path); } 62 COMPAT_43 { int compat_netbsd32_fstat43(int fd, netbsd32_stat43p_t sb); } 63 COMPAT_43 { int compat_netbsd32_ogetkerninfo(int op, netbsd32_charp where, netbsd32_intp size, int arg); } d137 1 a137 1 65 COMPAT_12 { int compat_netbsd32_msync(netbsd32_caddr_t addr, netbsd32_size_t len); } d142 7 a148 7 69 STD { int compat_netbsd32_sbrk(netbsd32_intptr_t incr); } 70 STD { int compat_netbsd32_sstk(int incr); } 71 COMPAT_43 { int compat_netbsd32_ommap(netbsd32_caddr_t addr, netbsd32_size_t len, int prot, int flags, int fd, netbsd32_long pos); } 72 STD { int compat_netbsd32_ovadvise(int anom); } vadvise 73 STD { int compat_netbsd32_munmap(netbsd32_voidp addr, netbsd32_size_t len); } 74 STD { int compat_netbsd32_mprotect(netbsd32_voidp addr, netbsd32_size_t len, int prot); } 75 STD { int compat_netbsd32_madvise(netbsd32_voidp addr, netbsd32_size_t len, int behav); } d151 3 a153 3 78 STD { int compat_netbsd32_mincore(netbsd32_caddr_t addr, netbsd32_size_t len, netbsd32_charp vec); } 79 STD { int compat_netbsd32_getgroups(int gidsetsize, netbsd32_gid_tp gidset); } 80 STD { int compat_netbsd32_setgroups(int gidsetsize, const netbsd32_gid_tp gidset); } d155 2 a156 2 82 STD { int compat_netbsd32_setpgid(int pid, int pgid); } 83 STD { int compat_netbsd32_setitimer(int which, const netbsd32_itimervalp_t itv, netbsd32_itimervalp_t oitv); } d158 4 a161 4 85 COMPAT_12 { int compat_netbsd32_oswapon(const netbsd32_charp name); } 86 STD { int compat_netbsd32_getitimer(int which, netbsd32_itimervalp_t itv); } 87 COMPAT_43 { int compat_netbsd32_ogethostname(netbsd32_charp hostname, u_int len); } 88 COMPAT_43 { int compat_netbsd32_osethostname(netbsd32_charp hostname, u_int len); } d163 1 a163 1 90 STD { int compat_netbsd32_dup2(int from, int to); } d165 2 a166 2 92 STD { int compat_netbsd32_fcntl(int fd, int cmd, ... netbsd32_voidp arg); } 93 STD { int compat_netbsd32_select(int nd, netbsd32_fd_setp_t in, netbsd32_fd_setp_t ou, netbsd32_fd_setp_t ex, netbsd32_timevalp_t tv); } d168 12 a179 12 95 STD { int compat_netbsd32_fsync(int fd); } 96 STD { int compat_netbsd32_setpriority(int which, int who, int prio); } 97 STD { int compat_netbsd32_socket(int domain, int type, int protocol); } 98 STD { int compat_netbsd32_connect(int s, const netbsd32_sockaddrp_t name, int namelen); } 99 COMPAT_43 { int compat_netbsd32_oaccept(int s, netbsd32_caddr_t name, netbsd32_intp anamelen); } 100 STD { int compat_netbsd32_getpriority(int which, int who); } 101 COMPAT_43 { int compat_netbsd32_osend(int s, netbsd32_caddr_t buf, int len, int flags); } 102 COMPAT_43 { int compat_netbsd32_orecv(int s, netbsd32_caddr_t buf, int len, int flags); } 103 STD { int compat_netbsd32_sigreturn(netbsd32_sigcontextp_t sigcntxp); } 104 STD { int compat_netbsd32_bind(int s, const netbsd32_sockaddrp_t name, int namelen); } 105 STD { int compat_netbsd32_setsockopt(int s, int level, int name, const netbsd32_voidp val, int valsize); } 106 STD { int compat_netbsd32_listen(int s, int backlog); } d181 1 a181 1 108 COMPAT_43 { int compat_netbsd32_osigvec(int signum, netbsd32_sigvecp_t nsv, netbsd32_sigvecp_t osv); } d183 2 a184 2 109 COMPAT_43 { int compat_netbsd32_sigblock(int mask); } 110 COMPAT_43 { int compat_netbsd32_sigsetmask(int mask); } d189 4 a192 4 111 COMPAT_13 { int compat_netbsd32_sigsuspend(int mask); } sigsuspend13 112 COMPAT_43 { int compat_netbsd32_osigstack(netbsd32_sigstackp_t nss, netbsd32_sigstackp_t oss); } 113 COMPAT_43 { int compat_netbsd32_orecvmsg(int s, netbsd32_omsghdrp_t msg, int flags); } 114 COMPAT_43 { int compat_netbsd32_osendmsg(int s, netbsd32_caddr_t msg, int flags); } d194 3 a196 3 116 STD { int compat_netbsd32_gettimeofday(netbsd32_timevalp_t tp, netbsd32_timezonep_t tzp); } 117 STD { int compat_netbsd32_getrusage(int who, netbsd32_rusagep_t rusage); } 118 STD { int compat_netbsd32_getsockopt(int s, int level, int name, netbsd32_voidp val, netbsd32_intp avalsize); } d198 19 a216 19 120 STD { netbsd32_ssize_t compat_netbsd32_readv(int fd, const netbsd32_iovecp_t iovp, int iovcnt); } 121 STD { netbsd32_ssize_t compat_netbsd32_writev(int fd, const netbsd32_iovecp_t iovp, int iovcnt); } 122 STD { int compat_netbsd32_settimeofday(const netbsd32_timevalp_t tv, const netbsd32_timezonep_t tzp); } 123 STD { int compat_netbsd32_fchown(int fd, uid_t uid, gid_t gid); } 124 STD { int compat_netbsd32_fchmod(int fd, mode_t mode); } 125 COMPAT_43 { int compat_netbsd32_orecvfrom(int s, netbsd32_caddr_t buf, netbsd32_size_t len, int flags, netbsd32_caddr_t from, netbsd32_intp fromlenaddr); } 126 STD { int compat_netbsd32_setreuid(uid_t ruid, uid_t euid); } 127 STD { int compat_netbsd32_setregid(gid_t rgid, gid_t egid); } 128 STD { int compat_netbsd32_rename(const netbsd32_charp from, const netbsd32_charp to); } 129 COMPAT_43 { int compat_netbsd32_otruncate(const netbsd32_charp path, netbsd32_long length); } 130 COMPAT_43 { int compat_netbsd32_oftruncate(int fd, netbsd32_long length); } 131 STD { int compat_netbsd32_flock(int fd, int how); } 132 STD { int compat_netbsd32_mkfifo(const netbsd32_charp path, mode_t mode); } 133 STD { netbsd32_ssize_t compat_netbsd32_sendto(int s, const netbsd32_voidp buf, netbsd32_size_t len, int flags, const netbsd32_sockaddrp_t to, int tolen); } 134 STD { int compat_netbsd32_shutdown(int s, int how); } 135 STD { int compat_netbsd32_socketpair(int domain, int type, int protocol, netbsd32_intp rsv); } 136 STD { int compat_netbsd32_mkdir(const netbsd32_charp path, mode_t mode); } 137 STD { int compat_netbsd32_rmdir(const netbsd32_charp path); } 138 STD { int compat_netbsd32_utimes(const netbsd32_charp path, const netbsd32_timevalp_t tptr); } d218 2 a219 2 140 STD { int compat_netbsd32_adjtime(const netbsd32_timevalp_t delta, netbsd32_timevalp_t olddelta); } 141 COMPAT_43 { int compat_netbsd32_ogetpeername(int fdes, netbsd32_caddr_t asa, netbsd32_intp alen); } d222 1 a222 1 143 COMPAT_43 { int compat_netbsd32_sethostid(int32_t hostid); } d226 2 a227 2 144 COMPAT_43 { int compat_netbsd32_ogetrlimit(int which, netbsd32_orlimitp_t rlp); } 145 COMPAT_43 { int compat_netbsd32_osetrlimit(int which, const netbsd32_orlimitp_t rlp); } d229 1 a229 1 146 COMPAT_43 { int compat_netbsd32_killpg(int pgid, int signum); } d234 1 a234 1 148 STD { int compat_netbsd32_quotactl(const netbsd32_charp path, int cmd, int uid, netbsd32_caddr_t arg); } d236 1 a236 1 150 COMPAT_43 { int compat_netbsd32_ogetsockname(int fdec, netbsd32_caddr_t asa, netbsd32_intp alen); } d247 1 a247 1 155 STD { int compat_netbsd32_nfssvc(int flag, netbsd32_voidp argp); } d249 1 a249 1 155 EXCL compat_netbsd32_nfssvc d251 3 a253 3 156 COMPAT_43 { int compat_netbsd32_ogetdirentries(int fd, netbsd32_charp buf, u_int count, netbsd32_longp basep); } 157 STD { int compat_netbsd32_statfs(const netbsd32_charp path, netbsd32_statfsp_t buf); } 158 STD { int compat_netbsd32_fstatfs(int fd, netbsd32_statfsp_t buf); } d257 1 a257 1 161 STD { int compat_netbsd32_getfh(const netbsd32_charp fname, netbsd32_fhandlep_t fhp); } d259 1 a259 1 161 EXCL compat_netbsd32_getfh d261 4 a264 4 162 COMPAT_09 { int compat_netbsd32_ogetdomainname(netbsd32_charp domainname, int len); } 163 COMPAT_09 { int compat_netbsd32_osetdomainname(netbsd32_charp domainname, int len); } 164 COMPAT_09 { int compat_netbsd32_uname(netbsd32_outsnamep_t name); } 165 STD { int compat_netbsd32_sysarch(int op, netbsd32_voidp parms); } d269 2 a270 2 #if (defined(SYSVSEM) || !defined(_KERNEL) && !defined(alpha) && defined(COMPAT_10) 169 STD { int compat_netbsd32_compat_10_sys_semsys(int which, int a2, int a3, int a4, int a5); } osemsys d276 1 a276 1 170 STD { int compat_netbsd32_compat_10_sys_msgsys(int which, int a2, int a3, int a4, int a5, int a6); } omsgsys d282 1 a282 1 171 STD { int compat_netbsd32_compat_10_sys_shmsys(int which, int a2, int a3, int a4); } oshmsys d287 2 a288 2 173 STD { netbsd32_ssize_t compat_netbsd32_pread(int fd, netbsd32_voidp buf, netbsd32_size_t nbyte, int pad, off_t offset); } 174 STD { netbsd32_ssize_t compat_netbsd32_pwrite(int fd, const netbsd32_voidp buf, netbsd32_size_t nbyte, int pad, off_t offset); } d290 2 a291 2 175 STD { int compat_netbsd32_ntp_gettime(netbsd32_ntptimevalp_t ntvp); } 176 STD { int compat_netbsd32_ntp_adjtime(netbsd32_timexp_t tp); } d293 2 a294 2 175 EXCL compat_netbsd32_ntp_gettime 176 EXCL compat_netbsd32_ntp_adjtime d302 3 a304 3 181 STD { int compat_netbsd32_setgid(gid_t gid); } 182 STD { int compat_netbsd32_setegid(gid_t egid); } 183 STD { int compat_netbsd32_seteuid(uid_t euid); } d306 15 a320 15 184 STD { int compat_netbsd32_sys_lfs_bmapv(netbsd32_fsid_tp_t fsidp, netbsd32_block_infop_t blkiov, int blkcnt); } 185 STD { int compat_netbsd32_sys_lfs_markv(netbsd32_fsid_tp_t fsidp, netbsd32_block_infop_t blkiov, int blkcnt); } 186 STD { int compat_netbsd32_sys_lfs_segclean(netbsd32_fsid_tp_t fsidp, netbsd32_u_long segment); } 187 STD { int compat_netbsd32_sys_lfs_segwait(netbsd32_fsid_tp_t fsidp, netbsd32_timevalp_t tv); } #else 184 EXCL compat_netbsd32_sys_lfs_bmapv 185 EXCL compat_netbsd32_sys_lfs_markv 186 EXCL compat_netbsd32_sys_lfs_segclean 187 EXCL compat_netbsd32_sys_lfs_segwait #endif 188 COMPAT_12 { int compat_netbsd32_stat12(const netbsd32_charp path, netbsd32_stat12p_t ub); } 189 COMPAT_12 { int compat_netbsd32_fstat12(int fd, netbsd32_stat12p_t sb); } 190 COMPAT_12 { int compat_netbsd32_lstat12(const netbsd32_charp path, netbsd32_stat12p_t ub); } 191 STD { netbsd32_long compat_netbsd32_pathconf(const netbsd32_charp path, int name); } 192 STD { netbsd32_long compat_netbsd32_fpathconf(int fd, int name); } d322 4 a325 4 194 STD { int compat_netbsd32_getrlimit(int which, netbsd32_rlimitp_t rlp); } 195 STD { int compat_netbsd32_setrlimit(int which, const netbsd32_rlimitp_t rlp); } 196 COMPAT_12 { int compat_netbsd32_getdirentries(int fd, netbsd32_charp buf, u_int count, netbsd32_longp basep); } 197 STD { netbsd32_voidp compat_netbsd32_mmap(netbsd32_voidp addr, netbsd32_size_t len, int prot, int flags, int fd, netbsd32_long pad, off_t pos); } d327 11 a337 11 199 STD { off_t compat_netbsd32_lseek(int fd, int pad, off_t offset, int whence); } 200 STD { int compat_netbsd32_truncate(const netbsd32_charp path, int pad, off_t length); } 201 STD { int compat_netbsd32_ftruncate(int fd, int pad, off_t length); } 202 STD { int compat_netbsd32___sysctl(netbsd32_intp name, u_int namelen, netbsd32_voidp old, netbsd32_size_tp oldlenp, netbsd32_voidp new, netbsd32_size_t newlen); } 203 STD { int compat_netbsd32_mlock(const netbsd32_voidp addr, netbsd32_size_t len); } 204 STD { int compat_netbsd32_munlock(const netbsd32_voidp addr, netbsd32_size_t len); } 205 STD { int compat_netbsd32_undelete(const netbsd32_charp path); } 206 STD { int compat_netbsd32_futimes(int fd, const netbsd32_timevalp_t tptr); } 207 STD { int compat_netbsd32_getpgid(pid_t pid); } 208 STD { int compat_netbsd32_reboot(int opt, netbsd32_charp bootstr); } 209 STD { int compat_netbsd32_poll(netbsd32_pollfdp_t fds, u_int nfds, int timeout); } d366 9 a374 9 220 STD { int compat_netbsd32___semctl(int semid, int semnum, int cmd, netbsd32_semunu_t arg); } 221 STD { int compat_netbsd32_semget(netbsd32_key_t key, int nsems, int semflg); } 222 STD { int compat_netbsd32_semop(int semid, netbsd32_sembufp_t sops, netbsd32_size_t nsops); } 223 STD { int compat_netbsd32_semconfig(int flag); } #else 220 EXCL compat_netbsd32_semctl 221 EXCL compat_netbsd32_semget 222 EXCL compat_netbsd32_semop 223 EXCL compat_netbsd32_semconfig d377 9 a385 9 224 STD { int compat_netbsd32_msgctl(int msqid, int cmd, netbsd32_msqid_dsp_t buf); } 225 STD { int compat_netbsd32_msgget(netbsd32_key_t key, int msgflg); } 226 STD { int compat_netbsd32_msgsnd(int msqid, const netbsd32_voidp msgp, netbsd32_size_t msgsz, int msgflg); } 227 STD { netbsd32_ssize_t compat_netbsd32_msgrcv(int msqid, netbsd32_voidp msgp, netbsd32_size_t msgsz, netbsd32_long msgtyp, int msgflg); } #else 224 EXCL compat_netbsd32_msgctl 225 EXCL compat_netbsd32_msgget 226 EXCL compat_netbsd32_msgsnd 227 EXCL compat_netbsd32_msgrcv d388 13 a400 13 228 STD { netbsd32_voidp compat_netbsd32_shmat(int shmid, const netbsd32_voidp shmaddr, int shmflg); } 229 STD { int compat_netbsd32_shmctl(int shmid, int cmd, netbsd32_shmid_dsp_t buf); } 230 STD { int compat_netbsd32_shmdt(const netbsd32_voidp shmaddr); } 231 STD { int compat_netbsd32_shmget(netbsd32_key_t key, netbsd32_size_t size, int shmflg); } #else 228 EXCL compat_netbsd32_shmat 229 EXCL compat_netbsd32_shmctl 230 EXCL compat_netbsd32_shmdt 231 EXCL compat_netbsd32_shmget #endif 232 STD { int compat_netbsd32_clock_gettime(netbsd32_clockid_t clock_id, netbsd32_timespecp_t tp); } 233 STD { int compat_netbsd32_clock_settime(netbsd32_clockid_t clock_id, const netbsd32_timespecp_t tp); } 234 STD { int compat_netbsd32_clock_getres(netbsd32_clockid_t clock_id, netbsd32_timespecp_t tp); } d409 2 a410 2 240 STD { int compat_netbsd32_nanosleep(const netbsd32_timespecp_t rqtp, netbsd32_timespecp_t rmtp); } 241 STD { int compat_netbsd32_fdatasync(int fd); } d439 12 a450 12 270 STD { int compat_netbsd32___posix_rename(const netbsd32_charp from, const netbsd32_charp to); } 271 STD { int compat_netbsd32_swapctl(int cmd, const netbsd32_voidp arg, int misc); } 272 STD { int compat_netbsd32_getdents(int fd, netbsd32_charp buf, netbsd32_size_t count); } 273 STD { int compat_netbsd32_minherit(netbsd32_voidp addr, netbsd32_size_t len, int inherit); } 274 STD { int compat_netbsd32_lchmod(const netbsd32_charp path, mode_t mode); } 275 STD { int compat_netbsd32_lchown(const netbsd32_charp path, uid_t uid, gid_t gid); } 276 STD { int compat_netbsd32_lutimes(const netbsd32_charp path, const netbsd32_timevalp_t tptr); } 277 STD { int compat_netbsd32___msync13(netbsd32_voidp addr, netbsd32_size_t len, int flags); } 278 STD { int compat_netbsd32___stat13(const netbsd32_charp path, netbsd32_statp_t ub); } 279 STD { int compat_netbsd32___fstat13(int fd, netbsd32_statp_t sb); } 280 STD { int compat_netbsd32___lstat13(const netbsd32_charp path, netbsd32_statp_t ub); } 281 STD { int compat_netbsd32___sigaltstack14(const netbsd32_sigaltstackp_t nss, netbsd32_sigaltstackp_t oss); } d452 4 a455 4 283 STD { int compat_netbsd32___posix_chown(const netbsd32_charp path, uid_t uid, gid_t gid); } 284 STD { int compat_netbsd32___posix_fchown(int fd, uid_t uid, gid_t gid); } 285 STD { int compat_netbsd32___posix_lchown(const netbsd32_charp path, uid_t uid, gid_t gid); } 286 STD { pid_t compat_netbsd32_getsid(pid_t pid); } d458 1 a458 1 288 STD { int compat_netbsd32_fktrace(const int fd, int ops, int facs, int pid); } d460 1 a460 1 288 EXCL compat_netbsd32_fktrace d462 2 a463 2 289 STD { netbsd32_ssize_t compat_netbsd32_preadv(int fd, const netbsd32_iovecp_t iovp, int iovcnt, int pad, off_t offset); } 290 STD { netbsd32_ssize_t compat_netbsd32_pwritev(int fd, const netbsd32_iovecp_t iovp, int iovcnt, int pad, off_t offset); } @ 1.9.2.1 log @Pull up to last week's -current. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.10 1999/10/11 01:36:24 eeh Exp $ d64 1 a64 1 1 STD { void netbsd32_exit(int rval); } d66 8 a73 8 3 STD { netbsd32_ssize_t netbsd32_read(int fd, netbsd32_voidp buf, netbsd32_size_t nbyte); } 4 STD { netbsd32_ssize_t netbsd32_write(int fd, const netbsd32_voidp buf, netbsd32_size_t nbyte); } 5 STD { int netbsd32_open(const netbsd32_charp path, int flags, ... mode_t mode); } 6 STD { int netbsd32_close(int fd); } 7 STD { int netbsd32_wait4(int pid, netbsd32_intp status, int options, netbsd32_rusagep_t rusage); } 8 COMPAT_43 { int netbsd32_ocreat(const netbsd32_charp path, mode_t mode); } 9 STD { int netbsd32_link(const netbsd32_charp path, const netbsd32_charp link); } 10 STD { int netbsd32_unlink(const netbsd32_charp path); } d75 8 a82 8 12 STD { int netbsd32_chdir(const netbsd32_charp path); } 13 STD { int netbsd32_fchdir(int fd); } 14 STD { int netbsd32_mknod(const netbsd32_charp path, mode_t mode, dev_t dev); } 15 STD { int netbsd32_chmod(const netbsd32_charp path, mode_t mode); } 16 STD { int netbsd32_chown(const netbsd32_charp path, uid_t uid, gid_t gid); } 17 STD { int netbsd32_break(netbsd32_charp nsize); } 18 STD { int netbsd32_getfsstat(netbsd32_statfsp_t buf, netbsd32_long bufsize, int flags); } 19 COMPAT_43 { netbsd32_long netbsd32_olseek(int fd, netbsd32_long offset, int whence); } d84 3 a86 3 21 STD { int netbsd32_mount(const netbsd32_charp type, const netbsd32_charp path, int flags, netbsd32_voidp data); } 22 STD { int netbsd32_unmount(const netbsd32_charp path, int flags); } 23 STD { int netbsd32_setuid(uid_t uid); } d89 10 a98 10 26 STD { int netbsd32_ptrace(int req, pid_t pid, netbsd32_caddr_t addr, int data); } 27 STD { netbsd32_ssize_t netbsd32_recvmsg(int s, netbsd32_msghdrp_t msg, int flags); } 28 STD { netbsd32_ssize_t netbsd32_sendmsg(int s, const netbsd32_msghdrp_t msg, int flags); } 29 STD { netbsd32_ssize_t netbsd32_recvfrom(int s, netbsd32_voidp buf, netbsd32_size_t len, int flags, netbsd32_sockaddrp_t from, netbsd32_intp fromlenaddr); } 30 STD { int netbsd32_accept(int s, netbsd32_sockaddrp_t name, netbsd32_intp anamelen); } 31 STD { int netbsd32_getpeername(int fdes, netbsd32_sockaddrp_t asa, netbsd32_intp alen); } 32 STD { int netbsd32_getsockname(int fdes, netbsd32_sockaddrp_t asa, netbsd32_intp alen); } 33 STD { int netbsd32_access(const netbsd32_charp path, int flags); } 34 STD { int netbsd32_chflags(const netbsd32_charp path, netbsd32_u_long flags); } 35 STD { int netbsd32_fchflags(int fd, netbsd32_u_long flags); } d100 2 a101 2 37 STD { int netbsd32_kill(int pid, int signum); } 38 COMPAT_43 { int netbsd32_stat43(const netbsd32_charp path, netbsd32_stat43p_t ub); } d103 2 a104 2 40 COMPAT_43 { int netbsd32_lstat43(const netbsd32_charp path, netbsd32_stat43p_t ub); } 41 STD { int netbsd32_dup(int fd); } d107 1 a107 1 44 STD { int netbsd32_profil(netbsd32_caddr_t samples, netbsd32_size_t size, netbsd32_u_long offset, u_int scale); } d109 1 a109 1 45 STD { int netbsd32_ktrace(const netbsd32_charp fname, int ops, int facs, int pid); } d111 1 a111 1 45 EXCL netbsd32_ktrace d113 1 a113 1 46 STD { int netbsd32_sigaction(int signum, const netbsd32_sigactionp_t nsa, netbsd32_sigactionp_t osa); } d115 1 a115 1 48 COMPAT_13 { int netbsd32_sigprocmask(int how, \ d117 3 a119 3 49 STD { int netbsd32___getlogin(netbsd32_charp namebuf, u_int namelen); } 50 STD { int netbsd32_setlogin(const netbsd32_charp namebuf); } 51 STD { int netbsd32_acct(const netbsd32_charp path); } d121 2 a122 2 53 COMPAT_13 { int netbsd32_sigaltstack13(const netbsd32_sigaltstack13p_t nss, netbsd32_sigaltstack13p_t oss); } 54 STD { int netbsd32_ioctl(int fd, netbsd32_u_long com, ... netbsd32_voidp data); } d124 1 a124 1 55 COMPAT_12 { int netbsd32_reboot(int opt); } d128 8 a135 8 56 STD { int netbsd32_revoke(const netbsd32_charp path); } 57 STD { int netbsd32_symlink(const netbsd32_charp path, const netbsd32_charp link); } 58 STD { int netbsd32_readlink(const netbsd32_charp path, netbsd32_charp buf, netbsd32_size_t count); } 59 STD { int netbsd32_execve(const netbsd32_charp path, netbsd32_charpp argp, netbsd32_charpp envp); } 60 STD { mode_t netbsd32_umask(mode_t newmask); } 61 STD { int netbsd32_chroot(const netbsd32_charp path); } 62 COMPAT_43 { int netbsd32_fstat43(int fd, netbsd32_stat43p_t sb); } 63 COMPAT_43 { int netbsd32_ogetkerninfo(int op, netbsd32_charp where, netbsd32_intp size, int arg); } d137 1 a137 1 65 COMPAT_12 { int netbsd32_msync(netbsd32_caddr_t addr, netbsd32_size_t len); } d142 7 a148 7 69 STD { int netbsd32_sbrk(netbsd32_intptr_t incr); } 70 STD { int netbsd32_sstk(int incr); } 71 COMPAT_43 { int netbsd32_ommap(netbsd32_caddr_t addr, netbsd32_size_t len, int prot, int flags, int fd, netbsd32_long pos); } 72 STD { int netbsd32_ovadvise(int anom); } vadvise 73 STD { int netbsd32_munmap(netbsd32_voidp addr, netbsd32_size_t len); } 74 STD { int netbsd32_mprotect(netbsd32_voidp addr, netbsd32_size_t len, int prot); } 75 STD { int netbsd32_madvise(netbsd32_voidp addr, netbsd32_size_t len, int behav); } d151 3 a153 3 78 STD { int netbsd32_mincore(netbsd32_caddr_t addr, netbsd32_size_t len, netbsd32_charp vec); } 79 STD { int netbsd32_getgroups(int gidsetsize, netbsd32_gid_tp gidset); } 80 STD { int netbsd32_setgroups(int gidsetsize, const netbsd32_gid_tp gidset); } d155 2 a156 2 82 STD { int netbsd32_setpgid(int pid, int pgid); } 83 STD { int netbsd32_setitimer(int which, const netbsd32_itimervalp_t itv, netbsd32_itimervalp_t oitv); } d158 4 a161 4 85 COMPAT_12 { int netbsd32_oswapon(const netbsd32_charp name); } 86 STD { int netbsd32_getitimer(int which, netbsd32_itimervalp_t itv); } 87 COMPAT_43 { int netbsd32_ogethostname(netbsd32_charp hostname, u_int len); } 88 COMPAT_43 { int netbsd32_osethostname(netbsd32_charp hostname, u_int len); } d163 1 a163 1 90 STD { int netbsd32_dup2(int from, int to); } d165 2 a166 2 92 STD { int netbsd32_fcntl(int fd, int cmd, ... netbsd32_voidp arg); } 93 STD { int netbsd32_select(int nd, netbsd32_fd_setp_t in, netbsd32_fd_setp_t ou, netbsd32_fd_setp_t ex, netbsd32_timevalp_t tv); } d168 12 a179 12 95 STD { int netbsd32_fsync(int fd); } 96 STD { int netbsd32_setpriority(int which, int who, int prio); } 97 STD { int netbsd32_socket(int domain, int type, int protocol); } 98 STD { int netbsd32_connect(int s, const netbsd32_sockaddrp_t name, int namelen); } 99 COMPAT_43 { int netbsd32_oaccept(int s, netbsd32_caddr_t name, netbsd32_intp anamelen); } 100 STD { int netbsd32_getpriority(int which, int who); } 101 COMPAT_43 { int netbsd32_osend(int s, netbsd32_caddr_t buf, int len, int flags); } 102 COMPAT_43 { int netbsd32_orecv(int s, netbsd32_caddr_t buf, int len, int flags); } 103 STD { int netbsd32_sigreturn(netbsd32_sigcontextp_t sigcntxp); } 104 STD { int netbsd32_bind(int s, const netbsd32_sockaddrp_t name, int namelen); } 105 STD { int netbsd32_setsockopt(int s, int level, int name, const netbsd32_voidp val, int valsize); } 106 STD { int netbsd32_listen(int s, int backlog); } d181 1 a181 1 108 COMPAT_43 { int netbsd32_osigvec(int signum, netbsd32_sigvecp_t nsv, netbsd32_sigvecp_t osv); } d183 2 a184 2 109 COMPAT_43 { int netbsd32_sigblock(int mask); } 110 COMPAT_43 { int netbsd32_sigsetmask(int mask); } d189 4 a192 4 111 COMPAT_13 { int netbsd32_sigsuspend(int mask); } sigsuspend13 112 COMPAT_43 { int netbsd32_osigstack(netbsd32_sigstackp_t nss, netbsd32_sigstackp_t oss); } 113 COMPAT_43 { int netbsd32_orecvmsg(int s, netbsd32_omsghdrp_t msg, int flags); } 114 COMPAT_43 { int netbsd32_osendmsg(int s, netbsd32_caddr_t msg, int flags); } d194 3 a196 3 116 STD { int netbsd32_gettimeofday(netbsd32_timevalp_t tp, netbsd32_timezonep_t tzp); } 117 STD { int netbsd32_getrusage(int who, netbsd32_rusagep_t rusage); } 118 STD { int netbsd32_getsockopt(int s, int level, int name, netbsd32_voidp val, netbsd32_intp avalsize); } d198 19 a216 19 120 STD { netbsd32_ssize_t netbsd32_readv(int fd, const netbsd32_iovecp_t iovp, int iovcnt); } 121 STD { netbsd32_ssize_t netbsd32_writev(int fd, const netbsd32_iovecp_t iovp, int iovcnt); } 122 STD { int netbsd32_settimeofday(const netbsd32_timevalp_t tv, const netbsd32_timezonep_t tzp); } 123 STD { int netbsd32_fchown(int fd, uid_t uid, gid_t gid); } 124 STD { int netbsd32_fchmod(int fd, mode_t mode); } 125 COMPAT_43 { int netbsd32_orecvfrom(int s, netbsd32_caddr_t buf, netbsd32_size_t len, int flags, netbsd32_caddr_t from, netbsd32_intp fromlenaddr); } 126 STD { int netbsd32_setreuid(uid_t ruid, uid_t euid); } 127 STD { int netbsd32_setregid(gid_t rgid, gid_t egid); } 128 STD { int netbsd32_rename(const netbsd32_charp from, const netbsd32_charp to); } 129 COMPAT_43 { int netbsd32_otruncate(const netbsd32_charp path, netbsd32_long length); } 130 COMPAT_43 { int netbsd32_oftruncate(int fd, netbsd32_long length); } 131 STD { int netbsd32_flock(int fd, int how); } 132 STD { int netbsd32_mkfifo(const netbsd32_charp path, mode_t mode); } 133 STD { netbsd32_ssize_t netbsd32_sendto(int s, const netbsd32_voidp buf, netbsd32_size_t len, int flags, const netbsd32_sockaddrp_t to, int tolen); } 134 STD { int netbsd32_shutdown(int s, int how); } 135 STD { int netbsd32_socketpair(int domain, int type, int protocol, netbsd32_intp rsv); } 136 STD { int netbsd32_mkdir(const netbsd32_charp path, mode_t mode); } 137 STD { int netbsd32_rmdir(const netbsd32_charp path); } 138 STD { int netbsd32_utimes(const netbsd32_charp path, const netbsd32_timevalp_t tptr); } d218 2 a219 2 140 STD { int netbsd32_adjtime(const netbsd32_timevalp_t delta, netbsd32_timevalp_t olddelta); } 141 COMPAT_43 { int netbsd32_ogetpeername(int fdes, netbsd32_caddr_t asa, netbsd32_intp alen); } d222 1 a222 1 143 COMPAT_43 { int netbsd32_sethostid(int32_t hostid); } d226 2 a227 2 144 COMPAT_43 { int netbsd32_ogetrlimit(int which, netbsd32_orlimitp_t rlp); } 145 COMPAT_43 { int netbsd32_osetrlimit(int which, const netbsd32_orlimitp_t rlp); } d229 1 a229 1 146 COMPAT_43 { int netbsd32_killpg(int pgid, int signum); } d234 1 a234 1 148 STD { int netbsd32_quotactl(const netbsd32_charp path, int cmd, int uid, netbsd32_caddr_t arg); } d236 1 a236 1 150 COMPAT_43 { int netbsd32_ogetsockname(int fdec, netbsd32_caddr_t asa, netbsd32_intp alen); } d247 1 a247 1 155 STD { int netbsd32_nfssvc(int flag, netbsd32_voidp argp); } d249 1 a249 1 155 EXCL netbsd32_nfssvc d251 3 a253 3 156 COMPAT_43 { int netbsd32_ogetdirentries(int fd, netbsd32_charp buf, u_int count, netbsd32_longp basep); } 157 STD { int netbsd32_statfs(const netbsd32_charp path, netbsd32_statfsp_t buf); } 158 STD { int netbsd32_fstatfs(int fd, netbsd32_statfsp_t buf); } d257 1 a257 1 161 STD { int netbsd32_getfh(const netbsd32_charp fname, netbsd32_fhandlep_t fhp); } d259 1 a259 1 161 EXCL netbsd32_getfh d261 4 a264 4 162 COMPAT_09 { int netbsd32_ogetdomainname(netbsd32_charp domainname, int len); } 163 COMPAT_09 { int netbsd32_osetdomainname(netbsd32_charp domainname, int len); } 164 COMPAT_09 { int netbsd32_uname(netbsd32_outsnamep_t name); } 165 STD { int netbsd32_sysarch(int op, netbsd32_voidp parms); } d269 2 a270 2 #if (defined(SYSVSEM) || !defined(_KERNEL)) && !defined(alpha) && defined(COMPAT_10) 169 STD { int netbsd32_compat_10_sys_semsys(int which, int a2, int a3, int a4, int a5); } osemsys d276 1 a276 1 170 STD { int netbsd32_compat_10_sys_msgsys(int which, int a2, int a3, int a4, int a5, int a6); } omsgsys d282 1 a282 1 171 STD { int netbsd32_compat_10_sys_shmsys(int which, int a2, int a3, int a4); } oshmsys d287 2 a288 2 173 STD { netbsd32_ssize_t netbsd32_pread(int fd, netbsd32_voidp buf, netbsd32_size_t nbyte, int pad, off_t offset); } 174 STD { netbsd32_ssize_t netbsd32_pwrite(int fd, const netbsd32_voidp buf, netbsd32_size_t nbyte, int pad, off_t offset); } d290 2 a291 2 175 STD { int netbsd32_ntp_gettime(netbsd32_ntptimevalp_t ntvp); } 176 STD { int netbsd32_ntp_adjtime(netbsd32_timexp_t tp); } d293 2 a294 2 175 EXCL netbsd32_ntp_gettime 176 EXCL netbsd32_ntp_adjtime d302 3 a304 3 181 STD { int netbsd32_setgid(gid_t gid); } 182 STD { int netbsd32_setegid(gid_t egid); } 183 STD { int netbsd32_seteuid(uid_t euid); } d306 15 a320 15 184 STD { int netbsd32_sys_lfs_bmapv(netbsd32_fsid_tp_t fsidp, netbsd32_block_infop_t blkiov, int blkcnt); } 185 STD { int netbsd32_sys_lfs_markv(netbsd32_fsid_tp_t fsidp, netbsd32_block_infop_t blkiov, int blkcnt); } 186 STD { int netbsd32_sys_lfs_segclean(netbsd32_fsid_tp_t fsidp, netbsd32_u_long segment); } 187 STD { int netbsd32_sys_lfs_segwait(netbsd32_fsid_tp_t fsidp, netbsd32_timevalp_t tv); } #else 184 EXCL netbsd32_sys_lfs_bmapv 185 EXCL netbsd32_sys_lfs_markv 186 EXCL netbsd32_sys_lfs_segclean 187 EXCL netbsd32_sys_lfs_segwait #endif 188 COMPAT_12 { int netbsd32_stat12(const netbsd32_charp path, netbsd32_stat12p_t ub); } 189 COMPAT_12 { int netbsd32_fstat12(int fd, netbsd32_stat12p_t sb); } 190 COMPAT_12 { int netbsd32_lstat12(const netbsd32_charp path, netbsd32_stat12p_t ub); } 191 STD { netbsd32_long netbsd32_pathconf(const netbsd32_charp path, int name); } 192 STD { netbsd32_long netbsd32_fpathconf(int fd, int name); } d322 4 a325 4 194 STD { int netbsd32_getrlimit(int which, netbsd32_rlimitp_t rlp); } 195 STD { int netbsd32_setrlimit(int which, const netbsd32_rlimitp_t rlp); } 196 COMPAT_12 { int netbsd32_getdirentries(int fd, netbsd32_charp buf, u_int count, netbsd32_longp basep); } 197 STD { netbsd32_voidp netbsd32_mmap(netbsd32_voidp addr, netbsd32_size_t len, int prot, int flags, int fd, netbsd32_long pad, off_t pos); } d327 11 a337 11 199 STD { off_t netbsd32_lseek(int fd, int pad, off_t offset, int whence); } 200 STD { int netbsd32_truncate(const netbsd32_charp path, int pad, off_t length); } 201 STD { int netbsd32_ftruncate(int fd, int pad, off_t length); } 202 STD { int netbsd32___sysctl(netbsd32_intp name, u_int namelen, netbsd32_voidp old, netbsd32_size_tp oldlenp, netbsd32_voidp new, netbsd32_size_t newlen); } 203 STD { int netbsd32_mlock(const netbsd32_voidp addr, netbsd32_size_t len); } 204 STD { int netbsd32_munlock(const netbsd32_voidp addr, netbsd32_size_t len); } 205 STD { int netbsd32_undelete(const netbsd32_charp path); } 206 STD { int netbsd32_futimes(int fd, const netbsd32_timevalp_t tptr); } 207 STD { int netbsd32_getpgid(pid_t pid); } 208 STD { int netbsd32_reboot(int opt, netbsd32_charp bootstr); } 209 STD { int netbsd32_poll(netbsd32_pollfdp_t fds, u_int nfds, int timeout); } d366 9 a374 9 220 COMPAT_14 { int netbsd32___semctl(int semid, int semnum, int cmd, netbsd32_semunu_t arg); } 221 STD { int netbsd32_semget(netbsd32_key_t key, int nsems, int semflg); } 222 STD { int netbsd32_semop(int semid, netbsd32_sembufp_t sops, netbsd32_size_t nsops); } 223 STD { int netbsd32_semconfig(int flag); } #else 220 EXCL netbsd32_semctl 221 EXCL netbsd32_semget 222 EXCL netbsd32_semop 223 EXCL netbsd32_semconfig d377 9 a385 9 224 COMPAT_14 { int netbsd32_msgctl(int msqid, int cmd, netbsd32_msqid_dsp_t buf); } 225 STD { int netbsd32_msgget(netbsd32_key_t key, int msgflg); } 226 STD { int netbsd32_msgsnd(int msqid, const netbsd32_voidp msgp, netbsd32_size_t msgsz, int msgflg); } 227 STD { netbsd32_ssize_t netbsd32_msgrcv(int msqid, netbsd32_voidp msgp, netbsd32_size_t msgsz, netbsd32_long msgtyp, int msgflg); } #else 224 EXCL netbsd32_msgctl 225 EXCL netbsd32_msgget 226 EXCL netbsd32_msgsnd 227 EXCL netbsd32_msgrcv d388 13 a400 13 228 STD { netbsd32_voidp netbsd32_shmat(int shmid, const netbsd32_voidp shmaddr, int shmflg); } 229 COMPAT_14 { int netbsd32_shmctl(int shmid, int cmd, netbsd32_shmid_dsp_t buf); } 230 STD { int netbsd32_shmdt(const netbsd32_voidp shmaddr); } 231 STD { int netbsd32_shmget(netbsd32_key_t key, netbsd32_size_t size, int shmflg); } #else 228 EXCL netbsd32_shmat 229 EXCL netbsd32_shmctl 230 EXCL netbsd32_shmdt 231 EXCL netbsd32_shmget #endif 232 STD { int netbsd32_clock_gettime(netbsd32_clockid_t clock_id, netbsd32_timespecp_t tp); } 233 STD { int netbsd32_clock_settime(netbsd32_clockid_t clock_id, const netbsd32_timespecp_t tp); } 234 STD { int netbsd32_clock_getres(netbsd32_clockid_t clock_id, netbsd32_timespecp_t tp); } d409 2 a410 2 240 STD { int netbsd32_nanosleep(const netbsd32_timespecp_t rqtp, netbsd32_timespecp_t rmtp); } 241 STD { int netbsd32_fdatasync(int fd); } d439 12 a450 12 270 STD { int netbsd32___posix_rename(const netbsd32_charp from, const netbsd32_charp to); } 271 STD { int netbsd32_swapctl(int cmd, const netbsd32_voidp arg, int misc); } 272 STD { int netbsd32_getdents(int fd, netbsd32_charp buf, netbsd32_size_t count); } 273 STD { int netbsd32_minherit(netbsd32_voidp addr, netbsd32_size_t len, int inherit); } 274 STD { int netbsd32_lchmod(const netbsd32_charp path, mode_t mode); } 275 STD { int netbsd32_lchown(const netbsd32_charp path, uid_t uid, gid_t gid); } 276 STD { int netbsd32_lutimes(const netbsd32_charp path, const netbsd32_timevalp_t tptr); } 277 STD { int netbsd32___msync13(netbsd32_voidp addr, netbsd32_size_t len, int flags); } 278 STD { int netbsd32___stat13(const netbsd32_charp path, netbsd32_statp_t ub); } 279 STD { int netbsd32___fstat13(int fd, netbsd32_statp_t sb); } 280 STD { int netbsd32___lstat13(const netbsd32_charp path, netbsd32_statp_t ub); } 281 STD { int netbsd32___sigaltstack14(const netbsd32_sigaltstackp_t nss, netbsd32_sigaltstackp_t oss); } d452 4 a455 4 283 STD { int netbsd32___posix_chown(const netbsd32_charp path, uid_t uid, gid_t gid); } 284 STD { int netbsd32___posix_fchown(int fd, uid_t uid, gid_t gid); } 285 STD { int netbsd32___posix_lchown(const netbsd32_charp path, uid_t uid, gid_t gid); } 286 STD { pid_t netbsd32_getsid(pid_t pid); } d458 1 a458 1 288 STD { int netbsd32_fktrace(const int fd, int ops, int facs, int pid); } d460 1 a460 1 288 EXCL netbsd32_fktrace d462 2 a463 2 289 STD { netbsd32_ssize_t netbsd32_preadv(int fd, const netbsd32_iovecp_t iovp, int iovcnt, int pad, off_t offset); } 290 STD { netbsd32_ssize_t netbsd32_pwritev(int fd, const netbsd32_iovecp_t iovp, int iovcnt, int pad, off_t offset); } @ 1.8 log @Propagate kern changes @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.7 1999/03/25 16:22:50 mrg Exp $ d142 1 a142 1 69 STD { int compat_netbsd32_sbrk(int incr); } @ 1.7 log @move sparc32 to netbsd32; split out MD part (signal handling) (mostly via repository copy, rename and perl -pi :-) @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.6 1999/03/25 15:33:48 mrg Exp $ d18 1 d108 1 a108 1 #ifdef KTRACE d111 1 a111 1 45 UNIMPL compat_netbsd32_ktrace a192 3 #ifdef TRACE 115 STD { int compat_netbsd32_vtrace(int request, int value); } #else a193 1 #endif d246 1 a246 1 #if defined(NFS) || defined(NFSSERVER) d249 1 a249 1 155 UNIMPL d256 1 a256 1 #if defined(NFS) || defined(NFSSERVER) d259 1 a259 1 161 UNIMPL compat_netbsd32_getfh d269 1 a269 1 #if defined(SYSVSEM) && !defined(alpha) && defined(COMPAT_10) d272 1 a272 1 169 UNIMPL 1.0 semsys d275 1 a275 1 #if defined(SYSVMSG) && !defined(alpha) && defined(COMPAT_10) d278 1 a278 1 170 UNIMPL 1.0 msgsys d281 1 a281 1 #if defined(SYSVSHM) && !defined(alpha) && defined(COMPAT_10) d284 1 a284 1 171 UNIMPL 1.0 shmsys d289 1 a289 1 #ifdef NTP d293 2 a294 2 175 UNIMPL compat_netbsd32_ntp_gettime 176 UNIMPL compat_netbsd32_ntp_adjtime d305 10 a314 10 #ifdef LFS 184 STD { int compat_netbsd32_lfs_bmapv(netbsd32_fsid_tp_t fsidp, netbsd32_block_infop_t blkiov, int blkcnt); } 185 STD { int compat_netbsd32_lfs_markv(netbsd32_fsid_tp_t fsidp, netbsd32_block_infop_t blkiov, int blkcnt); } 186 STD { int compat_netbsd32_lfs_segclean(netbsd32_fsid_tp_t fsidp, netbsd32_u_long segment); } 187 STD { int compat_netbsd32_lfs_segwait(netbsd32_fsid_tp_t fsidp, netbsd32_timevalp_t tv); } #else 184 UNIMPL 185 UNIMPL 186 UNIMPL 187 UNIMPL d341 1 a341 1 #ifdef LKM d352 12 a363 12 #else /* !LKM */ 210 UNIMPL 211 UNIMPL 212 UNIMPL 213 UNIMPL 214 UNIMPL 215 UNIMPL 216 UNIMPL 217 UNIMPL 218 UNIMPL 219 UNIMPL #endif /* !LKM */ d365 1 a365 1 #ifdef SYSVSEM d371 4 a374 4 220 UNIMPL compat_netbsd32_semctl 221 UNIMPL compat_netbsd32_semget 222 UNIMPL compat_netbsd32_semop 223 UNIMPL compat_netbsd32_semconfig d376 1 a376 1 #ifdef SYSVMSG d382 4 a385 4 224 UNIMPL compat_netbsd32_msgctl 225 UNIMPL compat_netbsd32_msgget 226 UNIMPL compat_netbsd32_msgsnd 227 UNIMPL compat_netbsd32_msgrcv d387 1 a387 1 #ifdef SYSVSHM d393 4 a396 4 228 UNIMPL compat_netbsd32_shmat 229 UNIMPL compat_netbsd32_shmctl 230 UNIMPL compat_netbsd32_shmdt 231 UNIMPL compat_netbsd32_shmget d457 1 a457 1 #ifdef KTRACE d460 1 a460 1 288 UNIMPL @ 1.7.4.1 log @Sync w/ -current. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.8 1999/06/09 04:50:11 christos Exp $ a17 1 ; EXCL implemented, but not included in system d107 1 a107 1 #if defined(KTRACE) || !defined(_KERNEL) d110 1 a110 1 45 EXCL compat_netbsd32_ktrace d192 3 d196 1 d249 1 a249 1 #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL) d252 1 a252 1 155 EXCL compat_netbsd32_nfssvc d259 1 a259 1 #if defined(NFS) || defined(NFSSERVER) || !defined(_KERNEL) d262 1 a262 1 161 EXCL compat_netbsd32_getfh d272 1 a272 1 #if (defined(SYSVSEM) || !defined(_KERNEL) && !defined(alpha) && defined(COMPAT_10) d275 1 a275 1 169 EXCL 1.0 semsys d278 1 a278 1 #if (defined(SYSVMSG) || !defined(_KERNEL)) && !defined(alpha) && defined(COMPAT_10) d281 1 a281 1 170 EXCL 1.0 msgsys d284 1 a284 1 #if (defined(SYSVSHM) || !defined(_KERNEL)) && !defined(alpha) && defined(COMPAT_10) d287 1 a287 1 171 EXCL 1.0 shmsys d292 1 a292 1 #if defined(NTP) && !defined(_KERNEL) d296 2 a297 2 175 EXCL compat_netbsd32_ntp_gettime 176 EXCL compat_netbsd32_ntp_adjtime d308 10 a317 10 #if defined(LFS) || !defined(_KERNEL) 184 STD { int compat_netbsd32_sys_lfs_bmapv(netbsd32_fsid_tp_t fsidp, netbsd32_block_infop_t blkiov, int blkcnt); } 185 STD { int compat_netbsd32_sys_lfs_markv(netbsd32_fsid_tp_t fsidp, netbsd32_block_infop_t blkiov, int blkcnt); } 186 STD { int compat_netbsd32_sys_lfs_segclean(netbsd32_fsid_tp_t fsidp, netbsd32_u_long segment); } 187 STD { int compat_netbsd32_sys_lfs_segwait(netbsd32_fsid_tp_t fsidp, netbsd32_timevalp_t tv); } #else 184 EXCL compat_netbsd32_sys_lfs_bmapv 185 EXCL compat_netbsd32_sys_lfs_markv 186 EXCL compat_netbsd32_sys_lfs_segclean 187 EXCL compat_netbsd32_sys_lfs_segwait d344 1 a344 1 #if defined(LKM) || !defined(_KERNEL) d355 12 a366 12 #else /* !LKM || !_KERNEL */ 210 EXCL lkmnosys 211 EXCL lkmnosys 212 EXCL lkmnosys 213 EXCL lkmnosys 214 EXCL lkmnosys 215 EXCL lkmnosys 216 EXCL lkmnosys 217 EXCL lkmnosys 218 EXCL lkmnosys 219 EXCL lkmnosys #endif /* !LKM || !_KERNEL */ d368 1 a368 1 #if defined(SYSVSEM) || !defined(_KERNEL) d374 4 a377 4 220 EXCL compat_netbsd32_semctl 221 EXCL compat_netbsd32_semget 222 EXCL compat_netbsd32_semop 223 EXCL compat_netbsd32_semconfig d379 1 a379 1 #if defined(SYSVMSG) || !defined(_KERNEL) d385 4 a388 4 224 EXCL compat_netbsd32_msgctl 225 EXCL compat_netbsd32_msgget 226 EXCL compat_netbsd32_msgsnd 227 EXCL compat_netbsd32_msgrcv d390 1 a390 1 #if defined(SYSVSHM) || !defined(_KERNEL) d396 4 a399 4 228 EXCL compat_netbsd32_shmat 229 EXCL compat_netbsd32_shmctl 230 EXCL compat_netbsd32_shmdt 231 EXCL compat_netbsd32_shmget d460 1 a460 1 #if defined(KTRACE) || !defined(_KERNEL) d463 1 a463 1 288 EXCL compat_netbsd32_fktrace @ 1.7.4.2 log @Update from trunk. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.7.4.1 1999/06/21 01:08:09 thorpej Exp $ d142 1 a142 1 69 STD { int compat_netbsd32_sbrk(netbsd32_intptr_t incr); } @ 1.6 log @make this match the main syscalls.master a bit better. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.5 1998/12/10 17:03:20 christos Exp $ d53 2 a54 2 #include #include d63 1 a63 1 1 STD { void compat_sparc32_exit(int rval); } d65 8 a72 8 3 STD { sparc32_ssize_t compat_sparc32_read(int fd, sparc32_voidp buf, sparc32_size_t nbyte); } 4 STD { sparc32_ssize_t compat_sparc32_write(int fd, const sparc32_voidp buf, sparc32_size_t nbyte); } 5 STD { int compat_sparc32_open(const sparc32_charp path, int flags, ... mode_t mode); } 6 STD { int compat_sparc32_close(int fd); } 7 STD { int compat_sparc32_wait4(int pid, sparc32_intp status, int options, sparc32_rusagep_t rusage); } 8 COMPAT_43 { int compat_sparc32_ocreat(const sparc32_charp path, mode_t mode); } 9 STD { int compat_sparc32_link(const sparc32_charp path, const sparc32_charp link); } 10 STD { int compat_sparc32_unlink(const sparc32_charp path); } d74 8 a81 8 12 STD { int compat_sparc32_chdir(const sparc32_charp path); } 13 STD { int compat_sparc32_fchdir(int fd); } 14 STD { int compat_sparc32_mknod(const sparc32_charp path, mode_t mode, dev_t dev); } 15 STD { int compat_sparc32_chmod(const sparc32_charp path, mode_t mode); } 16 STD { int compat_sparc32_chown(const sparc32_charp path, uid_t uid, gid_t gid); } 17 STD { int compat_sparc32_break(sparc32_charp nsize); } 18 STD { int compat_sparc32_getfsstat(sparc32_statfsp_t buf, sparc32_long bufsize, int flags); } 19 COMPAT_43 { sparc32_long compat_sparc32_olseek(int fd, sparc32_long offset, int whence); } d83 3 a85 3 21 STD { int compat_sparc32_mount(const sparc32_charp type, const sparc32_charp path, int flags, sparc32_voidp data); } 22 STD { int compat_sparc32_unmount(const sparc32_charp path, int flags); } 23 STD { int compat_sparc32_setuid(uid_t uid); } d88 10 a97 10 26 STD { int compat_sparc32_ptrace(int req, pid_t pid, sparc32_caddr_t addr, int data); } 27 STD { sparc32_ssize_t compat_sparc32_recvmsg(int s, sparc32_msghdrp_t msg, int flags); } 28 STD { sparc32_ssize_t compat_sparc32_sendmsg(int s, const sparc32_msghdrp_t msg, int flags); } 29 STD { sparc32_ssize_t compat_sparc32_recvfrom(int s, sparc32_voidp buf, sparc32_size_t len, int flags, sparc32_sockaddrp_t from, sparc32_intp fromlenaddr); } 30 STD { int compat_sparc32_accept(int s, sparc32_sockaddrp_t name, sparc32_intp anamelen); } 31 STD { int compat_sparc32_getpeername(int fdes, sparc32_sockaddrp_t asa, sparc32_intp alen); } 32 STD { int compat_sparc32_getsockname(int fdes, sparc32_sockaddrp_t asa, sparc32_intp alen); } 33 STD { int compat_sparc32_access(const sparc32_charp path, int flags); } 34 STD { int compat_sparc32_chflags(const sparc32_charp path, sparc32_u_long flags); } 35 STD { int compat_sparc32_fchflags(int fd, sparc32_u_long flags); } d99 2 a100 2 37 STD { int compat_sparc32_kill(int pid, int signum); } 38 COMPAT_43 { int compat_sparc32_stat43(const sparc32_charp path, sparc32_stat43p_t ub); } d102 2 a103 2 40 COMPAT_43 { int compat_sparc32_lstat43(const sparc32_charp path, sparc32_stat43p_t ub); } 41 STD { int compat_sparc32_dup(int fd); } d106 1 a106 1 44 STD { int compat_sparc32_profil(sparc32_caddr_t samples, sparc32_size_t size, sparc32_u_long offset, u_int scale); } d108 1 a108 1 45 STD { int compat_sparc32_ktrace(const sparc32_charp fname, int ops, int facs, int pid); } d110 1 a110 1 45 UNIMPL compat_sparc32_ktrace d112 1 a112 1 46 STD { int compat_sparc32_sigaction(int signum, const sparc32_sigactionp_t nsa, sparc32_sigactionp_t osa); } d114 1 a114 1 48 COMPAT_13 { int compat_sparc32_sigprocmask(int how, \ d116 3 a118 3 49 STD { int compat_sparc32___getlogin(sparc32_charp namebuf, u_int namelen); } 50 STD { int compat_sparc32_setlogin(const sparc32_charp namebuf); } 51 STD { int compat_sparc32_acct(const sparc32_charp path); } d120 2 a121 2 53 COMPAT_13 { int compat_sparc32_sigaltstack13(const sparc32_sigaltstack13p_t nss, sparc32_sigaltstack13p_t oss); } 54 STD { int compat_sparc32_ioctl(int fd, sparc32_u_long com, ... sparc32_voidp data); } d123 1 a123 1 55 COMPAT_12 { int compat_sparc32_reboot(int opt); } d127 8 a134 8 56 STD { int compat_sparc32_revoke(const sparc32_charp path); } 57 STD { int compat_sparc32_symlink(const sparc32_charp path, const sparc32_charp link); } 58 STD { int compat_sparc32_readlink(const sparc32_charp path, sparc32_charp buf, sparc32_size_t count); } 59 STD { int compat_sparc32_execve(const sparc32_charp path, sparc32_charpp argp, sparc32_charpp envp); } 60 STD { mode_t compat_sparc32_umask(mode_t newmask); } 61 STD { int compat_sparc32_chroot(const sparc32_charp path); } 62 COMPAT_43 { int compat_sparc32_fstat43(int fd, sparc32_stat43p_t sb); } 63 COMPAT_43 { int compat_sparc32_ogetkerninfo(int op, sparc32_charp where, sparc32_intp size, int arg); } d136 1 a136 1 65 COMPAT_12 { int compat_sparc32_msync(sparc32_caddr_t addr, sparc32_size_t len); } d141 7 a147 7 69 STD { int compat_sparc32_sbrk(int incr); } 70 STD { int compat_sparc32_sstk(int incr); } 71 COMPAT_43 { int compat_sparc32_ommap(sparc32_caddr_t addr, sparc32_size_t len, int prot, int flags, int fd, sparc32_long pos); } 72 STD { int compat_sparc32_ovadvise(int anom); } vadvise 73 STD { int compat_sparc32_munmap(sparc32_voidp addr, sparc32_size_t len); } 74 STD { int compat_sparc32_mprotect(sparc32_voidp addr, sparc32_size_t len, int prot); } 75 STD { int compat_sparc32_madvise(sparc32_voidp addr, sparc32_size_t len, int behav); } d150 3 a152 3 78 STD { int compat_sparc32_mincore(sparc32_caddr_t addr, sparc32_size_t len, sparc32_charp vec); } 79 STD { int compat_sparc32_getgroups(int gidsetsize, sparc32_gid_tp gidset); } 80 STD { int compat_sparc32_setgroups(int gidsetsize, const sparc32_gid_tp gidset); } d154 2 a155 2 82 STD { int compat_sparc32_setpgid(int pid, int pgid); } 83 STD { int compat_sparc32_setitimer(int which, const sparc32_itimervalp_t itv, sparc32_itimervalp_t oitv); } d157 4 a160 4 85 COMPAT_12 { int compat_sparc32_oswapon(const sparc32_charp name); } 86 STD { int compat_sparc32_getitimer(int which, sparc32_itimervalp_t itv); } 87 COMPAT_43 { int compat_sparc32_ogethostname(sparc32_charp hostname, u_int len); } 88 COMPAT_43 { int compat_sparc32_osethostname(sparc32_charp hostname, u_int len); } d162 1 a162 1 90 STD { int compat_sparc32_dup2(int from, int to); } d164 2 a165 2 92 STD { int compat_sparc32_fcntl(int fd, int cmd, ... sparc32_voidp arg); } 93 STD { int compat_sparc32_select(int nd, sparc32_fd_setp_t in, sparc32_fd_setp_t ou, sparc32_fd_setp_t ex, sparc32_timevalp_t tv); } d167 12 a178 12 95 STD { int compat_sparc32_fsync(int fd); } 96 STD { int compat_sparc32_setpriority(int which, int who, int prio); } 97 STD { int compat_sparc32_socket(int domain, int type, int protocol); } 98 STD { int compat_sparc32_connect(int s, const sparc32_sockaddrp_t name, int namelen); } 99 COMPAT_43 { int compat_sparc32_oaccept(int s, sparc32_caddr_t name, sparc32_intp anamelen); } 100 STD { int compat_sparc32_getpriority(int which, int who); } 101 COMPAT_43 { int compat_sparc32_osend(int s, sparc32_caddr_t buf, int len, int flags); } 102 COMPAT_43 { int compat_sparc32_orecv(int s, sparc32_caddr_t buf, int len, int flags); } 103 STD { int compat_sparc32_sigreturn(sparc32_sigcontextp_t sigcntxp); } 104 STD { int compat_sparc32_bind(int s, const sparc32_sockaddrp_t name, int namelen); } 105 STD { int compat_sparc32_setsockopt(int s, int level, int name, const sparc32_voidp val, int valsize); } 106 STD { int compat_sparc32_listen(int s, int backlog); } d180 1 a180 1 108 COMPAT_43 { int compat_sparc32_osigvec(int signum, sparc32_sigvecp_t nsv, sparc32_sigvecp_t osv); } d182 2 a183 2 109 COMPAT_43 { int compat_sparc32_sigblock(int mask); } 110 COMPAT_43 { int compat_sparc32_sigsetmask(int mask); } d188 4 a191 4 111 COMPAT_13 { int compat_sparc32_sigsuspend(int mask); } sigsuspend13 112 COMPAT_43 { int compat_sparc32_osigstack(sparc32_sigstackp_t nss, sparc32_sigstackp_t oss); } 113 COMPAT_43 { int compat_sparc32_orecvmsg(int s, sparc32_omsghdrp_t msg, int flags); } 114 COMPAT_43 { int compat_sparc32_osendmsg(int s, sparc32_caddr_t msg, int flags); } d193 1 a193 1 115 STD { int compat_sparc32_vtrace(int request, int value); } d197 3 a199 3 116 STD { int compat_sparc32_gettimeofday(sparc32_timevalp_t tp, sparc32_timezonep_t tzp); } 117 STD { int compat_sparc32_getrusage(int who, sparc32_rusagep_t rusage); } 118 STD { int compat_sparc32_getsockopt(int s, int level, int name, sparc32_voidp val, sparc32_intp avalsize); } d201 19 a219 19 120 STD { sparc32_ssize_t compat_sparc32_readv(int fd, const sparc32_iovecp_t iovp, int iovcnt); } 121 STD { sparc32_ssize_t compat_sparc32_writev(int fd, const sparc32_iovecp_t iovp, int iovcnt); } 122 STD { int compat_sparc32_settimeofday(const sparc32_timevalp_t tv, const sparc32_timezonep_t tzp); } 123 STD { int compat_sparc32_fchown(int fd, uid_t uid, gid_t gid); } 124 STD { int compat_sparc32_fchmod(int fd, mode_t mode); } 125 COMPAT_43 { int compat_sparc32_orecvfrom(int s, sparc32_caddr_t buf, sparc32_size_t len, int flags, sparc32_caddr_t from, sparc32_intp fromlenaddr); } 126 STD { int compat_sparc32_setreuid(uid_t ruid, uid_t euid); } 127 STD { int compat_sparc32_setregid(gid_t rgid, gid_t egid); } 128 STD { int compat_sparc32_rename(const sparc32_charp from, const sparc32_charp to); } 129 COMPAT_43 { int compat_sparc32_otruncate(const sparc32_charp path, sparc32_long length); } 130 COMPAT_43 { int compat_sparc32_oftruncate(int fd, sparc32_long length); } 131 STD { int compat_sparc32_flock(int fd, int how); } 132 STD { int compat_sparc32_mkfifo(const sparc32_charp path, mode_t mode); } 133 STD { sparc32_ssize_t compat_sparc32_sendto(int s, const sparc32_voidp buf, sparc32_size_t len, int flags, const sparc32_sockaddrp_t to, int tolen); } 134 STD { int compat_sparc32_shutdown(int s, int how); } 135 STD { int compat_sparc32_socketpair(int domain, int type, int protocol, sparc32_intp rsv); } 136 STD { int compat_sparc32_mkdir(const sparc32_charp path, mode_t mode); } 137 STD { int compat_sparc32_rmdir(const sparc32_charp path); } 138 STD { int compat_sparc32_utimes(const sparc32_charp path, const sparc32_timevalp_t tptr); } d221 2 a222 2 140 STD { int compat_sparc32_adjtime(const sparc32_timevalp_t delta, sparc32_timevalp_t olddelta); } 141 COMPAT_43 { int compat_sparc32_ogetpeername(int fdes, sparc32_caddr_t asa, sparc32_intp alen); } d225 1 a225 1 143 COMPAT_43 { int compat_sparc32_sethostid(int32_t hostid); } d229 2 a230 2 144 COMPAT_43 { int compat_sparc32_ogetrlimit(int which, sparc32_orlimitp_t rlp); } 145 COMPAT_43 { int compat_sparc32_osetrlimit(int which, const sparc32_orlimitp_t rlp); } d232 1 a232 1 146 COMPAT_43 { int compat_sparc32_killpg(int pgid, int signum); } d237 1 a237 1 148 STD { int compat_sparc32_quotactl(const sparc32_charp path, int cmd, int uid, sparc32_caddr_t arg); } d239 1 a239 1 150 COMPAT_43 { int compat_sparc32_ogetsockname(int fdec, sparc32_caddr_t asa, sparc32_intp alen); } d250 1 a250 1 155 STD { int compat_sparc32_nfssvc(int flag, sparc32_voidp argp); } d254 3 a256 3 156 COMPAT_43 { int compat_sparc32_ogetdirentries(int fd, sparc32_charp buf, u_int count, sparc32_longp basep); } 157 STD { int compat_sparc32_statfs(const sparc32_charp path, sparc32_statfsp_t buf); } 158 STD { int compat_sparc32_fstatfs(int fd, sparc32_statfsp_t buf); } d260 1 a260 1 161 STD { int compat_sparc32_getfh(const sparc32_charp fname, sparc32_fhandlep_t fhp); } d262 1 a262 1 161 UNIMPL compat_sparc32_getfh d264 4 a267 4 162 COMPAT_09 { int compat_sparc32_ogetdomainname(sparc32_charp domainname, int len); } 163 COMPAT_09 { int compat_sparc32_osetdomainname(sparc32_charp domainname, int len); } 164 COMPAT_09 { int compat_sparc32_uname(sparc32_outsnamep_t name); } 165 STD { int compat_sparc32_sysarch(int op, sparc32_voidp parms); } d271 1 a271 1 ; XXX more generally, never on machines where sizeof(sparc32_voidp ) != sizeof(int) d273 1 a273 1 169 STD { int compat_sparc32_compat_10_sys_semsys(int which, int a2, int a3, int a4, int a5); } osemsys d277 1 a277 1 ; XXX more generally, never on machines where sizeof(sparc32_voidp ) != sizeof(int) d279 1 a279 1 170 STD { int compat_sparc32_compat_10_sys_msgsys(int which, int a2, int a3, int a4, int a5, int a6); } omsgsys d283 1 a283 1 ; XXX more generally, never on machines where sizeof(sparc32_voidp ) != sizeof(int) d285 1 a285 1 171 STD { int compat_sparc32_compat_10_sys_shmsys(int which, int a2, int a3, int a4); } oshmsys d290 2 a291 2 173 STD { sparc32_ssize_t compat_sparc32_pread(int fd, sparc32_voidp buf, sparc32_size_t nbyte, int pad, off_t offset); } 174 STD { sparc32_ssize_t compat_sparc32_pwrite(int fd, const sparc32_voidp buf, sparc32_size_t nbyte, int pad, off_t offset); } d293 2 a294 2 175 STD { int compat_sparc32_ntp_gettime(sparc32_ntptimevalp_t ntvp); } 176 STD { int compat_sparc32_ntp_adjtime(sparc32_timexp_t tp); } d296 2 a297 2 175 UNIMPL compat_sparc32_ntp_gettime 176 UNIMPL compat_sparc32_ntp_adjtime d305 3 a307 3 181 STD { int compat_sparc32_setgid(gid_t gid); } 182 STD { int compat_sparc32_setegid(gid_t egid); } 183 STD { int compat_sparc32_seteuid(uid_t euid); } d309 4 a312 4 184 STD { int compat_sparc32_lfs_bmapv(sparc32_fsid_tp_t fsidp, sparc32_block_infop_t blkiov, int blkcnt); } 185 STD { int compat_sparc32_lfs_markv(sparc32_fsid_tp_t fsidp, sparc32_block_infop_t blkiov, int blkcnt); } 186 STD { int compat_sparc32_lfs_segclean(sparc32_fsid_tp_t fsidp, sparc32_u_long segment); } 187 STD { int compat_sparc32_lfs_segwait(sparc32_fsid_tp_t fsidp, sparc32_timevalp_t tv); } d319 5 a323 5 188 COMPAT_12 { int compat_sparc32_stat12(const sparc32_charp path, sparc32_stat12p_t ub); } 189 COMPAT_12 { int compat_sparc32_fstat12(int fd, sparc32_stat12p_t sb); } 190 COMPAT_12 { int compat_sparc32_lstat12(const sparc32_charp path, sparc32_stat12p_t ub); } 191 STD { sparc32_long compat_sparc32_pathconf(const sparc32_charp path, int name); } 192 STD { sparc32_long compat_sparc32_fpathconf(int fd, int name); } d325 4 a328 4 194 STD { int compat_sparc32_getrlimit(int which, sparc32_rlimitp_t rlp); } 195 STD { int compat_sparc32_setrlimit(int which, const sparc32_rlimitp_t rlp); } 196 COMPAT_12 { int compat_sparc32_getdirentries(int fd, sparc32_charp buf, u_int count, sparc32_longp basep); } 197 STD { sparc32_voidp compat_sparc32_mmap(sparc32_voidp addr, sparc32_size_t len, int prot, int flags, int fd, sparc32_long pad, off_t pos); } d330 11 a340 11 199 STD { off_t compat_sparc32_lseek(int fd, int pad, off_t offset, int whence); } 200 STD { int compat_sparc32_truncate(const sparc32_charp path, int pad, off_t length); } 201 STD { int compat_sparc32_ftruncate(int fd, int pad, off_t length); } 202 STD { int compat_sparc32___sysctl(sparc32_intp name, u_int namelen, sparc32_voidp old, sparc32_size_tp oldlenp, sparc32_voidp new, sparc32_size_t newlen); } 203 STD { int compat_sparc32_mlock(const sparc32_voidp addr, sparc32_size_t len); } 204 STD { int compat_sparc32_munlock(const sparc32_voidp addr, sparc32_size_t len); } 205 STD { int compat_sparc32_undelete(const sparc32_charp path); } 206 STD { int compat_sparc32_futimes(int fd, const sparc32_timevalp_t tptr); } 207 STD { int compat_sparc32_getpgid(pid_t pid); } 208 STD { int compat_sparc32_reboot(int opt, sparc32_charp bootstr); } 209 STD { int compat_sparc32_poll(sparc32_pollfdp_t fds, u_int nfds, int timeout); } d369 9 a377 9 220 STD { int compat_sparc32___semctl(int semid, int semnum, int cmd, sparc32_semunu_t arg); } 221 STD { int compat_sparc32_semget(sparc32_key_t key, int nsems, int semflg); } 222 STD { int compat_sparc32_semop(int semid, sparc32_sembufp_t sops, sparc32_size_t nsops); } 223 STD { int compat_sparc32_semconfig(int flag); } #else 220 UNIMPL compat_sparc32_semctl 221 UNIMPL compat_sparc32_semget 222 UNIMPL compat_sparc32_semop 223 UNIMPL compat_sparc32_semconfig d380 9 a388 9 224 STD { int compat_sparc32_msgctl(int msqid, int cmd, sparc32_msqid_dsp_t buf); } 225 STD { int compat_sparc32_msgget(sparc32_key_t key, int msgflg); } 226 STD { int compat_sparc32_msgsnd(int msqid, const sparc32_voidp msgp, sparc32_size_t msgsz, int msgflg); } 227 STD { sparc32_ssize_t compat_sparc32_msgrcv(int msqid, sparc32_voidp msgp, sparc32_size_t msgsz, sparc32_long msgtyp, int msgflg); } #else 224 UNIMPL compat_sparc32_msgctl 225 UNIMPL compat_sparc32_msgget 226 UNIMPL compat_sparc32_msgsnd 227 UNIMPL compat_sparc32_msgrcv d391 13 a403 13 228 STD { sparc32_voidp compat_sparc32_shmat(int shmid, const sparc32_voidp shmaddr, int shmflg); } 229 STD { int compat_sparc32_shmctl(int shmid, int cmd, sparc32_shmid_dsp_t buf); } 230 STD { int compat_sparc32_shmdt(const sparc32_voidp shmaddr); } 231 STD { int compat_sparc32_shmget(sparc32_key_t key, sparc32_size_t size, int shmflg); } #else 228 UNIMPL compat_sparc32_shmat 229 UNIMPL compat_sparc32_shmctl 230 UNIMPL compat_sparc32_shmdt 231 UNIMPL compat_sparc32_shmget #endif 232 STD { int compat_sparc32_clock_gettime(sparc32_clockid_t clock_id, sparc32_timespecp_t tp); } 233 STD { int compat_sparc32_clock_settime(sparc32_clockid_t clock_id, const sparc32_timespecp_t tp); } 234 STD { int compat_sparc32_clock_getres(sparc32_clockid_t clock_id, sparc32_timespecp_t tp); } d412 2 a413 2 240 STD { int compat_sparc32_nanosleep(const sparc32_timespecp_t rqtp, sparc32_timespecp_t rmtp); } 241 STD { int compat_sparc32_fdatasync(int fd); } d442 12 a453 12 270 STD { int compat_sparc32___posix_rename(const sparc32_charp from, const sparc32_charp to); } 271 STD { int compat_sparc32_swapctl(int cmd, const sparc32_voidp arg, int misc); } 272 STD { int compat_sparc32_getdents(int fd, sparc32_charp buf, sparc32_size_t count); } 273 STD { int compat_sparc32_minherit(sparc32_voidp addr, sparc32_size_t len, int inherit); } 274 STD { int compat_sparc32_lchmod(const sparc32_charp path, mode_t mode); } 275 STD { int compat_sparc32_lchown(const sparc32_charp path, uid_t uid, gid_t gid); } 276 STD { int compat_sparc32_lutimes(const sparc32_charp path, const sparc32_timevalp_t tptr); } 277 STD { int compat_sparc32___msync13(sparc32_voidp addr, sparc32_size_t len, int flags); } 278 STD { int compat_sparc32___stat13(const sparc32_charp path, sparc32_statp_t ub); } 279 STD { int compat_sparc32___fstat13(int fd, sparc32_statp_t sb); } 280 STD { int compat_sparc32___lstat13(const sparc32_charp path, sparc32_statp_t ub); } 281 STD { int compat_sparc32___sigaltstack14(const sparc32_sigaltstackp_t nss, sparc32_sigaltstackp_t oss); } d455 4 a458 4 283 STD { int compat_sparc32___posix_chown(const sparc32_charp path, uid_t uid, gid_t gid); } 284 STD { int compat_sparc32___posix_fchown(int fd, uid_t uid, gid_t gid); } 285 STD { int compat_sparc32___posix_lchown(const sparc32_charp path, uid_t uid, gid_t gid); } 286 STD { pid_t compat_sparc32_getsid(pid_t pid); } d461 1 a461 1 288 STD { int compat_sparc32_fktrace(const int fd, int ops, int facs, int pid); } d465 2 a466 2 289 STD { sparc32_ssize_t compat_sparc32_preadv(int fd, const sparc32_iovecp_t iovp, int iovcnt, int pad, off_t offset); } 290 STD { sparc32_ssize_t compat_sparc32_pwritev(int fd, const sparc32_iovecp_t iovp, int iovcnt, int pad, off_t offset); } @ 1.5 log @Defopt COMPAT_43 @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.4 1998/10/19 22:39:09 tron Exp $ d272 1 a272 1 #if defined(SYSVSEM) && !defined(alpha) d278 1 a278 1 #if defined(SYSVMSG) && !defined(alpha) d284 1 a284 1 #if defined(SYSVSHM) && !defined(alpha) @ 1.4 log @Defopt SYSVMSG, SYSVSEM and SYSVSHM. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.3 1998/10/01 14:27:58 eeh Exp $ d42 1 @ 1.3 log @Overhaul. Now will run simple things like /bin/sh and /bin/echo. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.2 1998/08/26 13:42:50 mrg Exp $ d41 1 @ 1.2 log @make oreboot work. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.1 1998/08/26 10:20:37 mrg Exp $ d40 1 d61 1 a61 1 1 NOARGS { void sys_exit(int rval); } d66 1 a66 1 6 NOARGS { int sys_close(int fd); } d73 1 a73 1 13 NOARGS { int sys_fchdir(int fd); } d83 1 a83 1 23 NOARGS { int sys_setuid(uid_t uid); } d97 1 a97 1 37 NOARGS { int sys_kill(int pid, int signum); } d101 1 a101 1 41 NOARGS { int sys_dup(int fd); } d112 2 a113 1 48 NOARGS { int sys_sigprocmask(int how, sigset_t mask); } d117 1 a117 1 52 NOARGS { int sys_sigpending(void); } d121 1 a121 1 55 NOARGS { int compat_12_sys_reboot(int opt); } d129 1 a129 1 60 NOARGS { mode_t sys_umask(mode_t newmask); } d139 2 a140 2 69 NOARGS { int sys_sbrk(int incr); } 70 NOARGS { int sys_sstk(int incr); } d142 1 a142 1 72 NOARGS { int sys_ovadvise(int anom); } vadvise d152 1 a152 1 82 NOARGS { int sys_setpgid(int pid, int pgid); } d160 1 a160 1 90 NOARGS { int sys_dup2(int from, int to); } d165 3 a167 3 95 NOARGS { int sys_fsync(int fd); } 96 NOARGS { int sys_setpriority(int which, int who, int prio); } 97 NOARGS { int sys_socket(int domain, int type, int protocol); } d170 1 a170 1 100 NOARGS { int sys_getpriority(int which, int who); } d176 1 a176 1 106 NOARGS { int sys_listen(int s, int backlog); } d180 2 a181 2 109 NOARGS { int compat_43_sys_sigblock(int mask); } 110 NOARGS { int compat_43_sys_sigsetmask(int mask); } d186 1 a186 1 111 NOARGS { int sys_sigsuspend(int mask); } d191 1 a191 1 115 NOARGS { int sys_vtrace(int request, int value); } d202 2 a203 2 123 NOARGS { int sys_fchown(int fd, uid_t uid, gid_t gid); } 124 NOARGS { int sys_fchmod(int fd, mode_t mode); } d205 2 a206 2 126 NOARGS { int sys_setreuid(uid_t ruid, uid_t euid); } 127 NOARGS { int sys_setregid(gid_t rgid, gid_t egid); } d210 1 a210 1 131 NOARGS { int sys_flock(int fd, int how); } d213 1 a213 1 134 NOARGS { int sys_shutdown(int s, int how); } d223 1 a223 1 143 NOARGS { int compat_43_sys_sethostid(int32_t hostid); } d230 1 a230 1 146 NOARGS { int compat_43_sys_killpg(int pgid, int signum); } d271 1 a271 1 169 NOARGS { int compat_10_sys_semsys(int which, int a2, int a3, int a4, int a5); } osemsys d277 1 a277 1 170 NOARGS { int compat_10_sys_msgsys(int which, int a2, int a3, int a4, int a5, int a6); } omsgsys d283 1 a283 1 171 NOARGS { int compat_10_sys_shmsys(int which, int a2, int a3, int a4); } oshmsys d290 1 d293 4 d303 3 a305 3 181 NOARGS { int sys_setgid(gid_t gid); } 182 NOARGS { int sys_setegid(gid_t egid); } 183 NOARGS { int sys_seteuid(uid_t euid); } d328 1 a328 1 199 NOARGS { off_t sys_lseek(int fd, int pad, off_t offset, int whence); } d330 1 a330 1 201 NOARGS { int sys_ftruncate(int fd, int pad, off_t length); } d336 1 a336 1 207 NOARGS { int sys_getpgid(pid_t pid); } d370 1 a370 1 223 NOARGS { int sys_semconfig(int flag); } d411 1 a411 1 241 NOARGS { int sys_fdatasync(int fd); } d454 1 a454 1 284 NOARGS { int sys___posix_fchown(int fd, uid_t uid, gid_t gid); } d456 1 a456 1 286 NOARGS { pid_t sys_getsid(pid_t pid); } d459 1 a459 1 288 NOARGS { int sys_fktrace(const int fd, int ops, int facs, int pid); } @ 1.1 log @add a 32-bit compatibility module for the sparc64 port, so it can run NetBSD/sparc binaries with a LP64 kernel. @ text @d1 1 a1 1 $NetBSD$ d118 5 a122 1 55 COMPAT_12 { int oreboot(int opt); } oreboot @