head 1.73; access; symbols perseant-exfatfs-base-20261102:1.73 netbsd-11-1-RELEASE:1.73 netbsd-10-2-RELEASE:1.73 netbsd-9-5-RELEASE:1.73 netbsd-11-0-RELEASE:1.73 netbsd-11-0-RC7:1.73 netbsd-11-0-RC6:1.73 netbsd-11-0-RC5:1.73 netbsd-11-0-RC4:1.73 netbsd-11-0-RC3:1.73 netbsd-11-0-RC2:1.73 netbsd-11-0-RC1:1.73 perseant-exfatfs-base-20250801:1.73 netbsd-11:1.73.0.36 netbsd-11-base:1.73 netbsd-10-1-RELEASE:1.73 perseant-exfatfs-base-20240630:1.73 perseant-exfatfs:1.73.0.34 perseant-exfatfs-base:1.73 netbsd-8-3-RELEASE:1.67 netbsd-9-4-RELEASE:1.73 netbsd-10-0-RELEASE:1.73 netbsd-10-0-RC6:1.73 netbsd-10-0-RC5:1.73 netbsd-10-0-RC4:1.73 netbsd-10-0-RC3:1.73 netbsd-10-0-RC2:1.73 thorpej-ifq:1.73.0.32 thorpej-ifq-base:1.73 thorpej-altq-separation:1.73.0.30 thorpej-altq-separation-base:1.73 netbsd-10-0-RC1:1.73 netbsd-10:1.73.0.28 netbsd-10-base:1.73 bouyer-sunxi-drm:1.73.0.26 bouyer-sunxi-drm-base:1.73 netbsd-9-3-RELEASE:1.73 thorpej-i2c-spi-conf2:1.73.0.24 thorpej-i2c-spi-conf2-base:1.73 thorpej-futex2:1.73.0.22 thorpej-futex2-base:1.73 thorpej-cfargs2:1.73.0.20 thorpej-cfargs2-base:1.73 cjep_sun2x-base1:1.73 cjep_sun2x:1.73.0.18 cjep_sun2x-base:1.73 cjep_staticlib_x-base1:1.73 netbsd-9-2-RELEASE:1.73 cjep_staticlib_x:1.73.0.16 cjep_staticlib_x-base:1.73 thorpej-i2c-spi-conf:1.73.0.14 thorpej-i2c-spi-conf-base:1.73 thorpej-cfargs:1.73.0.12 thorpej-cfargs-base:1.73 thorpej-futex:1.73.0.10 thorpej-futex-base:1.73 netbsd-9-1-RELEASE:1.73 bouyer-xenpvh-base2:1.73 phil-wifi-20200421:1.73 bouyer-xenpvh-base1:1.73 phil-wifi-20200411:1.73 bouyer-xenpvh:1.73.0.8 bouyer-xenpvh-base:1.73 is-mlppp:1.73.0.6 is-mlppp-base:1.73 phil-wifi-20200406:1.73 netbsd-8-2-RELEASE:1.67 ad-namecache-base3:1.73 netbsd-9-0-RELEASE:1.73 netbsd-9-0-RC2:1.73 ad-namecache-base2:1.73 ad-namecache-base1:1.73 ad-namecache:1.73.0.4 ad-namecache-base:1.73 netbsd-9-0-RC1:1.73 phil-wifi-20191119:1.73 netbsd-9:1.73.0.2 netbsd-9-base:1.73 phil-wifi-20190609:1.72 netbsd-8-1-RELEASE:1.67 netbsd-8-1-RC1:1.67 isaki-audio2:1.72.0.6 isaki-audio2-base:1.72 pgoyette-compat-merge-20190127:1.72 pgoyette-compat-20190127:1.72 pgoyette-compat-20190118:1.72 pgoyette-compat-1226:1.72 pgoyette-compat-1126:1.72 pgoyette-compat-1020:1.72 pgoyette-compat-0930:1.72 pgoyette-compat-0906:1.72 netbsd-7-2-RELEASE:1.67 pgoyette-compat-0728:1.72 netbsd-8-0-RELEASE:1.67 phil-wifi:1.72.0.4 phil-wifi-base:1.72 pgoyette-compat-0625:1.72 netbsd-8-0-RC2:1.67 pgoyette-compat-0521:1.72 pgoyette-compat-0502:1.72 pgoyette-compat-0422:1.72 netbsd-8-0-RC1:1.67 pgoyette-compat-0415:1.72 pgoyette-compat-0407:1.72 pgoyette-compat-0330:1.72 pgoyette-compat-0322:1.72 pgoyette-compat-0315:1.72 netbsd-7-1-2-RELEASE:1.67 pgoyette-compat:1.72.0.2 pgoyette-compat-base:1.72 netbsd-7-1-1-RELEASE:1.67 tls-maxphys-base-20171202:1.68 matt-nb8-mediatek:1.67.0.26 matt-nb8-mediatek-base:1.67 nick-nhusb-base-20170825:1.68 perseant-stdc-iso10646:1.67.0.24 perseant-stdc-iso10646-base:1.67 netbsd-8:1.67.0.22 netbsd-8-base:1.67 prg-localcount2-base3:1.67 prg-localcount2-base2:1.67 prg-localcount2-base1:1.67 prg-localcount2:1.67.0.20 prg-localcount2-base:1.67 pgoyette-localcount-20170426:1.67 bouyer-socketcan-base1:1.67 jdolecek-ncq:1.67.0.18 jdolecek-ncq-base:1.67 pgoyette-localcount-20170320:1.67 netbsd-7-1:1.67.0.16 netbsd-7-1-RELEASE:1.67 netbsd-7-1-RC2:1.67 nick-nhusb-base-20170204:1.67 netbsd-7-nhusb-base-20170116:1.67 bouyer-socketcan:1.67.0.14 bouyer-socketcan-base:1.67 pgoyette-localcount-20170107:1.67 netbsd-7-1-RC1:1.67 nick-nhusb-base-20161204:1.67 pgoyette-localcount-20161104:1.67 netbsd-7-0-2-RELEASE:1.67 nick-nhusb-base-20161004:1.67 localcount-20160914:1.67 netbsd-7-nhusb:1.67.0.12 netbsd-7-nhusb-base:1.67 pgoyette-localcount-20160806:1.67 pgoyette-localcount-20160726:1.67 pgoyette-localcount:1.67.0.10 pgoyette-localcount-base:1.67 nick-nhusb-base-20160907:1.67 nick-nhusb-base-20160529:1.67 netbsd-7-0-1-RELEASE:1.67 nick-nhusb-base-20160422:1.67 nick-nhusb-base-20160319:1.67 nick-nhusb-base-20151226:1.67 netbsd-7-0:1.67.0.8 netbsd-7-0-RELEASE:1.67 nick-nhusb-base-20150921:1.67 netbsd-7-0-RC3:1.67 netbsd-7-0-RC2:1.67 netbsd-7-0-RC1:1.67 nick-nhusb-base-20150606:1.67 nick-nhusb-base-20150406:1.67 nick-nhusb:1.67.0.6 nick-nhusb-base:1.67 netbsd-5-2-3-RELEASE:1.58 netbsd-5-1-5-RELEASE:1.58 netbsd-6-0-6-RELEASE:1.65 netbsd-6-1-5-RELEASE:1.65 netbsd-7:1.67.0.4 netbsd-7-base:1.67 yamt-pagecache-base9:1.67 yamt-pagecache-tag8:1.65.4.1 netbsd-6-1-4-RELEASE:1.65 netbsd-6-0-5-RELEASE:1.65 tls-earlyentropy:1.67.0.2 tls-earlyentropy-base:1.67 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.67 riastradh-drm2-base3:1.67 netbsd-6-1-3-RELEASE:1.65 netbsd-6-0-4-RELEASE:1.65 netbsd-5-2-2-RELEASE:1.58 netbsd-5-1-4-RELEASE:1.58 netbsd-6-1-2-RELEASE:1.65 netbsd-6-0-3-RELEASE:1.65 netbsd-5-2-1-RELEASE:1.58 netbsd-5-1-3-RELEASE:1.58 rmind-smpnet-nbase:1.67 netbsd-6-1-1-RELEASE:1.65 riastradh-drm2-base2:1.66 riastradh-drm2-base1:1.66 riastradh-drm2:1.66.0.10 riastradh-drm2-base:1.66 rmind-smpnet:1.66.0.4 rmind-smpnet-base:1.67 netbsd-6-1:1.65.0.16 netbsd-6-0-2-RELEASE:1.65 netbsd-6-1-RELEASE:1.65 khorben-n900:1.66.0.8 netbsd-6-1-RC4:1.65 netbsd-6-1-RC3:1.65 agc-symver:1.66.0.6 agc-symver-base:1.66 netbsd-6-1-RC2:1.65 netbsd-6-1-RC1:1.65 yamt-pagecache-base8:1.66 netbsd-5-2:1.58.0.56 netbsd-6-0-1-RELEASE:1.65 yamt-pagecache-base7:1.66 netbsd-5-2-RELEASE:1.58 netbsd-5-2-RC1:1.58 matt-nb6-plus-nbase:1.65 yamt-pagecache-base6:1.66 netbsd-6-0:1.65.0.14 netbsd-6-0-RELEASE:1.65 netbsd-6-0-RC2:1.65 tls-maxphys:1.66.0.2 tls-maxphys-base:1.67 matt-nb6-plus:1.65.0.12 matt-nb6-plus-base:1.65 netbsd-6-0-RC1:1.65 jmcneill-usbmp-base10:1.66 yamt-pagecache-base5:1.66 jmcneill-usbmp-base9:1.66 yamt-pagecache-base4:1.66 jmcneill-usbmp-base8:1.66 jmcneill-usbmp-base7:1.66 jmcneill-usbmp-base6:1.65 jmcneill-usbmp-base5:1.65 jmcneill-usbmp-base4:1.65 jmcneill-usbmp-base3:1.65 jmcneill-usbmp-pre-base2:1.65 jmcneill-usbmp-base2:1.65 netbsd-6:1.65.0.10 netbsd-6-base:1.65 netbsd-5-1-2-RELEASE:1.58 netbsd-5-1-1-RELEASE:1.58 jmcneill-usbmp:1.65.0.8 jmcneill-usbmp-base:1.65 jmcneill-audiomp3:1.65.0.6 jmcneill-audiomp3-base:1.65 yamt-pagecache-base3:1.65 yamt-pagecache-base2:1.65 yamt-pagecache:1.65.0.4 yamt-pagecache-base:1.65 rmind-uvmplock-nbase:1.65 cherry-xenmp:1.65.0.2 cherry-xenmp-base:1.65 bouyer-quota2-nbase:1.64 bouyer-quota2:1.64.0.6 bouyer-quota2-base:1.64 jruoho-x86intr:1.64.0.4 jruoho-x86intr-base:1.64 matt-mips64-premerge-20101231:1.64 matt-nb5-mips64-premerge-20101231:1.58 matt-nb5-pq3:1.58.0.54 matt-nb5-pq3-base:1.58 netbsd-5-1:1.58.0.52 netbsd-5-1-RELEASE:1.58 uebayasi-xip-base4:1.64 uebayasi-xip-base3:1.64 yamt-nfs-mp-base11:1.64 netbsd-5-1-RC4:1.58 matt-nb5-mips64-k15:1.58 uebayasi-xip-base2:1.64 yamt-nfs-mp-base10:1.64 netbsd-5-1-RC3:1.58 netbsd-5-1-RC2:1.58 uebayasi-xip-base1:1.64 netbsd-5-1-RC1:1.58 rmind-uvmplock:1.64.0.2 rmind-uvmplock-base:1.65 yamt-nfs-mp-base9:1.64 uebayasi-xip:1.62.0.4 uebayasi-xip-base:1.62 netbsd-5-0-2-RELEASE:1.58 matt-nb5-mips64-premerge-20091211:1.58 matt-premerge-20091211:1.62 yamt-nfs-mp-base8:1.62 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.58 matt-nb4-mips64-k7-u2a-k9b:1.58 matt-nb5-mips64-u1-k1-k5:1.58 yamt-nfs-mp-base7:1.62 matt-nb5-mips64:1.58.0.50 netbsd-5-0-1-RELEASE:1.58 jymxensuspend-base:1.62 yamt-nfs-mp-base6:1.62 yamt-nfs-mp-base5:1.62 yamt-nfs-mp-base4:1.62 jym-xensuspend-nbase:1.62 yamt-nfs-mp-base3:1.62 nick-hppapmap-base4:1.62 nick-hppapmap-base3:1.62 netbsd-5-0:1.58.0.48 netbsd-5-0-RELEASE:1.58 netbsd-5-0-RC4:1.58 netbsd-5-0-RC3:1.58 nick-hppapmap-base2:1.62 netbsd-5-0-RC2:1.58 jym-xensuspend:1.62.0.2 jym-xensuspend-base:1.62 netbsd-5-0-RC1:1.58 haad-dm-base2:1.60 haad-nbase2:1.60 ad-audiomp2:1.60.0.2 ad-audiomp2-base:1.60 christos-time_t-nbase:1.60 netbsd-5:1.58.0.46 netbsd-5-base:1.58 nick-hppapmap:1.58.0.44 nick-hppapmap-base:1.62 matt-mips64-base2:1.58 matt-mips64:1.58.0.42 haad-dm-base1:1.58 wrstuden-revivesa-base-4:1.58 netbsd-4-0-1-RELEASE:1.55 wrstuden-revivesa-base-3:1.58 wrstuden-revivesa-base-2:1.58 wrstuden-fixsa-newbase:1.55 nick-csl-alignment-base5:1.58 haad-dm:1.58.0.40 haad-dm-base:1.60 wrstuden-revivesa-base-1:1.58 simonb-wapbl-nbase:1.58 yamt-pf42-base4:1.58 simonb-wapbl:1.58.0.38 simonb-wapbl-base:1.58 yamt-pf42-base3:1.58 hpcarm-cleanup-nbase:1.58 yamt-pf42-baseX:1.58 yamt-pf42-base2:1.58 yamt-nfs-mp-base2:1.58 wrstuden-revivesa:1.58.0.36 wrstuden-revivesa-base:1.58 yamt-nfs-mp:1.58.0.34 yamt-nfs-mp-base:1.58 yamt-pf42:1.58.0.32 yamt-pf42-base:1.58 christos-time_t:1.58.0.30 christos-time_t-base:1.60 ad-socklock-base1:1.58 yamt-lazymbuf-base15:1.58 yamt-lazymbuf-base14:1.58 keiichi-mipv6-nbase:1.58 mjf-devfs2:1.58.0.28 mjf-devfs2-base:1.62 nick-net80211-sync:1.58.0.26 nick-net80211-sync-base:1.58 keiichi-mipv6:1.58.0.24 keiichi-mipv6-base:1.58 bouyer-xeni386-merge1:1.58 matt-armv6-prevmlocking:1.58 wrstuden-fixsa-base-1:1.55 vmlocking2-base3:1.58 netbsd-4-0:1.55.0.12 netbsd-4-0-RELEASE:1.55 bouyer-xeni386-nbase:1.58 yamt-kmem-base3:1.58 cube-autoconf:1.58.0.22 cube-autoconf-base:1.58 yamt-kmem-base2:1.58 bouyer-xeni386:1.58.0.20 bouyer-xeni386-base:1.58 yamt-kmem:1.58.0.18 yamt-kmem-base:1.58 vmlocking2-base2:1.58 reinoud-bufcleanup-nbase:1.58 vmlocking2:1.58.0.16 vmlocking2-base1:1.58 netbsd-4-0-RC5:1.55 matt-nb4-arm:1.55.0.10 matt-nb4-arm-base:1.55 matt-armv6-nbase:1.58 jmcneill-base:1.58 netbsd-4-0-RC4:1.55 mjf-devfs:1.58.0.14 mjf-devfs-base:1.58 bouyer-xenamd64-base2:1.58 vmlocking-nbase:1.58 yamt-x86pmap-base4:1.58 bouyer-xenamd64:1.58.0.12 bouyer-xenamd64-base:1.58 netbsd-4-0-RC3:1.55 yamt-x86pmap-base3:1.58 yamt-x86pmap-base2:1.58 netbsd-4-0-RC2:1.55 yamt-x86pmap:1.58.0.10 yamt-x86pmap-base:1.58 netbsd-4-0-RC1:1.55 matt-armv6:1.58.0.8 matt-armv6-base:1.58 matt-mips64-base:1.58 jmcneill-pm:1.58.0.6 jmcneill-pm-base:1.58 hpcarm-cleanup:1.58.0.4 hpcarm-cleanup-base:1.58 nick-csl-alignment:1.58.0.2 nick-csl-alignment-base:1.58 netbsd-3-1-1-RELEASE:1.47 netbsd-3-0-3-RELEASE:1.47 yamt-idlelwp-base8:1.57 wrstuden-fixsa:1.55.0.8 wrstuden-fixsa-base:1.55 thorpej-atomic:1.57.0.8 thorpej-atomic-base:1.57 reinoud-bufcleanup:1.57.0.6 reinoud-bufcleanup-base:1.58 mjf-ufs-trans:1.57.0.4 mjf-ufs-trans-base:1.57 vmlocking:1.57.0.2 vmlocking-base:1.58 ad-audiomp:1.56.0.4 ad-audiomp-base:1.56 yamt-idlelwp:1.56.0.2 post-newlock2-merge:1.56 newlock2-nbase:1.55 yamt-splraiseipl-base5:1.55 yamt-splraiseipl-base4:1.55 yamt-splraiseipl-base3:1.55 abandoned-netbsd-4-base:1.53 abandoned-netbsd-4:1.53.0.2 netbsd-3-1:1.47.0.8 netbsd-3-1-RELEASE:1.47 netbsd-3-0-2-RELEASE:1.47 yamt-splraiseipl-base2:1.55 netbsd-3-1-RC4:1.47 yamt-splraiseipl:1.55.0.4 yamt-splraiseipl-base:1.55 netbsd-3-1-RC3:1.47 yamt-pdpolicy-base9:1.55 newlock2:1.55.0.2 newlock2-base:1.55 yamt-pdpolicy-base8:1.55 netbsd-3-1-RC2:1.47 netbsd-3-1-RC1:1.47 yamt-pdpolicy-base7:1.53 netbsd-4:1.55.0.6 netbsd-4-base:1.55 yamt-pdpolicy-base6:1.51 chap-midi-nbase:1.51 netbsd-3-0-1-RELEASE:1.47 gdamore-uart:1.51.0.4 gdamore-uart-base:1.51 simonb-timcounters-final:1.50.6.1 yamt-pdpolicy-base5:1.51 chap-midi:1.51.0.2 chap-midi-base:1.51 yamt-pdpolicy-base4:1.50 yamt-pdpolicy-base3:1.50 peter-altq-base:1.50 peter-altq:1.50.0.12 yamt-pdpolicy-base2:1.50 elad-kernelauth-base:1.51 elad-kernelauth:1.50.0.10 yamt-pdpolicy:1.50.0.8 yamt-pdpolicy-base:1.50 yamt-uio_vmspace-base5:1.50 simonb-timecounters:1.50.0.6 simonb-timecounters-base:1.51 rpaulo-netinet-merge-pcb:1.50.0.4 rpaulo-netinet-merge-pcb-base:1.55 yamt-uio_vmspace:1.50.0.2 netbsd-3-0:1.47.0.6 netbsd-3-0-RELEASE:1.47 netbsd-3-0-RC6:1.47 yamt-readahead-base3:1.49 netbsd-3-0-RC5:1.47 netbsd-3-0-RC4:1.47 netbsd-3-0-RC3:1.47 yamt-readahead-base2:1.49 netbsd-3-0-RC2:1.47 yamt-readahead-pervnode:1.49 yamt-readahead-perfile:1.49 yamt-readahead:1.49.0.6 yamt-readahead-base:1.49 netbsd-3-0-RC1:1.47 yamt-vop-base3:1.49 netbsd-2-0-3-RELEASE:1.43 netbsd-2-1:1.43.0.6 yamt-vop-base2:1.49 thorpej-vnode-attr:1.49.0.4 thorpej-vnode-attr-base:1.49 netbsd-2-1-RELEASE:1.43 yamt-vop:1.49.0.2 yamt-vop-base:1.49 netbsd-2-1-RC6:1.43 netbsd-2-1-RC5:1.43 netbsd-2-1-RC4:1.43 netbsd-2-1-RC3:1.43 netbsd-2-1-RC2:1.43 netbsd-2-1-RC1:1.43 yamt-lazymbuf:1.47.0.4 yamt-km-base4:1.47 netbsd-2-0-2-RELEASE:1.43 yamt-km-base3:1.47 netbsd-3:1.47.0.2 netbsd-3-base:1.47 yamt-km-base2:1.46 yamt-km:1.46.0.6 yamt-km-base:1.46 kent-audio2:1.46.0.4 kent-audio2-base:1.47 netbsd-2-0-1-RELEASE:1.43 kent-audio1-beforemerge:1.46 netbsd-2:1.43.0.4 netbsd-2-base:1.43 kent-audio1:1.46.0.2 kent-audio1-base:1.46 netbsd-2-0-RELEASE:1.43 netbsd-2-0-RC5:1.43 netbsd-2-0-RC4:1.43 netbsd-2-0-RC3:1.43 netbsd-2-0-RC2:1.43 netbsd-2-0-RC1:1.43 netbsd-2-0:1.43.0.2 netbsd-2-0-base:1.43 netbsd-1-6-PATCH002-RELEASE:1.37 netbsd-1-6-PATCH002:1.37 netbsd-1-6-PATCH002-RC4:1.37 netbsd-1-6-PATCH002-RC3:1.37 netbsd-1-6-PATCH002-RC2:1.37 netbsd-1-6-PATCH002-RC1:1.37 ktrace-lwp:1.40.0.2 ktrace-lwp-base:1.49 netbsd-1-6-PATCH001:1.37 netbsd-1-6-PATCH001-RELEASE:1.37 netbsd-1-6-PATCH001-RC3:1.37 netbsd-1-6-PATCH001-RC2:1.37 netbsd-1-6-PATCH001-RC1:1.37 nathanw_sa_end:1.34.2.7 nathanw_sa_before_merge:1.39 fvdl_fs64_base:1.39 gmcgarry_ctxsw:1.38.0.4 gmcgarry_ctxsw_base:1.38 gmcgarry_ucred:1.38.0.2 gmcgarry_ucred_base:1.38 nathanw_sa_base:1.39 kqueue-aftermerge:1.38 kqueue-beforemerge:1.38 netbsd-1-6-RELEASE:1.37 netbsd-1-6-RC3:1.37 netbsd-1-6-RC2:1.37 netbsd-1-6-RC1:1.37 netbsd-1-6:1.37.0.4 netbsd-1-6-base:1.37 gehenna-devsw:1.37.0.2 gehenna-devsw-base:1.37 netbsd-1-5-PATCH003:1.27.4.1 eeh-devprop:1.36.0.6 eeh-devprop-base:1.36 newlock:1.36.0.4 newlock-base:1.36 ifpoll-base:1.36 thorpej-mips-cache:1.35.0.6 thorpej-mips-cache-base:1.36 thorpej-devvp-base3:1.35 thorpej-devvp-base2:1.35 post-chs-ubcperf:1.35 pre-chs-ubcperf:1.35 thorpej-devvp:1.35.0.4 thorpej-devvp-base:1.35 netbsd-1-5-PATCH002:1.27 kqueue:1.35.0.2 kqueue-base:1.37 netbsd-1-5-PATCH001:1.27 thorpej_scsipi_beforemerge:1.34 nathanw_sa:1.34.0.2 thorpej_scsipi_nbase:1.34 netbsd-1-5-RELEASE:1.27 netbsd-1-5-BETA2:1.27 netbsd-1-5-BETA:1.27 netbsd-1-4-PATCH003:1.22 netbsd-1-5-ALPHA2:1.27 netbsd-1-5:1.27.0.4 netbsd-1-5-base:1.27 minoura-xpg4dl-base:1.27 minoura-xpg4dl:1.27.0.2 netbsd-1-4-PATCH002:1.22 chs-ubc2-newbase:1.25 wrstuden-devbsize-19991221:1.25 wrstuden-devbsize:1.25.0.8 wrstuden-devbsize-base:1.25 kame_141_19991130:1.22 comdex-fall-1999:1.25.0.6 comdex-fall-1999-base:1.25 fvdl-softdep:1.25.0.4 fvdl-softdep-base:1.25 thorpej_scsipi:1.25.0.2 thorpej_scsipi_base:1.34 netbsd-1-4-PATCH001:1.22 kame_14_19990705:1.22 kame_14_19990628:1.22 kame:1.22.0.6 chs-ubc2:1.22.0.4 chs-ubc2-base:1.24 netbsd-1-4-RELEASE:1.22 netbsd-1-4:1.22.0.2 netbsd-1-4-base:1.22 netbsd-1-3-PATCH003:1.12.2.2 netbsd-1-3-PATCH003-CANDIDATE2:1.12.2.2 kenh-if-detach:1.20.0.4 kenh-if-detach-base:1.20 netbsd-1-3-PATCH003-CANDIDATE1:1.12.2.2 netbsd-1-3-PATCH003-CANDIDATE0:1.12.2.2 chs-ubc:1.20.0.2 chs-ubc-base:1.20 eeh-paddr_t:1.18.0.2 eeh-paddr_t-base:1.18 netbsd-1-3-PATCH002:1.12.2.1 netbsd-1-3-PATCH001:1.12.2.1 netbsd-1-3-RELEASE:1.12 netbsd-1-3-BETA:1.12 netbsd-1-3:1.12.0.2 netbsd-1-3-base:1.12 thorpej-signal:1.7.0.6 thorpej-signal-base:1.7 marc-pcmcia:1.7.0.4 marc-pcmcia-bp:1.7 marc-pcmcia-base:1.9 bouyer-scsipi:1.7.0.2 is-newarp-before-merge:1.6 is-newarp:1.6.0.4 is-newarp-base:1.6 netbsd-1-2-PATCH001:1.3.4.1 mrg-vm-swap:1.6.0.2 thorpej-setroot:1.5.0.2 netbsd-1-2-RELEASE:1.3 netbsd-1-2-BETA:1.3 netbsd-1-2:1.3.0.4 netbsd-1-2-base:1.3 date-03-may-96:1.1.1.1 netbsd:1.1.1 netbsd-1-1-PATCH001:1.2.2.1 netbsd-1-1-RELEASE:1.2.2.1 netbsd-1-1:1.2.0.2 netbsd-1-1-base:1.2; locks; strict; comment @# @; 1.73 date 2019.06.18.01.42.36; author christos; state Exp; branches; next 1.72; commitid PVFzEYwXID5rTBrB; 1.72 date 2018.01.06.16.41.23; author kamil; state Exp; branches 1.72.4.1; next 1.71; commitid 6DZmNFuKyXIVMPlA; 1.71 date 2017.12.19.19.18.18; author kamil; state Exp; branches; next 1.70; commitid 2I4fbNOv8RZAhxjA; 1.70 date 2017.12.19.18.15.08; author kamil; state Exp; branches; next 1.69; commitid aNAa6ftQfMGBVwjA; 1.69 date 2017.12.19.08.27.05; author kamil; state Exp; branches; next 1.68; commitid rLZvSpHh9GddGtjA; 1.68 date 2017.08.08.08.04.06; author maxv; state Exp; branches; next 1.67; 1.67 date 2013.11.07.19.37.18; author njoly; state Exp; branches 1.67.6.1; next 1.66; 1.66 date 2012.03.10.21.51.57; author joerg; state Exp; branches 1.66.2.1 1.66.4.1; next 1.65; 1.65 date 2011.03.06.17.08.34; author bouyer; state Exp; branches 1.65.4.1 1.65.8.1; next 1.64; 1.64 date 2010.03.02.21.07.21; author pooka; state Exp; branches 1.64.2.1 1.64.4.1 1.64.6.1; next 1.63; 1.63 date 2010.03.02.16.00.03; author pooka; state Exp; branches; next 1.62; 1.62 date 2009.01.13.22.27.43; author pooka; state Exp; branches 1.62.4.1; next 1.61; 1.61 date 2009.01.11.02.45.47; author christos; state Exp; branches; next 1.60; 1.60 date 2008.11.19.18.36.02; author ad; state Exp; branches; next 1.59; 1.59 date 2008.11.14.15.49.20; author ad; state Exp; branches; next 1.58; 1.58 date 2007.07.13.20.48.39; author dsl; state Exp; branches 1.58.28.1 1.58.30.1 1.58.34.1 1.58.36.1 1.58.40.1 1.58.44.1; next 1.57; 1.57 date 2007.03.04.06.01.15; author christos; state Exp; branches 1.57.2.1; next 1.56; 1.56 date 2007.02.09.21.55.16; author ad; state Exp; branches 1.56.2.1; next 1.55; 1.55 date 2006.09.01.20.58.18; author matt; state Exp; branches 1.55.2.1; next 1.54; 1.54 date 2006.08.30.11.04.37; author matt; state Exp; branches; next 1.53; 1.53 date 2006.07.31.16.32.51; author martin; state Exp; branches; next 1.52; 1.52 date 2006.06.26.21.23.57; author mrg; state Exp; branches; next 1.51; 1.51 date 2006.05.04.17.48.56; author christos; state Exp; branches 1.51.4.1; next 1.50; 1.50 date 2005.12.11.12.20.02; author christos; state Exp; branches 1.50.4.1 1.50.6.1 1.50.8.1 1.50.10.1 1.50.12.1; next 1.49; 1.49 date 2005.09.13.01.42.32; author christos; state Exp; branches; next 1.48; 1.48 date 2005.08.19.02.03.57; author christos; state Exp; branches; next 1.47; 1.47 date 2005.02.22.16.14.50; author heas; state Exp; branches 1.47.4.1; next 1.46; 1.46 date 2004.05.11.10.54.51; author drochner; state Exp; branches 1.46.4.1 1.46.6.1; next 1.45; 1.45 date 2004.05.10.20.27.42; author christos; state Exp; branches; next 1.44; 1.44 date 2004.04.21.01.05.36; author christos; state Exp; branches; next 1.43; 1.43 date 2004.01.29.02.00.02; author tsarna; state Exp; branches; next 1.42; 1.42 date 2003.11.26.19.22.57; author jdolecek; state Exp; branches; next 1.41; 1.41 date 2003.09.18.14.44.09; author pooka; state Exp; branches; next 1.40; 1.40 date 2003.01.18.07.33.16; author thorpej; state Exp; branches 1.40.2.1; next 1.39; 1.39 date 2002.12.22.00.04.29; author gmcgarry; state Exp; branches; next 1.38; 1.38 date 2002.10.09.20.22.47; author pooka; state Exp; branches; next 1.37; 1.37 date 2002.05.03.00.20.57; author eeh; state Exp; branches; next 1.36; 1.36 date 2001.10.27.10.00.55; author jdolecek; state Exp; branches; next 1.35; 1.35 date 2001.05.30.11.37.23; author mrg; state Exp; branches 1.35.2.1 1.35.6.1; next 1.34; 1.34 date 2000.12.17.16.11.38; author jdolecek; state Exp; branches 1.34.2.1; next 1.33; 1.33 date 2000.12.09.07.10.35; author mycroft; state Exp; branches; next 1.32; 1.32 date 2000.12.09.05.27.29; author mycroft; state Exp; branches; next 1.31; 1.31 date 2000.11.30.19.05.26; author jdolecek; state Exp; branches; next 1.30; 1.30 date 2000.08.08.02.14.48; author itojun; state Exp; branches; next 1.29; 1.29 date 2000.08.07.17.59.36; author bjh21; state Exp; branches; next 1.28; 1.28 date 2000.07.18.14.15.05; author onoe; state Exp; branches; next 1.27; 1.27 date 2000.05.23.16.05.51; author tv; state Exp; branches 1.27.4.1; next 1.26; 1.26 date 2000.04.21.16.18.16; author minoura; state Exp; branches; next 1.25; 1.25 date 99.08.25.04.48.21; author thorpej; state Exp; branches 1.25.2.1; next 1.24; 1.24 date 99.07.12.21.55.20; author kleink; state Exp; branches; next 1.23; 1.23 date 99.06.09.12.33.18; author drochner; state Exp; branches; next 1.22; 1.22 date 99.02.09.20.19.13; author christos; state Exp; branches 1.22.4.1; next 1.21; 1.21 date 98.12.10.17.03.19; author christos; state Exp; branches; next 1.20; 1.20 date 98.10.19.22.27.38; author tron; state Exp; branches; next 1.19; 1.19 date 98.09.11.12.50.08; author mycroft; state Exp; branches; next 1.18; 1.18 date 98.06.25.22.18.32; author thorpej; state Exp; branches; next 1.17; 1.17 date 98.06.25.21.17.39; author thorpej; state Exp; branches; next 1.16; 1.16 date 98.05.02.18.14.06; author christos; state Exp; branches; next 1.15; 1.15 date 98.02.19.00.36.04; author thorpej; state Exp; branches; next 1.14; 1.14 date 98.01.22.16.31.37; author mycroft; state Exp; branches; next 1.13; 1.13 date 97.11.30.18.06.39; author veego; state Exp; branches; next 1.12; 1.12 date 97.10.18.16.30.34; author christos; state Exp; branches 1.12.2.1; next 1.11; 1.11 date 97.10.16.23.48.18; author christos; state Exp; branches; next 1.10; 1.10 date 97.10.15.17.18.17; author mycroft; state Exp; branches; next 1.9; 1.9 date 97.10.10.01.55.33; author enami; state Exp; branches; next 1.8; 1.8 date 97.10.10.01.44.59; author fvdl; state Exp; branches; next 1.7; 1.7 date 97.06.13.19.11.42; author thorpej; state Exp; branches 1.7.4.1; next 1.6; 1.6 date 97.01.31.02.17.47; author thorpej; state Exp; branches 1.6.2.1; next 1.5; 1.5 date 96.09.20.16.19.27; author christos; state Exp; branches 1.5.2.1; next 1.4; 1.4 date 96.06.23.11.18.57; author mycroft; state Exp; branches; next 1.3; 1.3 date 95.10.10.18.28.40; author mycroft; state Exp; branches 1.3.4.1; next 1.2; 1.2 date 95.10.10.01.34.37; author mycroft; state Exp; branches 1.2.2.1; next 1.1; 1.1 date 95.10.10.01.19.39; author mycroft; state Exp; branches; next ; 1.72.4.1 date 2020.04.13.08.04.14; author martin; state Exp; branches; next ; commitid X01YhRUPVUDaec4C; 1.67.6.1 date 2017.08.28.17.51.58; author skrll; state Exp; branches; next ; commitid UQQpnjvcNkUZn05A; 1.66.2.1 date 2014.08.20.00.03.31; author tls; state Exp; branches; next 1.66.2.2; 1.66.2.2 date 2017.12.03.11.36.53; author jdolecek; state Exp; branches; next ; commitid XcIYRZTAh1LmerhA; 1.66.4.1 date 2014.05.18.17.45.31; author rmind; state Exp; branches; next ; 1.65.4.1 date 2012.04.17.00.07.14; author yamt; state Exp; branches; next 1.65.4.2; 1.65.4.2 date 2014.05.22.11.40.15; author yamt; state Exp; branches; next ; 1.65.8.1 date 2012.03.11.01.52.26; author mrg; state Exp; branches; next ; 1.64.2.1 date 2011.04.21.01.41.36; author rmind; state Exp; branches; next ; 1.64.4.1 date 2011.06.06.09.07.18; author jruoho; state Exp; branches; next ; 1.64.6.1 date 2011.02.08.21.46.53; author bouyer; state Exp; branches; next ; 1.62.4.1 date 2010.04.30.14.42.57; author uebayasi; state Exp; branches; next ; 1.58.28.1 date 2009.01.17.13.28.42; author mjf; state Exp; branches; next ; 1.58.30.1 date 2008.03.29.20.46.58; author christos; state Exp; branches; next 1.58.30.2; 1.58.30.2 date 2008.11.20.20.45.38; author christos; state Exp; branches; next ; 1.58.34.1 date 2009.05.04.08.12.18; author yamt; state Exp; branches; next 1.58.34.2; 1.58.34.2 date 2010.03.11.15.03.13; author yamt; state Exp; branches; next ; 1.58.36.1 date 2008.05.10.23.48.49; author wrstuden; state Exp; branches; next 1.58.36.2; 1.58.36.2 date 2008.05.14.01.35.02; author wrstuden; state Exp; branches; next ; 1.58.40.1 date 2008.12.13.01.13.48; author haad; state Exp; branches; next ; 1.58.44.1 date 2009.01.19.13.17.22; author skrll; state Exp; branches; next ; 1.57.2.1 date 2007.07.15.13.27.05; author ad; state Exp; branches; next ; 1.56.2.1 date 2007.03.12.05.51.58; author rmind; state Exp; branches; next ; 1.55.2.1 date 2007.01.30.13.51.31; author ad; state Exp; branches; next ; 1.51.4.1 date 2006.07.13.17.49.08; author gdamore; state Exp; branches; next ; 1.50.4.1 date 2006.09.09.02.45.14; author rpaulo; state Exp; branches; next ; 1.50.6.1 date 2006.06.01.22.35.48; author kardel; state Exp; branches; next ; 1.50.8.1 date 2006.05.24.10.57.27; author yamt; state Exp; branches; next 1.50.8.2; 1.50.8.2 date 2006.08.11.15.43.19; author yamt; state Exp; branches; next ; 1.50.10.1 date 2006.05.11.23.27.30; author elad; state Exp; branches; next ; 1.50.12.1 date 2006.05.24.15.48.27; author tron; state Exp; branches; next ; 1.47.4.1 date 2006.06.21.14.58.50; author yamt; state Exp; branches; next 1.47.4.2; 1.47.4.2 date 2006.12.30.20.47.32; author yamt; state Exp; branches; next 1.47.4.3; 1.47.4.3 date 2007.02.26.09.09.06; author yamt; state Exp; branches; next 1.47.4.4; 1.47.4.4 date 2007.09.03.14.32.01; author yamt; state Exp; branches; next ; 1.46.4.1 date 2005.04.29.11.28.31; author kent; state Exp; branches; next ; 1.46.6.1 date 2005.03.19.08.33.31; author yamt; state Exp; branches; next ; 1.40.2.1 date 2004.08.03.10.43.44; author skrll; state Exp; branches; next 1.40.2.2; 1.40.2.2 date 2004.09.18.14.43.15; author skrll; state Exp; branches; next 1.40.2.3; 1.40.2.3 date 2004.09.21.13.25.10; author skrll; state Exp; branches; next 1.40.2.4; 1.40.2.4 date 2005.03.04.16.39.35; author skrll; state Exp; branches; next 1.40.2.5; 1.40.2.5 date 2005.11.10.14.00.52; author skrll; state Exp; branches; next ; 1.35.2.1 date 2002.01.10.19.51.04; author thorpej; state Exp; branches; next 1.35.2.2; 1.35.2.2 date 2002.06.23.17.43.46; author jdolecek; state Exp; branches; next ; 1.35.6.1 date 2001.11.12.21.17.49; author thorpej; state Exp; branches; next ; 1.34.2.1 date 2001.06.21.19.59.05; author nathanw; state Exp; branches; next 1.34.2.2; 1.34.2.2 date 2001.11.14.19.12.56; author nathanw; state Exp; branches; next 1.34.2.3; 1.34.2.3 date 2002.02.28.19.59.33; author nathanw; state Exp; branches; next 1.34.2.4; 1.34.2.4 date 2002.05.29.21.32.20; author nathanw; state Exp; branches; next 1.34.2.5; 1.34.2.5 date 2002.06.20.03.42.48; author nathanw; state Exp; branches; next 1.34.2.6; 1.34.2.6 date 2002.10.18.02.41.00; author nathanw; state Exp; branches; next 1.34.2.7; 1.34.2.7 date 2002.12.29.19.49.15; author thorpej; state Exp; branches; next ; 1.27.4.1 date 2002.03.06.22.04.25; author he; state Exp; branches; next ; 1.25.2.1 date 2000.11.20.18.08.11; author bouyer; state Exp; branches; next 1.25.2.2; 1.25.2.2 date 2000.12.08.09.08.13; author bouyer; state Exp; branches; next 1.25.2.3; 1.25.2.3 date 2000.12.13.15.49.42; author bouyer; state Exp; branches; next 1.25.2.4; 1.25.2.4 date 2001.01.05.17.35.21; author bouyer; state Exp; branches; next ; 1.22.4.1 date 99.06.21.01.06.44; author thorpej; state Exp; branches; next 1.22.4.2; 1.22.4.2 date 99.08.02.21.51.26; author thorpej; state Exp; branches; next ; 1.12.2.1 date 98.01.29.11.33.03; author mellon; state Exp; branches; next 1.12.2.2; 1.12.2.2 date 98.09.30.18.17.05; author cgd; state Exp; branches; next ; 1.7.4.1 date 97.10.14.10.21.27; author thorpej; state Exp; branches; next ; 1.6.2.1 date 97.02.12.12.26.03; author mrg; state Exp; branches; next ; 1.5.2.1 date 97.01.14.21.26.53; author thorpej; state Exp; branches; next ; 1.3.4.1 date 96.12.10.08.07.01; author mycroft; state Exp; branches; next ; 1.2.2.1 date 95.10.20.16.07.40; author pk; state Exp; branches; next ; desc @@ 1.73 log @add quota option @ text @ $NetBSD: syscalls.master,v 1.72 2018/01/06 16:41:23 kamil Exp $ ; from: @@(#)syscalls.master 8.2 (Berkeley) 1/13/94 ; NetBSD COMPAT_FREEBSD system call name/number "master" file. ; (See syscalls.conf to see what it is processed into.) ; ; Fields: number type [type-dependent ...] ; number system call number, must be in order ; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of ; the compatibility options defined in syscalls.conf. ; ; types: ; STD always included ; OBSOL obsolete, not included in system ; UNIMPL unimplemented, not included in system ; NODEF included, but don't define the syscall number ; NOARGS included, but don't define the syscall args structure ; ; The compat options are defined in the syscalls.conf file, and the ; compat option name is prefixed to the syscall name. Other than ; that, they're like NODEF (for 'compat' options), or STD (for ; 'libcompat' options). ; ; The type-dependent arguments are as follows: ; For STD, NODEF, NOARGS, and compat syscalls: ; { pseudo-proto } [alias] ; For other syscalls: ; [comment] ; ; #ifdef's, etc. may be included, and are copied to the output files. ; #include's are copied to the syscall names and switch definition files only. #if defined(_KERNEL_OPT) #include "opt_ktrace.h" #include "opt_ntp.h" #include "opt_sysv.h" #include "opt_compat_43.h" #include "opt_quota.h" #endif #include #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 NOARGS { int|sys||nosys(void); } syscall 1 NOARGS { int|sys||exit(int rval); } 2 NOARGS { int|sys||fork(void); } 3 NOARGS { int|sys||read(int fd, char *buf, u_int nbyte); } 4 NOARGS { int|sys||write(int fd, char *buf, u_int nbyte); } 5 NOARGS { int|sys||open(const char *path, int flags, int mode); } 6 NOARGS { int|sys||close(int fd); } 7 NOARGS { int|compat_50_sys||wait4(int pid, int *status, \ int options, struct rusage50 *rusage); } 8 NOARGS { int|compat_43_sys||creat(const char *path, \ int mode); } ocreat 9 NOARGS { int|sys||link(const char *path, const char *link); } 10 NOARGS { int|sys||unlink(const char *path); } 11 OBSOL execv 12 NOARGS { int|sys||chdir(const char *path); } 13 NOARGS { int|sys||fchdir(int fd); } 14 NOARGS { int|compat_50_sys||mknod(const char *path, int mode, int dev); } 15 NOARGS { int|sys||chmod(const char *path, int mode); } 16 NOARGS { int|sys||chown(const char *path, int uid, int gid); } 17 NOARGS { int|sys||obreak(char *nsize); } break 18 NOARGS { int|compat_20_sys||getfsstat(struct statfs12 *buf, \ long bufsize, int flags); } 19 NOARGS { long|compat_43_sys||lseek(int fd, long offset, \ int whence); } olseek 20 NOARGS { pid_t|sys||getpid_with_ppid(void); } 21 STD { int|freebsd_sys||mount(int type, const char *path, \ int flags, void *data); } 22 NOARGS { int|sys||unmount(const char *path, int flags); } 23 NOARGS { int|sys||setuid(uid_t uid); } 24 NOARGS { uid_t|sys||getuid_with_euid(void); } 25 NOARGS { uid_t|sys||geteuid(void); } 26 STD { int|freebsd_sys||ptrace(int req, pid_t pid, \ void *addr, int data); } 27 NOARGS { int|sys||recvmsg(int s, struct msghdr *msg, \ int flags); } 28 NOARGS { int|sys||sendmsg(int s, void *msg, int flags); } 29 NOARGS { int|sys||recvfrom(int s, void *buf, size_t len, \ int flags, void *from, int *fromlenaddr); } 30 NOARGS { int|sys||accept(int s, void *name, int *anamelen); } 31 NOARGS { int|sys||getpeername(int fdes, void *asa, \ int *alen); } 32 NOARGS { int|sys||getsockname(int fdes, void *asa, \ int *alen); } 33 NOARGS { int|sys||access(const char *path, int flags); } 34 NOARGS { int|sys||chflags(const char *path, int flags); } 35 NOARGS { int|sys||fchflags(int fd, int flags); } 36 NOARGS { int|sys||sync(void); } 37 NOARGS { int|sys||kill(int pid, int signum); } 38 NOARGS { int|compat_43_sys||stat(const char *path, \ struct stat43 *ub); } stat43 39 NOARGS { pid_t|sys||getppid(void); } 40 NOARGS { int|compat_43_sys||lstat(const char *path, \ struct stat43 *ub); } lstat43 41 NOARGS { int|sys||dup(int fd); } 42 NOARGS { int|sys||pipe(void); } 43 NOARGS { gid_t|sys||getegid(void); } 44 NOARGS { int|sys||profil(void *samples, u_int size, \ u_int offset, u_int scale); } #ifdef KTRACE 45 NOARGS { int|sys||ktrace(char *fname, int ops, int facs, \ int pid); } #else 45 EXCL ktrace #endif 46 NOARGS { int|compat_13_sys||sigaction(int signum, \ const struct sigaction13 *nsa, \ struct sigaction13 *osa); } 47 NOARGS { gid_t|sys||getgid_with_egid(void); } 48 NOARGS { int|compat_13_sys||sigprocmask(int how, \ int mask); } 49 NOARGS { int|sys||__getlogin(char *namebuf, u_int namelen); } 50 NOARGS { int|sys||__setlogin(char *namebuf); } 51 NOARGS { int|sys||acct(char *path); } 52 NOARGS { int|compat_13_sys||sigpending(void); } 53 NOARGS { int|compat_13_sys||sigaltstack( \ const struct sigaltstack13 *nss, \ struct sigaltstack13 *oss); } 54 STD { int|freebsd_sys||ioctl(int fd, u_long com, \ void *data); } 55 NOARGS { int|sys||reboot(int opt); } oreboot 56 NOARGS { int|sys||revoke(const char *path); } 57 NOARGS { int|sys||symlink(const char *path, const char *link); } 58 NOARGS { int|sys||readlink(const char *path, \ char *buf, int count); } 59 NOARGS { int|sys||execve(const char *path, \ char **argp, char **envp); } 60 NOARGS { int|sys||umask(int newmask); } 61 NOARGS { int|sys||chroot(const char *path); } 62 NOARGS { int|compat_43_sys||fstat(int fd, struct stat43 *sb); } \ fstat43 63 NOARGS { int|compat_43_sys||getkerninfo(int op, char *where, \ int *size, int arg); } ogetkerninfo 64 NOARGS { int|compat_43_sys||getpagesize(void); } ogetpagesize 65 STD { int|freebsd_sys||msync(void *addr, size_t len, \ int flags); } 66 NOARGS { int|sys||vfork(void); } 67 OBSOL vread 68 OBSOL vwrite 69 OBSOL sbrk 70 OBSOL sstk 71 NOARGS { int|compat_43_sys||mmap(void *addr, size_t len, \ int prot, int flags, int fd, long pos); } ommap 72 NOARGS { int|sys||ovadvise(int anom); } vadvise 73 NOARGS { int|sys||munmap(void *addr, size_t len); } 74 NOARGS { int|sys||mprotect(void *addr, size_t len, \ int prot); } 75 NOARGS { int|sys||madvise(void *addr, size_t len, \ int behav); } 76 OBSOL vhangup 77 OBSOL vlimit 78 NOARGS { int|sys||mincore(void *addr, size_t len, char *vec); } 79 NOARGS { int|sys||getgroups(u_int gidsetsize, gid_t *gidset); } 80 NOARGS { int|sys||setgroups(u_int gidsetsize, gid_t *gidset); } 81 NOARGS { int|sys||getpgrp(void); } 82 NOARGS { int|sys||setpgid(int pid, int pgid); } 83 NOARGS { int|compat_50_sys||setitimer(u_int which, \ struct itimerval50 *itv, struct itimerval50 *oitv); } 84 NOARGS { int|compat_43_sys||wait(void); } owait 85 NOARGS { int|compat_12_sys||swapon(char *name); } 86 NOARGS { int|compat_50_sys||getitimer(u_int which, \ struct itimerval50 *itv); } 87 NOARGS { int|compat_43_sys||gethostname(char *hostname, \ u_int len); } ogethostname 88 NOARGS { int|compat_43_sys||sethostname(char *hostname, \ u_int len); } osethostname 89 NOARGS { int|compat_43_sys||getdtablesize(void); } \ ogetdtablesize 90 NOARGS { int|sys||dup2(int from, int to); } 91 UNIMPL getdopt 92 NOARGS { int|sys||fcntl(int fd, int cmd, void *arg); } 93 NOARGS { int|compat_50_sys||select(u_int nd, fd_set *in, \ fd_set *ou, fd_set *ex, struct timeval50 *tv); } 94 UNIMPL setdopt 95 NOARGS { int|sys||fsync(int fd); } 96 NOARGS { int|sys||setpriority(int which, int who, int prio); } 97 NOARGS { int|compat_30_sys||socket(int domain, int type, int protocol); } 98 NOARGS { int|sys||connect(int s, void *name, int namelen); } 99 NOARGS { int|compat_43_sys||accept(int s, void *name, \ int *anamelen); } oaccept 100 NOARGS { int|sys||getpriority(int which, int who); } 101 NOARGS { int|compat_43_sys||send(int s, void *buf, int len, \ int flags); } osend 102 NOARGS { int|compat_43_sys||recv(int s, void *buf, int len, \ int flags); } orecv 103 STD { int|freebsd_sys||sigreturn( \ struct freebsd_sigcontext *scp); } 104 NOARGS { int|sys||bind(int s, void *name, int namelen); } 105 NOARGS { int|sys||setsockopt(int s, int level, int name, \ void *val, int valsize); } 106 NOARGS { int|sys||listen(int s, int backlog); } 107 OBSOL vtimes 108 NOARGS { int|compat_43_sys||sigvec(int signum, \ struct sigvec *nsv, struct sigvec *osv); } osigvec 109 NOARGS { int|compat_43_sys||sigblock(int mask); } osigblock 110 NOARGS { int|compat_43_sys||sigsetmask(int mask); } osigsetmask 111 NOARGS { int|compat_13_sys||sigsuspend(int mask); } 112 NOARGS { int|compat_43_sys||sigstack(struct sigstack *nss, \ struct sigstack *oss); } osigstack 113 NOARGS { int|compat_43_sys||recvmsg(int s, \ struct omsghdr *msg, int flags); } orecvmsg 114 NOARGS { int|compat_43_sys||sendmsg(int s, void *msg, \ int flags); } osendmsg #ifdef TRACE 115 NOARGS { int|sys||vtrace(int request, int value); } #else 115 OBSOL vtrace #endif 116 NOARGS { int|compat_50_sys||gettimeofday(struct timeval50 *tp, \ struct timezone *tzp); } 117 NOARGS { int|compat_50_sys||getrusage(int who, \ struct rusage50 *rusage); } 118 NOARGS { int|sys||getsockopt(int s, int level, int name, \ void *val, int *avalsize); } 119 OBSOL resuba 120 NOARGS { int|sys||readv(int fd, struct iovec *iovp, \ u_int iovcnt); } 121 NOARGS { int|sys||writev(int fd, struct iovec *iovp, \ u_int iovcnt); } 122 NOARGS { int|compat_50_sys||settimeofday(struct timeval50 *tv, \ struct timezone50 *tzp); } 123 NOARGS { int|sys||fchown(int fd, int uid, int gid); } 124 NOARGS { int|sys||fchmod(int fd, int mode); } 125 NOARGS { int|compat_43_sys||recvfrom(int s, void *buf, \ size_t len, int flags, void *from, \ int *fromlenaddr); } orecvfrom 126 NOARGS { int|sys||setreuid(int ruid, int euid); } 127 NOARGS { int|sys||setregid(int rgid, int egid); } 128 NOARGS { int|sys||rename(const char *from, const char *to); } 129 NOARGS { int|compat_43_sys||truncate(const char *path, \ long length); } otruncate 130 NOARGS { int|compat_43_sys||ftruncate(int fd, long length); } \ oftruncate 131 NOARGS { int|sys||flock(int fd, int how); } 132 NOARGS { int|sys||mkfifo(const char *path, int mode); } 133 NOARGS { int|sys||sendto(int s, void *buf, size_t len, \ int flags, void *to, int tolen); } 134 NOARGS { int|sys||shutdown(int s, int how); } 135 NOARGS { int|sys||socketpair(int domain, int type, \ int protocol, int *rsv); } 136 NOARGS { int|sys||mkdir(const char *path, int mode); } 137 NOARGS { int|sys||rmdir(const char *path); } 138 NOARGS { int|compat_50_sys||utimes(char *path, \ struct timeval50 *tptr); } 139 OBSOL 4.2 sigreturn 140 NOARGS { int|compat_50_sys||adjtime(struct timeval50 *delta, \ struct timeval50 *olddelta); } 141 NOARGS { int|compat_43_sys||getpeername(int fdes, void *asa, \ int *alen); } ogetpeername 142 NOARGS { int32_t|compat_43_sys||gethostid(void); } ogethostid 143 NOARGS { int|compat_43_sys||sethostid(int32_t hostid); } \ osethostid 144 NOARGS { int|compat_43_sys||getrlimit(u_int which, \ struct orlimit *rlp); } ogetrlimit 145 NOARGS { int|compat_43_sys||setrlimit(u_int which, \ struct orlimit *rlp); } osetrlimit 146 NOARGS { int|compat_43_sys||killpg(int pgid, int signum); } \ okillpg 147 NOARGS { int|sys||setsid(void); } #if defined(QUOTA) || !defined(_KERNEL_OPT) 148 NOARGS { int|compat_50_sys||quotactl(char *path, int cmd, \ int uid, void *arg); } 149 NOARGS { int|compat_43_sys||quota(void); } oquota #else 148 EXCL compat_50_sys_quotactl 149 EXCL compat_43_sys_quota #endif 150 NOARGS { int|compat_43_sys||getsockname(int fdec, void *asa, \ int *alen); } ogetsockname ; 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 sem_lock 152 UNIMPL sem_wakeup 153 UNIMPL asyncdaemon 154 UNIMPL 155 UNIMPL nfssvc 156 NOARGS { int|compat_43_sys||getdirentries(int fd, char *buf, \ u_int count, long *basep); } ogetdirentries 157 NOARGS { int|compat_20_sys||statfs(const char *path, \ struct statfs12 *buf); } 158 NOARGS { int|compat_20_sys||fstatfs(int fd, \ struct statfs12 *buf); } 159 UNIMPL 160 UNIMPL 161 NOARGS { int|compat_30_sys||getfh(const char *fname, \ struct compat_30_fhandle *fhp); } 162 NOARGS { int|compat_09_sys||getdomainname(char *domainname, \ int len); } 163 NOARGS { int|compat_09_sys||setdomainname(char *domainname, \ int len); } 164 NOARGS { int|compat_09_sys||uname(struct outsname *name); } 165 NOARGS { int|sys||sysarch(int op, char *parms); } 166 STD { int|freebsd_sys||rtprio(int function, pid_t pid, \ struct freebsd_rtprio *rtp); } 167 UNIMPL 168 UNIMPL ; XXX more generally, never on machines where sizeof(void *) != sizeof(int) #if defined(SYSVSEM) && !defined(_LP64) 169 STD { int|freebsd_sys||semsys(int which, int a2, int a3, \ int a4, int a5); } #else 169 UNIMPL 1.0 semsys #endif ; XXX more generally, never on machines where sizeof(void *) != sizeof(int) #if defined(SYSVMSG) && !defined(_LP64) 170 STD { int|freebsd_sys||msgsys(int which, int a2, int a3, \ int a4, int a5, int a6); } #else 170 UNIMPL 1.0 msgsys #endif ; XXX more generally, never on machines where sizeof(void *) != sizeof(int) #if defined(SYSVSHM) && !defined(_LP64) 171 STD { int|freebsd_sys||shmsys(int which, int a2, int a3, \ int a4); } #else 171 UNIMPL 1.0 shmsys #endif 172 UNIMPL 173 NOARGS { ssize_t|sys||pread(int fd, void *buf, \ size_t nbyte, int pad, off_t offset); } 174 NOARGS { ssize_t|sys||pwrite(int fd, const void *buf, \ size_t nbyte, int pad, off_t offset); } 175 UNIMPL #ifdef NTP 176 STD { int|freebsd||ntp_adjtime(struct freebsd_timex *tp); } #else 176 EXCL ntp_adjtime #endif 177 UNIMPL sfork 178 UNIMPL getdescriptor 179 UNIMPL setdescriptor 180 UNIMPL ; Syscalls 180-199 are used by/reserved for BSD 181 NOARGS { int|sys||setgid(gid_t gid); } 182 NOARGS { int|sys||setegid(gid_t egid); } 183 NOARGS { int|sys||seteuid(uid_t euid); } 184 UNIMPL 185 UNIMPL 186 UNIMPL 187 UNIMPL 188 NOARGS { int|compat_12_sys||stat(const char *path, \ struct stat12 *ub); } 189 NOARGS { int|compat_12_sys||fstat(int fd, \ struct stat12 *sb); } 190 NOARGS { int|compat_12_sys||lstat(const char *path, \ struct stat12 *ub); } 191 NOARGS { int|sys||pathconf(const char *path, int name); } 192 NOARGS { int|sys||fpathconf(int fd, int name); } 193 UNIMPL 194 NOARGS { int|sys||getrlimit(u_int which, struct rlimit *rlp); } 195 NOARGS { int|sys||setrlimit(u_int which, struct rlimit *rlp); } 196 NOARGS { int|compat_12_sys||getdirentries(int fd, char *buf, \ u_int count, long *basep); } 197 STD { void *|freebsd_sys||mmap(void *addr, size_t len, \ int prot, int flags, int fd, long pad, off_t pos); } 198 NOARGS { int|sys||nosys(void); } __syscall 199 NOARGS { off_t|sys||lseek(int fd, int pad, off_t offset, \ int whence); } 200 NOARGS { int|sys||truncate(const char *path, int pad, \ off_t length); } 201 NOARGS { int|sys||ftruncate(int fd, int pad, off_t length); } 202 STD { int|freebsd_sys||sysctl(int *name, u_int namelen, \ void *old, size_t *oldlenp, void *new, \ size_t newlen); } 203 NOARGS { int|sys||mlock(void *addr, size_t len); } 204 NOARGS { int|sys||munlock(void *addr, size_t len); } #ifdef FREEBSD_BASED_ON_44LITE_R2 205 STD { int|freebsd_sys||undelete(char *path); } #else 205 UNIMPL undelete #endif 206 NOARGS { int|compat_50_sys||futimes(int fd, \ const struct timeval50 *tptr); } 207 NOARGS { pid_t|sys||getpgid(pid_t pid); } #if 0 208 NOARGS { int|sys||reboot(int opt, char *bootstr); } #else 208 UNIMPL newreboot #endif 209 NOARGS { int|sys||poll(struct pollfd *fds, u_int nfds, \ int timeout); } ; ; Syscalls 210-219 are reserved for dynamically loaded syscalls ; 210 UNIMPL 211 UNIMPL 212 UNIMPL 213 UNIMPL 214 UNIMPL 215 UNIMPL 216 UNIMPL 217 UNIMPL 218 UNIMPL 219 UNIMPL ; ; Syscalls 220-239 are reserved for syscalls imported from NetBSD ; #ifdef SYSVSEM 220 NOARGS { int|compat_14_sys||__semctl(int semid, int semnum, \ int cmd, union __semun *arg); } 221 NOARGS { int|sys||semget(key_t key, int nsems, int semflg); } 222 NOARGS { int|sys||semop(int semid, struct sembuf *sops, \ u_int nsops); } 223 NOARGS { int|sys||semconfig(int flag); } #else 220 UNIMPL semctl 221 UNIMPL semget 222 UNIMPL semop 223 UNIMPL semconfig #endif #ifdef SYSVMSG 224 NOARGS { int|compat_14_sys||msgctl(int msqid, int cmd, \ struct msqid14_ds *buf); } 225 NOARGS { int|sys||msgget(key_t key, int msgflg); } 226 NOARGS { int|sys||msgsnd(int msqid, void *msgp, size_t msgsz, \ int msgflg); } 227 NOARGS { int|sys||msgrcv(int msqid, void *msgp, size_t msgsz, \ long msgtyp, int msgflg); } #else 224 UNIMPL msgctl 225 UNIMPL msgget 226 UNIMPL msgsnd 227 UNIMPL msgrcv #endif #ifdef SYSVSHM 228 NOARGS { int|sys||shmat(int shmid, void *shmaddr, int shmflg); } 229 NOARGS { int|compat_14_sys||shmctl(int shmid, int cmd, \ struct shmid_ds14 *buf); } 230 NOARGS { int|sys||shmdt(void *shmaddr); } 231 NOARGS { int|sys||shmget(key_t key, int size, int shmflg); } #else 228 UNIMPL shmat 229 UNIMPL shmctl 230 UNIMPL shmdt 231 UNIMPL shmget #endif ; ; XXXX 232 NOARGS { int|compat_50_sys||clock_gettime(clockid_t clock_id, \ struct timespec50 *tp); } 233 NOARGS { int|compat_50_sys||clock_settime(clockid_t clock_id, \ const struct timespec50 *tp); } 234 NOARGS { int|compat_50_sys||clock_getres(clockid_t clock_id, \ struct timespec50 *tp); } 235 UNIMPL timer_create 236 UNIMPL timer_delete 237 UNIMPL timer_settime 238 UNIMPL timer_gettime 239 UNIMPL timer_getoverrun 240 NOARGS { int|compat_50_sys||nanosleep( \ const struct timespec50 *rqtp, \ struct timespec50 *rmtp); } 241 UNIMPL 242 UNIMPL 243 UNIMPL 244 UNIMPL 245 UNIMPL 246 UNIMPL 247 UNIMPL 248 UNIMPL 249 UNIMPL ; syscall numbers initially used in OpenBSD 250 NOARGS { int|sys||minherit(void *addr, size_t len, \ int inherit); } 251 STD { int|freebsd_sys||rfork(int flags); } 252 UNIMPL openbsd_poll 253 NOARGS { int|sys||issetugid(void); } 254 NOARGS { int|sys||lchown(const char *path, int uid, int gid); } 255 UNIMPL 256 UNIMPL 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 UNIMPL 271 UNIMPL 272 NOARGS { int|compat_30_sys||getdents(int fd, char *buf, size_t count); } 273 UNIMPL 274 NOARGS { int|sys||lchmod(const char *path, mode_t mode); } 275 NOARGS { int|sys||lchown(const char *path, uid_t uid, \ gid_t gid); } netbsd_lchown 276 NOARGS { int|compat_50_sys||lutimes(const char *path, \ const struct timeval50 *tptr); } 277 NOARGS { int|sys|13|msync(void *addr, size_t len, int flags); } 278 NOARGS { int|compat_30_sys|13|stat(const char *path, struct stat13 *ub); } 279 NOARGS { int|compat_30_sys|13|fstat(int fd, struct stat13 *sb); } 280 NOARGS { int|compat_30_sys|13|lstat(const char *path, struct stat13 *ub);} 281 UNIMPL 282 UNIMPL 283 UNIMPL 284 UNIMPL 285 UNIMPL 286 UNIMPL 287 UNIMPL 288 UNIMPL 289 UNIMPL 290 UNIMPL 291 UNIMPL 292 UNIMPL 293 UNIMPL 294 UNIMPL 295 UNIMPL 296 UNIMPL 297 NOARGS { int|compat_20_sys||fhstatfs(const struct \ compat_30_fhandle *fhp, \ struct statfs12 *buf); } 298 NOARGS { int|compat_30_sys||fhopen(const \ struct compat_30_fhandle *fhp, int flags); } 299 NOARGS { int|compat_30_sys||fhstat(const \ struct cocmpat_30_fhandlez *fhp, \ struct stat13 *sb); } ; syscall numbers for FreeBSD 300 UNIMPL modnext 301 UNIMPL modstat 302 UNIMPL modfnext 303 UNIMPL modfind 304 UNIMPL kldload 305 UNIMPL kldunload 306 UNIMPL kldfind 307 UNIMPL kldnext 308 UNIMPL kldstat 309 UNIMPL kldfirstmod 310 NOARGS { pid_t|sys||getsid(pid_t pid); } 311 UNIMPL setresuid 312 UNIMPL setresgid 313 UNIMPL signanosleep 314 UNIMPL aio_return 315 UNIMPL aio_suspend 316 UNIMPL aio_cancel 317 UNIMPL aio_error 318 UNIMPL aio_read 319 UNIMPL aio_write 320 UNIMPL lio_listio 321 NOARGS { void|freebsd_sys||yield(void); } 322 UNIMPL thr_sleep 323 UNIMPL thr_wakeup 324 NOARGS { int|sys||mlockall(int flags); } 325 NOARGS { int|sys||munlockall(void); } 326 NOARGS { int|sys||__getcwd(char *bufp, size_t length); } 327 STD { int|freebsd_sys||sched_setparam(pid_t pid, \ const struct freebsd_sched_param *sp); } 328 STD { int|freebsd_sys||sched_getparam(pid_t pid, \ struct freebsd_sched_param *sp); } 329 STD { int|freebsd_sys||sched_setscheduler(pid_t pid, \ int policy, const struct sched_param *sp); } 330 STD { int|freebsd_sys||sched_getscheduler(pid_t pid); } 331 STD { int|freebsd_sys||sched_yield(void); } 332 STD { int|freebsd_sys||sched_get_priority_max(int policy); } 333 STD { int|freebsd_sys||sched_get_priority_min(int policy); } 334 UNIMPL sched_rr_get_interval 335 STD { int|freebsd_sys||utrace(void *addr, size_t len); } 336 UNIMPL sendfile 337 UNIMPL kldsym 338 UNIMPL jail 339 UNIMPL pioctl 340 NOARGS { int|sys|14|sigprocmask(int how, \ const sigset_t *set, \ sigset_t *oset); } 341 NOARGS { int|sys|14|sigsuspend(const sigset_t *set); } 342 STD { int|freebsd_sys||sigaction4(int signum, \ const struct freebsd_sigaction4 *nsa, \ struct freebsd_sigaction4 *osa); } 343 NOARGS { int|sys|14|sigpending(const sigset_t *set); } 344 UNIMPL 4.0 sigreturn 345 UNIMPL sigtimedwait 346 UNIMPL sigwaitinfo 347 UNIMPL __acl_get_file 348 UNIMPL __acl_set_file 349 UNIMPL __acl_get_fd 350 UNIMPL __acl_set_fd 351 UNIMPL __acl_delete_file 352 UNIMPL __acl_delete_fd 353 UNIMPL __acl_aclcheck_file 354 UNIMPL __acl_aclcheck_fd 355 UNIMPL extattrctl 356 UNIMPL extattr_set_file 357 UNIMPL extattr_get_file 358 UNIMPL extattr_delete_file 359 UNIMPL aio_waitcomplete 360 UNIMPL getresuid 361 UNIMPL getresgid 362 UNIMPL kqueue 363 UNIMPL kevent 364 UNIMPL __cap_get_proc 365 UNIMPL __cap_set_proc 366 UNIMPL __cap_get_fd 367 UNIMPL __cap_get_file 368 UNIMPL __cap_set_fd 369 UNIMPL __cap_set_file 370 UNIMPL lkmressym 371 UNIMPL extattr_set_fd 372 UNIMPL extattr_get_fd 373 UNIMPL extattr_delete_fd 374 UNIMPL __setugid 375 UNIMPL nfsclnt 376 UNIMPL eaccess 377 UNIMPL afs_syscall 378 UNIMPL nmount 379 UNIMPL kse_exit 380 UNIMPL kse_wakeup 381 UNIMPL kse_create 382 UNIMPL kse_thr_interrupt 383 UNIMPL kse_release 384 UNIMPL __mac_get_proc 385 UNIMPL __mac_set_proc 386 UNIMPL __mac_get_fd 387 UNIMPL __mac_get_file 388 UNIMPL __mac_set_fd 389 UNIMPL __mac_set_file 390 UNIMPL kenv 391 NOARGS { int|sys||lchflags(const char *path, u_long flags); } 392 NOARGS { int|sys||uuidgen(struct uuid *store, int count); } 393 UNIMPL sendfile 394 UNIMPL mac_syscall 395 UNIMPL getfsstat 396 UNIMPL statfs 397 UNIMPL fsstatfs 398 UNIMPL fhstatfs 399 UNIMPL nosys 400 NOARGS { int|sys||_ksem_close(intptr_t id); } 401 NOARGS { int|sys||_ksem_post(intptr_t id); } 402 NOARGS { int|sys||_ksem_wait(intptr_t id); } 403 NOARGS { int|sys||_ksem_trywait(intptr_t id); } 404 UNIMPL ksem_init 405 UNIMPL ksem_open 406 NOARGS { int|sys||_ksem_unlink(const char *name); } 407 NOARGS { int|sys||_ksem_getvalue(intptr_t id, \ unsigned int *value); } 408 NOARGS { int|sys||_ksem_destroy(intptr_t id); } 409 UNIMPL __mac_get_pid 410 UNIMPL __mac_get_link 411 UNIMPL __mac_set_link 412 UNIMPL extattr_set_link 413 UNIMPL extattr_get_link 414 UNIMPL extattr_delete_link 415 UNIMPL __mac_execve 416 UNIMPL sigaction 417 UNIMPL sigreturn 418 UNIMPL __xstat 419 UNIMPL __xfstat 420 UNIMPL __xlstat 421 UNIMPL getcontext 422 UNIMPL setcontext 423 UNIMPL swapcontext 424 UNIMPL swapoff 425 UNIMPL __acl_get_link 426 UNIMPL __acl_set_link 427 UNIMPL __acl_delete_link 428 UNIMPL __acl_aclcheck_link 429 UNIMPL sigwait 430 UNIMPL thr_create 431 UNIMPL thr_exit 432 UNIMPL thr_self 433 UNIMPL thr_kill 434 UNIMPL _umtx_lock 435 UNIMPL _umtx_unlock 436 UNIMPL jail_attach 437 UNIMPL extattr_list_fd 438 UNIMPL extattr_list_file 439 UNIMPL extattr_list_link @ 1.72 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.70 2017/12/19 18:15:08 kamil Exp $ d39 1 d281 1 d285 4 @ 1.72.4.1 log @Mostly merge changes from HEAD upto 20200411 @ text @d1 1 a1 1 $NetBSD$ a38 1 #include "opt_quota.h" a279 1 #if defined(QUOTA) || !defined(_KERNEL_OPT) a282 4 #else 148 EXCL compat_50_sys_quotactl 149 EXCL compat_43_sys_quota #endif @ 1.71 log @compat/freebsd: Drop SYS_vadvise The (o)vadvise syscall is dummy since the beginning of NetBSD. Sponsored by @ text @d164 1 a164 1 72 OBSOL vadvise @ 1.70 log @compat/freebsd: 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.69 2017/12/19 08:27:05 kamil Exp $ d164 1 a164 1 72 NOARGS { int|sys||ovadvise(int anom); } vadvise @ 1.69 log @compat freebsd: Drop the sstk(2) syscall sstk(2) has never been implemented by the NetBSD kernel. Sponsored by @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.68 2017/08/08 08:04:06 maxv Exp $ d160 1 a160 1 69 NOARGS { int|sys||sbrk(intptr_t incr); } @ 1.68 log @Move freebsd_machdep.h into sys/compat/freebsd, and don't install it. Now, the compat_freebsd files are all contained in sys/compat/freebsd. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.67 2013/11/07 19:37:18 njoly Exp $ d161 1 a161 1 70 NOARGS { int|sys||sstk(int incr); } @ 1.67 log @Fix dup/dup2/dup3 argument types (u_int -> int). @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.66 2012/03/10 21:51:57 joerg Exp $ d52 1 a52 1 #include @ 1.67.6.1 log @Sync with HEAD @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.68 2017/08/08 08:04:06 maxv Exp $ d52 1 a52 1 #include @ 1.66 log @P1003_1B_SEMAPHORE is no longer optional. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.65 2011/03/06 17:08:34 bouyer Exp $ d115 1 a115 1 41 NOARGS { int|sys||dup(u_int fd); } d189 1 a189 1 90 NOARGS { int|sys||dup2(u_int from, u_int to); } @ 1.66.2.1 log @Rebase to HEAD as of a few days ago. @ text @d1 1 a1 1 $NetBSD$ d115 1 a115 1 41 NOARGS { int|sys||dup(int fd); } d189 1 a189 1 90 NOARGS { int|sys||dup2(int from, int to); } @ 1.66.2.2 log @update from HEAD @ text @d52 1 a52 1 #include @ 1.66.4.1 log @sync with head @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.66 2012/03/10 21:51:57 joerg Exp $ d115 1 a115 1 41 NOARGS { int|sys||dup(int fd); } d189 1 a189 1 90 NOARGS { int|sys||dup2(int from, int to); } @ 1.65 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$ a38 1 #include "opt_posix.h" a647 1 #if defined(P1003_1B_SEMAPHORE) || !defined(_KERNEL) a657 11 #else 400 EXCL ksem_close 401 EXCL ksem_post 402 EXCL ksem_wait 403 EXCL ksem_trywait 404 EXCL ksem_init 405 EXCL ksem_open 406 EXCL ksem_unlink 407 EXCL ksem_getvalue 408 EXCL ksem_destroy #endif @ 1.65.4.1 log @sync with head @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.65 2011/03/06 17:08:34 bouyer Exp $ d39 1 d649 1 d660 11 @ 1.65.4.2 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.65.4.1 2012/04/17 00:07:14 yamt Exp $ d115 1 a115 1 41 NOARGS { int|sys||dup(int fd); } d189 1 a189 1 90 NOARGS { int|sys||dup2(int from, int to); } @ 1.65.8.1 log @sync to latest -current @ text @d39 1 d649 1 d660 11 @ 1.64 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.63 2010/03/02 16:00:03 pooka Exp $ d281 2 a282 2 148 NOARGS { int|sys||quotactl(char *path, int cmd, int uid, \ void *arg); } @ 1.64.4.1 log @Sync with HEAD. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.65 2011/03/06 17:08:34 bouyer Exp $ d281 2 a282 2 148 NOARGS { int|compat_50_sys||quotactl(char *path, int cmd, \ int uid, void *arg); } @ 1.64.2.1 log @sync with head @ text @d1 1 a1 1 $NetBSD$ d281 2 a282 2 148 NOARGS { int|compat_50_sys||quotactl(char *path, int cmd, \ int uid, void *arg); } @ 1.64.6.1 log @freebsd quotactl uses our COMPAT_50 syscall. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.64 2010/03/02 21:07:21 pooka Exp $ d281 2 a282 2 148 NOARGS { int|compat_50_sys||quotactl(char *path, int cmd, \ int uid, void *arg); } @ 1.63 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.62 2009/01/13 22:27:43 pooka Exp $ a303 1 #ifdef NFS a305 3 #else 161 UNIMPL getfh #endif @ 1.62 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.61 2009/01/11 02:45:47 christos Exp $ a39 2 #include "fs_lfs.h" a360 9 #ifdef LFS 184 NOARGS { int|sys||lfs_bmapv(fsid_t *fsidp, \ struct block_info *blkiov, int blkcnt); } 185 NOARGS { int|sys||lfs_markv(fsid_t *fsidp, \ struct block_info *blkiov, int blkcnt); } 186 NOARGS { int|sys||lfs_segclean(fsid_t *fsidp, u_long segment); } 187 NOARGS { int|compat_50_sys||lfs_segwait(fsid_t *fsidp, \ struct timeval50 *tv); } #else a364 1 #endif @ 1.62.4.1 log @Sync with HEAD. @ text @d1 1 a1 1 $NetBSD$ d40 2 d306 1 d309 3 d363 9 d376 1 @ 1.61 log @merge christos-time_t @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.58.30.2 2008/11/20 20:45:38 christos Exp $ d65 8 a72 8 0 NOARGS { int sys_nosys(void); } syscall 1 NOARGS { int sys_exit(int rval); } 2 NOARGS { int sys_fork(void); } 3 NOARGS { int sys_read(int fd, char *buf, u_int nbyte); } 4 NOARGS { int sys_write(int fd, char *buf, u_int nbyte); } 5 NOARGS { int sys_open(const char *path, int flags, int mode); } 6 NOARGS { int sys_close(int fd); } 7 NOARGS { int compat_50_sys_wait4(int pid, int *status, \ d74 1 a74 1 8 NOARGS { int compat_43_sys_creat(const char *path, \ d76 2 a77 2 9 NOARGS { int sys_link(const char *path, const char *link); } 10 NOARGS { int sys_unlink(const char *path); } d79 7 a85 7 12 NOARGS { int sys_chdir(const char *path); } 13 NOARGS { int sys_fchdir(int fd); } 14 NOARGS { int compat_50_sys_mknod(const char *path, int mode, int dev); } 15 NOARGS { int sys_chmod(const char *path, int mode); } 16 NOARGS { int sys_chown(const char *path, int uid, int gid); } 17 NOARGS { int sys_obreak(char *nsize); } break 18 NOARGS { int compat_20_sys_getfsstat(struct statfs12 *buf, \ d87 1 a87 1 19 NOARGS { long compat_43_sys_lseek(int fd, long offset, \ d89 2 a90 2 20 NOARGS { pid_t sys_getpid_with_ppid(void); } 21 STD { int freebsd_sys_mount(int type, const char *path, \ d92 5 a96 5 22 NOARGS { int sys_unmount(const char *path, int flags); } 23 NOARGS { int sys_setuid(uid_t uid); } 24 NOARGS { uid_t sys_getuid_with_euid(void); } 25 NOARGS { uid_t sys_geteuid(void); } 26 STD { int freebsd_sys_ptrace(int req, pid_t pid, \ d98 1 a98 1 27 NOARGS { int sys_recvmsg(int s, struct msghdr *msg, \ d100 2 a101 2 28 NOARGS { int sys_sendmsg(int s, void *msg, int flags); } 29 NOARGS { int sys_recvfrom(int s, void *buf, size_t len, \ d103 2 a104 2 30 NOARGS { int sys_accept(int s, void *name, int *anamelen); } 31 NOARGS { int sys_getpeername(int fdes, void *asa, \ d106 1 a106 1 32 NOARGS { int sys_getsockname(int fdes, void *asa, \ d108 6 a113 6 33 NOARGS { int sys_access(const char *path, int flags); } 34 NOARGS { int sys_chflags(const char *path, int flags); } 35 NOARGS { int sys_fchflags(int fd, int flags); } 36 NOARGS { int sys_sync(void); } 37 NOARGS { int sys_kill(int pid, int signum); } 38 NOARGS { int compat_43_sys_stat(const char *path, \ d115 2 a116 2 39 NOARGS { pid_t sys_getppid(void); } 40 NOARGS { int compat_43_sys_lstat(const char *path, \ d118 4 a121 4 41 NOARGS { int sys_dup(u_int fd); } 42 NOARGS { int sys_pipe(void); } 43 NOARGS { gid_t sys_getegid(void); } 44 NOARGS { int sys_profil(void *samples, u_int size, \ d124 1 a124 1 45 NOARGS { int sys_ktrace(char *fname, int ops, int facs, \ d129 1 a129 1 46 NOARGS { int compat_13_sys_sigaction(int signum, \ d132 2 a133 2 47 NOARGS { gid_t sys_getgid_with_egid(void); } 48 NOARGS { int compat_13_sys_sigprocmask(int how, \ d135 5 a139 5 49 NOARGS { int sys___getlogin(char *namebuf, u_int namelen); } 50 NOARGS { int sys___setlogin(char *namebuf); } 51 NOARGS { int sys_acct(char *path); } 52 NOARGS { int compat_13_sys_sigpending(void); } 53 NOARGS { int compat_13_sys_sigaltstack( \ d142 1 a142 1 54 STD { int freebsd_sys_ioctl(int fd, u_long com, \ d144 4 a147 4 55 NOARGS { int sys_reboot(int opt); } oreboot 56 NOARGS { int sys_revoke(const char *path); } 57 NOARGS { int sys_symlink(const char *path, const char *link); } 58 NOARGS { int sys_readlink(const char *path, \ d149 1 a149 1 59 NOARGS { int sys_execve(const char *path, \ d151 3 a153 3 60 NOARGS { int sys_umask(int newmask); } 61 NOARGS { int sys_chroot(const char *path); } 62 NOARGS { int compat_43_sys_fstat(int fd, struct stat43 *sb); } \ d155 1 a155 1 63 NOARGS { int compat_43_sys_getkerninfo(int op, char *where, \ d157 2 a158 2 64 NOARGS { int compat_43_sys_getpagesize(void); } ogetpagesize 65 STD { int freebsd_sys_msync(void *addr, size_t len, \ d160 1 a160 1 66 NOARGS { int sys_vfork(void); } d163 3 a165 3 69 NOARGS { int sys_sbrk(intptr_t incr); } 70 NOARGS { int sys_sstk(int incr); } 71 NOARGS { int compat_43_sys_mmap(void *addr, size_t len, \ d167 3 a169 3 72 NOARGS { int sys_ovadvise(int anom); } vadvise 73 NOARGS { int sys_munmap(void *addr, size_t len); } 74 NOARGS { int sys_mprotect(void *addr, size_t len, \ d171 1 a171 1 75 NOARGS { int sys_madvise(void *addr, size_t len, \ d175 6 a180 6 78 NOARGS { int sys_mincore(void *addr, size_t len, char *vec); } 79 NOARGS { int sys_getgroups(u_int gidsetsize, gid_t *gidset); } 80 NOARGS { int sys_setgroups(u_int gidsetsize, gid_t *gidset); } 81 NOARGS { int sys_getpgrp(void); } 82 NOARGS { int sys_setpgid(int pid, int pgid); } 83 NOARGS { int compat_50_sys_setitimer(u_int which, \ d182 3 a184 3 84 NOARGS { int compat_43_sys_wait(void); } owait 85 NOARGS { int compat_12_sys_swapon(char *name); } 86 NOARGS { int compat_50_sys_getitimer(u_int which, \ d186 1 a186 1 87 NOARGS { int compat_43_sys_gethostname(char *hostname, \ d188 1 a188 1 88 NOARGS { int compat_43_sys_sethostname(char *hostname, \ d190 1 a190 1 89 NOARGS { int compat_43_sys_getdtablesize(void); } \ d192 1 a192 1 90 NOARGS { int sys_dup2(u_int from, u_int to); } d194 2 a195 2 92 NOARGS { int sys_fcntl(int fd, int cmd, void *arg); } 93 NOARGS { int compat_50_sys_select(u_int nd, fd_set *in, \ d198 5 a202 5 95 NOARGS { int sys_fsync(int fd); } 96 NOARGS { int sys_setpriority(int which, int who, int prio); } 97 NOARGS { int compat_30_sys_socket(int domain, int type, int protocol); } 98 NOARGS { int sys_connect(int s, void *name, int namelen); } 99 NOARGS { int compat_43_sys_accept(int s, void *name, \ d204 2 a205 2 100 NOARGS { int sys_getpriority(int which, int who); } 101 NOARGS { int compat_43_sys_send(int s, void *buf, int len, \ d207 1 a207 1 102 NOARGS { int compat_43_sys_recv(int s, void *buf, int len, \ d209 1 a209 1 103 STD { int freebsd_sys_sigreturn( \ d211 2 a212 2 104 NOARGS { int sys_bind(int s, void *name, int namelen); } 105 NOARGS { int sys_setsockopt(int s, int level, int name, \ d214 1 a214 1 106 NOARGS { int sys_listen(int s, int backlog); } d216 1 a216 1 108 NOARGS { int compat_43_sys_sigvec(int signum, \ d218 4 a221 4 109 NOARGS { int compat_43_sys_sigblock(int mask); } osigblock 110 NOARGS { int compat_43_sys_sigsetmask(int mask); } osigsetmask 111 NOARGS { int compat_13_sys_sigsuspend(int mask); } 112 NOARGS { int compat_43_sys_sigstack(struct sigstack *nss, \ d223 1 a223 1 113 NOARGS { int compat_43_sys_recvmsg(int s, \ d225 1 a225 1 114 NOARGS { int compat_43_sys_sendmsg(int s, void *msg, \ d228 1 a228 1 115 NOARGS { int sys_vtrace(int request, int value); } d232 1 a232 1 116 NOARGS { int compat_50_sys_gettimeofday(struct timeval50 *tp, \ d234 1 a234 1 117 NOARGS { int compat_50_sys_getrusage(int who, \ d236 1 a236 1 118 NOARGS { int sys_getsockopt(int s, int level, int name, \ d239 1 a239 1 120 NOARGS { int sys_readv(int fd, struct iovec *iovp, \ d241 1 a241 1 121 NOARGS { int sys_writev(int fd, struct iovec *iovp, \ d243 1 a243 1 122 NOARGS { int compat_50_sys_settimeofday(struct timeval50 *tv, \ d245 3 a247 3 123 NOARGS { int sys_fchown(int fd, int uid, int gid); } 124 NOARGS { int sys_fchmod(int fd, int mode); } 125 NOARGS { int compat_43_sys_recvfrom(int s, void *buf, \ d250 4 a253 4 126 NOARGS { int sys_setreuid(int ruid, int euid); } 127 NOARGS { int sys_setregid(int rgid, int egid); } 128 NOARGS { int sys_rename(const char *from, const char *to); } 129 NOARGS { int compat_43_sys_truncate(const char *path, \ d255 1 a255 1 130 NOARGS { int compat_43_sys_ftruncate(int fd, long length); } \ d257 3 a259 3 131 NOARGS { int sys_flock(int fd, int how); } 132 NOARGS { int sys_mkfifo(const char *path, int mode); } 133 NOARGS { int sys_sendto(int s, void *buf, size_t len, \ d261 2 a262 2 134 NOARGS { int sys_shutdown(int s, int how); } 135 NOARGS { int sys_socketpair(int domain, int type, \ d264 3 a266 3 136 NOARGS { int sys_mkdir(const char *path, int mode); } 137 NOARGS { int sys_rmdir(const char *path); } 138 NOARGS { int compat_50_sys_utimes(char *path, \ d269 1 a269 1 140 NOARGS { int compat_50_sys_adjtime(struct timeval50 *delta, \ d271 1 a271 1 141 NOARGS { int compat_43_sys_getpeername(int fdes, void *asa, \ d273 2 a274 2 142 NOARGS { int32_t compat_43_sys_gethostid(void); } ogethostid 143 NOARGS { int compat_43_sys_sethostid(int32_t hostid); } \ d276 1 a276 1 144 NOARGS { int compat_43_sys_getrlimit(u_int which, \ d278 1 a278 1 145 NOARGS { int compat_43_sys_setrlimit(u_int which, \ d280 1 a280 1 146 NOARGS { int compat_43_sys_killpg(int pgid, int signum); } \ d282 2 a283 2 147 NOARGS { int sys_setsid(void); } 148 NOARGS { int sys_quotactl(char *path, int cmd, int uid, \ d285 2 a286 2 149 NOARGS { int compat_43_sys_quota(void); } oquota 150 NOARGS { int compat_43_sys_getsockname(int fdec, void *asa, \ d298 1 a298 1 156 NOARGS { int compat_43_sys_getdirentries(int fd, char *buf, \ d300 1 a300 1 157 NOARGS { int compat_20_sys_statfs(const char *path, \ d302 1 a302 1 158 NOARGS { int compat_20_sys_fstatfs(int fd, \ d307 1 a307 1 161 NOARGS { int compat_30_sys_getfh(const char *fname, \ d312 1 a312 1 162 NOARGS { int compat_09_sys_getdomainname(char *domainname, \ d314 1 a314 1 163 NOARGS { int compat_09_sys_setdomainname(char *domainname, \ d316 3 a318 3 164 NOARGS { int compat_09_sys_uname(struct outsname *name); } 165 NOARGS { int sys_sysarch(int op, char *parms); } 166 STD { int freebsd_sys_rtprio(int function, pid_t pid, \ d324 1 a324 1 169 STD { int freebsd_sys_semsys(int which, int a2, int a3, \ d331 1 a331 1 170 STD { int freebsd_sys_msgsys(int which, int a2, int a3, \ d338 1 a338 1 171 STD { int freebsd_sys_shmsys(int which, int a2, int a3, \ d344 1 a344 1 173 NOARGS { ssize_t sys_pread(int fd, void *buf, \ d346 1 a346 1 174 NOARGS { ssize_t sys_pwrite(int fd, const void *buf, \ d350 1 a350 1 176 STD { int freebsd_ntp_adjtime(struct freebsd_timex *tp); } d360 3 a362 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); } d364 1 a364 1 184 NOARGS { int sys_lfs_bmapv(fsid_t *fsidp, \ d366 1 a366 1 185 NOARGS { int sys_lfs_markv(fsid_t *fsidp, \ d368 2 a369 2 186 NOARGS { int sys_lfs_segclean(fsid_t *fsidp, u_long segment); } 187 NOARGS { int compat_50_sys_lfs_segwait(fsid_t *fsidp, \ d377 1 a377 1 188 NOARGS { int compat_12_sys_stat(const char *path, \ d379 1 a379 1 189 NOARGS { int compat_12_sys_fstat(int fd, \ d381 1 a381 1 190 NOARGS { int compat_12_sys_lstat(const char *path, \ d383 2 a384 2 191 NOARGS { int sys_pathconf(const char *path, int name); } 192 NOARGS { int sys_fpathconf(int fd, int name); } d386 3 a388 3 194 NOARGS { int sys_getrlimit(u_int which, struct rlimit *rlp); } 195 NOARGS { int sys_setrlimit(u_int which, struct rlimit *rlp); } 196 NOARGS { int compat_12_sys_getdirentries(int fd, char *buf, \ d390 1 a390 1 197 STD { void *freebsd_sys_mmap(void *addr, size_t len, \ d392 2 a393 2 198 NOARGS { int sys_nosys(void); } __syscall 199 NOARGS { off_t sys_lseek(int fd, int pad, off_t offset, \ d395 1 a395 1 200 NOARGS { int sys_truncate(const char *path, int pad, \ d397 2 a398 2 201 NOARGS { int sys_ftruncate(int fd, int pad, off_t length); } 202 STD { int freebsd_sys_sysctl(int *name, u_int namelen, \ d401 2 a402 2 203 NOARGS { int sys_mlock(void *addr, size_t len); } 204 NOARGS { int sys_munlock(void *addr, size_t len); } d404 1 a404 1 205 STD { int freebsd_sys_undelete(char *path); } d408 1 a408 1 206 NOARGS { int compat_50_sys_futimes(int fd, \ d410 1 a410 1 207 NOARGS { pid_t sys_getpgid(pid_t pid); } d412 1 a412 1 208 NOARGS { int sys_reboot(int opt, char *bootstr); } d416 1 a416 1 209 NOARGS { int sys_poll(struct pollfd *fds, u_int nfds, \ d435 1 a435 1 220 NOARGS { int compat_14_sys___semctl(int semid, int semnum, \ d437 2 a438 2 221 NOARGS { int sys_semget(key_t key, int nsems, int semflg); } 222 NOARGS { int sys_semop(int semid, struct sembuf *sops, \ d440 1 a440 1 223 NOARGS { int sys_semconfig(int flag); } d448 1 a448 1 224 NOARGS { int compat_14_sys_msgctl(int msqid, int cmd, \ d450 2 a451 2 225 NOARGS { int sys_msgget(key_t key, int msgflg); } 226 NOARGS { int sys_msgsnd(int msqid, void *msgp, size_t msgsz, \ d453 1 a453 1 227 NOARGS { int sys_msgrcv(int msqid, void *msgp, size_t msgsz, \ d462 2 a463 2 228 NOARGS { int sys_shmat(int shmid, void *shmaddr, int shmflg); } 229 NOARGS { int compat_14_sys_shmctl(int shmid, int cmd, \ d465 2 a466 2 230 NOARGS { int sys_shmdt(void *shmaddr); } 231 NOARGS { int sys_shmget(key_t key, int size, int shmflg); } d475 1 a475 1 232 NOARGS { int compat_50_sys_clock_gettime(clockid_t clock_id, \ d477 1 a477 1 233 NOARGS { int compat_50_sys_clock_settime(clockid_t clock_id, \ d479 1 a479 1 234 NOARGS { int compat_50_sys_clock_getres(clockid_t clock_id, \ d486 1 a486 1 240 NOARGS { int compat_50_sys_nanosleep( \ d499 1 a499 1 250 NOARGS { int sys_minherit(void *addr, size_t len, \ d501 1 a501 1 251 STD { int freebsd_sys_rfork(int flags); } d503 2 a504 2 253 NOARGS { int sys_issetugid(void); } 254 NOARGS { int sys_lchown(const char *path, int uid, int gid); } d522 1 a522 1 272 NOARGS { int compat_30_sys_getdents(int fd, char *buf, size_t count); } d524 2 a525 2 274 NOARGS { int sys_lchmod(const char *path, mode_t mode); } 275 NOARGS { int sys_lchown(const char *path, uid_t uid, \ d527 1 a527 1 276 NOARGS { int compat_50_sys_lutimes(const char *path, \ d529 4 a532 4 277 NOARGS { int sys___msync13(void *addr, size_t len, int flags); } 278 NOARGS { int compat_30_sys___stat13(const char *path, struct stat13 *ub); } 279 NOARGS { int compat_30_sys___fstat13(int fd, struct stat13 *sb); } 280 NOARGS { int compat_30_sys___lstat13(const char *path, struct stat13 *ub);} d549 1 a549 1 297 NOARGS { int compat_20_sys_fhstatfs(const struct \ d552 1 a552 1 298 NOARGS { int compat_30_sys_fhopen(const \ d554 1 a554 1 299 NOARGS { int compat_30_sys_fhstat(const \ d568 1 a568 1 310 NOARGS { pid_t sys_getsid(pid_t pid); } d579 1 a579 1 321 NOARGS { void freebsd_sys_yield(void); } d582 4 a585 4 324 NOARGS { int sys_mlockall(int flags); } 325 NOARGS { int sys_munlockall(void); } 326 NOARGS { int sys___getcwd(char *bufp, size_t length); } 327 STD { int freebsd_sys_sched_setparam(pid_t pid, \ d587 1 a587 1 328 STD { int freebsd_sys_sched_getparam(pid_t pid, \ d589 1 a589 1 329 STD { int freebsd_sys_sched_setscheduler(pid_t pid, \ d591 4 a594 4 330 STD { int freebsd_sys_sched_getscheduler(pid_t pid); } 331 STD { int freebsd_sys_sched_yield(void); } 332 STD { int freebsd_sys_sched_get_priority_max(int policy); } 333 STD { int freebsd_sys_sched_get_priority_min(int policy); } d596 1 a596 1 335 STD { int freebsd_sys_utrace(void *addr, size_t len); } d601 1 a601 1 340 NOARGS { int sys___sigprocmask14(int how, \ d604 2 a605 2 341 NOARGS { int sys___sigsuspend14(const sigset_t *set); } 342 STD { int freebsd_sys_sigaction4(int signum, \ d608 1 a608 1 343 NOARGS { int sys___sigpending14(const sigset_t *set); } d656 2 a657 2 391 NOARGS { int sys_lchflags(const char *path, u_long flags); } 392 NOARGS { int sys_uuidgen(struct uuid *store, int count); } d666 4 a669 4 400 NOARGS { int sys__ksem_close(intptr_t id); } 401 NOARGS { int sys__ksem_post(intptr_t id); } 402 NOARGS { int sys__ksem_wait(intptr_t id); } 403 NOARGS { int sys__ksem_trywait(intptr_t id); } d672 2 a673 2 406 NOARGS { int sys__ksem_unlink(const char *name); } 407 NOARGS { int sys__ksem_getvalue(intptr_t id, \ d675 1 a675 1 408 NOARGS { int sys__ksem_destroy(intptr_t id); } @ 1.60 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.59 2008/11/14 15:49:20 ad Exp $ d51 1 d72 2 a73 2 7 NOARGS { int sys_wait4(int pid, int *status, int options, \ struct rusage *rusage); } d81 1 a81 1 14 NOARGS { int sys_mknod(const char *path, int mode, int dev); } d180 2 a181 2 83 NOARGS { int sys_setitimer(u_int which, \ struct itimerval *itv, struct itimerval *oitv); } d184 2 a185 2 86 NOARGS { int sys_getitimer(u_int which, \ struct itimerval *itv); } d195 2 a196 2 93 NOARGS { int sys_select(u_int nd, fd_set *in, fd_set *ou, \ fd_set *ex, struct timeval *tv); } d232 1 a232 1 116 NOARGS { int sys_gettimeofday(struct timeval *tp, \ d234 2 a235 1 117 NOARGS { int sys_getrusage(int who, struct rusage *rusage); } d243 2 a244 2 122 NOARGS { int sys_settimeofday(struct timeval *tv, \ struct timezone *tzp); } d266 2 a267 1 138 NOARGS { int sys_utimes(char *path, struct timeval *tptr); } d269 2 a270 2 140 NOARGS { int sys_adjtime(struct timeval *delta, \ struct timeval *olddelta); } d369 2 a370 1 187 NOARGS { int sys_lfs_segwait(fsid_t *fsidp, struct timeval *tv); } d408 2 a409 1 206 NOARGS { int sys_futimes(int fd, const struct timeval *tptr); } d475 6 a480 6 232 NOARGS { int sys_clock_gettime(clockid_t clock_id, \ struct timespec *tp); } 233 NOARGS { int sys_clock_settime(clockid_t clock_id, \ const struct timespec *tp); } 234 NOARGS { int sys_clock_getres(clockid_t clock_id, \ struct timespec *tp); } d486 3 a488 2 240 NOARGS { int sys_nanosleep(const struct timespec *rqtp, \ struct timespec *rmtp); } d527 2 a528 2 276 NOARGS { int sys_lutimes(const char *path, \ const struct timeval *tptr); } @ 1.59 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.58 2007/07/13 20:48:39 dsl Exp $ a35 1 #include "opt_nfsserver.h" a41 1 #include "fs_nfs.h" a293 3 #if defined(NFS) || defined(NFSSERVER) 155 NOARGS { int sys_nfssvc(int flag, void *argp); } #else a294 1 #endif @ 1.58 log @Remove all the syscall stubs that were only there to get files lookup up in the alternate path. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.57 2007/03/04 06:01:15 christos Exp $ d666 4 a669 4 400 NOARGS { int sys__ksem_close(semid_t id); } 401 NOARGS { int sys__ksem_post(semid_t id); } 402 NOARGS { int sys__ksem_wait(semid_t id); } 403 NOARGS { int sys__ksem_trywait(semid_t id); } d673 1 a673 1 407 NOARGS { int sys__ksem_getvalue(semid_t id, \ d675 1 a675 1 408 NOARGS { int sys__ksem_destroy(semid_t id); } @ 1.58.34.1 log @sync with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.58 2007/07/13 20:48:39 dsl Exp $ d36 1 d43 1 a52 1 #include d66 10 a75 10 0 NOARGS { int|sys||nosys(void); } syscall 1 NOARGS { int|sys||exit(int rval); } 2 NOARGS { int|sys||fork(void); } 3 NOARGS { int|sys||read(int fd, char *buf, u_int nbyte); } 4 NOARGS { int|sys||write(int fd, char *buf, u_int nbyte); } 5 NOARGS { int|sys||open(const char *path, int flags, int mode); } 6 NOARGS { int|sys||close(int fd); } 7 NOARGS { int|compat_50_sys||wait4(int pid, int *status, \ int options, struct rusage50 *rusage); } 8 NOARGS { int|compat_43_sys||creat(const char *path, \ d77 2 a78 2 9 NOARGS { int|sys||link(const char *path, const char *link); } 10 NOARGS { int|sys||unlink(const char *path); } d80 7 a86 7 12 NOARGS { int|sys||chdir(const char *path); } 13 NOARGS { int|sys||fchdir(int fd); } 14 NOARGS { int|compat_50_sys||mknod(const char *path, int mode, int dev); } 15 NOARGS { int|sys||chmod(const char *path, int mode); } 16 NOARGS { int|sys||chown(const char *path, int uid, int gid); } 17 NOARGS { int|sys||obreak(char *nsize); } break 18 NOARGS { int|compat_20_sys||getfsstat(struct statfs12 *buf, \ d88 1 a88 1 19 NOARGS { long|compat_43_sys||lseek(int fd, long offset, \ d90 2 a91 2 20 NOARGS { pid_t|sys||getpid_with_ppid(void); } 21 STD { int|freebsd_sys||mount(int type, const char *path, \ d93 5 a97 5 22 NOARGS { int|sys||unmount(const char *path, int flags); } 23 NOARGS { int|sys||setuid(uid_t uid); } 24 NOARGS { uid_t|sys||getuid_with_euid(void); } 25 NOARGS { uid_t|sys||geteuid(void); } 26 STD { int|freebsd_sys||ptrace(int req, pid_t pid, \ d99 1 a99 1 27 NOARGS { int|sys||recvmsg(int s, struct msghdr *msg, \ d101 2 a102 2 28 NOARGS { int|sys||sendmsg(int s, void *msg, int flags); } 29 NOARGS { int|sys||recvfrom(int s, void *buf, size_t len, \ d104 2 a105 2 30 NOARGS { int|sys||accept(int s, void *name, int *anamelen); } 31 NOARGS { int|sys||getpeername(int fdes, void *asa, \ d107 1 a107 1 32 NOARGS { int|sys||getsockname(int fdes, void *asa, \ d109 6 a114 6 33 NOARGS { int|sys||access(const char *path, int flags); } 34 NOARGS { int|sys||chflags(const char *path, int flags); } 35 NOARGS { int|sys||fchflags(int fd, int flags); } 36 NOARGS { int|sys||sync(void); } 37 NOARGS { int|sys||kill(int pid, int signum); } 38 NOARGS { int|compat_43_sys||stat(const char *path, \ d116 2 a117 2 39 NOARGS { pid_t|sys||getppid(void); } 40 NOARGS { int|compat_43_sys||lstat(const char *path, \ d119 4 a122 4 41 NOARGS { int|sys||dup(u_int fd); } 42 NOARGS { int|sys||pipe(void); } 43 NOARGS { gid_t|sys||getegid(void); } 44 NOARGS { int|sys||profil(void *samples, u_int size, \ d125 1 a125 1 45 NOARGS { int|sys||ktrace(char *fname, int ops, int facs, \ d130 1 a130 1 46 NOARGS { int|compat_13_sys||sigaction(int signum, \ d133 2 a134 2 47 NOARGS { gid_t|sys||getgid_with_egid(void); } 48 NOARGS { int|compat_13_sys||sigprocmask(int how, \ d136 5 a140 5 49 NOARGS { int|sys||__getlogin(char *namebuf, u_int namelen); } 50 NOARGS { int|sys||__setlogin(char *namebuf); } 51 NOARGS { int|sys||acct(char *path); } 52 NOARGS { int|compat_13_sys||sigpending(void); } 53 NOARGS { int|compat_13_sys||sigaltstack( \ d143 1 a143 1 54 STD { int|freebsd_sys||ioctl(int fd, u_long com, \ d145 4 a148 4 55 NOARGS { int|sys||reboot(int opt); } oreboot 56 NOARGS { int|sys||revoke(const char *path); } 57 NOARGS { int|sys||symlink(const char *path, const char *link); } 58 NOARGS { int|sys||readlink(const char *path, \ d150 1 a150 1 59 NOARGS { int|sys||execve(const char *path, \ d152 3 a154 3 60 NOARGS { int|sys||umask(int newmask); } 61 NOARGS { int|sys||chroot(const char *path); } 62 NOARGS { int|compat_43_sys||fstat(int fd, struct stat43 *sb); } \ d156 1 a156 1 63 NOARGS { int|compat_43_sys||getkerninfo(int op, char *where, \ d158 2 a159 2 64 NOARGS { int|compat_43_sys||getpagesize(void); } ogetpagesize 65 STD { int|freebsd_sys||msync(void *addr, size_t len, \ d161 1 a161 1 66 NOARGS { int|sys||vfork(void); } d164 3 a166 3 69 NOARGS { int|sys||sbrk(intptr_t incr); } 70 NOARGS { int|sys||sstk(int incr); } 71 NOARGS { int|compat_43_sys||mmap(void *addr, size_t len, \ d168 3 a170 3 72 NOARGS { int|sys||ovadvise(int anom); } vadvise 73 NOARGS { int|sys||munmap(void *addr, size_t len); } 74 NOARGS { int|sys||mprotect(void *addr, size_t len, \ d172 1 a172 1 75 NOARGS { int|sys||madvise(void *addr, size_t len, \ d176 12 a187 12 78 NOARGS { int|sys||mincore(void *addr, size_t len, char *vec); } 79 NOARGS { int|sys||getgroups(u_int gidsetsize, gid_t *gidset); } 80 NOARGS { int|sys||setgroups(u_int gidsetsize, gid_t *gidset); } 81 NOARGS { int|sys||getpgrp(void); } 82 NOARGS { int|sys||setpgid(int pid, int pgid); } 83 NOARGS { int|compat_50_sys||setitimer(u_int which, \ struct itimerval50 *itv, struct itimerval50 *oitv); } 84 NOARGS { int|compat_43_sys||wait(void); } owait 85 NOARGS { int|compat_12_sys||swapon(char *name); } 86 NOARGS { int|compat_50_sys||getitimer(u_int which, \ struct itimerval50 *itv); } 87 NOARGS { int|compat_43_sys||gethostname(char *hostname, \ d189 1 a189 1 88 NOARGS { int|compat_43_sys||sethostname(char *hostname, \ d191 1 a191 1 89 NOARGS { int|compat_43_sys||getdtablesize(void); } \ d193 1 a193 1 90 NOARGS { int|sys||dup2(u_int from, u_int to); } d195 3 a197 3 92 NOARGS { int|sys||fcntl(int fd, int cmd, void *arg); } 93 NOARGS { int|compat_50_sys||select(u_int nd, fd_set *in, \ fd_set *ou, fd_set *ex, struct timeval50 *tv); } d199 5 a203 5 95 NOARGS { int|sys||fsync(int fd); } 96 NOARGS { int|sys||setpriority(int which, int who, int prio); } 97 NOARGS { int|compat_30_sys||socket(int domain, int type, int protocol); } 98 NOARGS { int|sys||connect(int s, void *name, int namelen); } 99 NOARGS { int|compat_43_sys||accept(int s, void *name, \ d205 2 a206 2 100 NOARGS { int|sys||getpriority(int which, int who); } 101 NOARGS { int|compat_43_sys||send(int s, void *buf, int len, \ d208 1 a208 1 102 NOARGS { int|compat_43_sys||recv(int s, void *buf, int len, \ d210 1 a210 1 103 STD { int|freebsd_sys||sigreturn( \ d212 2 a213 2 104 NOARGS { int|sys||bind(int s, void *name, int namelen); } 105 NOARGS { int|sys||setsockopt(int s, int level, int name, \ d215 1 a215 1 106 NOARGS { int|sys||listen(int s, int backlog); } d217 1 a217 1 108 NOARGS { int|compat_43_sys||sigvec(int signum, \ d219 4 a222 4 109 NOARGS { int|compat_43_sys||sigblock(int mask); } osigblock 110 NOARGS { int|compat_43_sys||sigsetmask(int mask); } osigsetmask 111 NOARGS { int|compat_13_sys||sigsuspend(int mask); } 112 NOARGS { int|compat_43_sys||sigstack(struct sigstack *nss, \ d224 1 a224 1 113 NOARGS { int|compat_43_sys||recvmsg(int s, \ d226 1 a226 1 114 NOARGS { int|compat_43_sys||sendmsg(int s, void *msg, \ d229 1 a229 1 115 NOARGS { int|sys||vtrace(int request, int value); } d233 1 a233 1 116 NOARGS { int|compat_50_sys||gettimeofday(struct timeval50 *tp, \ d235 2 a236 3 117 NOARGS { int|compat_50_sys||getrusage(int who, \ struct rusage50 *rusage); } 118 NOARGS { int|sys||getsockopt(int s, int level, int name, \ d239 1 a239 1 120 NOARGS { int|sys||readv(int fd, struct iovec *iovp, \ d241 1 a241 1 121 NOARGS { int|sys||writev(int fd, struct iovec *iovp, \ d243 5 a247 5 122 NOARGS { int|compat_50_sys||settimeofday(struct timeval50 *tv, \ struct timezone50 *tzp); } 123 NOARGS { int|sys||fchown(int fd, int uid, int gid); } 124 NOARGS { int|sys||fchmod(int fd, int mode); } 125 NOARGS { int|compat_43_sys||recvfrom(int s, void *buf, \ d250 4 a253 4 126 NOARGS { int|sys||setreuid(int ruid, int euid); } 127 NOARGS { int|sys||setregid(int rgid, int egid); } 128 NOARGS { int|sys||rename(const char *from, const char *to); } 129 NOARGS { int|compat_43_sys||truncate(const char *path, \ d255 1 a255 1 130 NOARGS { int|compat_43_sys||ftruncate(int fd, long length); } \ d257 3 a259 3 131 NOARGS { int|sys||flock(int fd, int how); } 132 NOARGS { int|sys||mkfifo(const char *path, int mode); } 133 NOARGS { int|sys||sendto(int s, void *buf, size_t len, \ d261 2 a262 2 134 NOARGS { int|sys||shutdown(int s, int how); } 135 NOARGS { int|sys||socketpair(int domain, int type, \ d264 3 a266 4 136 NOARGS { int|sys||mkdir(const char *path, int mode); } 137 NOARGS { int|sys||rmdir(const char *path); } 138 NOARGS { int|compat_50_sys||utimes(char *path, \ struct timeval50 *tptr); } d268 3 a270 3 140 NOARGS { int|compat_50_sys||adjtime(struct timeval50 *delta, \ struct timeval50 *olddelta); } 141 NOARGS { int|compat_43_sys||getpeername(int fdes, void *asa, \ d272 2 a273 2 142 NOARGS { int32_t|compat_43_sys||gethostid(void); } ogethostid 143 NOARGS { int|compat_43_sys||sethostid(int32_t hostid); } \ d275 1 a275 1 144 NOARGS { int|compat_43_sys||getrlimit(u_int which, \ d277 1 a277 1 145 NOARGS { int|compat_43_sys||setrlimit(u_int which, \ d279 1 a279 1 146 NOARGS { int|compat_43_sys||killpg(int pgid, int signum); } \ d281 2 a282 2 147 NOARGS { int|sys||setsid(void); } 148 NOARGS { int|sys||quotactl(char *path, int cmd, int uid, \ d284 2 a285 2 149 NOARGS { int|compat_43_sys||quota(void); } oquota 150 NOARGS { int|compat_43_sys||getsockname(int fdec, void *asa, \ d296 3 d300 2 a301 1 156 NOARGS { int|compat_43_sys||getdirentries(int fd, char *buf, \ d303 1 a303 1 157 NOARGS { int|compat_20_sys||statfs(const char *path, \ d305 1 a305 1 158 NOARGS { int|compat_20_sys||fstatfs(int fd, \ d310 1 a310 1 161 NOARGS { int|compat_30_sys||getfh(const char *fname, \ d315 1 a315 1 162 NOARGS { int|compat_09_sys||getdomainname(char *domainname, \ d317 1 a317 1 163 NOARGS { int|compat_09_sys||setdomainname(char *domainname, \ d319 3 a321 3 164 NOARGS { int|compat_09_sys||uname(struct outsname *name); } 165 NOARGS { int|sys||sysarch(int op, char *parms); } 166 STD { int|freebsd_sys||rtprio(int function, pid_t pid, \ d327 1 a327 1 169 STD { int|freebsd_sys||semsys(int which, int a2, int a3, \ d334 1 a334 1 170 STD { int|freebsd_sys||msgsys(int which, int a2, int a3, \ d341 1 a341 1 171 STD { int|freebsd_sys||shmsys(int which, int a2, int a3, \ d347 1 a347 1 173 NOARGS { ssize_t|sys||pread(int fd, void *buf, \ d349 1 a349 1 174 NOARGS { ssize_t|sys||pwrite(int fd, const void *buf, \ d353 1 a353 1 176 STD { int|freebsd||ntp_adjtime(struct freebsd_timex *tp); } d363 3 a365 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); } d367 1 a367 1 184 NOARGS { int|sys||lfs_bmapv(fsid_t *fsidp, \ d369 1 a369 1 185 NOARGS { int|sys||lfs_markv(fsid_t *fsidp, \ d371 2 a372 3 186 NOARGS { int|sys||lfs_segclean(fsid_t *fsidp, u_long segment); } 187 NOARGS { int|compat_50_sys||lfs_segwait(fsid_t *fsidp, \ struct timeval50 *tv); } d379 1 a379 1 188 NOARGS { int|compat_12_sys||stat(const char *path, \ d381 1 a381 1 189 NOARGS { int|compat_12_sys||fstat(int fd, \ d383 1 a383 1 190 NOARGS { int|compat_12_sys||lstat(const char *path, \ d385 2 a386 2 191 NOARGS { int|sys||pathconf(const char *path, int name); } 192 NOARGS { int|sys||fpathconf(int fd, int name); } d388 3 a390 3 194 NOARGS { int|sys||getrlimit(u_int which, struct rlimit *rlp); } 195 NOARGS { int|sys||setrlimit(u_int which, struct rlimit *rlp); } 196 NOARGS { int|compat_12_sys||getdirentries(int fd, char *buf, \ d392 1 a392 1 197 STD { void *|freebsd_sys||mmap(void *addr, size_t len, \ d394 2 a395 2 198 NOARGS { int|sys||nosys(void); } __syscall 199 NOARGS { off_t|sys||lseek(int fd, int pad, off_t offset, \ d397 1 a397 1 200 NOARGS { int|sys||truncate(const char *path, int pad, \ d399 2 a400 2 201 NOARGS { int|sys||ftruncate(int fd, int pad, off_t length); } 202 STD { int|freebsd_sys||sysctl(int *name, u_int namelen, \ d403 2 a404 2 203 NOARGS { int|sys||mlock(void *addr, size_t len); } 204 NOARGS { int|sys||munlock(void *addr, size_t len); } d406 1 a406 1 205 STD { int|freebsd_sys||undelete(char *path); } d410 2 a411 3 206 NOARGS { int|compat_50_sys||futimes(int fd, \ const struct timeval50 *tptr); } 207 NOARGS { pid_t|sys||getpgid(pid_t pid); } d413 1 a413 1 208 NOARGS { int|sys||reboot(int opt, char *bootstr); } d417 1 a417 1 209 NOARGS { int|sys||poll(struct pollfd *fds, u_int nfds, \ d436 1 a436 1 220 NOARGS { int|compat_14_sys||__semctl(int semid, int semnum, \ d438 2 a439 2 221 NOARGS { int|sys||semget(key_t key, int nsems, int semflg); } 222 NOARGS { int|sys||semop(int semid, struct sembuf *sops, \ d441 1 a441 1 223 NOARGS { int|sys||semconfig(int flag); } d449 1 a449 1 224 NOARGS { int|compat_14_sys||msgctl(int msqid, int cmd, \ d451 2 a452 2 225 NOARGS { int|sys||msgget(key_t key, int msgflg); } 226 NOARGS { int|sys||msgsnd(int msqid, void *msgp, size_t msgsz, \ d454 1 a454 1 227 NOARGS { int|sys||msgrcv(int msqid, void *msgp, size_t msgsz, \ d463 2 a464 2 228 NOARGS { int|sys||shmat(int shmid, void *shmaddr, int shmflg); } 229 NOARGS { int|compat_14_sys||shmctl(int shmid, int cmd, \ d466 2 a467 2 230 NOARGS { int|sys||shmdt(void *shmaddr); } 231 NOARGS { int|sys||shmget(key_t key, int size, int shmflg); } d476 6 a481 6 232 NOARGS { int|compat_50_sys||clock_gettime(clockid_t clock_id, \ struct timespec50 *tp); } 233 NOARGS { int|compat_50_sys||clock_settime(clockid_t clock_id, \ const struct timespec50 *tp); } 234 NOARGS { int|compat_50_sys||clock_getres(clockid_t clock_id, \ struct timespec50 *tp); } d487 2 a488 3 240 NOARGS { int|compat_50_sys||nanosleep( \ const struct timespec50 *rqtp, \ struct timespec50 *rmtp); } d499 1 a499 1 250 NOARGS { int|sys||minherit(void *addr, size_t len, \ d501 1 a501 1 251 STD { int|freebsd_sys||rfork(int flags); } d503 2 a504 2 253 NOARGS { int|sys||issetugid(void); } 254 NOARGS { int|sys||lchown(const char *path, int uid, int gid); } d522 1 a522 1 272 NOARGS { int|compat_30_sys||getdents(int fd, char *buf, size_t count); } d524 2 a525 2 274 NOARGS { int|sys||lchmod(const char *path, mode_t mode); } 275 NOARGS { int|sys||lchown(const char *path, uid_t uid, \ d527 6 a532 6 276 NOARGS { int|compat_50_sys||lutimes(const char *path, \ const struct timeval50 *tptr); } 277 NOARGS { int|sys|13|msync(void *addr, size_t len, int flags); } 278 NOARGS { int|compat_30_sys|13|stat(const char *path, struct stat13 *ub); } 279 NOARGS { int|compat_30_sys|13|fstat(int fd, struct stat13 *sb); } 280 NOARGS { int|compat_30_sys|13|lstat(const char *path, struct stat13 *ub);} d549 1 a549 1 297 NOARGS { int|compat_20_sys||fhstatfs(const struct \ d552 1 a552 1 298 NOARGS { int|compat_30_sys||fhopen(const \ d554 1 a554 1 299 NOARGS { int|compat_30_sys||fhstat(const \ d568 1 a568 1 310 NOARGS { pid_t|sys||getsid(pid_t pid); } d579 1 a579 1 321 NOARGS { void|freebsd_sys||yield(void); } d582 4 a585 4 324 NOARGS { int|sys||mlockall(int flags); } 325 NOARGS { int|sys||munlockall(void); } 326 NOARGS { int|sys||__getcwd(char *bufp, size_t length); } 327 STD { int|freebsd_sys||sched_setparam(pid_t pid, \ d587 1 a587 1 328 STD { int|freebsd_sys||sched_getparam(pid_t pid, \ d589 1 a589 1 329 STD { int|freebsd_sys||sched_setscheduler(pid_t pid, \ d591 4 a594 4 330 STD { int|freebsd_sys||sched_getscheduler(pid_t pid); } 331 STD { int|freebsd_sys||sched_yield(void); } 332 STD { int|freebsd_sys||sched_get_priority_max(int policy); } 333 STD { int|freebsd_sys||sched_get_priority_min(int policy); } d596 1 a596 1 335 STD { int|freebsd_sys||utrace(void *addr, size_t len); } d601 1 a601 1 340 NOARGS { int|sys|14|sigprocmask(int how, \ d604 2 a605 2 341 NOARGS { int|sys|14|sigsuspend(const sigset_t *set); } 342 STD { int|freebsd_sys||sigaction4(int signum, \ d608 1 a608 1 343 NOARGS { int|sys|14|sigpending(const sigset_t *set); } d656 2 a657 2 391 NOARGS { int|sys||lchflags(const char *path, u_long flags); } 392 NOARGS { int|sys||uuidgen(struct uuid *store, int count); } d666 4 a669 4 400 NOARGS { int|sys||_ksem_close(intptr_t id); } 401 NOARGS { int|sys||_ksem_post(intptr_t id); } 402 NOARGS { int|sys||_ksem_wait(intptr_t id); } 403 NOARGS { int|sys||_ksem_trywait(intptr_t id); } d672 2 a673 2 406 NOARGS { int|sys||_ksem_unlink(const char *name); } 407 NOARGS { int|sys||_ksem_getvalue(intptr_t id, \ d675 1 a675 1 408 NOARGS { int|sys||_ksem_destroy(intptr_t id); } @ 1.58.34.2 log @sync with head @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.58.34.1 2009/05/04 08:12:18 yamt Exp $ d40 2 d306 1 d309 3 d363 9 d376 1 @ 1.58.44.1 log @Sync with HEAD. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.62 2009/01/13 22:27:43 pooka Exp $ d36 1 d43 1 a52 1 #include d66 10 a75 10 0 NOARGS { int|sys||nosys(void); } syscall 1 NOARGS { int|sys||exit(int rval); } 2 NOARGS { int|sys||fork(void); } 3 NOARGS { int|sys||read(int fd, char *buf, u_int nbyte); } 4 NOARGS { int|sys||write(int fd, char *buf, u_int nbyte); } 5 NOARGS { int|sys||open(const char *path, int flags, int mode); } 6 NOARGS { int|sys||close(int fd); } 7 NOARGS { int|compat_50_sys||wait4(int pid, int *status, \ int options, struct rusage50 *rusage); } 8 NOARGS { int|compat_43_sys||creat(const char *path, \ d77 2 a78 2 9 NOARGS { int|sys||link(const char *path, const char *link); } 10 NOARGS { int|sys||unlink(const char *path); } d80 7 a86 7 12 NOARGS { int|sys||chdir(const char *path); } 13 NOARGS { int|sys||fchdir(int fd); } 14 NOARGS { int|compat_50_sys||mknod(const char *path, int mode, int dev); } 15 NOARGS { int|sys||chmod(const char *path, int mode); } 16 NOARGS { int|sys||chown(const char *path, int uid, int gid); } 17 NOARGS { int|sys||obreak(char *nsize); } break 18 NOARGS { int|compat_20_sys||getfsstat(struct statfs12 *buf, \ d88 1 a88 1 19 NOARGS { long|compat_43_sys||lseek(int fd, long offset, \ d90 2 a91 2 20 NOARGS { pid_t|sys||getpid_with_ppid(void); } 21 STD { int|freebsd_sys||mount(int type, const char *path, \ d93 5 a97 5 22 NOARGS { int|sys||unmount(const char *path, int flags); } 23 NOARGS { int|sys||setuid(uid_t uid); } 24 NOARGS { uid_t|sys||getuid_with_euid(void); } 25 NOARGS { uid_t|sys||geteuid(void); } 26 STD { int|freebsd_sys||ptrace(int req, pid_t pid, \ d99 1 a99 1 27 NOARGS { int|sys||recvmsg(int s, struct msghdr *msg, \ d101 2 a102 2 28 NOARGS { int|sys||sendmsg(int s, void *msg, int flags); } 29 NOARGS { int|sys||recvfrom(int s, void *buf, size_t len, \ d104 2 a105 2 30 NOARGS { int|sys||accept(int s, void *name, int *anamelen); } 31 NOARGS { int|sys||getpeername(int fdes, void *asa, \ d107 1 a107 1 32 NOARGS { int|sys||getsockname(int fdes, void *asa, \ d109 6 a114 6 33 NOARGS { int|sys||access(const char *path, int flags); } 34 NOARGS { int|sys||chflags(const char *path, int flags); } 35 NOARGS { int|sys||fchflags(int fd, int flags); } 36 NOARGS { int|sys||sync(void); } 37 NOARGS { int|sys||kill(int pid, int signum); } 38 NOARGS { int|compat_43_sys||stat(const char *path, \ d116 2 a117 2 39 NOARGS { pid_t|sys||getppid(void); } 40 NOARGS { int|compat_43_sys||lstat(const char *path, \ d119 4 a122 4 41 NOARGS { int|sys||dup(u_int fd); } 42 NOARGS { int|sys||pipe(void); } 43 NOARGS { gid_t|sys||getegid(void); } 44 NOARGS { int|sys||profil(void *samples, u_int size, \ d125 1 a125 1 45 NOARGS { int|sys||ktrace(char *fname, int ops, int facs, \ d130 1 a130 1 46 NOARGS { int|compat_13_sys||sigaction(int signum, \ d133 2 a134 2 47 NOARGS { gid_t|sys||getgid_with_egid(void); } 48 NOARGS { int|compat_13_sys||sigprocmask(int how, \ d136 5 a140 5 49 NOARGS { int|sys||__getlogin(char *namebuf, u_int namelen); } 50 NOARGS { int|sys||__setlogin(char *namebuf); } 51 NOARGS { int|sys||acct(char *path); } 52 NOARGS { int|compat_13_sys||sigpending(void); } 53 NOARGS { int|compat_13_sys||sigaltstack( \ d143 1 a143 1 54 STD { int|freebsd_sys||ioctl(int fd, u_long com, \ d145 4 a148 4 55 NOARGS { int|sys||reboot(int opt); } oreboot 56 NOARGS { int|sys||revoke(const char *path); } 57 NOARGS { int|sys||symlink(const char *path, const char *link); } 58 NOARGS { int|sys||readlink(const char *path, \ d150 1 a150 1 59 NOARGS { int|sys||execve(const char *path, \ d152 3 a154 3 60 NOARGS { int|sys||umask(int newmask); } 61 NOARGS { int|sys||chroot(const char *path); } 62 NOARGS { int|compat_43_sys||fstat(int fd, struct stat43 *sb); } \ d156 1 a156 1 63 NOARGS { int|compat_43_sys||getkerninfo(int op, char *where, \ d158 2 a159 2 64 NOARGS { int|compat_43_sys||getpagesize(void); } ogetpagesize 65 STD { int|freebsd_sys||msync(void *addr, size_t len, \ d161 1 a161 1 66 NOARGS { int|sys||vfork(void); } d164 3 a166 3 69 NOARGS { int|sys||sbrk(intptr_t incr); } 70 NOARGS { int|sys||sstk(int incr); } 71 NOARGS { int|compat_43_sys||mmap(void *addr, size_t len, \ d168 3 a170 3 72 NOARGS { int|sys||ovadvise(int anom); } vadvise 73 NOARGS { int|sys||munmap(void *addr, size_t len); } 74 NOARGS { int|sys||mprotect(void *addr, size_t len, \ d172 1 a172 1 75 NOARGS { int|sys||madvise(void *addr, size_t len, \ d176 12 a187 12 78 NOARGS { int|sys||mincore(void *addr, size_t len, char *vec); } 79 NOARGS { int|sys||getgroups(u_int gidsetsize, gid_t *gidset); } 80 NOARGS { int|sys||setgroups(u_int gidsetsize, gid_t *gidset); } 81 NOARGS { int|sys||getpgrp(void); } 82 NOARGS { int|sys||setpgid(int pid, int pgid); } 83 NOARGS { int|compat_50_sys||setitimer(u_int which, \ struct itimerval50 *itv, struct itimerval50 *oitv); } 84 NOARGS { int|compat_43_sys||wait(void); } owait 85 NOARGS { int|compat_12_sys||swapon(char *name); } 86 NOARGS { int|compat_50_sys||getitimer(u_int which, \ struct itimerval50 *itv); } 87 NOARGS { int|compat_43_sys||gethostname(char *hostname, \ d189 1 a189 1 88 NOARGS { int|compat_43_sys||sethostname(char *hostname, \ d191 1 a191 1 89 NOARGS { int|compat_43_sys||getdtablesize(void); } \ d193 1 a193 1 90 NOARGS { int|sys||dup2(u_int from, u_int to); } d195 3 a197 3 92 NOARGS { int|sys||fcntl(int fd, int cmd, void *arg); } 93 NOARGS { int|compat_50_sys||select(u_int nd, fd_set *in, \ fd_set *ou, fd_set *ex, struct timeval50 *tv); } d199 5 a203 5 95 NOARGS { int|sys||fsync(int fd); } 96 NOARGS { int|sys||setpriority(int which, int who, int prio); } 97 NOARGS { int|compat_30_sys||socket(int domain, int type, int protocol); } 98 NOARGS { int|sys||connect(int s, void *name, int namelen); } 99 NOARGS { int|compat_43_sys||accept(int s, void *name, \ d205 2 a206 2 100 NOARGS { int|sys||getpriority(int which, int who); } 101 NOARGS { int|compat_43_sys||send(int s, void *buf, int len, \ d208 1 a208 1 102 NOARGS { int|compat_43_sys||recv(int s, void *buf, int len, \ d210 1 a210 1 103 STD { int|freebsd_sys||sigreturn( \ d212 2 a213 2 104 NOARGS { int|sys||bind(int s, void *name, int namelen); } 105 NOARGS { int|sys||setsockopt(int s, int level, int name, \ d215 1 a215 1 106 NOARGS { int|sys||listen(int s, int backlog); } d217 1 a217 1 108 NOARGS { int|compat_43_sys||sigvec(int signum, \ d219 4 a222 4 109 NOARGS { int|compat_43_sys||sigblock(int mask); } osigblock 110 NOARGS { int|compat_43_sys||sigsetmask(int mask); } osigsetmask 111 NOARGS { int|compat_13_sys||sigsuspend(int mask); } 112 NOARGS { int|compat_43_sys||sigstack(struct sigstack *nss, \ d224 1 a224 1 113 NOARGS { int|compat_43_sys||recvmsg(int s, \ d226 1 a226 1 114 NOARGS { int|compat_43_sys||sendmsg(int s, void *msg, \ d229 1 a229 1 115 NOARGS { int|sys||vtrace(int request, int value); } d233 1 a233 1 116 NOARGS { int|compat_50_sys||gettimeofday(struct timeval50 *tp, \ d235 2 a236 3 117 NOARGS { int|compat_50_sys||getrusage(int who, \ struct rusage50 *rusage); } 118 NOARGS { int|sys||getsockopt(int s, int level, int name, \ d239 1 a239 1 120 NOARGS { int|sys||readv(int fd, struct iovec *iovp, \ d241 1 a241 1 121 NOARGS { int|sys||writev(int fd, struct iovec *iovp, \ d243 5 a247 5 122 NOARGS { int|compat_50_sys||settimeofday(struct timeval50 *tv, \ struct timezone50 *tzp); } 123 NOARGS { int|sys||fchown(int fd, int uid, int gid); } 124 NOARGS { int|sys||fchmod(int fd, int mode); } 125 NOARGS { int|compat_43_sys||recvfrom(int s, void *buf, \ d250 4 a253 4 126 NOARGS { int|sys||setreuid(int ruid, int euid); } 127 NOARGS { int|sys||setregid(int rgid, int egid); } 128 NOARGS { int|sys||rename(const char *from, const char *to); } 129 NOARGS { int|compat_43_sys||truncate(const char *path, \ d255 1 a255 1 130 NOARGS { int|compat_43_sys||ftruncate(int fd, long length); } \ d257 3 a259 3 131 NOARGS { int|sys||flock(int fd, int how); } 132 NOARGS { int|sys||mkfifo(const char *path, int mode); } 133 NOARGS { int|sys||sendto(int s, void *buf, size_t len, \ d261 2 a262 2 134 NOARGS { int|sys||shutdown(int s, int how); } 135 NOARGS { int|sys||socketpair(int domain, int type, \ d264 3 a266 4 136 NOARGS { int|sys||mkdir(const char *path, int mode); } 137 NOARGS { int|sys||rmdir(const char *path); } 138 NOARGS { int|compat_50_sys||utimes(char *path, \ struct timeval50 *tptr); } d268 3 a270 3 140 NOARGS { int|compat_50_sys||adjtime(struct timeval50 *delta, \ struct timeval50 *olddelta); } 141 NOARGS { int|compat_43_sys||getpeername(int fdes, void *asa, \ d272 2 a273 2 142 NOARGS { int32_t|compat_43_sys||gethostid(void); } ogethostid 143 NOARGS { int|compat_43_sys||sethostid(int32_t hostid); } \ d275 1 a275 1 144 NOARGS { int|compat_43_sys||getrlimit(u_int which, \ d277 1 a277 1 145 NOARGS { int|compat_43_sys||setrlimit(u_int which, \ d279 1 a279 1 146 NOARGS { int|compat_43_sys||killpg(int pgid, int signum); } \ d281 2 a282 2 147 NOARGS { int|sys||setsid(void); } 148 NOARGS { int|sys||quotactl(char *path, int cmd, int uid, \ d284 2 a285 2 149 NOARGS { int|compat_43_sys||quota(void); } oquota 150 NOARGS { int|compat_43_sys||getsockname(int fdec, void *asa, \ d296 3 d300 2 a301 1 156 NOARGS { int|compat_43_sys||getdirentries(int fd, char *buf, \ d303 1 a303 1 157 NOARGS { int|compat_20_sys||statfs(const char *path, \ d305 1 a305 1 158 NOARGS { int|compat_20_sys||fstatfs(int fd, \ d310 1 a310 1 161 NOARGS { int|compat_30_sys||getfh(const char *fname, \ d315 1 a315 1 162 NOARGS { int|compat_09_sys||getdomainname(char *domainname, \ d317 1 a317 1 163 NOARGS { int|compat_09_sys||setdomainname(char *domainname, \ d319 3 a321 3 164 NOARGS { int|compat_09_sys||uname(struct outsname *name); } 165 NOARGS { int|sys||sysarch(int op, char *parms); } 166 STD { int|freebsd_sys||rtprio(int function, pid_t pid, \ d327 1 a327 1 169 STD { int|freebsd_sys||semsys(int which, int a2, int a3, \ d334 1 a334 1 170 STD { int|freebsd_sys||msgsys(int which, int a2, int a3, \ d341 1 a341 1 171 STD { int|freebsd_sys||shmsys(int which, int a2, int a3, \ d347 1 a347 1 173 NOARGS { ssize_t|sys||pread(int fd, void *buf, \ d349 1 a349 1 174 NOARGS { ssize_t|sys||pwrite(int fd, const void *buf, \ d353 1 a353 1 176 STD { int|freebsd||ntp_adjtime(struct freebsd_timex *tp); } d363 3 a365 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); } d367 1 a367 1 184 NOARGS { int|sys||lfs_bmapv(fsid_t *fsidp, \ d369 1 a369 1 185 NOARGS { int|sys||lfs_markv(fsid_t *fsidp, \ d371 2 a372 3 186 NOARGS { int|sys||lfs_segclean(fsid_t *fsidp, u_long segment); } 187 NOARGS { int|compat_50_sys||lfs_segwait(fsid_t *fsidp, \ struct timeval50 *tv); } d379 1 a379 1 188 NOARGS { int|compat_12_sys||stat(const char *path, \ d381 1 a381 1 189 NOARGS { int|compat_12_sys||fstat(int fd, \ d383 1 a383 1 190 NOARGS { int|compat_12_sys||lstat(const char *path, \ d385 2 a386 2 191 NOARGS { int|sys||pathconf(const char *path, int name); } 192 NOARGS { int|sys||fpathconf(int fd, int name); } d388 3 a390 3 194 NOARGS { int|sys||getrlimit(u_int which, struct rlimit *rlp); } 195 NOARGS { int|sys||setrlimit(u_int which, struct rlimit *rlp); } 196 NOARGS { int|compat_12_sys||getdirentries(int fd, char *buf, \ d392 1 a392 1 197 STD { void *|freebsd_sys||mmap(void *addr, size_t len, \ d394 2 a395 2 198 NOARGS { int|sys||nosys(void); } __syscall 199 NOARGS { off_t|sys||lseek(int fd, int pad, off_t offset, \ d397 1 a397 1 200 NOARGS { int|sys||truncate(const char *path, int pad, \ d399 2 a400 2 201 NOARGS { int|sys||ftruncate(int fd, int pad, off_t length); } 202 STD { int|freebsd_sys||sysctl(int *name, u_int namelen, \ d403 2 a404 2 203 NOARGS { int|sys||mlock(void *addr, size_t len); } 204 NOARGS { int|sys||munlock(void *addr, size_t len); } d406 1 a406 1 205 STD { int|freebsd_sys||undelete(char *path); } d410 2 a411 3 206 NOARGS { int|compat_50_sys||futimes(int fd, \ const struct timeval50 *tptr); } 207 NOARGS { pid_t|sys||getpgid(pid_t pid); } d413 1 a413 1 208 NOARGS { int|sys||reboot(int opt, char *bootstr); } d417 1 a417 1 209 NOARGS { int|sys||poll(struct pollfd *fds, u_int nfds, \ d436 1 a436 1 220 NOARGS { int|compat_14_sys||__semctl(int semid, int semnum, \ d438 2 a439 2 221 NOARGS { int|sys||semget(key_t key, int nsems, int semflg); } 222 NOARGS { int|sys||semop(int semid, struct sembuf *sops, \ d441 1 a441 1 223 NOARGS { int|sys||semconfig(int flag); } d449 1 a449 1 224 NOARGS { int|compat_14_sys||msgctl(int msqid, int cmd, \ d451 2 a452 2 225 NOARGS { int|sys||msgget(key_t key, int msgflg); } 226 NOARGS { int|sys||msgsnd(int msqid, void *msgp, size_t msgsz, \ d454 1 a454 1 227 NOARGS { int|sys||msgrcv(int msqid, void *msgp, size_t msgsz, \ d463 2 a464 2 228 NOARGS { int|sys||shmat(int shmid, void *shmaddr, int shmflg); } 229 NOARGS { int|compat_14_sys||shmctl(int shmid, int cmd, \ d466 2 a467 2 230 NOARGS { int|sys||shmdt(void *shmaddr); } 231 NOARGS { int|sys||shmget(key_t key, int size, int shmflg); } d476 6 a481 6 232 NOARGS { int|compat_50_sys||clock_gettime(clockid_t clock_id, \ struct timespec50 *tp); } 233 NOARGS { int|compat_50_sys||clock_settime(clockid_t clock_id, \ const struct timespec50 *tp); } 234 NOARGS { int|compat_50_sys||clock_getres(clockid_t clock_id, \ struct timespec50 *tp); } d487 2 a488 3 240 NOARGS { int|compat_50_sys||nanosleep( \ const struct timespec50 *rqtp, \ struct timespec50 *rmtp); } d499 1 a499 1 250 NOARGS { int|sys||minherit(void *addr, size_t len, \ d501 1 a501 1 251 STD { int|freebsd_sys||rfork(int flags); } d503 2 a504 2 253 NOARGS { int|sys||issetugid(void); } 254 NOARGS { int|sys||lchown(const char *path, int uid, int gid); } d522 1 a522 1 272 NOARGS { int|compat_30_sys||getdents(int fd, char *buf, size_t count); } d524 2 a525 2 274 NOARGS { int|sys||lchmod(const char *path, mode_t mode); } 275 NOARGS { int|sys||lchown(const char *path, uid_t uid, \ d527 6 a532 6 276 NOARGS { int|compat_50_sys||lutimes(const char *path, \ const struct timeval50 *tptr); } 277 NOARGS { int|sys|13|msync(void *addr, size_t len, int flags); } 278 NOARGS { int|compat_30_sys|13|stat(const char *path, struct stat13 *ub); } 279 NOARGS { int|compat_30_sys|13|fstat(int fd, struct stat13 *sb); } 280 NOARGS { int|compat_30_sys|13|lstat(const char *path, struct stat13 *ub);} d549 1 a549 1 297 NOARGS { int|compat_20_sys||fhstatfs(const struct \ d552 1 a552 1 298 NOARGS { int|compat_30_sys||fhopen(const \ d554 1 a554 1 299 NOARGS { int|compat_30_sys||fhstat(const \ d568 1 a568 1 310 NOARGS { pid_t|sys||getsid(pid_t pid); } d579 1 a579 1 321 NOARGS { void|freebsd_sys||yield(void); } d582 4 a585 4 324 NOARGS { int|sys||mlockall(int flags); } 325 NOARGS { int|sys||munlockall(void); } 326 NOARGS { int|sys||__getcwd(char *bufp, size_t length); } 327 STD { int|freebsd_sys||sched_setparam(pid_t pid, \ d587 1 a587 1 328 STD { int|freebsd_sys||sched_getparam(pid_t pid, \ d589 1 a589 1 329 STD { int|freebsd_sys||sched_setscheduler(pid_t pid, \ d591 4 a594 4 330 STD { int|freebsd_sys||sched_getscheduler(pid_t pid); } 331 STD { int|freebsd_sys||sched_yield(void); } 332 STD { int|freebsd_sys||sched_get_priority_max(int policy); } 333 STD { int|freebsd_sys||sched_get_priority_min(int policy); } d596 1 a596 1 335 STD { int|freebsd_sys||utrace(void *addr, size_t len); } d601 1 a601 1 340 NOARGS { int|sys|14|sigprocmask(int how, \ d604 2 a605 2 341 NOARGS { int|sys|14|sigsuspend(const sigset_t *set); } 342 STD { int|freebsd_sys||sigaction4(int signum, \ d608 1 a608 1 343 NOARGS { int|sys|14|sigpending(const sigset_t *set); } d656 2 a657 2 391 NOARGS { int|sys||lchflags(const char *path, u_long flags); } 392 NOARGS { int|sys||uuidgen(struct uuid *store, int count); } d666 4 a669 4 400 NOARGS { int|sys||_ksem_close(intptr_t id); } 401 NOARGS { int|sys||_ksem_post(intptr_t id); } 402 NOARGS { int|sys||_ksem_wait(intptr_t id); } 403 NOARGS { int|sys||_ksem_trywait(intptr_t id); } d672 2 a673 2 406 NOARGS { int|sys||_ksem_unlink(const char *name); } 407 NOARGS { int|sys||_ksem_getvalue(intptr_t id, \ d675 1 a675 1 408 NOARGS { int|sys||_ksem_destroy(intptr_t id); } @ 1.58.28.1 log @Sync with HEAD. @ text @d1 1 a1 1 $NetBSD$ d36 1 d43 1 a52 1 #include d66 10 a75 10 0 NOARGS { int|sys||nosys(void); } syscall 1 NOARGS { int|sys||exit(int rval); } 2 NOARGS { int|sys||fork(void); } 3 NOARGS { int|sys||read(int fd, char *buf, u_int nbyte); } 4 NOARGS { int|sys||write(int fd, char *buf, u_int nbyte); } 5 NOARGS { int|sys||open(const char *path, int flags, int mode); } 6 NOARGS { int|sys||close(int fd); } 7 NOARGS { int|compat_50_sys||wait4(int pid, int *status, \ int options, struct rusage50 *rusage); } 8 NOARGS { int|compat_43_sys||creat(const char *path, \ d77 2 a78 2 9 NOARGS { int|sys||link(const char *path, const char *link); } 10 NOARGS { int|sys||unlink(const char *path); } d80 7 a86 7 12 NOARGS { int|sys||chdir(const char *path); } 13 NOARGS { int|sys||fchdir(int fd); } 14 NOARGS { int|compat_50_sys||mknod(const char *path, int mode, int dev); } 15 NOARGS { int|sys||chmod(const char *path, int mode); } 16 NOARGS { int|sys||chown(const char *path, int uid, int gid); } 17 NOARGS { int|sys||obreak(char *nsize); } break 18 NOARGS { int|compat_20_sys||getfsstat(struct statfs12 *buf, \ d88 1 a88 1 19 NOARGS { long|compat_43_sys||lseek(int fd, long offset, \ d90 2 a91 2 20 NOARGS { pid_t|sys||getpid_with_ppid(void); } 21 STD { int|freebsd_sys||mount(int type, const char *path, \ d93 5 a97 5 22 NOARGS { int|sys||unmount(const char *path, int flags); } 23 NOARGS { int|sys||setuid(uid_t uid); } 24 NOARGS { uid_t|sys||getuid_with_euid(void); } 25 NOARGS { uid_t|sys||geteuid(void); } 26 STD { int|freebsd_sys||ptrace(int req, pid_t pid, \ d99 1 a99 1 27 NOARGS { int|sys||recvmsg(int s, struct msghdr *msg, \ d101 2 a102 2 28 NOARGS { int|sys||sendmsg(int s, void *msg, int flags); } 29 NOARGS { int|sys||recvfrom(int s, void *buf, size_t len, \ d104 2 a105 2 30 NOARGS { int|sys||accept(int s, void *name, int *anamelen); } 31 NOARGS { int|sys||getpeername(int fdes, void *asa, \ d107 1 a107 1 32 NOARGS { int|sys||getsockname(int fdes, void *asa, \ d109 6 a114 6 33 NOARGS { int|sys||access(const char *path, int flags); } 34 NOARGS { int|sys||chflags(const char *path, int flags); } 35 NOARGS { int|sys||fchflags(int fd, int flags); } 36 NOARGS { int|sys||sync(void); } 37 NOARGS { int|sys||kill(int pid, int signum); } 38 NOARGS { int|compat_43_sys||stat(const char *path, \ d116 2 a117 2 39 NOARGS { pid_t|sys||getppid(void); } 40 NOARGS { int|compat_43_sys||lstat(const char *path, \ d119 4 a122 4 41 NOARGS { int|sys||dup(u_int fd); } 42 NOARGS { int|sys||pipe(void); } 43 NOARGS { gid_t|sys||getegid(void); } 44 NOARGS { int|sys||profil(void *samples, u_int size, \ d125 1 a125 1 45 NOARGS { int|sys||ktrace(char *fname, int ops, int facs, \ d130 1 a130 1 46 NOARGS { int|compat_13_sys||sigaction(int signum, \ d133 2 a134 2 47 NOARGS { gid_t|sys||getgid_with_egid(void); } 48 NOARGS { int|compat_13_sys||sigprocmask(int how, \ d136 5 a140 5 49 NOARGS { int|sys||__getlogin(char *namebuf, u_int namelen); } 50 NOARGS { int|sys||__setlogin(char *namebuf); } 51 NOARGS { int|sys||acct(char *path); } 52 NOARGS { int|compat_13_sys||sigpending(void); } 53 NOARGS { int|compat_13_sys||sigaltstack( \ d143 1 a143 1 54 STD { int|freebsd_sys||ioctl(int fd, u_long com, \ d145 4 a148 4 55 NOARGS { int|sys||reboot(int opt); } oreboot 56 NOARGS { int|sys||revoke(const char *path); } 57 NOARGS { int|sys||symlink(const char *path, const char *link); } 58 NOARGS { int|sys||readlink(const char *path, \ d150 1 a150 1 59 NOARGS { int|sys||execve(const char *path, \ d152 3 a154 3 60 NOARGS { int|sys||umask(int newmask); } 61 NOARGS { int|sys||chroot(const char *path); } 62 NOARGS { int|compat_43_sys||fstat(int fd, struct stat43 *sb); } \ d156 1 a156 1 63 NOARGS { int|compat_43_sys||getkerninfo(int op, char *where, \ d158 2 a159 2 64 NOARGS { int|compat_43_sys||getpagesize(void); } ogetpagesize 65 STD { int|freebsd_sys||msync(void *addr, size_t len, \ d161 1 a161 1 66 NOARGS { int|sys||vfork(void); } d164 3 a166 3 69 NOARGS { int|sys||sbrk(intptr_t incr); } 70 NOARGS { int|sys||sstk(int incr); } 71 NOARGS { int|compat_43_sys||mmap(void *addr, size_t len, \ d168 3 a170 3 72 NOARGS { int|sys||ovadvise(int anom); } vadvise 73 NOARGS { int|sys||munmap(void *addr, size_t len); } 74 NOARGS { int|sys||mprotect(void *addr, size_t len, \ d172 1 a172 1 75 NOARGS { int|sys||madvise(void *addr, size_t len, \ d176 12 a187 12 78 NOARGS { int|sys||mincore(void *addr, size_t len, char *vec); } 79 NOARGS { int|sys||getgroups(u_int gidsetsize, gid_t *gidset); } 80 NOARGS { int|sys||setgroups(u_int gidsetsize, gid_t *gidset); } 81 NOARGS { int|sys||getpgrp(void); } 82 NOARGS { int|sys||setpgid(int pid, int pgid); } 83 NOARGS { int|compat_50_sys||setitimer(u_int which, \ struct itimerval50 *itv, struct itimerval50 *oitv); } 84 NOARGS { int|compat_43_sys||wait(void); } owait 85 NOARGS { int|compat_12_sys||swapon(char *name); } 86 NOARGS { int|compat_50_sys||getitimer(u_int which, \ struct itimerval50 *itv); } 87 NOARGS { int|compat_43_sys||gethostname(char *hostname, \ d189 1 a189 1 88 NOARGS { int|compat_43_sys||sethostname(char *hostname, \ d191 1 a191 1 89 NOARGS { int|compat_43_sys||getdtablesize(void); } \ d193 1 a193 1 90 NOARGS { int|sys||dup2(u_int from, u_int to); } d195 3 a197 3 92 NOARGS { int|sys||fcntl(int fd, int cmd, void *arg); } 93 NOARGS { int|compat_50_sys||select(u_int nd, fd_set *in, \ fd_set *ou, fd_set *ex, struct timeval50 *tv); } d199 5 a203 5 95 NOARGS { int|sys||fsync(int fd); } 96 NOARGS { int|sys||setpriority(int which, int who, int prio); } 97 NOARGS { int|compat_30_sys||socket(int domain, int type, int protocol); } 98 NOARGS { int|sys||connect(int s, void *name, int namelen); } 99 NOARGS { int|compat_43_sys||accept(int s, void *name, \ d205 2 a206 2 100 NOARGS { int|sys||getpriority(int which, int who); } 101 NOARGS { int|compat_43_sys||send(int s, void *buf, int len, \ d208 1 a208 1 102 NOARGS { int|compat_43_sys||recv(int s, void *buf, int len, \ d210 1 a210 1 103 STD { int|freebsd_sys||sigreturn( \ d212 2 a213 2 104 NOARGS { int|sys||bind(int s, void *name, int namelen); } 105 NOARGS { int|sys||setsockopt(int s, int level, int name, \ d215 1 a215 1 106 NOARGS { int|sys||listen(int s, int backlog); } d217 1 a217 1 108 NOARGS { int|compat_43_sys||sigvec(int signum, \ d219 4 a222 4 109 NOARGS { int|compat_43_sys||sigblock(int mask); } osigblock 110 NOARGS { int|compat_43_sys||sigsetmask(int mask); } osigsetmask 111 NOARGS { int|compat_13_sys||sigsuspend(int mask); } 112 NOARGS { int|compat_43_sys||sigstack(struct sigstack *nss, \ d224 1 a224 1 113 NOARGS { int|compat_43_sys||recvmsg(int s, \ d226 1 a226 1 114 NOARGS { int|compat_43_sys||sendmsg(int s, void *msg, \ d229 1 a229 1 115 NOARGS { int|sys||vtrace(int request, int value); } d233 1 a233 1 116 NOARGS { int|compat_50_sys||gettimeofday(struct timeval50 *tp, \ d235 2 a236 3 117 NOARGS { int|compat_50_sys||getrusage(int who, \ struct rusage50 *rusage); } 118 NOARGS { int|sys||getsockopt(int s, int level, int name, \ d239 1 a239 1 120 NOARGS { int|sys||readv(int fd, struct iovec *iovp, \ d241 1 a241 1 121 NOARGS { int|sys||writev(int fd, struct iovec *iovp, \ d243 5 a247 5 122 NOARGS { int|compat_50_sys||settimeofday(struct timeval50 *tv, \ struct timezone50 *tzp); } 123 NOARGS { int|sys||fchown(int fd, int uid, int gid); } 124 NOARGS { int|sys||fchmod(int fd, int mode); } 125 NOARGS { int|compat_43_sys||recvfrom(int s, void *buf, \ d250 4 a253 4 126 NOARGS { int|sys||setreuid(int ruid, int euid); } 127 NOARGS { int|sys||setregid(int rgid, int egid); } 128 NOARGS { int|sys||rename(const char *from, const char *to); } 129 NOARGS { int|compat_43_sys||truncate(const char *path, \ d255 1 a255 1 130 NOARGS { int|compat_43_sys||ftruncate(int fd, long length); } \ d257 3 a259 3 131 NOARGS { int|sys||flock(int fd, int how); } 132 NOARGS { int|sys||mkfifo(const char *path, int mode); } 133 NOARGS { int|sys||sendto(int s, void *buf, size_t len, \ d261 2 a262 2 134 NOARGS { int|sys||shutdown(int s, int how); } 135 NOARGS { int|sys||socketpair(int domain, int type, \ d264 3 a266 4 136 NOARGS { int|sys||mkdir(const char *path, int mode); } 137 NOARGS { int|sys||rmdir(const char *path); } 138 NOARGS { int|compat_50_sys||utimes(char *path, \ struct timeval50 *tptr); } d268 3 a270 3 140 NOARGS { int|compat_50_sys||adjtime(struct timeval50 *delta, \ struct timeval50 *olddelta); } 141 NOARGS { int|compat_43_sys||getpeername(int fdes, void *asa, \ d272 2 a273 2 142 NOARGS { int32_t|compat_43_sys||gethostid(void); } ogethostid 143 NOARGS { int|compat_43_sys||sethostid(int32_t hostid); } \ d275 1 a275 1 144 NOARGS { int|compat_43_sys||getrlimit(u_int which, \ d277 1 a277 1 145 NOARGS { int|compat_43_sys||setrlimit(u_int which, \ d279 1 a279 1 146 NOARGS { int|compat_43_sys||killpg(int pgid, int signum); } \ d281 2 a282 2 147 NOARGS { int|sys||setsid(void); } 148 NOARGS { int|sys||quotactl(char *path, int cmd, int uid, \ d284 2 a285 2 149 NOARGS { int|compat_43_sys||quota(void); } oquota 150 NOARGS { int|compat_43_sys||getsockname(int fdec, void *asa, \ d296 3 d300 2 a301 1 156 NOARGS { int|compat_43_sys||getdirentries(int fd, char *buf, \ d303 1 a303 1 157 NOARGS { int|compat_20_sys||statfs(const char *path, \ d305 1 a305 1 158 NOARGS { int|compat_20_sys||fstatfs(int fd, \ d310 1 a310 1 161 NOARGS { int|compat_30_sys||getfh(const char *fname, \ d315 1 a315 1 162 NOARGS { int|compat_09_sys||getdomainname(char *domainname, \ d317 1 a317 1 163 NOARGS { int|compat_09_sys||setdomainname(char *domainname, \ d319 3 a321 3 164 NOARGS { int|compat_09_sys||uname(struct outsname *name); } 165 NOARGS { int|sys||sysarch(int op, char *parms); } 166 STD { int|freebsd_sys||rtprio(int function, pid_t pid, \ d327 1 a327 1 169 STD { int|freebsd_sys||semsys(int which, int a2, int a3, \ d334 1 a334 1 170 STD { int|freebsd_sys||msgsys(int which, int a2, int a3, \ d341 1 a341 1 171 STD { int|freebsd_sys||shmsys(int which, int a2, int a3, \ d347 1 a347 1 173 NOARGS { ssize_t|sys||pread(int fd, void *buf, \ d349 1 a349 1 174 NOARGS { ssize_t|sys||pwrite(int fd, const void *buf, \ d353 1 a353 1 176 STD { int|freebsd||ntp_adjtime(struct freebsd_timex *tp); } d363 3 a365 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); } d367 1 a367 1 184 NOARGS { int|sys||lfs_bmapv(fsid_t *fsidp, \ d369 1 a369 1 185 NOARGS { int|sys||lfs_markv(fsid_t *fsidp, \ d371 2 a372 3 186 NOARGS { int|sys||lfs_segclean(fsid_t *fsidp, u_long segment); } 187 NOARGS { int|compat_50_sys||lfs_segwait(fsid_t *fsidp, \ struct timeval50 *tv); } d379 1 a379 1 188 NOARGS { int|compat_12_sys||stat(const char *path, \ d381 1 a381 1 189 NOARGS { int|compat_12_sys||fstat(int fd, \ d383 1 a383 1 190 NOARGS { int|compat_12_sys||lstat(const char *path, \ d385 2 a386 2 191 NOARGS { int|sys||pathconf(const char *path, int name); } 192 NOARGS { int|sys||fpathconf(int fd, int name); } d388 3 a390 3 194 NOARGS { int|sys||getrlimit(u_int which, struct rlimit *rlp); } 195 NOARGS { int|sys||setrlimit(u_int which, struct rlimit *rlp); } 196 NOARGS { int|compat_12_sys||getdirentries(int fd, char *buf, \ d392 1 a392 1 197 STD { void *|freebsd_sys||mmap(void *addr, size_t len, \ d394 2 a395 2 198 NOARGS { int|sys||nosys(void); } __syscall 199 NOARGS { off_t|sys||lseek(int fd, int pad, off_t offset, \ d397 1 a397 1 200 NOARGS { int|sys||truncate(const char *path, int pad, \ d399 2 a400 2 201 NOARGS { int|sys||ftruncate(int fd, int pad, off_t length); } 202 STD { int|freebsd_sys||sysctl(int *name, u_int namelen, \ d403 2 a404 2 203 NOARGS { int|sys||mlock(void *addr, size_t len); } 204 NOARGS { int|sys||munlock(void *addr, size_t len); } d406 1 a406 1 205 STD { int|freebsd_sys||undelete(char *path); } d410 2 a411 3 206 NOARGS { int|compat_50_sys||futimes(int fd, \ const struct timeval50 *tptr); } 207 NOARGS { pid_t|sys||getpgid(pid_t pid); } d413 1 a413 1 208 NOARGS { int|sys||reboot(int opt, char *bootstr); } d417 1 a417 1 209 NOARGS { int|sys||poll(struct pollfd *fds, u_int nfds, \ d436 1 a436 1 220 NOARGS { int|compat_14_sys||__semctl(int semid, int semnum, \ d438 2 a439 2 221 NOARGS { int|sys||semget(key_t key, int nsems, int semflg); } 222 NOARGS { int|sys||semop(int semid, struct sembuf *sops, \ d441 1 a441 1 223 NOARGS { int|sys||semconfig(int flag); } d449 1 a449 1 224 NOARGS { int|compat_14_sys||msgctl(int msqid, int cmd, \ d451 2 a452 2 225 NOARGS { int|sys||msgget(key_t key, int msgflg); } 226 NOARGS { int|sys||msgsnd(int msqid, void *msgp, size_t msgsz, \ d454 1 a454 1 227 NOARGS { int|sys||msgrcv(int msqid, void *msgp, size_t msgsz, \ d463 2 a464 2 228 NOARGS { int|sys||shmat(int shmid, void *shmaddr, int shmflg); } 229 NOARGS { int|compat_14_sys||shmctl(int shmid, int cmd, \ d466 2 a467 2 230 NOARGS { int|sys||shmdt(void *shmaddr); } 231 NOARGS { int|sys||shmget(key_t key, int size, int shmflg); } d476 6 a481 6 232 NOARGS { int|compat_50_sys||clock_gettime(clockid_t clock_id, \ struct timespec50 *tp); } 233 NOARGS { int|compat_50_sys||clock_settime(clockid_t clock_id, \ const struct timespec50 *tp); } 234 NOARGS { int|compat_50_sys||clock_getres(clockid_t clock_id, \ struct timespec50 *tp); } d487 2 a488 3 240 NOARGS { int|compat_50_sys||nanosleep( \ const struct timespec50 *rqtp, \ struct timespec50 *rmtp); } d499 1 a499 1 250 NOARGS { int|sys||minherit(void *addr, size_t len, \ d501 1 a501 1 251 STD { int|freebsd_sys||rfork(int flags); } d503 2 a504 2 253 NOARGS { int|sys||issetugid(void); } 254 NOARGS { int|sys||lchown(const char *path, int uid, int gid); } d522 1 a522 1 272 NOARGS { int|compat_30_sys||getdents(int fd, char *buf, size_t count); } d524 2 a525 2 274 NOARGS { int|sys||lchmod(const char *path, mode_t mode); } 275 NOARGS { int|sys||lchown(const char *path, uid_t uid, \ d527 6 a532 6 276 NOARGS { int|compat_50_sys||lutimes(const char *path, \ const struct timeval50 *tptr); } 277 NOARGS { int|sys|13|msync(void *addr, size_t len, int flags); } 278 NOARGS { int|compat_30_sys|13|stat(const char *path, struct stat13 *ub); } 279 NOARGS { int|compat_30_sys|13|fstat(int fd, struct stat13 *sb); } 280 NOARGS { int|compat_30_sys|13|lstat(const char *path, struct stat13 *ub);} d549 1 a549 1 297 NOARGS { int|compat_20_sys||fhstatfs(const struct \ d552 1 a552 1 298 NOARGS { int|compat_30_sys||fhopen(const \ d554 1 a554 1 299 NOARGS { int|compat_30_sys||fhstat(const \ d568 1 a568 1 310 NOARGS { pid_t|sys||getsid(pid_t pid); } d579 1 a579 1 321 NOARGS { void|freebsd_sys||yield(void); } d582 4 a585 4 324 NOARGS { int|sys||mlockall(int flags); } 325 NOARGS { int|sys||munlockall(void); } 326 NOARGS { int|sys||__getcwd(char *bufp, size_t length); } 327 STD { int|freebsd_sys||sched_setparam(pid_t pid, \ d587 1 a587 1 328 STD { int|freebsd_sys||sched_getparam(pid_t pid, \ d589 1 a589 1 329 STD { int|freebsd_sys||sched_setscheduler(pid_t pid, \ d591 4 a594 4 330 STD { int|freebsd_sys||sched_getscheduler(pid_t pid); } 331 STD { int|freebsd_sys||sched_yield(void); } 332 STD { int|freebsd_sys||sched_get_priority_max(int policy); } 333 STD { int|freebsd_sys||sched_get_priority_min(int policy); } d596 1 a596 1 335 STD { int|freebsd_sys||utrace(void *addr, size_t len); } d601 1 a601 1 340 NOARGS { int|sys|14|sigprocmask(int how, \ d604 2 a605 2 341 NOARGS { int|sys|14|sigsuspend(const sigset_t *set); } 342 STD { int|freebsd_sys||sigaction4(int signum, \ d608 1 a608 1 343 NOARGS { int|sys|14|sigpending(const sigset_t *set); } d656 2 a657 2 391 NOARGS { int|sys||lchflags(const char *path, u_long flags); } 392 NOARGS { int|sys||uuidgen(struct uuid *store, int count); } d666 4 a669 4 400 NOARGS { int|sys||_ksem_close(intptr_t id); } 401 NOARGS { int|sys||_ksem_post(intptr_t id); } 402 NOARGS { int|sys||_ksem_wait(intptr_t id); } 403 NOARGS { int|sys||_ksem_trywait(intptr_t id); } d672 2 a673 2 406 NOARGS { int|sys||_ksem_unlink(const char *name); } 407 NOARGS { int|sys||_ksem_getvalue(intptr_t id, \ d675 1 a675 1 408 NOARGS { int|sys||_ksem_destroy(intptr_t id); } @ 1.58.40.1 log @Update haad-dm branch to haad-dm-base2. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.60 2008/11/19 18:36:02 ad Exp $ d36 1 d43 1 d296 3 d300 1 d666 4 a669 4 400 NOARGS { int sys__ksem_close(intptr_t id); } 401 NOARGS { int sys__ksem_post(intptr_t id); } 402 NOARGS { int sys__ksem_wait(intptr_t id); } 403 NOARGS { int sys__ksem_trywait(intptr_t id); } d673 1 a673 1 407 NOARGS { int sys__ksem_getvalue(intptr_t id, \ d675 1 a675 1 408 NOARGS { int sys__ksem_destroy(intptr_t id); } @ 1.58.36.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.58 2007/07/13 20:48:39 dsl Exp $ a49 1 #include @ 1.58.36.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.58.36.1 2008/05/10 23:48:49 wrstuden Exp $ d50 1 @ 1.58.30.1 log @Welcome to the time_t=long long dev_t=uint64_t branch. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.58 2007/07/13 20:48:39 dsl Exp $ a52 1 #include d73 2 a74 2 7 NOARGS { int compat_50_sys_wait4(int pid, int *status, \ int options, struct rusage50 *rusage); } d82 1 a82 1 14 NOARGS { int compat_50_sys_mknod(const char *path, int mode, int dev); } d181 2 a182 2 83 NOARGS { int compat_50_sys_setitimer(u_int which, \ struct itimerval50 *itv, struct itimerval50 *oitv); } d185 2 a186 2 86 NOARGS { int compat_50_sys_getitimer(u_int which, \ struct itimerval50 *itv); } d196 2 a197 2 93 NOARGS { int compat_50_sys_select(u_int nd, fd_set *in, \ fd_set *ou, fd_set *ex, struct timeval50 *tv); } d233 1 a233 1 116 NOARGS { int compat_50_sys_gettimeofday(struct timeval50 *tp, \ d235 1 a235 2 117 NOARGS { int compat_50_sys_getrusage(int who, \ struct rusage50 *rusage); } d243 2 a244 2 122 NOARGS { int compat_50_sys_settimeofday(struct timeval50 *tv, \ struct timezone50 *tzp); } d266 1 a266 2 138 NOARGS { int compat_50_sys_utimes(char *path, \ struct timeval50 *tptr); } d268 2 a269 2 140 NOARGS { int compat_50_sys_adjtime(struct timeval50 *delta, \ struct timeval50 *olddelta); } d372 1 a372 2 187 NOARGS { int compat_50_sys_lfs_segwait(fsid_t *fsidp, \ struct timeval50 *tv); } d410 1 a410 2 206 NOARGS { int compat_50_sys_futimes(int fd, \ const struct timeval50 *tptr); } d476 6 a481 6 232 NOARGS { int compat_50_sys_clock_gettime(clockid_t clock_id, \ struct timespec50 *tp); } 233 NOARGS { int compat_50_sys_clock_settime(clockid_t clock_id, \ const struct timespec50 *tp); } 234 NOARGS { int compat_50_sys_clock_getres(clockid_t clock_id, \ struct timespec50 *tp); } d487 2 a488 3 240 NOARGS { int compat_50_sys_nanosleep( \ const struct timespec50 *rqtp, \ struct timespec50 *rmtp); } d527 2 a528 2 276 NOARGS { int compat_50_sys_lutimes(const char *path, \ const struct timeval50 *tptr); } @ 1.58.30.2 log @merge with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.60 2008/11/19 18:36:02 ad Exp $ d36 1 d43 1 d299 3 d303 1 d672 4 a675 4 400 NOARGS { int sys__ksem_close(intptr_t id); } 401 NOARGS { int sys__ksem_post(intptr_t id); } 402 NOARGS { int sys__ksem_wait(intptr_t id); } 403 NOARGS { int sys__ksem_trywait(intptr_t id); } d679 1 a679 1 407 NOARGS { int sys__ksem_getvalue(intptr_t id, \ d681 1 a681 1 408 NOARGS { int sys__ksem_destroy(intptr_t id); } @ 1.57 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.56 2007/02/09 21:55:16 ad Exp $ d71 1 a71 2 5 STD { int freebsd_sys_open(const char *path, int flags, \ int mode); } d75 1 a75 1 8 STD { int compat_43_freebsd_sys_creat(const char *path, \ d77 2 a78 3 9 STD { int freebsd_sys_link(const char *path, \ const char *link); } 10 STD { int freebsd_sys_unlink(const char *path); } d80 1 a80 1 12 STD { int freebsd_sys_chdir(const char *path); } d82 3 a84 5 14 STD { int freebsd_sys_mknod(const char *path, int mode, \ int dev); } 15 STD { int freebsd_sys_chmod(const char *path, int mode); } 16 STD { int freebsd_sys_chown(const char *path, int uid, \ int gid); } d93 1 a93 2 22 STD { int freebsd_sys_unmount(const char *path, \ int flags); } d109 2 a110 3 33 STD { int freebsd_sys_access(const char *path, int flags); } 34 STD { int freebsd_sys_chflags(const char *path, \ int flags); } d114 1 a114 1 38 STD { int compat_43_freebsd_sys_stat(const char *path, \ d117 1 a117 1 40 STD { int compat_43_freebsd_sys_lstat(const char *path, \ d146 3 a148 4 56 STD { int freebsd_sys_revoke(const char *path); } 57 STD { int freebsd_sys_symlink(const char *path, \ const char *link); } 58 STD { int freebsd_sys_readlink(const char *path, \ d150 1 a150 1 59 STD { int freebsd_sys_execve(const char *path, \ d153 1 a153 1 61 STD { int freebsd_sys_chroot(const char *path); } d252 2 a253 3 128 STD { int freebsd_sys_rename(const char *from, \ const char *to); } 129 STD { int compat_43_freebsd_sys_truncate(const char *path, \ d258 1 a258 1 132 STD { int freebsd_sys_mkfifo(const char *path, int mode); } d264 2 a265 2 136 STD { int freebsd_sys_mkdir(const char *path, int mode); } 137 STD { int freebsd_sys_rmdir(const char *path); } d303 1 a303 1 157 STD { int freebsd_sys_statfs(const char *path, \ d310 1 a310 1 161 STD { int freebsd_sys_getfh(const char *fname, \ d379 1 a379 1 188 STD { int freebsd_sys_stat(const char *path, \ d383 1 a383 1 190 STD { int freebsd_sys_lstat(const char *path, \ d385 1 a385 2 191 STD { int freebsd_sys_pathconf(const char *path, \ int name); } d397 1 a397 1 200 STD { int freebsd_sys_truncate(const char *path, int pad, \ d504 1 a504 2 254 STD { int freebsd_sys_lchown(const char *path, int uid, \ int gid); } @ 1.57.2.1 log @Sync with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.57 2007/03/04 06:01:15 christos Exp $ d71 2 a72 1 5 NOARGS { int sys_open(const char *path, int flags, int mode); } d76 1 a76 1 8 NOARGS { int compat_43_sys_creat(const char *path, \ d78 3 a80 2 9 NOARGS { int sys_link(const char *path, const char *link); } 10 NOARGS { int sys_unlink(const char *path); } d82 1 a82 1 12 NOARGS { int sys_chdir(const char *path); } d84 5 a88 3 14 NOARGS { int sys_mknod(const char *path, int mode, int dev); } 15 NOARGS { int sys_chmod(const char *path, int mode); } 16 NOARGS { int sys_chown(const char *path, int uid, int gid); } d97 2 a98 1 22 NOARGS { int sys_unmount(const char *path, int flags); } d114 3 a116 2 33 NOARGS { int sys_access(const char *path, int flags); } 34 NOARGS { int sys_chflags(const char *path, int flags); } d120 1 a120 1 38 NOARGS { int compat_43_sys_stat(const char *path, \ d123 1 a123 1 40 NOARGS { int compat_43_sys_lstat(const char *path, \ d152 4 a155 3 56 NOARGS { int sys_revoke(const char *path); } 57 NOARGS { int sys_symlink(const char *path, const char *link); } 58 NOARGS { int sys_readlink(const char *path, \ d157 1 a157 1 59 NOARGS { int sys_execve(const char *path, \ d160 1 a160 1 61 NOARGS { int sys_chroot(const char *path); } d259 3 a261 2 128 NOARGS { int sys_rename(const char *from, const char *to); } 129 NOARGS { int compat_43_sys_truncate(const char *path, \ d266 1 a266 1 132 NOARGS { int sys_mkfifo(const char *path, int mode); } d272 2 a273 2 136 NOARGS { int sys_mkdir(const char *path, int mode); } 137 NOARGS { int sys_rmdir(const char *path); } d311 1 a311 1 157 NOARGS { int compat_20_sys_statfs(const char *path, \ d318 1 a318 1 161 NOARGS { int compat_30_sys_getfh(const char *fname, \ d387 1 a387 1 188 NOARGS { int compat_12_sys_stat(const char *path, \ d391 1 a391 1 190 NOARGS { int compat_12_sys_lstat(const char *path, \ d393 2 a394 1 191 NOARGS { int sys_pathconf(const char *path, int name); } d406 1 a406 1 200 NOARGS { int sys_truncate(const char *path, int pad, \ d513 2 a514 1 254 NOARGS { int sys_lchown(const char *path, int uid, int gid); } @ 1.56 log @Merge newlock2 to head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.55 2006/09/01 20:58:18 matt Exp $ d96 1 a96 1 int flags, caddr_t data); } d103 1 a103 1 caddr_t addr, int data); } d106 5 a110 5 28 NOARGS { int sys_sendmsg(int s, caddr_t msg, int flags); } 29 NOARGS { int sys_recvfrom(int s, caddr_t buf, size_t len, \ int flags, caddr_t from, int *fromlenaddr); } 30 NOARGS { int sys_accept(int s, caddr_t name, int *anamelen); } 31 NOARGS { int sys_getpeername(int fdes, caddr_t asa, \ d112 1 a112 1 32 NOARGS { int sys_getsockname(int fdes, caddr_t asa, \ d128 1 a128 1 44 NOARGS { int sys_profil(caddr_t samples, u_int size, \ d150 1 a150 1 caddr_t data); } d166 1 a166 1 65 STD { int freebsd_sys_msync(caddr_t addr, size_t len, \ d173 1 a173 1 71 NOARGS { int compat_43_sys_mmap(caddr_t addr, size_t len, \ d176 2 a177 2 73 NOARGS { int sys_munmap(caddr_t addr, size_t len); } 74 NOARGS { int sys_mprotect(caddr_t addr, size_t len, \ d179 1 a179 1 75 NOARGS { int sys_madvise(caddr_t addr, size_t len, \ d183 1 a183 1 78 NOARGS { int sys_mincore(caddr_t addr, size_t len, char *vec); } d209 2 a210 2 98 NOARGS { int sys_connect(int s, caddr_t name, int namelen); } 99 NOARGS { int compat_43_sys_accept(int s, caddr_t name, \ d213 1 a213 1 101 NOARGS { int compat_43_sys_send(int s, caddr_t buf, int len, \ d215 1 a215 1 102 NOARGS { int compat_43_sys_recv(int s, caddr_t buf, int len, \ d219 1 a219 1 104 NOARGS { int sys_bind(int s, caddr_t name, int namelen); } d221 1 a221 1 caddr_t val, int valsize); } d233 1 a233 1 114 NOARGS { int compat_43_sys_sendmsg(int s, caddr_t msg, \ d244 1 a244 1 caddr_t val, int *avalsize); } d254 2 a255 2 125 NOARGS { int compat_43_sys_recvfrom(int s, caddr_t buf, \ size_t len, int flags, caddr_t from, \ d267 2 a268 2 133 NOARGS { int sys_sendto(int s, caddr_t buf, size_t len, \ int flags, caddr_t to, int tolen); } d278 1 a278 1 141 NOARGS { int compat_43_sys_getpeername(int fdes, caddr_t asa, \ d291 1 a291 1 caddr_t arg); } d293 1 a293 1 150 NOARGS { int compat_43_sys_getsockname(int fdec, caddr_t asa, \ d305 1 a305 1 155 NOARGS { int sys_nfssvc(int flag, caddr_t argp); } d401 1 a401 1 197 STD { caddr_t freebsd_sys_mmap(caddr_t addr, size_t len, \ d412 2 a413 2 203 NOARGS { int sys_mlock(caddr_t addr, size_t len); } 204 NOARGS { int sys_munlock(caddr_t addr, size_t len); } @ 1.56.2.1 log @Sync with HEAD. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.56 2007/02/09 21:55:16 ad Exp $ d96 1 a96 1 int flags, void *data); } d103 1 a103 1 void *addr, int data); } d106 5 a110 5 28 NOARGS { int sys_sendmsg(int s, void *msg, int flags); } 29 NOARGS { int sys_recvfrom(int s, void *buf, size_t len, \ int flags, void *from, int *fromlenaddr); } 30 NOARGS { int sys_accept(int s, void *name, int *anamelen); } 31 NOARGS { int sys_getpeername(int fdes, void *asa, \ d112 1 a112 1 32 NOARGS { int sys_getsockname(int fdes, void *asa, \ d128 1 a128 1 44 NOARGS { int sys_profil(void *samples, u_int size, \ d150 1 a150 1 void *data); } d166 1 a166 1 65 STD { int freebsd_sys_msync(void *addr, size_t len, \ d173 1 a173 1 71 NOARGS { int compat_43_sys_mmap(void *addr, size_t len, \ d176 2 a177 2 73 NOARGS { int sys_munmap(void *addr, size_t len); } 74 NOARGS { int sys_mprotect(void *addr, size_t len, \ d179 1 a179 1 75 NOARGS { int sys_madvise(void *addr, size_t len, \ d183 1 a183 1 78 NOARGS { int sys_mincore(void *addr, size_t len, char *vec); } d209 2 a210 2 98 NOARGS { int sys_connect(int s, void *name, int namelen); } 99 NOARGS { int compat_43_sys_accept(int s, void *name, \ d213 1 a213 1 101 NOARGS { int compat_43_sys_send(int s, void *buf, int len, \ d215 1 a215 1 102 NOARGS { int compat_43_sys_recv(int s, void *buf, int len, \ d219 1 a219 1 104 NOARGS { int sys_bind(int s, void *name, int namelen); } d221 1 a221 1 void *val, int valsize); } d233 1 a233 1 114 NOARGS { int compat_43_sys_sendmsg(int s, void *msg, \ d244 1 a244 1 void *val, int *avalsize); } d254 2 a255 2 125 NOARGS { int compat_43_sys_recvfrom(int s, void *buf, \ size_t len, int flags, void *from, \ d267 2 a268 2 133 NOARGS { int sys_sendto(int s, void *buf, size_t len, \ int flags, void *to, int tolen); } d278 1 a278 1 141 NOARGS { int compat_43_sys_getpeername(int fdes, void *asa, \ d291 1 a291 1 void *arg); } d293 1 a293 1 150 NOARGS { int compat_43_sys_getsockname(int fdec, void *asa, \ d305 1 a305 1 155 NOARGS { int sys_nfssvc(int flag, void *argp); } d401 1 a401 1 197 STD { void *freebsd_sys_mmap(void *addr, size_t len, \ d412 2 a413 2 203 NOARGS { int sys_mlock(void *addr, size_t len); } 204 NOARGS { int sys_munlock(void *addr, size_t len); } @ 1.55 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.54 2006/08/30 11:04:37 matt Exp $ a49 1 #include @ 1.55.2.1 log @Remove support for SA. Ok core@@. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.55 2006/09/01 20:58:18 matt Exp $ d50 1 @ 1.54 log @Update for options PTRACE @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.53 2006/07/31 16:32:51 martin Exp $ a40 1 #include "opt_ptrace.h" a102 1 #ifdef PTRACE a104 3 #else 26 EXCL ptrace #endif @ 1.53 log @Step 1 to make filehandles completely opaque to userland @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.52 2006/06/26 21:23:57 mrg Exp $ d41 1 d104 1 d107 3 @ 1.52 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.51 2006/05/04 17:48:56 christos Exp $ d320 1 a320 1 fhandle_t *fhp); } d560 2 a561 1 297 NOARGS { int compat_20_sys_fhstatfs(const fhandle_t *fhp, \ d563 4 a566 2 298 NOARGS { int sys_fhopen(const fhandle_t *fhp, int flags); } 299 NOARGS { int compat_30_sys_fhstat(const fhandle_t *fhp, \ @ 1.51 log @fhstat needs to be versioned too (for ino_t). Pointed out by Izumi Tsutsui @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.50 2005/12/11 12:20:02 christos Exp $ d209 1 a209 1 97 NOARGS { int sys_socket(int domain, int type, int protocol); } @ 1.51.4.1 log @Merge from HEAD. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.52 2006/06/26 21:23:57 mrg Exp $ d209 1 a209 1 97 NOARGS { int compat_30_sys_socket(int domain, int type, int protocol); } @ 1.50 log @merge ktrace-lwp. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.40.2.5 2005/11/10 14:00:52 skrll Exp $ d541 3 a543 3 278 NOARGS { int compat_30_sys___stat13(const char *path, struct stat30 *ub); } 279 NOARGS { int compat_30_sys___fstat13(int fd, struct stat30 *sb); } 280 NOARGS { int compat_30_sys___lstat13(const char *path, struct stat30 *ub);} d563 2 a564 2 299 NOARGS { int sys_fhstat(const fhandle_t *fhp, \ struct stat *sb); } @ 1.50.4.1 log @sync with head @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.55 2006/09/01 20:58:18 matt Exp $ d209 1 a209 1 97 NOARGS { int compat_30_sys_socket(int domain, int type, int protocol); } d320 1 a320 1 struct compat_30_fhandle *fhp); } d541 3 a543 3 278 NOARGS { int compat_30_sys___stat13(const char *path, struct stat13 *ub); } 279 NOARGS { int compat_30_sys___fstat13(int fd, struct stat13 *sb); } 280 NOARGS { int compat_30_sys___lstat13(const char *path, struct stat13 *ub);} d560 1 a560 2 297 NOARGS { int compat_20_sys_fhstatfs(const struct \ compat_30_fhandle *fhp, \ d562 3 a564 5 298 NOARGS { int compat_30_sys_fhopen(const \ struct compat_30_fhandle *fhp, int flags); } 299 NOARGS { int compat_30_sys_fhstat(const \ struct cocmpat_30_fhandlez *fhp, \ struct stat13 *sb); } @ 1.50.6.1 log @Sync with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.50 2005/12/11 12:20:02 christos Exp $ d541 3 a543 3 278 NOARGS { int compat_30_sys___stat13(const char *path, struct stat13 *ub); } 279 NOARGS { int compat_30_sys___fstat13(int fd, struct stat13 *sb); } 280 NOARGS { int compat_30_sys___lstat13(const char *path, struct stat13 *ub);} d563 2 a564 2 299 NOARGS { int compat_30_sys_fhstat(const fhandle_t *fhp, \ struct stat13 *sb); } @ 1.50.12.1 log @Merge 2006-05-24 NetBSD-current into the "peter-altq" branch. @ text @d1 1 a1 1 $NetBSD$ d541 3 a543 3 278 NOARGS { int compat_30_sys___stat13(const char *path, struct stat13 *ub); } 279 NOARGS { int compat_30_sys___fstat13(int fd, struct stat13 *sb); } 280 NOARGS { int compat_30_sys___lstat13(const char *path, struct stat13 *ub);} d563 2 a564 2 299 NOARGS { int compat_30_sys_fhstat(const fhandle_t *fhp, \ struct stat13 *sb); } @ 1.50.8.1 log @sync with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.50 2005/12/11 12:20:02 christos Exp $ d541 3 a543 3 278 NOARGS { int compat_30_sys___stat13(const char *path, struct stat13 *ub); } 279 NOARGS { int compat_30_sys___fstat13(int fd, struct stat13 *sb); } 280 NOARGS { int compat_30_sys___lstat13(const char *path, struct stat13 *ub);} d563 2 a564 2 299 NOARGS { int compat_30_sys_fhstat(const fhandle_t *fhp, \ struct stat13 *sb); } @ 1.50.8.2 log @sync with head @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.50.8.1 2006/05/24 10:57:27 yamt Exp $ d209 1 a209 1 97 NOARGS { int compat_30_sys_socket(int domain, int type, int protocol); } d320 1 a320 1 struct compat_30_fhandle *fhp); } d560 1 a560 2 297 NOARGS { int compat_20_sys_fhstatfs(const struct \ compat_30_fhandle *fhp, \ d562 2 a563 4 298 NOARGS { int compat_30_sys_fhopen(const \ struct compat_30_fhandle *fhp, int flags); } 299 NOARGS { int compat_30_sys_fhstat(const \ struct cocmpat_30_fhandlez *fhp, \ @ 1.50.10.1 log @sync with head @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.51 2006/05/04 17:48:56 christos Exp $ d541 3 a543 3 278 NOARGS { int compat_30_sys___stat13(const char *path, struct stat13 *ub); } 279 NOARGS { int compat_30_sys___fstat13(int fd, struct stat13 *sb); } 280 NOARGS { int compat_30_sys___lstat13(const char *path, struct stat13 *ub);} d563 2 a564 2 299 NOARGS { int compat_30_sys_fhstat(const fhandle_t *fhp, \ struct stat13 *sb); } @ 1.49 log @compat code reorg. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.48 2005/08/19 02:03:57 christos Exp $ @ 1.48 log @64 bit inode changes. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.47 2005/02/22 16:14:50 heas Exp $ d53 2 @ 1.47 log @Add FreeBSD sysctl emulation for their undocumented special OIDs rooted at OID 0. Only OID 0.3 is implemented for now, it 0.3 is the equivalent of NetBSD's sysctlgetmibinfo(). This includes a new sysctl kern.osreldate with the value __NetBSD_Version__ for kernels with COMPAT_FREEBSD. Both of these are used by 3ware's FreeBSD tw_cli, which seems to work now. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.46 2004/05/11 10:54:51 drochner Exp $ d531 1 a531 1 272 NOARGS { int sys_getdents(int fd, char *buf, size_t count); } d539 3 a541 3 278 NOARGS { int sys___stat13(const char *path, struct stat *ub); } 279 NOARGS { int sys___fstat13(int fd, struct stat *sb); } 280 NOARGS { int sys___lstat13(const char *path, struct stat *ub);} @ 1.47.4.1 log @sync with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.47 2005/02/22 16:14:50 heas Exp $ a52 2 #include d531 1 a531 1 272 NOARGS { int compat_30_sys_getdents(int fd, char *buf, size_t count); } d539 3 a541 3 278 NOARGS { int compat_30_sys___stat13(const char *path, struct stat13 *ub); } 279 NOARGS { int compat_30_sys___fstat13(int fd, struct stat13 *sb); } 280 NOARGS { int compat_30_sys___lstat13(const char *path, struct stat13 *ub);} d561 2 a562 2 299 NOARGS { int compat_30_sys_fhstat(const fhandle_t *fhp, \ struct stat13 *sb); } @ 1.47.4.2 log @sync with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.47.4.1 2006/06/21 14:58:50 yamt Exp $ d209 1 a209 1 97 NOARGS { int compat_30_sys_socket(int domain, int type, int protocol); } d320 1 a320 1 struct compat_30_fhandle *fhp); } d560 1 a560 2 297 NOARGS { int compat_20_sys_fhstatfs(const struct \ compat_30_fhandle *fhp, \ d562 2 a563 4 298 NOARGS { int compat_30_sys_fhopen(const \ struct compat_30_fhandle *fhp, int flags); } 299 NOARGS { int compat_30_sys_fhstat(const \ struct cocmpat_30_fhandlez *fhp, \ @ 1.47.4.3 log @sync with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.47.4.2 2006/12/30 20:47:32 yamt Exp $ d50 1 @ 1.47.4.4 log @sync with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.47.4.3 2007/02/26 09:09:06 yamt Exp $ d71 2 a72 1 5 NOARGS { int sys_open(const char *path, int flags, int mode); } d76 1 a76 1 8 NOARGS { int compat_43_sys_creat(const char *path, \ d78 3 a80 2 9 NOARGS { int sys_link(const char *path, const char *link); } 10 NOARGS { int sys_unlink(const char *path); } d82 1 a82 1 12 NOARGS { int sys_chdir(const char *path); } d84 5 a88 3 14 NOARGS { int sys_mknod(const char *path, int mode, int dev); } 15 NOARGS { int sys_chmod(const char *path, int mode); } 16 NOARGS { int sys_chown(const char *path, int uid, int gid); } d96 3 a98 2 int flags, void *data); } 22 NOARGS { int sys_unmount(const char *path, int flags); } d103 1 a103 1 void *addr, int data); } d106 5 a110 5 28 NOARGS { int sys_sendmsg(int s, void *msg, int flags); } 29 NOARGS { int sys_recvfrom(int s, void *buf, size_t len, \ int flags, void *from, int *fromlenaddr); } 30 NOARGS { int sys_accept(int s, void *name, int *anamelen); } 31 NOARGS { int sys_getpeername(int fdes, void *asa, \ d112 1 a112 1 32 NOARGS { int sys_getsockname(int fdes, void *asa, \ d114 3 a116 2 33 NOARGS { int sys_access(const char *path, int flags); } 34 NOARGS { int sys_chflags(const char *path, int flags); } d120 1 a120 1 38 NOARGS { int compat_43_sys_stat(const char *path, \ d123 1 a123 1 40 NOARGS { int compat_43_sys_lstat(const char *path, \ d128 1 a128 1 44 NOARGS { int sys_profil(void *samples, u_int size, \ d150 1 a150 1 void *data); } d152 4 a155 3 56 NOARGS { int sys_revoke(const char *path); } 57 NOARGS { int sys_symlink(const char *path, const char *link); } 58 NOARGS { int sys_readlink(const char *path, \ d157 1 a157 1 59 NOARGS { int sys_execve(const char *path, \ d160 1 a160 1 61 NOARGS { int sys_chroot(const char *path); } d166 1 a166 1 65 STD { int freebsd_sys_msync(void *addr, size_t len, \ d173 1 a173 1 71 NOARGS { int compat_43_sys_mmap(void *addr, size_t len, \ d176 2 a177 2 73 NOARGS { int sys_munmap(void *addr, size_t len); } 74 NOARGS { int sys_mprotect(void *addr, size_t len, \ d179 1 a179 1 75 NOARGS { int sys_madvise(void *addr, size_t len, \ d183 1 a183 1 78 NOARGS { int sys_mincore(void *addr, size_t len, char *vec); } d209 2 a210 2 98 NOARGS { int sys_connect(int s, void *name, int namelen); } 99 NOARGS { int compat_43_sys_accept(int s, void *name, \ d213 1 a213 1 101 NOARGS { int compat_43_sys_send(int s, void *buf, int len, \ d215 1 a215 1 102 NOARGS { int compat_43_sys_recv(int s, void *buf, int len, \ d219 1 a219 1 104 NOARGS { int sys_bind(int s, void *name, int namelen); } d221 1 a221 1 void *val, int valsize); } d233 1 a233 1 114 NOARGS { int compat_43_sys_sendmsg(int s, void *msg, \ d244 1 a244 1 void *val, int *avalsize); } d254 2 a255 2 125 NOARGS { int compat_43_sys_recvfrom(int s, void *buf, \ size_t len, int flags, void *from, \ d259 3 a261 2 128 NOARGS { int sys_rename(const char *from, const char *to); } 129 NOARGS { int compat_43_sys_truncate(const char *path, \ d266 3 a268 3 132 NOARGS { int sys_mkfifo(const char *path, int mode); } 133 NOARGS { int sys_sendto(int s, void *buf, size_t len, \ int flags, void *to, int tolen); } d272 2 a273 2 136 NOARGS { int sys_mkdir(const char *path, int mode); } 137 NOARGS { int sys_rmdir(const char *path); } d278 1 a278 1 141 NOARGS { int compat_43_sys_getpeername(int fdes, void *asa, \ d291 1 a291 1 void *arg); } d293 1 a293 1 150 NOARGS { int compat_43_sys_getsockname(int fdec, void *asa, \ d305 1 a305 1 155 NOARGS { int sys_nfssvc(int flag, void *argp); } d311 1 a311 1 157 NOARGS { int compat_20_sys_statfs(const char *path, \ d318 1 a318 1 161 NOARGS { int compat_30_sys_getfh(const char *fname, \ d387 1 a387 1 188 NOARGS { int compat_12_sys_stat(const char *path, \ d391 1 a391 1 190 NOARGS { int compat_12_sys_lstat(const char *path, \ d393 2 a394 1 191 NOARGS { int sys_pathconf(const char *path, int name); } d401 1 a401 1 197 STD { void *freebsd_sys_mmap(void *addr, size_t len, \ d406 1 a406 1 200 NOARGS { int sys_truncate(const char *path, int pad, \ d412 2 a413 2 203 NOARGS { int sys_mlock(void *addr, size_t len); } 204 NOARGS { int sys_munlock(void *addr, size_t len); } d513 2 a514 1 254 NOARGS { int sys_lchown(const char *path, int uid, int gid); } @ 1.46 log @FreeBSD emulation should not depend on NetBSD binary compatibility options. Include compat_20_sys_*statfs* unconditionally. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.45 2004/05/10 20:27:42 christos Exp $ d408 1 a408 1 202 NOARGS { int sys___sysctl(int *name, u_int namelen, \ @ 1.46.4.1 log @sync with -current @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.47 2005/02/22 16:14:50 heas Exp $ d408 1 a408 1 202 STD { int freebsd_sys_sysctl(int *name, u_int namelen, \ @ 1.46.6.1 log @sync with head. xen and whitespace. xen part is not finished. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.46 2004/05/11 10:54:51 drochner Exp $ d408 1 a408 1 202 STD { int freebsd_sys_sysctl(int *name, u_int namelen, \ @ 1.45 log @Add opt_compat_netbsd.h because we need it for COMPAT_20; pointed out by Jonathan Stone. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.44 2004/04/21 01:05:36 christos Exp $ a39 1 #include "opt_compat_netbsd.h" a88 1 #ifdef COMPAT_20 a90 3 #else 18 EXCL compat_20_sys_getfsstat #endif a311 1 #ifdef COMPAT_20 a313 3 #else 158 EXCL compat_20_sys_fstatfs #endif a557 1 #ifdef COMPAT_20 a559 3 #else 297 EXCL compat_20_sys_fhstatfs #endif @ 1.44 log @Replace the statfs() family of system calls with statvfs(). Retain binary compatibility. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.43 2004/01/29 02:00:02 tsarna Exp $ d40 1 @ 1.43 log @uuidgen(2) syscall. Originally from FreeBSD, ported by John Franklin in PR#23470, with minor updates by me. This is only the syscall support from that PR, for now. Changes: port over fix from FreeBSD for multicast address generation. Changed bcopy to memcpy. For now, #ifdef notyet the portions of kern_uuid.c that are meant to be used by (currently nonexistent) other things in the kernel. Added syscall to COMPAT_FREEBSD as well, though that's currently not useful, as any program new enough to use this call also uses other syscalls we don't (yet) emulate. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.42 2003/11/26 19:22:57 jdolecek Exp $ d89 6 a94 2 18 NOARGS { int sys_getfsstat(struct statfs *buf, long bufsize, \ int flags); } d315 7 a321 2 struct statfs *buf); } 158 NOARGS { int sys_fstatfs(int fd, struct statfs *buf); } d566 6 a571 2 297 NOARGS { int sys_fhstatfs(const fhandle_t *fhp, \ struct statfs *buf); } @ 1.42 log @add the new syscalls to the list @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.41 2003/09/18 14:44:09 pooka Exp $ d662 1 a662 1 392 UNIMPL uuidgen @ 1.41 log @Add a good enuf emulation of the MAP_STACK flag to the mmap() syscall. This allows programs which use MAP_STACK to work instead of failing in weird and wonderous ways. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.40 2003/01/18 07:33:16 thorpej Exp $ d40 1 d634 89 @ 1.40 log @Merge the nathanw_sa branch. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.39 2002/12/22 00:04:29 gmcgarry Exp $ d398 2 a399 2 197 NOARGS { caddr_t sys_mmap(caddr_t addr, size_t len, int prot, \ int flags, int fd, long pad, off_t pos); } @ 1.40.2.1 log @Sync with HEAD @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.46 2004/05/11 10:54:51 drochner Exp $ a39 1 #include "opt_posix.h" d88 2 a89 2 18 NOARGS { int compat_20_sys_getfsstat(struct statfs12 *buf, \ long bufsize, int flags); } d310 2 a311 3 struct statfs12 *buf); } 158 NOARGS { int compat_20_sys_fstatfs(int fd, \ struct statfs12 *buf); } d398 2 a399 2 197 STD { caddr_t freebsd_sys_mmap(caddr_t addr, size_t len, \ int prot, int flags, int fd, long pad, off_t pos); } d556 2 a557 2 297 NOARGS { int compat_20_sys_fhstatfs(const fhandle_t *fhp, \ struct statfs12 *buf); } a632 89 364 UNIMPL __cap_get_proc 365 UNIMPL __cap_set_proc 366 UNIMPL __cap_get_fd 367 UNIMPL __cap_get_file 368 UNIMPL __cap_set_fd 369 UNIMPL __cap_set_file 370 UNIMPL lkmressym 371 UNIMPL extattr_set_fd 372 UNIMPL extattr_get_fd 373 UNIMPL extattr_delete_fd 374 UNIMPL __setugid 375 UNIMPL nfsclnt 376 UNIMPL eaccess 377 UNIMPL afs_syscall 378 UNIMPL nmount 379 UNIMPL kse_exit 380 UNIMPL kse_wakeup 381 UNIMPL kse_create 382 UNIMPL kse_thr_interrupt 383 UNIMPL kse_release 384 UNIMPL __mac_get_proc 385 UNIMPL __mac_set_proc 386 UNIMPL __mac_get_fd 387 UNIMPL __mac_get_file 388 UNIMPL __mac_set_fd 389 UNIMPL __mac_set_file 390 UNIMPL kenv 391 NOARGS { int sys_lchflags(const char *path, u_long flags); } 392 NOARGS { int sys_uuidgen(struct uuid *store, int count); } 393 UNIMPL sendfile 394 UNIMPL mac_syscall 395 UNIMPL getfsstat 396 UNIMPL statfs 397 UNIMPL fsstatfs 398 UNIMPL fhstatfs 399 UNIMPL nosys #if defined(P1003_1B_SEMAPHORE) || !defined(_KERNEL) 400 NOARGS { int sys__ksem_close(semid_t id); } 401 NOARGS { int sys__ksem_post(semid_t id); } 402 NOARGS { int sys__ksem_wait(semid_t id); } 403 NOARGS { int sys__ksem_trywait(semid_t id); } 404 UNIMPL ksem_init 405 UNIMPL ksem_open 406 NOARGS { int sys__ksem_unlink(const char *name); } 407 NOARGS { int sys__ksem_getvalue(semid_t id, \ unsigned int *value); } 408 NOARGS { int sys__ksem_destroy(semid_t id); } #else 400 EXCL ksem_close 401 EXCL ksem_post 402 EXCL ksem_wait 403 EXCL ksem_trywait 404 EXCL ksem_init 405 EXCL ksem_open 406 EXCL ksem_unlink 407 EXCL ksem_getvalue 408 EXCL ksem_destroy #endif 409 UNIMPL __mac_get_pid 410 UNIMPL __mac_get_link 411 UNIMPL __mac_set_link 412 UNIMPL extattr_set_link 413 UNIMPL extattr_get_link 414 UNIMPL extattr_delete_link 415 UNIMPL __mac_execve 416 UNIMPL sigaction 417 UNIMPL sigreturn 418 UNIMPL __xstat 419 UNIMPL __xfstat 420 UNIMPL __xlstat 421 UNIMPL getcontext 422 UNIMPL setcontext 423 UNIMPL swapcontext 424 UNIMPL swapoff 425 UNIMPL __acl_get_link 426 UNIMPL __acl_set_link 427 UNIMPL __acl_delete_link 428 UNIMPL __acl_aclcheck_link 429 UNIMPL sigwait 430 UNIMPL thr_create 431 UNIMPL thr_exit 432 UNIMPL thr_self 433 UNIMPL thr_kill 434 UNIMPL _umtx_lock 435 UNIMPL _umtx_unlock 436 UNIMPL jail_attach 437 UNIMPL extattr_list_fd 438 UNIMPL extattr_list_file 439 UNIMPL extattr_list_link @ 1.40.2.2 log @Sync with HEAD. @ text @@ 1.40.2.3 log @Fix the sync with head I botched. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.40.2.1 2004/08/03 10:43:44 skrll Exp $ @ 1.40.2.4 log @Sync with HEAD. Hi Perry! @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.40.2.3 2004/09/21 13:25:10 skrll Exp $ d408 1 a408 1 202 STD { int freebsd_sys_sysctl(int *name, u_int namelen, \ @ 1.40.2.5 log @Sync with HEAD. Here we go again... @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.40.2.4 2005/03/04 16:39:35 skrll Exp $ a52 2 #include d531 1 a531 1 272 NOARGS { int compat_30_sys_getdents(int fd, char *buf, size_t count); } d539 3 a541 3 278 NOARGS { int compat_30_sys___stat13(const char *path, struct stat30 *ub); } 279 NOARGS { int compat_30_sys___fstat13(int fd, struct stat30 *sb); } 280 NOARGS { int compat_30_sys___lstat13(const char *path, struct stat30 *ub);} @ 1.39 log @Add scheduler syscalls. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.38 2002/10/09 20:22:47 pooka Exp $ d49 1 d141 1 a141 1 50 NOARGS { int sys_setlogin(char *namebuf); } @ 1.38 log @FreeBSD rfork emulation @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.37 2002/05/03 00:20:57 eeh Exp $ d582 1 a582 1 321 UNIMPL yield d588 10 a597 7 327 UNIMPL sched_setparam 328 UNIMPL sched_getparam 329 UNIMPL sched_setscheduler 330 UNIMPL sched_getscheduler 331 UNIMPL sched_yield 332 UNIMPL sched_get_priority_max 333 UNIMPL sched_get_priority_min @ 1.37 log @Use #if defined(_LP64) to determine if we're generating 64-bit binaries, not #if defined(alpha). @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.36 2001/10/27 10:00:55 jdolecek Exp $ d506 1 a506 1 251 UNIMPL rfork @ 1.36 log @Hook in minherit(2), fhstatfs(2), fhopen(2), fhstat(2). Adresses kern/8622 by Paul Shupak. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.35 2001/05/30 11:37:23 mrg Exp $ d330 1 a330 1 #if defined(SYSVSEM) && !defined(alpha) d337 1 a337 1 #if defined(SYSVMSG) && !defined(alpha) d344 1 a344 1 #if defined(SYSVSHM) && !defined(alpha) @ 1.35 log @use _KERNEL_OPT. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.34 2000/12/17 16:11:38 jdolecek Exp $ d504 2 a505 1 250 UNIMPL minherit d555 5 a559 3 297 UNIMPL fhstatfs 298 UNIMPL fhopen 299 UNIMPL fhstat @ 1.35.2.1 log @Sync kqueue branch with -current. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.36 2001/10/27 10:00:55 jdolecek Exp $ d504 1 a504 2 250 NOARGS { int sys_minherit(void *addr, size_t len, \ int inherit); } d554 3 a556 5 297 NOARGS { int sys_fhstatfs(const fhandle_t *fhp, \ struct statfs *buf); } 298 NOARGS { int sys_fhopen(const fhandle_t *fhp, int flags); } 299 NOARGS { int sys_fhstat(const fhandle_t *fhp, \ struct stat *sb); } @ 1.35.2.2 log @catch up with -current on kqueue branch @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.35.2.1 2002/01/10 19:51:04 thorpej Exp $ d330 1 a330 1 #if defined(SYSVSEM) && !defined(_LP64) d337 1 a337 1 #if defined(SYSVMSG) && !defined(_LP64) d344 1 a344 1 #if defined(SYSVSHM) && !defined(_LP64) @ 1.35.6.1 log @Sync the thorpej-mips-cache branch with -current. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.36 2001/10/27 10:00:55 jdolecek Exp $ d504 1 a504 2 250 NOARGS { int sys_minherit(void *addr, size_t len, \ int inherit); } d554 3 a556 5 297 NOARGS { int sys_fhstatfs(const fhandle_t *fhp, \ struct statfs *buf); } 298 NOARGS { int sys_fhopen(const fhandle_t *fhp, int flags); } 299 NOARGS { int sys_fhstat(const fhandle_t *fhp, \ struct stat *sb); } @ 1.34 log @add emulation of FreeBSD utrace(2) @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.33 2000/12/09 07:10:35 mycroft Exp $ d34 1 a34 1 #if defined(_KERNEL) && !defined(_LKM) @ 1.34.2.1 log @Catch up to -current. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.34 2000/12/17 16:11:38 jdolecek Exp $ d34 1 a34 1 #if defined(_KERNEL_OPT) @ 1.34.2.2 log @Catch up to -current. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.34.2.1 2001/06/21 19:59:05 nathanw Exp $ d504 1 a504 2 250 NOARGS { int sys_minherit(void *addr, size_t len, \ int inherit); } d554 3 a556 5 297 NOARGS { int sys_fhstatfs(const fhandle_t *fhp, \ struct statfs *buf); } 298 NOARGS { int sys_fhopen(const fhandle_t *fhp, int flags); } 299 NOARGS { int sys_fhstat(const fhandle_t *fhp, \ struct stat *sb); } @ 1.34.2.3 log @sys_setlogin() -> sys___setlogin() @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.34.2.2 2001/11/14 19:12:56 nathanw Exp $ d140 1 a140 1 50 NOARGS { int sys___setlogin(char *namebuf); } @ 1.34.2.4 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.34.2.3 2002/02/28 19:59:33 nathanw Exp $ a48 1 #include @ 1.34.2.5 log @Catch up to -current. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.34.2.4 2002/05/29 21:32:20 nathanw Exp $ d331 1 a331 1 #if defined(SYSVSEM) && !defined(_LP64) d338 1 a338 1 #if defined(SYSVMSG) && !defined(_LP64) d345 1 a345 1 #if defined(SYSVSHM) && !defined(_LP64) @ 1.34.2.6 log @Catch up to -current. @ text @d1 1 a1 1 $NetBSD$ d507 1 a507 1 251 STD { int freebsd_sys_rfork(int flags); } @ 1.34.2.7 log @Sync with HEAD. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.34.2.6 2002/10/18 02:41:00 nathanw Exp $ d583 1 a583 1 321 NOARGS { void freebsd_sys_yield(void); } d589 7 a595 10 327 STD { int freebsd_sys_sched_setparam(pid_t pid, \ const struct freebsd_sched_param *sp); } 328 STD { int freebsd_sys_sched_getparam(pid_t pid, \ struct freebsd_sched_param *sp); } 329 STD { int freebsd_sys_sched_setscheduler(pid_t pid, \ int policy, const struct sched_param *sp); } 330 STD { int freebsd_sys_sched_getscheduler(pid_t pid); } 331 STD { int freebsd_sys_sched_yield(void); } 332 STD { int freebsd_sys_sched_get_priority_max(int policy); } 333 STD { int freebsd_sys_sched_get_priority_min(int policy); } @ 1.33 log @Get rid of the damn EMUL_GET* flags. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.32 2000/12/09 05:27:29 mycroft Exp $ d131 1 a131 1 45 UNIMPL ktrace d593 1 a593 1 335 UNIMPL utrace @ 1.32 log @Add the %% separators. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.31 2000/11/30 19:05:26 jdolecek Exp $ d91 1 a91 1 20 NOARGS { pid_t sys_getpid(void); } d97 1 a97 1 24 NOARGS { uid_t sys_getuid(void); } d136 1 a136 1 47 NOARGS { gid_t sys_getgid(void); } @ 1.31 log @LKMify @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.30 2000/08/08 02:14:48 itojun Exp $ d34 1 a34 1 if defined(_KERNEL) && !defined(_LKM) d43 1 a43 1 endif d54 2 @ 1.30 log @s/#ifdefined/#ifdef/ @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.29 2000/08/07 17:59:36 bjh21 Exp $ d34 1 d43 1 @ 1.29 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.28 2000/07/18 14:15:05 onoe Exp $ d352 1 a352 1 #ifdefined NTP @ 1.28 log @implement new signal syscalls in FreeBSD 4.0-RELEASE, using native syscalls: sigaction, sigprocmask, sigsuspend, and sigpending. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.27 2000/05/23 16:05:51 tv Exp $ d36 1 d352 1 d354 3 @ 1.27 log @Add names for many syscalls not yet implemented, including those in FreeBSD 4.0-RELEASE. Also implement the following using existing NetBSD syscalls: pread, pwrite, getsid, mlockall, munlockall, __getcwd. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.26 2000/04/21 16:18:16 minoura Exp $ d589 8 a596 4 340 UNIMPL 4.0 sigprocmask 341 UNIMPL 4.0 sigsuspend 342 UNIMPL 4.0 sigaction 343 UNIMPL 4.0 sigpending @ 1.27.4.1 log @Pull up revisions 1.28-1.30 (requested by jonathan): Add support for FreeBSD 4.x signals; fixes PR#9769. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.27 2000/05/23 16:05:51 tv Exp $ a35 1 #include "opt_ntp.h" a350 1 #ifdef NTP a351 3 #else 176 EXCL ntp_adjtime #endif d589 4 a592 8 340 NOARGS { int sys___sigprocmask14(int how, \ const sigset_t *set, \ sigset_t *oset); } 341 NOARGS { int sys___sigsuspend14(const sigset_t *set); } 342 STD { int freebsd_sys_sigaction4(int signum, \ const struct freebsd_sigaction4 *nsa, \ struct freebsd_sigaction4 *osa); } 343 NOARGS { int sys___sigpending14(const sigset_t *set); } @ 1.26 log @We have now native issetugid. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.25 1999/08/25 04:48:21 thorpej Exp $ d292 3 a294 3 151 UNIMPL 152 UNIMPL 153 UNIMPL d299 1 a299 1 155 UNIMPL d346 4 a349 2 173 UNIMPL 174 UNIMPL d352 3 a354 3 177 UNIMPL 178 UNIMPL 179 UNIMPL d404 1 a404 1 205 UNIMPL d545 3 a547 3 297 UNIMPL 298 UNIMPL 299 UNIMPL d559 1 a559 1 310 UNIMPL getsid d573 3 a575 3 324 UNIMPL mlockall 325 UNIMPL munlockall 326 UNIMPL __getcwd d587 26 @ 1.25 log @Update for new msgctl()/semctl()/shmctl(). @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.24 1999/07/12 21:55:20 kleink Exp $ d496 1 a496 1 253 STD { int freebsd_sys_issetugid(void); } @ 1.25.2.1 log @Update thorpej_scsipi to -current as of a month ago @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.30 2000/08/08 02:14:48 itojun Exp $ a35 1 #include "opt_ntp.h" d292 3 a294 3 151 UNIMPL sem_lock 152 UNIMPL sem_wakeup 153 UNIMPL asyncdaemon d299 1 a299 1 155 UNIMPL nfssvc d346 2 a347 4 173 NOARGS { ssize_t sys_pread(int fd, void *buf, \ size_t nbyte, int pad, off_t offset); } 174 NOARGS { ssize_t sys_pwrite(int fd, const void *buf, \ size_t nbyte, int pad, off_t offset); } a348 1 #ifdef NTP d350 3 a352 6 #else 176 EXCL ntp_adjtime #endif 177 UNIMPL sfork 178 UNIMPL getdescriptor 179 UNIMPL setdescriptor d402 1 a402 1 205 UNIMPL undelete d496 1 a496 1 253 NOARGS { int sys_issetugid(void); } d543 3 a545 3 297 UNIMPL fhstatfs 298 UNIMPL fhopen 299 UNIMPL fhstat d557 1 a557 1 310 NOARGS { pid_t sys_getsid(pid_t pid); } d571 3 a573 3 324 NOARGS { int sys_mlockall(int flags); } 325 NOARGS { int sys_munlockall(void); } 326 NOARGS { int sys___getcwd(char *bufp, size_t length); } a584 30 338 UNIMPL jail 339 UNIMPL pioctl 340 NOARGS { int sys___sigprocmask14(int how, \ const sigset_t *set, \ sigset_t *oset); } 341 NOARGS { int sys___sigsuspend14(const sigset_t *set); } 342 STD { int freebsd_sys_sigaction4(int signum, \ const struct freebsd_sigaction4 *nsa, \ struct freebsd_sigaction4 *osa); } 343 NOARGS { int sys___sigpending14(const sigset_t *set); } 344 UNIMPL 4.0 sigreturn 345 UNIMPL sigtimedwait 346 UNIMPL sigwaitinfo 347 UNIMPL __acl_get_file 348 UNIMPL __acl_set_file 349 UNIMPL __acl_get_fd 350 UNIMPL __acl_set_fd 351 UNIMPL __acl_delete_file 352 UNIMPL __acl_delete_fd 353 UNIMPL __acl_aclcheck_file 354 UNIMPL __acl_aclcheck_fd 355 UNIMPL extattrctl 356 UNIMPL extattr_set_file 357 UNIMPL extattr_get_file 358 UNIMPL extattr_delete_file 359 UNIMPL aio_waitcomplete 360 UNIMPL getresuid 361 UNIMPL getresgid 362 UNIMPL kqueue 363 UNIMPL kevent @ 1.25.2.2 log @Sync with HEAD. @ text @d1 1 a1 1 $NetBSD$ a33 1 if defined(_KERNEL) && !defined(_LKM) a41 1 endif @ 1.25.2.3 log @Sync with HEAD (for UBC fixes). @ text @d34 1 a34 1 #if defined(_KERNEL) && !defined(_LKM) d43 1 a43 1 #endif a54 2 %% d89 1 a89 1 20 NOARGS { pid_t sys_getpid_with_ppid(void); } d95 1 a95 1 24 NOARGS { uid_t sys_getuid_with_euid(void); } d134 1 a134 1 47 NOARGS { gid_t sys_getgid_with_egid(void); } @ 1.25.2.4 log @Sync with HEAD @ text @d131 1 a131 1 45 EXCL ktrace d593 1 a593 1 335 STD { int freebsd_sys_utrace(void *addr, size_t len); } @ 1.24 log @XSH5: change function signature to `void *sbrk(intptr_t)'. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.23 1999/06/09 12:33:18 drochner Exp $ d430 2 a431 2 220 NOARGS { int sys___semctl(int semid, int semnum, int cmd, \ union semun *arg); } d443 2 a444 2 224 NOARGS { int sys_msgctl(int msqid, int cmd, \ struct msqid_ds *buf); } d458 2 a459 2 229 NOARGS { int sys_shmctl(int shmid, int cmd, \ struct shmid_ds *buf); } @ 1.23 log @add "sys_" prefix to LFS syscalls @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.22 1999/02/09 20:19:13 christos Exp $ d163 1 a163 1 69 NOARGS { int sys_sbrk(int incr); } @ 1.22 log @PR/6962: Paul Shupak: FreeBSD-3.0 additions - const poisoning @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.21 1998/12/10 17:03:19 christos Exp $ d360 1 a360 1 184 NOARGS { int lfs_bmapv(fsid_t *fsidp, \ d362 1 a362 1 185 NOARGS { int lfs_markv(fsid_t *fsidp, \ d364 2 a365 2 186 NOARGS { int lfs_segclean(fsid_t *fsidp, u_long segment); } 187 NOARGS { int lfs_segwait(fsid_t *fsidp, struct timeval *tv); } @ 1.22.4.1 log @Sync w/ -current. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.23 1999/06/09 12:33:18 drochner Exp $ d360 1 a360 1 184 NOARGS { int sys_lfs_bmapv(fsid_t *fsidp, \ d362 1 a362 1 185 NOARGS { int sys_lfs_markv(fsid_t *fsidp, \ d364 2 a365 2 186 NOARGS { int sys_lfs_segclean(fsid_t *fsidp, u_long segment); } 187 NOARGS { int sys_lfs_segwait(fsid_t *fsidp, struct timeval *tv); } @ 1.22.4.2 log @Update from trunk. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.22.4.1 1999/06/21 01:06:44 thorpej Exp $ d163 1 a163 1 69 NOARGS { int sys_sbrk(intptr_t incr); } @ 1.21 log @Defopt COMPAT_43 @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.20 1998/10/19 22:27:38 tron Exp $ d63 1 a63 1 5 STD { int freebsd_sys_open(char *path, int flags, \ d68 1 a68 1 8 STD { int compat_43_freebsd_sys_creat(char *path, \ d70 3 a72 2 9 STD { int freebsd_sys_link(char *path, char *link); } 10 STD { int freebsd_sys_unlink(char *path); } d74 1 a74 1 12 STD { int freebsd_sys_chdir(char *path); } d76 1 a76 1 14 STD { int freebsd_sys_mknod(char *path, int mode, \ d78 3 a80 2 15 STD { int freebsd_sys_chmod(char *path, int mode); } 16 STD { int freebsd_sys_chown(char *path, int uid, int gid); } d87 1 a87 1 21 STD { int freebsd_sys_mount(int type, char *path, \ d89 2 a90 1 22 STD { int freebsd_sys_unmount(char *path, int flags); } d106 3 a108 2 33 STD { int freebsd_sys_access(char *path, int flags); } 34 STD { int freebsd_sys_chflags(char *path, int flags); } d112 1 a112 1 38 STD { int compat_43_freebsd_sys_stat(char *path, \ d115 1 a115 1 40 STD { int compat_43_freebsd_sys_lstat(char *path, \ d143 8 a150 7 55 NOARGS { int sys_reboot(int opt); } 56 STD { int freebsd_sys_revoke(char *path); } 57 STD { int freebsd_sys_symlink(char *path, char *link); } 58 STD { int freebsd_sys_readlink(char *path, char *buf, \ int count); } 59 STD { int freebsd_sys_execve(char *path, char **argp, \ char **envp); } d152 1 a152 1 61 STD { int freebsd_sys_chroot(char *path); } d251 3 a253 2 128 STD { int freebsd_sys_rename(char *from, char *to); } 129 STD { int compat_43_freebsd_sys_truncate(char *path, \ d258 1 a258 1 132 STD { int freebsd_sys_mkfifo(char *path, int mode); } d264 2 a265 2 136 STD { int freebsd_sys_mkdir(char *path, int mode); } 137 STD { int freebsd_sys_rmdir(char *path); } d303 1 a303 1 157 STD { int freebsd_sys_statfs(char *path, \ d309 2 a310 1 161 STD { int freebsd_sys_getfh(char *fname, fhandle_t *fhp); } d372 1 a372 1 188 STD { int freebsd_sys_stat(char *path, \ d376 1 a376 1 190 STD { int freebsd_sys_lstat(char *path, \ d378 2 a379 1 191 STD { int freebsd_sys_pathconf(char *path, int name); } d391 1 a391 1 200 STD { int freebsd_sys_truncate(char *path, int pad, \ d404 9 a412 4 206 UNIMPL 207 UNIMPL 208 UNIMPL 209 UNIMPL d429 54 a482 21 220 UNIMPL 221 UNIMPL 222 UNIMPL 223 UNIMPL 224 UNIMPL 225 UNIMPL 226 UNIMPL 227 UNIMPL 228 UNIMPL 229 UNIMPL 230 UNIMPL 231 UNIMPL 232 UNIMPL 233 UNIMPL 234 UNIMPL 235 UNIMPL 236 UNIMPL 237 UNIMPL 238 UNIMPL 239 UNIMPL 240 UNIMPL d492 4 a495 3 250 UNIMPL 251 UNIMPL 252 UNIMPL d497 1 a497 1 254 STD { int freebsd_sys_lchown(char *path, int uid, \ d499 86 @ 1.20 log @Defopt SYSVMSG, SYSVSEM and SYSVSHM. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.19 1998/09/11 12:50:08 mycroft Exp $ d37 1 @ 1.19 log @Substantial signal handling changes: * Increase the size of sigset_t to accomodate 128 signals -- adding new versions of sys_setprocmask(), sys_sigaction(), sys_sigpending() and sys_sigsuspend() to handle the changed arguments. * Abstract the guts of sys_sigaltstack(), sys_setprocmask(), sys_sigaction(), sys_sigpending() and sys_sigsuspend() into separate functions, and call them from all the emulations rather than hard-coding everything. (Avoids uses the stackgap crap for these system calls.) * Add a new flag (p_checksig) to indicate that a process may have signals pending and userret() needs to do the full (slow) check. * Eliminate SAS_ALTSTACK; it's exactly the inverse of SS_DISABLE. * Correct emulation bugs with restoring SS_ONSTACK. * Make the signal mask in the sigcontext always use the emulated mask format. * Store signals internally in sigaction structures, rather than maintaining a bunch of little sigsets for each SA_* bit. * Keep track of where we put the signal trampoline, rather than figuring it out in *_sendsig(). * Issue a warning when a non-emulated sigaction bit is observed. * Add missing emulated signals, and a native SIGPWR (currently not used). * Implement the `not reset when caught' semantics for relevant signals. Note: Only code touched by the i386 port has been modified. Other ports and emulations need to be updated. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.18 1998/06/25 22:18:32 thorpej Exp $ d36 1 @ 1.18 log @defopt NFSSERVER @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.17 1998/06/25 21:17:39 thorpej Exp $ d122 3 a124 2 46 NOARGS { int sys_sigaction(int signum, struct sigaction *nsa, \ struct sigaction *osa); } d126 2 a127 1 48 NOARGS { int sys_sigprocmask(int how, sigset_t mask); } d131 1 a131 1 52 NOARGS { int sys_sigpending(void); } d213 1 a213 1 111 NOARGS { int sys_sigsuspend(int mask); } @ 1.17 log @defopt KTRACE @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.16 1998/05/02 18:14:06 christos Exp $ d35 1 @ 1.16 log @PR/5350: Minoura Makoto: add issetugid() syscall. (with fixes from me) @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.15 1998/02/19 00:36:04 thorpej Exp $ d33 2 @ 1.15 log @Include the NFS option header. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.14 1998/01/22 16:31:37 mycroft Exp $ d442 1 a442 1 253 UNIMPL @ 1.14 log @Put a local copy of the SysV IPC compatibility from compat/common in here, so it's not dependent on COMPAT_10. Also, fix translation of shmctl(), since FreeBSD's is a little different. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.13 1997/11/30 18:06:39 veego Exp $ d32 4 a35 1 ; #include's are copied to the syscall switch definition file only. @ 1.13 log @Change syscall table to use the 1.3 compatibility sigaltstack() function (fix from kleink). @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.12 1997/10/18 16:30:34 christos Exp $ d309 1 a309 1 169 NOARGS { int compat_10_sys_semsys(int which, int a2, int a3, \ d316 1 a316 1 170 NOARGS { int compat_10_sys_msgsys(int which, int a2, int a3, \ d323 1 a323 1 171 NOARGS { int compat_10_sys_shmsys(int which, int a2, int a3, \ @ 1.12 log @Use stat12; from Enami Tsugutomo @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.11 1997/10/16 23:48:18 christos Exp $ d124 3 a126 2 53 NOARGS { int sys_sigaltstack(struct sigaltstack *nss, \ struct sigaltstack *oss); } @ 1.12.2.1 log @Pull up 1.14 (mycroft) @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.12 1997/10/18 16:30:34 christos Exp $ d308 1 a308 1 169 STD { int freebsd_sys_semsys(int which, int a2, int a3, \ d315 1 a315 1 170 STD { int freebsd_sys_msgsys(int which, int a2, int a3, \ d322 1 a322 1 171 STD { int freebsd_sys_shmsys(int which, int a2, int a3, \ @ 1.12.2.2 log @pull up rev 1.16 from trunk (tv) @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.12.2.1 1998/01/29 11:33:03 mellon Exp $ d438 1 a438 1 253 STD { int freebsd_sys_issetugid(void); } @ 1.11 log @ostat -> stat43 @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.10 1997/10/15 17:18:17 mycroft Exp $ d354 6 a359 3 188 STD { int freebsd_sys_stat(char *path, struct stat *ub); } 189 NOARGS { int sys_fstat(int fd, struct stat *sb); } 190 STD { int freebsd_sys_lstat(char *path, struct stat *ub); } @ 1.10 log @Fix a typo inherited from kern/syscalls.master. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.9 1997/10/10 01:55:33 enami Exp $ d101 1 a101 1 struct ostat *ub); } ostat d104 1 a104 1 struct ostat *ub); } olstat d137 2 a138 2 62 NOARGS { int compat_43_sys_fstat(int fd, struct ostat *sb); } \ ofstat @ 1.9 log @lchown at #254. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.8 1997/10/10 01:44:59 fvdl Exp $ d259 1 a259 1 struct ogetrlimit *rlp); } ogetrlimit d261 1 a261 1 struct ogetrlimit *rlp); } osetrlimit @ 1.8 log @Channel FreeBSD getdirentries to our now obsolete getdirentries call. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.7 1997/06/13 19:11:42 thorpej Exp $ d399 39 @ 1.7 log @Use compat_12_sys_swapon(). @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.6 1997/01/31 02:17:47 thorpej Exp $ d362 1 a362 1 196 NOARGS { int sys_getdirentries(int fd, char *buf, \ @ 1.7.4.1 log @Update marc-pcmcia branch from trunk. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.9 1997/10/10 01:55:33 enami Exp $ d362 1 a362 1 196 NOARGS { int compat_12_sys_getdirentries(int fd, char *buf, \ a398 39 ; ; Syscalls 220-239 are reserved for syscalls imported from NetBSD ; 220 UNIMPL 221 UNIMPL 222 UNIMPL 223 UNIMPL 224 UNIMPL 225 UNIMPL 226 UNIMPL 227 UNIMPL 228 UNIMPL 229 UNIMPL 230 UNIMPL 231 UNIMPL 232 UNIMPL 233 UNIMPL 234 UNIMPL 235 UNIMPL 236 UNIMPL 237 UNIMPL 238 UNIMPL 239 UNIMPL 240 UNIMPL 241 UNIMPL 242 UNIMPL 243 UNIMPL 244 UNIMPL 245 UNIMPL 246 UNIMPL 247 UNIMPL 248 UNIMPL 249 UNIMPL 250 UNIMPL 251 UNIMPL 252 UNIMPL 253 UNIMPL 254 STD { int freebsd_sys_lchown(char *path, int uid, \ int gid); } @ 1.6 log @NFSCLIENT -> NFS @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.5 1996/09/20 16:19:27 christos Exp $ d167 1 a167 1 85 NOARGS { int sys_swapon(char *name); } @ 1.6.2.1 log @initial work for dynamic swap additions. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.6 1997/01/31 02:17:47 thorpej Exp $ d167 1 a167 1 85 NOARGS { int compat_12_sys_swapon(char *name); } @ 1.5 log @getlogin -> __getlogin @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.4 1996/06/23 11:18:57 mycroft Exp $ d279 1 a279 1 #if defined(NFSCLIENT) || defined(NFSSERVER) d291 1 a291 1 #ifdef NFSCLIENT @ 1.5.2.1 log @Snapshot of work-in-progress, committed to private branch. These changes implement machine-independent root device and file system selection. Notable features: - All ports behave in a consistent manner regarding root device selection. - No more "options GENERIC"; all kernels have the ability to boot with RB_ASKNAME to select root device and file system type. - Root file system type can be wildcarded; a machine-independent function will try all possible file systems for the selected root device until one succeeds. - If the root file system fails to mount, the operator will be given the chance to select a new root device and file system type, rather than having the machine simply panic. - nfs_mountroot() no longer panics if any part of the NFS mount process fails; it now returns an error, giving the operator a chance to recover. - New, more consistent, config(8) grammar. The constructs: config netbsd swap generic config netbsd root on nfs have been replaced with: config netbsd root on ? type ? config netbsd root on ? type nfs Additionally, the operator may select or wildcard root file system type in the kernel configuration file: config netbsd root on cd0a type cd9660 config(8) now requires that a "root" specification be made. "root" may be wired down or wildcarded. "swap" and "dump" specifications are optional, and follow previous semantics. - config(8) has a new "file-system" keyword, used to configure file systems into the kernel. Eventually, this will be used to generate the default vfssw[]. - "options NFSCLIENT" is obsolete, and is replaced by "file-system NFS". "options NFSSERVER" still exists, since NFS server support is independent of the NFS file system client. - sys/arch///swapgeneric.c is no longer used, and will be removed; all information is now generated by config(8). As of this commit, all ports except arm32 have been updated to use the new setroot(). Only SPARC, i386, and Alpha ports have been tested at this time. Port masters should test these changes on their ports, and report any problems back to me. More changes are on their way, including RB_ASKNAME support in nfs_mountroot() (to prompt for server address and path) and, potentially, the ability to select rarp/bootparam or bootp in nfs_mountroot(). @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.5 1996/09/20 16:19:27 christos Exp $ d279 1 a279 1 #if defined(NFS) || defined(NFSSERVER) d291 1 a291 1 #ifdef NFS @ 1.4 log @Catch up with setre[ug]id() changes. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.3 1995/10/10 18:28:40 mycroft Exp $ d120 1 a120 1 49 NOARGS { int sys_getlogin(char *namebuf, u_int namelen); } @ 1.3 log @Fix minor oversight. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.2 1995/10/10 01:34:37 mycroft Exp $ d233 2 a234 4 126 NOARGS { int compat_43_sys_setreuid(int ruid, int euid); } \ osetreuid 127 NOARGS { int compat_43_sys_setregid(int rgid, int egid); } \ osetregid @ 1.3.4.1 log @From trunk: Implement setre[ug]id() for real. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.4 1996/06/23 11:18:57 mycroft Exp $ d233 4 a236 2 126 NOARGS { int sys_setreuid(int ruid, int euid); } 127 NOARGS { int sys_setregid(int rgid, int egid); } @ 1.2 log @Fix typo. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.1 1995/10/10 01:19:39 mycroft Exp $ d102 1 a102 1 39 NOARGS { pid_t getppid(void); } @ 1.2.2.1 log @getppid => sys_getppid; re-ran makesyscalls.sh. (PR#1643). @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.2 1995/10/10 01:34:37 mycroft Exp $ d102 1 a102 1 39 NOARGS { pid_t sys_getppid(void); } @ 1.1 log @FreeBSD binary compatibility module, from Noriyuki Soda. @ text @d1 1 a1 1 $NetBSD: $ d240 3 a242 2 130 NOARGS { int compat_43_sys_ftruncate(int fd, long length); } 131 NOARGS { int sys_flock(int fd, int how); } oftruncate @