head 1.82; access; symbols netbsd-11-0-RC4:1.82 netbsd-11-0-RC3:1.82 netbsd-11-0-RC2:1.82 netbsd-11-0-RC1:1.82 perseant-exfatfs-base-20250801:1.82 netbsd-11:1.82.0.34 netbsd-11-base:1.82 netbsd-10-1-RELEASE:1.82 perseant-exfatfs-base-20240630:1.82 perseant-exfatfs:1.82.0.32 perseant-exfatfs-base:1.82 netbsd-8-3-RELEASE:1.76 netbsd-9-4-RELEASE:1.81 netbsd-10-0-RELEASE:1.82 netbsd-10-0-RC6:1.82 netbsd-10-0-RC5:1.82 netbsd-10-0-RC4:1.82 netbsd-10-0-RC3:1.82 netbsd-10-0-RC2:1.82 thorpej-ifq:1.82.0.30 thorpej-ifq-base:1.82 thorpej-altq-separation:1.82.0.28 thorpej-altq-separation-base:1.82 netbsd-10-0-RC1:1.82 netbsd-10:1.82.0.26 netbsd-10-base:1.82 bouyer-sunxi-drm:1.82.0.24 bouyer-sunxi-drm-base:1.82 netbsd-9-3-RELEASE:1.81 thorpej-i2c-spi-conf2:1.82.0.22 thorpej-i2c-spi-conf2-base:1.82 thorpej-futex2:1.82.0.20 thorpej-futex2-base:1.82 thorpej-cfargs2:1.82.0.18 thorpej-cfargs2-base:1.82 cjep_sun2x-base1:1.82 cjep_sun2x:1.82.0.16 cjep_sun2x-base:1.82 cjep_staticlib_x-base1:1.82 netbsd-9-2-RELEASE:1.81 cjep_staticlib_x:1.82.0.14 cjep_staticlib_x-base:1.82 thorpej-i2c-spi-conf:1.82.0.12 thorpej-i2c-spi-conf-base:1.82 thorpej-cfargs:1.82.0.10 thorpej-cfargs-base:1.82 thorpej-futex:1.82.0.8 thorpej-futex-base:1.82 netbsd-9-1-RELEASE:1.81 bouyer-xenpvh-base2:1.82 phil-wifi-20200421:1.82 bouyer-xenpvh-base1:1.82 phil-wifi-20200411:1.82 bouyer-xenpvh:1.82.0.6 bouyer-xenpvh-base:1.82 is-mlppp:1.82.0.4 is-mlppp-base:1.82 phil-wifi-20200406:1.82 netbsd-8-2-RELEASE:1.76 ad-namecache-base3:1.82 netbsd-9-0-RELEASE:1.81 netbsd-9-0-RC2:1.81 ad-namecache-base2:1.82 ad-namecache-base1:1.82 ad-namecache:1.82.0.2 ad-namecache-base:1.82 netbsd-9-0-RC1:1.81 phil-wifi-20191119:1.82 netbsd-9:1.81.0.4 netbsd-9-base:1.81 phil-wifi-20190609:1.81 netbsd-8-1-RELEASE:1.76 netbsd-8-1-RC1:1.76 isaki-audio2:1.81.0.2 isaki-audio2-base:1.81 pgoyette-compat-merge-20190127:1.80.2.2 pgoyette-compat-20190127:1.80 pgoyette-compat-20190118:1.80 pgoyette-compat-1226:1.80 pgoyette-compat-1126:1.80 pgoyette-compat-1020:1.80 pgoyette-compat-0930:1.80 pgoyette-compat-0906:1.80 netbsd-7-2-RELEASE:1.76 pgoyette-compat-0728:1.80 netbsd-8-0-RELEASE:1.76 phil-wifi:1.80.0.4 phil-wifi-base:1.80 pgoyette-compat-0625:1.80 netbsd-8-0-RC2:1.76 pgoyette-compat-0521:1.80 pgoyette-compat-0502:1.80 pgoyette-compat-0422:1.80 netbsd-8-0-RC1:1.76 pgoyette-compat-0415:1.80 pgoyette-compat-0407:1.80 pgoyette-compat-0330:1.80 pgoyette-compat-0322:1.80 pgoyette-compat-0315:1.80 netbsd-7-1-2-RELEASE:1.76 pgoyette-compat:1.80.0.2 pgoyette-compat-base:1.80 netbsd-7-1-1-RELEASE:1.76 tls-maxphys-base-20171202:1.76 matt-nb8-mediatek:1.76.0.26 matt-nb8-mediatek-base:1.76 nick-nhusb-base-20170825:1.76 perseant-stdc-iso10646:1.76.0.24 perseant-stdc-iso10646-base:1.76 netbsd-8:1.76.0.22 netbsd-8-base:1.76 prg-localcount2-base3:1.76 prg-localcount2-base2:1.76 prg-localcount2-base1:1.76 prg-localcount2:1.76.0.20 prg-localcount2-base:1.76 pgoyette-localcount-20170426:1.76 bouyer-socketcan-base1:1.76 jdolecek-ncq:1.76.0.18 jdolecek-ncq-base:1.76 pgoyette-localcount-20170320:1.76 netbsd-7-1:1.76.0.16 netbsd-7-1-RELEASE:1.76 netbsd-7-1-RC2:1.76 nick-nhusb-base-20170204:1.76 netbsd-7-nhusb-base-20170116:1.76 bouyer-socketcan:1.76.0.14 bouyer-socketcan-base:1.76 pgoyette-localcount-20170107:1.76 netbsd-7-1-RC1:1.76 nick-nhusb-base-20161204:1.76 pgoyette-localcount-20161104:1.76 netbsd-7-0-2-RELEASE:1.76 nick-nhusb-base-20161004:1.76 localcount-20160914:1.76 netbsd-7-nhusb:1.76.0.12 netbsd-7-nhusb-base:1.76 pgoyette-localcount-20160806:1.76 pgoyette-localcount-20160726:1.76 pgoyette-localcount:1.76.0.10 pgoyette-localcount-base:1.76 nick-nhusb-base-20160907:1.76 nick-nhusb-base-20160529:1.76 netbsd-7-0-1-RELEASE:1.76 nick-nhusb-base-20160422:1.76 nick-nhusb-base-20160319:1.76 nick-nhusb-base-20151226:1.76 netbsd-7-0:1.76.0.8 netbsd-7-0-RELEASE:1.76 nick-nhusb-base-20150921:1.76 netbsd-7-0-RC3:1.76 netbsd-7-0-RC2:1.76 netbsd-7-0-RC1:1.76 nick-nhusb-base-20150606:1.76 nick-nhusb-base-20150406:1.76 nick-nhusb:1.76.0.6 nick-nhusb-base:1.76 netbsd-5-2-3-RELEASE:1.69 netbsd-5-1-5-RELEASE:1.69 netbsd-6-0-6-RELEASE:1.75 netbsd-6-1-5-RELEASE:1.75 netbsd-7:1.76.0.4 netbsd-7-base:1.76 yamt-pagecache-base9:1.76 yamt-pagecache-tag8:1.75 netbsd-6-1-4-RELEASE:1.75 netbsd-6-0-5-RELEASE:1.75 tls-earlyentropy:1.76.0.2 tls-earlyentropy-base:1.76 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.76 riastradh-drm2-base3:1.76 netbsd-6-1-3-RELEASE:1.75 netbsd-6-0-4-RELEASE:1.75 netbsd-5-2-2-RELEASE:1.69 netbsd-5-1-4-RELEASE:1.69 netbsd-6-1-2-RELEASE:1.75 netbsd-6-0-3-RELEASE:1.75 netbsd-5-2-1-RELEASE:1.69 netbsd-5-1-3-RELEASE:1.69 rmind-smpnet-nbase:1.76 netbsd-6-1-1-RELEASE:1.75 riastradh-drm2-base2:1.75 riastradh-drm2-base1:1.75 riastradh-drm2:1.75.0.32 riastradh-drm2-base:1.75 rmind-smpnet:1.75.0.24 rmind-smpnet-base:1.76 netbsd-6-1:1.75.0.30 netbsd-6-0-2-RELEASE:1.75 netbsd-6-1-RELEASE:1.75 khorben-n900:1.75.0.28 netbsd-6-1-RC4:1.75 netbsd-6-1-RC3:1.75 agc-symver:1.75.0.26 agc-symver-base:1.75 netbsd-6-1-RC2:1.75 netbsd-6-1-RC1:1.75 yamt-pagecache-base8:1.75 netbsd-5-2:1.69.0.16 netbsd-6-0-1-RELEASE:1.75 yamt-pagecache-base7:1.75 netbsd-5-2-RELEASE:1.69 netbsd-5-2-RC1:1.69 matt-nb6-plus-nbase:1.75 yamt-pagecache-base6:1.75 netbsd-6-0:1.75.0.22 netbsd-6-0-RELEASE:1.75 netbsd-6-0-RC2:1.75 tls-maxphys:1.75.0.20 tls-maxphys-base:1.76 matt-nb6-plus:1.75.0.18 matt-nb6-plus-base:1.75 netbsd-6-0-RC1:1.75 jmcneill-usbmp-base10:1.75 yamt-pagecache-base5:1.75 jmcneill-usbmp-base9:1.75 yamt-pagecache-base4:1.75 jmcneill-usbmp-base8:1.75 jmcneill-usbmp-base7:1.75 jmcneill-usbmp-base6:1.75 jmcneill-usbmp-base5:1.75 jmcneill-usbmp-base4:1.75 jmcneill-usbmp-base3:1.75 jmcneill-usbmp-pre-base2:1.75 jmcneill-usbmp-base2:1.75 netbsd-6:1.75.0.16 netbsd-6-base:1.75 netbsd-5-1-2-RELEASE:1.69 netbsd-5-1-1-RELEASE:1.69 jmcneill-usbmp:1.75.0.14 jmcneill-usbmp-base:1.75 jmcneill-audiomp3:1.75.0.12 jmcneill-audiomp3-base:1.75 yamt-pagecache-base3:1.75 yamt-pagecache-base2:1.75 yamt-pagecache:1.75.0.10 yamt-pagecache-base:1.75 rmind-uvmplock-nbase:1.75 cherry-xenmp:1.75.0.8 cherry-xenmp-base:1.75 bouyer-quota2-nbase:1.75 bouyer-quota2:1.75.0.6 bouyer-quota2-base:1.75 jruoho-x86intr:1.75.0.4 jruoho-x86intr-base:1.75 matt-mips64-premerge-20101231:1.75 matt-nb5-mips64-premerge-20101231:1.69 matt-nb5-pq3:1.69.0.14 matt-nb5-pq3-base:1.69 netbsd-5-1:1.69.0.12 netbsd-5-1-RELEASE:1.69 uebayasi-xip-base4:1.75 uebayasi-xip-base3:1.75 yamt-nfs-mp-base11:1.75 netbsd-5-1-RC4:1.69 matt-nb5-mips64-k15:1.69 uebayasi-xip-base2:1.75 yamt-nfs-mp-base10:1.75 netbsd-5-1-RC3:1.69 netbsd-5-1-RC2:1.69 uebayasi-xip-base1:1.75 netbsd-5-1-RC1:1.69 rmind-uvmplock:1.75.0.2 rmind-uvmplock-base:1.75 yamt-nfs-mp-base9:1.75 uebayasi-xip:1.74.0.4 uebayasi-xip-base:1.74 netbsd-5-0-2-RELEASE:1.69 matt-nb5-mips64-premerge-20091211:1.69 matt-premerge-20091211:1.74 yamt-nfs-mp-base8:1.74 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.69 matt-nb4-mips64-k7-u2a-k9b:1.69 matt-nb5-mips64-u1-k1-k5:1.69 yamt-nfs-mp-base7:1.74 matt-nb5-mips64:1.69.0.10 netbsd-5-0-1-RELEASE:1.69 jymxensuspend-base:1.74 yamt-nfs-mp-base6:1.74 yamt-nfs-mp-base5:1.74 yamt-nfs-mp-base4:1.74 jym-xensuspend-nbase:1.74 yamt-nfs-mp-base3:1.74 nick-hppapmap-base4:1.74 nick-hppapmap-base3:1.74 netbsd-5-0:1.69.0.8 netbsd-5-0-RELEASE:1.69 netbsd-5-0-RC4:1.69 netbsd-5-0-RC3:1.69 nick-hppapmap-base2:1.74 netbsd-5-0-RC2:1.69 jym-xensuspend:1.74.0.2 jym-xensuspend-base:1.74 netbsd-5-0-RC1:1.69 haad-dm-base2:1.70 haad-nbase2:1.70 ad-audiomp2:1.70.0.2 ad-audiomp2-base:1.70 christos-time_t-nbase:1.70 netbsd-5:1.69.0.6 netbsd-5-base:1.69 nick-hppapmap:1.69.0.4 nick-hppapmap-base:1.74 matt-mips64-base2:1.69 matt-mips64:1.67.0.32 haad-dm-base1:1.69 wrstuden-revivesa-base-4:1.69 netbsd-4-0-1-RELEASE:1.65 wrstuden-revivesa-base-3:1.69 wrstuden-revivesa-base-2:1.69 wrstuden-fixsa-newbase:1.65 nick-csl-alignment-base5:1.67 haad-dm:1.69.0.2 haad-dm-base:1.70 wrstuden-revivesa-base-1:1.69 simonb-wapbl-nbase:1.69 yamt-pf42-base4:1.68 simonb-wapbl:1.68.0.16 simonb-wapbl-base:1.69 yamt-pf42-base3:1.68 hpcarm-cleanup-nbase:1.68 yamt-pf42-baseX:1.68 yamt-pf42-base2:1.68 yamt-nfs-mp-base2:1.68 wrstuden-revivesa:1.68.0.14 wrstuden-revivesa-base:1.69 yamt-nfs-mp:1.68.0.12 yamt-nfs-mp-base:1.68 yamt-pf42:1.68.0.10 yamt-pf42-base:1.68 christos-time_t:1.68.0.8 christos-time_t-base:1.70 ad-socklock-base1:1.68 yamt-lazymbuf-base15:1.68 yamt-lazymbuf-base14:1.68 keiichi-mipv6-nbase:1.68 mjf-devfs2:1.68.0.6 mjf-devfs2-base:1.74 nick-net80211-sync:1.68.0.4 nick-net80211-sync-base:1.68 keiichi-mipv6:1.68.0.2 keiichi-mipv6-base:1.68 bouyer-xeni386-merge1:1.67.28.1 matt-armv6-prevmlocking:1.67 wrstuden-fixsa-base-1:1.65 vmlocking2-base3:1.68 netbsd-4-0:1.65.0.12 netbsd-4-0-RELEASE:1.65 bouyer-xeni386-nbase:1.68 yamt-kmem-base3:1.67 cube-autoconf:1.67.0.30 cube-autoconf-base:1.67 yamt-kmem-base2:1.67 bouyer-xeni386:1.67.0.28 bouyer-xeni386-base:1.68 yamt-kmem:1.67.0.26 yamt-kmem-base:1.67 vmlocking2-base2:1.67 reinoud-bufcleanup-nbase:1.67 vmlocking2:1.67.0.24 vmlocking2-base1:1.67 netbsd-4-0-RC5:1.65 matt-nb4-arm:1.65.0.10 matt-nb4-arm-base:1.65 matt-armv6-nbase:1.68 jmcneill-base:1.67 netbsd-4-0-RC4:1.65 mjf-devfs:1.67.0.22 mjf-devfs-base:1.68 bouyer-xenamd64-base2:1.67 vmlocking-nbase:1.67 yamt-x86pmap-base4:1.67 bouyer-xenamd64:1.67.0.20 bouyer-xenamd64-base:1.67 netbsd-4-0-RC3:1.65 yamt-x86pmap-base3:1.67 yamt-x86pmap-base2:1.67 netbsd-4-0-RC2:1.65 yamt-x86pmap:1.67.0.18 yamt-x86pmap-base:1.67 netbsd-4-0-RC1:1.65 matt-armv6:1.67.0.16 matt-armv6-base:1.68 matt-mips64-base:1.67 jmcneill-pm:1.67.0.14 jmcneill-pm-base:1.67 hpcarm-cleanup:1.67.0.12 hpcarm-cleanup-base:1.68 nick-csl-alignment:1.67.0.10 nick-csl-alignment-base:1.67 netbsd-3-1-1-RELEASE:1.61 netbsd-3-0-3-RELEASE:1.61 yamt-idlelwp-base8:1.67 wrstuden-fixsa:1.65.0.8 wrstuden-fixsa-base:1.65 thorpej-atomic:1.67.0.8 thorpej-atomic-base:1.67 reinoud-bufcleanup:1.67.0.6 reinoud-bufcleanup-base:1.67 mjf-ufs-trans:1.67.0.4 mjf-ufs-trans-base:1.67 vmlocking:1.67.0.2 vmlocking-base:1.67 ad-audiomp:1.66.0.4 ad-audiomp-base:1.66 yamt-idlelwp:1.66.0.2 post-newlock2-merge:1.66 newlock2-nbase:1.65 yamt-splraiseipl-base5:1.65 yamt-splraiseipl-base4:1.65 yamt-splraiseipl-base3:1.65 abandoned-netbsd-4-base:1.63 abandoned-netbsd-4:1.63.0.2 netbsd-3-1:1.61.0.14 netbsd-3-1-RELEASE:1.61 netbsd-3-0-2-RELEASE:1.61 yamt-splraiseipl-base2:1.65 netbsd-3-1-RC4:1.61 yamt-splraiseipl:1.65.0.4 yamt-splraiseipl-base:1.65 netbsd-3-1-RC3:1.61 yamt-pdpolicy-base9:1.65 newlock2:1.65.0.2 newlock2-base:1.65 yamt-pdpolicy-base8:1.65 netbsd-3-1-RC2:1.61 netbsd-3-1-RC1:1.61 yamt-pdpolicy-base7:1.63 netbsd-4:1.65.0.6 netbsd-4-base:1.65 yamt-pdpolicy-base6:1.62 chap-midi-nbase:1.62 netbsd-3-0-1-RELEASE:1.61 gdamore-uart:1.62.0.16 gdamore-uart-base:1.62 simonb-timcounters-final:1.62 yamt-pdpolicy-base5:1.62 chap-midi:1.62.0.14 chap-midi-base:1.62 yamt-pdpolicy-base4:1.62 yamt-pdpolicy-base3:1.62 peter-altq-base:1.62 peter-altq:1.62.0.12 yamt-pdpolicy-base2:1.62 elad-kernelauth-base:1.62 elad-kernelauth:1.62.0.10 yamt-pdpolicy:1.62.0.8 yamt-pdpolicy-base:1.62 yamt-uio_vmspace-base5:1.62 simonb-timecounters:1.62.0.6 simonb-timecounters-base:1.62 rpaulo-netinet-merge-pcb:1.62.0.4 rpaulo-netinet-merge-pcb-base:1.65 yamt-uio_vmspace:1.62.0.2 netbsd-3-0:1.61.0.12 netbsd-3-0-RELEASE:1.61 netbsd-3-0-RC6:1.61 yamt-readahead-base3:1.61 netbsd-3-0-RC5:1.61 netbsd-3-0-RC4:1.61 netbsd-3-0-RC3:1.61 yamt-readahead-base2:1.61 netbsd-3-0-RC2:1.61 yamt-readahead-pervnode:1.61 yamt-readahead-perfile:1.61 yamt-readahead:1.61.0.10 yamt-readahead-base:1.61 netbsd-3-0-RC1:1.61 yamt-vop-base3:1.61 netbsd-2-0-3-RELEASE:1.60 netbsd-2-1:1.60.0.16 yamt-vop-base2:1.61 thorpej-vnode-attr:1.61.0.8 thorpej-vnode-attr-base:1.61 netbsd-2-1-RELEASE:1.60 yamt-vop:1.61.0.6 yamt-vop-base:1.61 netbsd-2-1-RC6:1.60 netbsd-2-1-RC5:1.60 netbsd-2-1-RC4:1.60 netbsd-2-1-RC3:1.60 netbsd-2-1-RC2:1.60 netbsd-2-1-RC1:1.60 yamt-lazymbuf:1.61.0.4 yamt-km-base4:1.61 netbsd-2-0-2-RELEASE:1.60 yamt-km-base3:1.61 netbsd-3:1.61.0.2 netbsd-3-base:1.61 yamt-km-base2:1.60 yamt-km:1.60.0.12 yamt-km-base:1.60 kent-audio2:1.60.0.10 kent-audio2-base:1.61 netbsd-2-0-1-RELEASE:1.60 kent-audio1-beforemerge:1.60 netbsd-2:1.60.0.8 netbsd-2-base:1.60 kent-audio1:1.60.0.6 kent-audio1-base:1.60 netbsd-2-0-RELEASE:1.60 netbsd-2-0-RC5:1.60 netbsd-2-0-RC4:1.60 netbsd-2-0-RC3:1.60 netbsd-2-0-RC2:1.60 netbsd-2-0-RC1:1.60 netbsd-2-0:1.60.0.4 netbsd-2-0-base:1.60 netbsd-1-6-PATCH002-RELEASE:1.59 netbsd-1-6-PATCH002:1.59 netbsd-1-6-PATCH002-RC4:1.59 netbsd-1-6-PATCH002-RC3:1.59 netbsd-1-6-PATCH002-RC2:1.59 netbsd-1-6-PATCH002-RC1:1.59 ktrace-lwp:1.60.0.2 ktrace-lwp-base:1.61 netbsd-1-6-PATCH001:1.59 netbsd-1-6-PATCH001-RELEASE:1.59 netbsd-1-6-PATCH001-RC3:1.59 netbsd-1-6-PATCH001-RC2:1.59 netbsd-1-6-PATCH001-RC1:1.59 nathanw_sa_end:1.57.2.4 nathanw_sa_before_merge:1.59 fvdl_fs64_base:1.59 gmcgarry_ctxsw:1.59.0.14 gmcgarry_ctxsw_base:1.59 gmcgarry_ucred:1.59.0.12 gmcgarry_ucred_base:1.59 nathanw_sa_base:1.59 kqueue-aftermerge:1.59 kqueue-beforemerge:1.59 netbsd-1-6-RELEASE:1.59 netbsd-1-6-RC3:1.59 netbsd-1-6-RC2:1.59 netbsd-1-6-RC1:1.59 netbsd-1-6:1.59.0.10 netbsd-1-6-base:1.59 gehenna-devsw:1.59.0.8 gehenna-devsw-base:1.59 netbsd-1-5-PATCH003:1.54 eeh-devprop:1.59.0.6 eeh-devprop-base:1.59 newlock:1.59.0.4 newlock-base:1.59 ifpoll-base:1.59 thorpej-mips-cache:1.58.0.6 thorpej-mips-cache-base:1.58 thorpej-devvp-base3:1.58 thorpej-devvp-base2:1.58 post-chs-ubcperf:1.58 pre-chs-ubcperf:1.58 thorpej-devvp:1.58.0.4 thorpej-devvp-base:1.58 netbsd-1-5-PATCH002:1.54 kqueue:1.58.0.2 kqueue-base:1.59 netbsd-1-5-PATCH001:1.54 thorpej_scsipi_beforemerge:1.57 nathanw_sa:1.57.0.2 thorpej_scsipi_nbase:1.57 netbsd-1-5-RELEASE:1.54 netbsd-1-5-BETA2:1.54 netbsd-1-5-BETA:1.54 netbsd-1-4-PATCH003:1.52 netbsd-1-5-ALPHA2:1.54 netbsd-1-5:1.54.0.4 netbsd-1-5-base:1.54 minoura-xpg4dl-base:1.54 minoura-xpg4dl:1.54.0.2 netbsd-1-4-PATCH002:1.52 chs-ubc2-newbase:1.53 wrstuden-devbsize-19991221:1.53 wrstuden-devbsize:1.53.0.8 wrstuden-devbsize-base:1.53 kame_141_19991130:1.52 comdex-fall-1999:1.53.0.6 comdex-fall-1999-base:1.53 fvdl-softdep:1.53.0.4 fvdl-softdep-base:1.53 thorpej_scsipi:1.53.0.2 thorpej_scsipi_base:1.57 netbsd-1-4-PATCH001:1.52 kame_14_19990705:1.52 kame_14_19990628:1.52 kame:1.52.0.6 chs-ubc2:1.52.0.4 chs-ubc2-base:1.53 netbsd-1-4-RELEASE:1.52 netbsd-1-4:1.52.0.2 netbsd-1-4-base:1.52 netbsd-1-3-PATCH003:1.44 netbsd-1-3-PATCH003-CANDIDATE2:1.44 kenh-if-detach:1.48.0.4 kenh-if-detach-base:1.48 netbsd-1-3-PATCH003-CANDIDATE1:1.44 netbsd-1-3-PATCH003-CANDIDATE0:1.44 chs-ubc:1.48.0.2 chs-ubc-base:1.48 eeh-paddr_t:1.46.0.2 eeh-paddr_t-base:1.46 netbsd-1-3-PATCH002:1.44 netbsd-1-3-PATCH001:1.44 netbsd-1-3-RELEASE:1.44 netbsd-1-3-BETA:1.44 netbsd-1-3:1.44.0.2 netbsd-1-3-base:1.44 thorpej-signal:1.41.0.6 thorpej-signal-base:1.41 marc-pcmcia:1.41.0.4 marc-pcmcia-bp:1.41 marc-pcmcia-base:1.42 bouyer-scsipi:1.41.0.2 mrg-vm-swap2:1.39.0.6 mrg-vm-swap2-base:1.39 is-newarp-before-merge:1.39 is-newarp:1.39.0.4 is-newarp-base:1.39 netbsd-1-2-PATCH001:1.33.4.2 mrg-vm-swap:1.39.0.2 thorpej-setroot:1.38.0.2 netbsd-1-2-RELEASE:1.33 netbsd-1-2-BETA:1.33 netbsd-1-2:1.33.0.4 netbsd-1-2-base:1.33 date-03-may-96:1.1.1.1 netbsd:1.1.1 netbsd-1-1-PATCH001:1.32 netbsd-1-1-RELEASE:1.32 netbsd-1-1:1.32.0.2 netbsd-1-1-base:1.32 netbsd-1-0-PATCH06:1.17 netbsd-1-0-PATCH05:1.17 netbsd-1-0-PATCH04:1.17 netbsd-1-0-PATCH03:1.17 netbsd-1-0-PATCH02:1.17 netbsd-1-0-PATCH1:1.17 netbsd-1-0-PATCH0:1.17 netbsd-1-0-RELEASE:1.17 netbsd-1-0:1.17.0.2 netbsd-1-0-base:1.17 magnum:1.8.0.2 magnum-base:1.8; locks; strict; comment @# @; 1.82 date 2019.09.23.20.42.29; author christos; state Exp; branches; next 1.81; commitid 1vm2IMH3qB795bEB; 1.81 date 2019.01.27.02.08.40; author pgoyette; state Exp; branches; next 1.80; commitid ipPva1Pj3xTcBm9B; 1.80 date 2018.01.06.16.41.23; author kamil; state Exp; branches 1.80.2.1 1.80.4.1; next 1.79; commitid 6DZmNFuKyXIVMPlA; 1.79 date 2017.12.19.19.19.16; author kamil; state Exp; branches; next 1.78; commitid cz76GSMU56K0ixjA; 1.78 date 2017.12.19.18.24.21; author kamil; state Exp; branches; next 1.77; commitid RTd8gl4AvmobZwjA; 1.77 date 2017.12.19.08.25.37; author kamil; state Exp; branches; next 1.76; commitid VXkvMSyVagDHFtjA; 1.76 date 2013.11.07.19.37.19; author njoly; state Exp; branches; next 1.75; 1.75 date 2010.03.03.11.07.17; author pooka; state Exp; branches 1.75.10.1 1.75.20.1 1.75.24.1; next 1.74; 1.74 date 2009.01.13.22.27.43; author pooka; state Exp; branches 1.74.4.1; next 1.73; 1.73 date 2009.01.13.21.57.55; author pooka; state Exp; branches; next 1.72; 1.72 date 2009.01.11.12.44.47; author tsutsui; state Exp; branches; next 1.71; 1.71 date 2009.01.11.02.45.49; author christos; state Exp; branches; next 1.70; 1.70 date 2008.11.19.18.36.05; author ad; state Exp; branches; next 1.69; 1.69 date 2008.06.21.13.20.46; author tsutsui; state Exp; branches 1.69.2.1 1.69.4.1; next 1.68; 1.68 date 2007.12.20.23.03.04; author dsl; state Exp; branches 1.68.6.1 1.68.8.1 1.68.12.1 1.68.14.1 1.68.16.1; next 1.67; 1.67 date 2007.03.04.06.01.30; author christos; state Exp; branches 1.67.16.1 1.67.24.1 1.67.28.1; next 1.66; 1.66 date 2007.02.09.21.55.24; author ad; state Exp; branches 1.66.2.1; next 1.65; 1.65 date 2006.09.01.20.58.18; author matt; state Exp; branches 1.65.2.1; next 1.64; 1.64 date 2006.08.30.23.00.06; author he; state Exp; branches; next 1.63; 1.63 date 2006.07.13.23.38.57; author pavel; state Exp; branches; next 1.62; 1.62 date 2005.12.11.12.20.23; author christos; state Exp; branches 1.62.4.1 1.62.8.1; next 1.61; 1.61 date 2005.02.26.23.10.21; author perry; state Exp; branches 1.61.4.1; next 1.60; 1.60 date 2003.01.18.08.36.15; author thorpej; state Exp; branches 1.60.2.1 1.60.10.1 1.60.12.1; next 1.59; 1.59 date 2002.01.03.00.59.00; author mrg; state Exp; branches; next 1.58; 1.58 date 2001.05.30.11.37.31; author mrg; state Exp; branches 1.58.2.1; next 1.57; 1.57 date 2000.12.09.07.10.36; author mycroft; state Exp; branches 1.57.2.1; next 1.56; 1.56 date 2000.12.09.05.27.30; author mycroft; state Exp; branches; next 1.55; 1.55 date 2000.11.30.19.05.29; author jdolecek; state Exp; branches; next 1.54; 1.54 date 2000.04.09.06.47.39; author mrg; state Exp; branches; next 1.53; 1.53 date 99.07.12.21.55.20; author kleink; state Exp; branches 1.53.2.1; next 1.52; 1.52 date 99.03.22.17.28.21; author sommerfe; state Exp; branches 1.52.4.1; next 1.51; 1.51 date 99.02.09.20.29.24; author christos; state Exp; branches; next 1.50; 1.50 date 98.12.18.18.49.59; author drochner; state Exp; branches; next 1.49; 1.49 date 98.12.10.17.03.20; author christos; state Exp; branches; next 1.48; 1.48 date 98.10.19.22.40.29; author tron; state Exp; branches; next 1.47; 1.47 date 98.09.13.22.28.17; author pk; state Exp; branches; next 1.46; 1.46 date 98.06.25.22.19.12; author thorpej; state Exp; branches; next 1.45; 1.45 date 98.02.19.00.43.56; author thorpej; state Exp; branches; next 1.44; 1.44 date 97.10.19.18.48.16; author christos; state Exp; branches; next 1.43; 1.43 date 97.10.16.23.54.17; author christos; state Exp; branches; next 1.42; 1.42 date 97.10.10.12.45.01; author fvdl; state Exp; branches; next 1.41; 1.41 date 97.06.13.19.09.12; author thorpej; state Exp; branches 1.41.4.1; next 1.40; 1.40 date 97.06.12.19.01.02; author mrg; state Exp; branches; next 1.39; 1.39 date 97.01.31.02.18.56; author thorpej; state Exp; branches 1.39.2.1 1.39.6.1; next 1.38; 1.38 date 96.09.07.14.22.01; author mycroft; state Exp; branches 1.38.2.1; next 1.37; 1.37 date 96.09.07.12.40.49; author mycroft; state Exp; branches; next 1.36; 1.36 date 96.08.30.23.07.49; author christos; state Exp; branches; next 1.35; 1.35 date 96.08.26.22.49.48; author thorpej; state Exp; branches; next 1.34; 1.34 date 96.06.23.11.15.37; author mycroft; state Exp; branches; next 1.33; 1.33 date 96.02.28.16.05.43; author pk; state Exp; branches 1.33.4.1; next 1.32; 1.32 date 95.10.07.06.27.35; author mycroft; state Exp; branches; next 1.31; 1.31 date 95.07.05.13.14.17; author pk; state Exp; branches; next 1.30; 1.30 date 95.06.25.14.58.22; author briggs; state Exp; branches; next 1.29; 1.29 date 95.06.25.14.18.35; author briggs; state Exp; branches; next 1.28; 1.28 date 95.06.24.20.23.02; author christos; state Exp; branches; next 1.27; 1.27 date 95.06.11.22.34.06; author pk; state Exp; branches; next 1.26; 1.26 date 95.04.22.23.45.33; author christos; state Exp; branches; next 1.25; 1.25 date 95.04.22.19.48.52; author christos; state Exp; branches; next 1.24; 1.24 date 94.12.06.00.17.06; author deraadt; state Exp; branches; next 1.23; 1.23 date 94.11.25.23.59.31; author deraadt; state Exp; branches; next 1.22; 1.22 date 94.11.20.21.30.03; author deraadt; state Exp; branches; next 1.21; 1.21 date 94.11.14.07.33.50; author deraadt; state Exp; branches; next 1.20; 1.20 date 94.10.26.02.57.11; author cgd; state Exp; branches; next 1.19; 1.19 date 94.10.26.01.03.43; author deraadt; state Exp; branches; next 1.18; 1.18 date 94.10.25.23.03.33; author deraadt; state Exp; branches; next 1.17; 1.17 date 94.06.29.06.30.25; author cgd; state Exp; branches; next 1.16; 1.16 date 94.06.14.10.51.12; author chopps; state Exp; branches; next 1.15; 1.15 date 94.05.07.05.06.35; author deraadt; state Exp; branches; next 1.14; 1.14 date 94.05.01.06.14.50; author cgd; state Exp; branches; next 1.13; 1.13 date 94.04.26.19.50.47; author pk; state Exp; branches; next 1.12; 1.12 date 94.03.27.08.51.52; author cgd; state Exp; branches; next 1.11; 1.11 date 94.03.27.08.35.52; author cgd; state Exp; branches; next 1.10; 1.10 date 94.03.03.14.08.27; author deraadt; state Exp; branches; next 1.9; 1.9 date 93.12.12.20.43.24; author deraadt; state Exp; branches; next 1.8; 1.8 date 93.11.22.22.54.48; author deraadt; state Exp; branches 1.8.2.1; next 1.7; 1.7 date 93.11.20.03.01.58; author deraadt; state Exp; branches; next 1.6; 1.6 date 93.11.14.14.56.05; author deraadt; state Exp; branches; next 1.5; 1.5 date 93.11.10.00.59.10; author deraadt; state Exp; branches; next 1.4; 1.4 date 93.10.15.10.58.42; author deraadt; state Exp; branches; next 1.3; 1.3 date 93.10.13.02.31.49; author deraadt; state Exp; branches; next 1.2; 1.2 date 93.10.11.02.44.12; author deraadt; state Exp; branches; next 1.1; 1.1 date 93.10.02.10.24.45; author deraadt; state Exp; branches; next ; 1.80.2.1 date 2018.09.29.02.06.14; author pgoyette; state Exp; branches; next 1.80.2.2; commitid EwnXFEo0zIRCrWTA; 1.80.2.2 date 2018.09.29.02.29.42; author pgoyette; state Exp; branches; next ; commitid 4ETCTOwP7DjxzWTA; 1.80.4.1 date 2019.06.10.22.07.02; author christos; state Exp; branches; next 1.80.4.2; commitid jtc8rnCzWiEEHGqB; 1.80.4.2 date 2020.04.13.08.04.16; author martin; state Exp; branches; next ; commitid X01YhRUPVUDaec4C; 1.75.10.1 date 2014.05.22.11.40.17; author yamt; state Exp; branches; next ; 1.75.20.1 date 2014.08.20.00.03.33; author tls; state Exp; branches; next ; 1.75.24.1 date 2014.05.18.17.45.33; author rmind; state Exp; branches; next ; 1.74.4.1 date 2010.04.30.14.43.02; author uebayasi; state Exp; branches; next ; 1.69.2.1 date 2008.12.13.01.14.04; author haad; state Exp; branches; next ; 1.69.4.1 date 2009.01.19.13.17.40; author skrll; state Exp; branches; next ; 1.68.6.1 date 2008.06.29.09.33.04; author mjf; state Exp; branches; next 1.68.6.2; 1.68.6.2 date 2009.01.17.13.28.48; author mjf; state Exp; branches; next ; 1.68.8.1 date 2008.03.29.20.46.59; author christos; state Exp; branches; next 1.68.8.2; 1.68.8.2 date 2008.11.01.21.22.26; author christos; state Exp; branches; next 1.68.8.3; 1.68.8.3 date 2008.11.20.20.45.38; author christos; state Exp; branches; next ; 1.68.12.1 date 2009.05.04.08.12.27; author yamt; state Exp; branches; next 1.68.12.2; 1.68.12.2 date 2010.03.11.15.03.19; author yamt; state Exp; branches; next ; 1.68.14.1 date 2008.05.10.23.48.59; author wrstuden; state Exp; branches; next 1.68.14.2; 1.68.14.2 date 2008.05.14.01.35.10; author wrstuden; state Exp; branches; next 1.68.14.3; 1.68.14.3 date 2008.06.23.04.30.55; author wrstuden; state Exp; branches; next ; 1.68.16.1 date 2008.06.27.15.11.20; author simonb; state Exp; branches; next ; 1.67.16.1 date 2008.01.09.01.51.49; author matt; state Exp; branches; next ; 1.67.24.1 date 2007.12.26.19.49.38; author ad; state Exp; branches; next ; 1.67.28.1 date 2008.01.02.21.53.24; author bouyer; state Exp; branches; next ; 1.66.2.1 date 2007.03.12.05.52.44; author rmind; state Exp; branches; next ; 1.65.2.1 date 2007.01.30.13.51.37; author ad; state Exp; branches; next ; 1.62.4.1 date 2006.09.09.02.46.23; author rpaulo; state Exp; branches; next ; 1.62.8.1 date 2006.08.11.15.43.41; author yamt; state Exp; branches; next ; 1.61.4.1 date 2006.12.30.20.47.45; author yamt; state Exp; branches; next 1.61.4.2; 1.61.4.2 date 2007.02.26.09.09.39; author yamt; state Exp; branches; next 1.61.4.3; 1.61.4.3 date 2007.09.03.14.32.50; author yamt; state Exp; branches; next 1.61.4.4; 1.61.4.4 date 2008.01.21.09.42.04; author yamt; state Exp; branches; next ; 1.60.2.1 date 2005.03.04.16.40.29; author skrll; state Exp; branches; next ; 1.60.10.1 date 2005.04.29.11.28.42; author kent; state Exp; branches; next ; 1.60.12.1 date 2005.03.19.08.33.45; author yamt; state Exp; branches; next ; 1.58.2.1 date 2002.01.10.19.52.12; author thorpej; state Exp; branches; next ; 1.57.2.1 date 2001.06.21.20.00.30; author nathanw; state Exp; branches; next 1.57.2.2; 1.57.2.2 date 2002.01.11.23.38.51; author nathanw; state Exp; branches; next 1.57.2.3; 1.57.2.3 date 2002.02.28.04.13.00; author nathanw; state Exp; branches; next 1.57.2.4; 1.57.2.4 date 2002.05.29.21.32.57; author nathanw; state Exp; branches; next ; 1.53.2.1 date 2000.11.20.18.08.38; author bouyer; state Exp; branches; next 1.53.2.2; 1.53.2.2 date 2000.12.08.09.08.44; author bouyer; state Exp; branches; next 1.53.2.3; 1.53.2.3 date 2000.12.13.15.49.55; author bouyer; state Exp; branches; next ; 1.52.4.1 date 99.08.02.21.53.23; author thorpej; state Exp; branches; next ; 1.41.4.1 date 97.10.14.10.21.51; author thorpej; state Exp; branches; next ; 1.39.2.1 date 97.02.12.12.26.07; author mrg; state Exp; branches; next ; 1.39.6.1 date 97.06.01.14.07.14; author mrg; state Exp; branches; next ; 1.38.2.1 date 97.01.14.21.13.57; author thorpej; state Exp; branches; next ; 1.33.4.1 date 96.12.10.08.11.51; author mycroft; state Exp; branches; next 1.33.4.2; 1.33.4.2 date 96.12.10.08.48.56; author mycroft; state Exp; branches; next ; 1.8.2.1 date 93.11.22.22.54.48; author deraadt; state dead; branches; next 1.8.2.2; 1.8.2.2 date 93.11.26.13.25.49; author deraadt; state Exp; branches; next 1.8.2.3; 1.8.2.3 date 93.11.26.13.37.35; author deraadt; state Exp; branches; next 1.8.2.4; 1.8.2.4 date 93.11.26.23.53.14; author deraadt; state Exp; branches; next 1.8.2.5; 1.8.2.5 date 93.11.27.02.18.43; author deraadt; state Exp; branches; next 1.8.2.6; 1.8.2.6 date 93.11.27.02.58.46; author deraadt; state Exp; branches; next 1.8.2.7; 1.8.2.7 date 93.11.27.08.22.26; author deraadt; state Exp; branches; next 1.8.2.8; 1.8.2.8 date 93.12.01.15.19.59; author pk; state Exp; branches; next ; desc @@ 1.82 log @Treat valsize as unsigned @ text @ $NetBSD: syscalls.master,v 1.81 2019/01/27 02:08:40 pgoyette Exp $ ; @@(#)syscalls.master 8.1 (Berkeley) 7/19/93 ; NetBSD COMPAT_SUNOS system call name/number "master" file. ; (See syscalls.conf to see what it is processed into.) ; ; Fields: number type [type-dependent ...] ; number system call number, must be in order ; type one of STD, OBSOL, UNIMPL, NODEF, NOARGS, or one of ; the compatibility options defined in syscalls.conf. ; ; types: ; STD always included ; OBSOL obsolete, not included in system ; UNIMPL unimplemented, not included in system ; NODEF included, but don't define the syscall number ; NOARGS included, but don't define the syscall args structure ; ; The compat options are defined in the syscalls.conf file, and the ; compat option name is prefixed to the syscall name. Other than ; that, they're like NODEF (for 'compat' options), or STD (for ; 'libcompat' options). ; ; The type-dependent arguments are as follows: ; For STD, NODEF, NOARGS, and compat syscalls: ; { pseudo-proto } [alias] ; For other syscalls: ; [comment] ; ; #ifdef's, etc. may be included, and are copied to the output files. ; #include's are copied to the syscall names and switch definition files only. #if defined(_KERNEL_OPT) #include "opt_sysv.h" #endif #include #include #include #include #include #include #include #include #include %% 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 STD { int|sunos_sys||open(const char *path, int flags, \ int mode); } 6 NOARGS { int|sys||close(int fd); } 7 STD { int|sunos_sys||wait4(int pid, int *status, \ int options, struct rusage50 *rusage); } 8 STD { int|sunos_sys||creat(const char *path, int mode); } 9 NOARGS { int|sys||link(char *path, char *link); } 10 NOARGS { int|sys||unlink(char *path); } 11 STD { int|sunos_sys||execv(const char *path, char **argp); } 12 NOARGS { int|sys||chdir(char *path); } 13 OBSOL old_time 14 STD { int|sunos_sys||mknod(const char *path, int mode, \ int dev); } 15 NOARGS { int|sys||chmod(char *path, int mode); } 16 NOARGS { int|sys||chown(char *path, int uid, int gid); } 17 NOARGS { int|sys||obreak(char *nsize); } break 18 OBSOL old_stat 19 NOARGS { long|compat_43_sys||lseek(int fd, long offset, int whence); } 20 NOARGS { pid_t|sys||getpid_with_ppid(void); } 21 OBSOL sunos_old_mount 22 UNIMPL System V umount 23 NOARGS { int|sys||setuid(uid_t uid); } 24 NOARGS { uid_t|sys||getuid_with_euid(void); } 25 STD { int|sunos_sys||stime(sunos_time_t *tp); } 26 STD { long|sunos_sys||ptrace(int req, pid_t pid, \ void *addr, int data, char *addr2); } 27 UNIMPL old_sunos_alarm 28 UNIMPL old_sunos_fstat 29 UNIMPL old_sunos_pause 30 UNIMPL old_sunos_utime 31 UNIMPL old_sunos_stty 32 UNIMPL old_sunos_gtty 33 NOARGS { int|sys||access(const char *path, int flags); } 34 UNIMPL old_sunos_nice 35 UNIMPL old_sunos_ftime 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); } 39 UNIMPL sunos_setpgrp 40 NOARGS { int|compat_43_sys||lstat(const char *path, \ struct stat43 *ub); } 41 NOARGS { int|sys||dup(int fd); } 42 NOARGS { int|sys||pipe(void); } 43 UNIMPL sunos_times 44 NOARGS { int|sys||profil(void *samples, u_int size, \ u_int offset, u_int scale); } 45 UNIMPL 46 NOARGS { int|sys||setgid(uid_t gid); } 47 NOARGS { gid_t|sys||getgid_with_egid(void); } 48 UNIMPL sunos_ssig 49 UNIMPL reserved for USG 50 UNIMPL reserved for USG 51 NOARGS { int|sys||acct(char *path); } 52 UNIMPL 53 STD { int|sunos_sys||mctl(void *addr, int len, int func, \ void *arg); } 54 STD { int|sunos_sys||ioctl(int fd, u_long com, \ void *data); } 55 STD { int|sunos_sys||reboot(int howto, char *bootstr); } 56 OBSOL sunos_owait3 57 NOARGS { int|sys||symlink(char *path, char *link); } 58 NOARGS { int|sys||readlink(char *path, char *buf, int count); } 59 STD { int|sunos_sys||execve(const char *path, char **argp, \ char **envp); } 60 NOARGS { int|sys||umask(int newmask); } 61 NOARGS { int|sys||chroot(char *path); } 62 NOARGS { int|compat_43_sys||fstat(int fd, struct stat43 *sb); } 63 UNIMPL 64 NOARGS { int|compat_43_sys||getpagesize(void); } 65 STD { int|sunos_sys||omsync(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 STD { void *|sunos_sys||mmap(void *addr, size_t len, \ int prot, int flags, int fd, long pos); } 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 STD { int|sunos_sys||vhangup(void); } 77 UNIMPL 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 STD { int|sunos_sys||setpgrp(int pid, int pgid); } 83 NOARGS { int|compat_50_sys||setitimer(u_int which, \ struct itimerval50 *itv, \ struct itimerval50 *oitv); } 84 UNIMPL sunos_sys_wait 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); } 88 NOARGS { int|compat_43_sys||sethostname(char *hostname, \ u_int len); } 89 NOARGS { int|compat_43_sys||getdtablesize(void); } 90 NOARGS { int|sys||dup2(int from, int to); } 91 UNIMPL getdopt 92 STD { int|sunos_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 STD { int|sunos_sys||socket(int domain, int type, int protocol); } 98 NOARGS { int|sys||connect(int s, void *name, int namelen); } 99 NOARGS { int|compat_43_sys||accept(int s, void *name, \ int *anamelen); } 100 NOARGS { int|sys||getpriority(int which, int who); } 101 NOARGS { int|compat_43_sys||send(int s, void *buf, int len, \ int flags); } 102 NOARGS { int|compat_43_sys||recv(int s, void *buf, int len, \ int flags); } 103 UNIMPL old socketaddr 104 NOARGS { int|sys||bind(int s, void *name, int namelen); } 105 STD { int|sunos_sys||setsockopt(int s, int level, int name, \ void *val, u_int valsize); } 106 NOARGS { int|sys||listen(int s, int backlog); } 107 UNIMPL vtimes 108 STD { int|sunos_sys||sigvec(int signum, struct sigvec *nsv, \ struct sigvec *osv); } 109 NOARGS { int|compat_43_sys||sigblock(int mask); } 110 NOARGS { int|compat_43_sys||sigsetmask(int mask); } 111 STD { int|sunos_sys||sigsuspend(int mask); } 112 NOARGS { int|compat_43_sys||sigstack(struct sigstack *nss, \ struct sigstack *oss); } 113 NOARGS { int|compat_43_sys||recvmsg(int s, \ struct omsghdr *msg, int flags); } 114 NOARGS { int|compat_43_sys||sendmsg(int s, void *msg, \ int flags); } 115 OBSOL vtrace 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 UNIMPL 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 timezone *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); } 126 NOARGS { int|sys||setreuid(int ruid, int euid); } 127 NOARGS { int|sys||setregid(int rgid, int egid); } 128 NOARGS { int|sys||rename(char *from, char *to); } 129 NOARGS { int|compat_43_sys||truncate(char *path, long length); } 130 NOARGS { int|compat_43_sys||ftruncate(int fd, long length); } 131 NOARGS { int|sys||flock(int fd, int how); } 132 UNIMPL 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 STD { int|sunos_sys||socketpair(int domain, int type, \ int protocol, int *rsv); } 136 NOARGS { int|sys||mkdir(char *path, int mode); } 137 NOARGS { int|sys||rmdir(char *path); } 138 NOARGS { int|compat_50_sys||utimes(char *path, \ struct timeval50 *tptr); } 139 STD { int|sunos_sys||sigreturn(struct sigcontext *sigcntxp); } 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); } 142 NOARGS { int|compat_43_sys||gethostid(void); } 143 UNIMPL old sethostid 144 STD { int|sunos_sys||getrlimit(u_int which, \ struct orlimit *rlp); } 145 STD { int|sunos_sys||setrlimit(u_int which, \ struct orlimit *rlp); } 146 NOARGS { int|compat_43_sys||killpg(int pgid, int signum); } 147 UNIMPL 148 UNIMPL 149 UNIMPL 150 NOARGS { int|compat_43_sys||getsockname(int fdes, void *asa, \ int *alen); } 151 UNIMPL getmsg 152 UNIMPL putmsg 153 NOARGS { int|sys||poll(struct pollfd *fds, u_int nfds, \ int timeout); } 154 UNIMPL 155 UNIMPL nfssvc 156 NOARGS { int|compat_12_sys||getdirentries(int fd, char *buf, \ u_int count, long *basep); } 157 STD { int|sunos_sys||statfs(const char *path, \ struct sunos_statfs *buf); } 158 STD { int|sunos_sys||fstatfs(int fd, \ struct sunos_statfs *buf); } 159 STD { int|sunos_sys||unmount(char *path); } 160 NOARGS { int|async||daemon(void); } 161 NOARGS { int|compat_30_sys||getfh(char *fname, fhandle_t *fhp); } #ifdef COMPAT_09 162 NOARGS { int|compat_09_sys||getdomainname(char *domainname, \ int len); } 163 NOARGS { int|compat_09_sys||setdomainname(char *domainname, \ int len); } #else 162 UNIMPL compat_09_sys_getdomainname 163 UNIMPL compat_09_sys_setdomainname #endif 164 UNIMPL rtschedule 165 STD { int|sunos_sys||quotactl(int cmd, char *special, \ int uid, void *addr); } 166 STD { int|sunos_sys||exportfs(char *path, char *ex); } 167 STD { int|sunos_sys||mount(char *type, char *dir, \ int flags, void *data); } 168 STD { int|sunos_sys||ustat(int dev, \ struct sunos_ustat *buf); } #if defined(SYSVSEM) && defined(COMPAT_10) 169 NOARGS { int|compat_10_sys||semsys(int which, int a2, int a3, \ int a4, int a5); } #else 169 UNIMPL semsys #endif #if defined(SYSVMSG) && defined(COMPAT_10) 170 NOARGS { int|compat_10_sys||msgsys(int which, int a2, int a3, \ int a4, int a5, int a6); } #else 170 UNIMPL msgsys #endif #if defined(SYSVSHM) && defined(COMPAT_10) 171 NOARGS { int|compat_10_sys||shmsys(int which, int a2, int a3, \ int a4); } #else 171 UNIMPL shmsys #endif 172 STD { int|sunos_sys||auditsys(char *record); } 173 UNIMPL rfssys 174 STD { int|sunos_sys||getdents(int fd, char *buf, \ int nbytes); } 175 NOARGS { int|sys||setsid(void); } 176 NOARGS { int|sys||fchdir(int fd); } 177 NOARGS { int|sys||fchroot(int fd); } 178 UNIMPL vpixsys 179 UNIMPL aioread 180 UNIMPL aiowrite 181 UNIMPL aiowait 182 UNIMPL aiocancel 183 STD { int|sunos_sys||sigpending(int *mask); } 184 UNIMPL 185 NOARGS { int|sys||setpgid(int pid, int pgid); } 186 NOARGS { long|sys||pathconf(char *path, int name); } 187 NOARGS { long|sys||fpathconf(int fd, int name); } 188 STD { int|sunos_sys||sysconf(int name); } 189 STD { int|sunos_sys||uname(struct sunos_utsname *name); } @ 1.81 log @Merge the [pgoyette-compat] branch @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.80 2018/01/06 16:41:23 kamil Exp $ d181 1 a181 1 void *val, int valsize); } @ 1.80 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.78 2017/12/19 18:24:21 kamil Exp $ d262 1 d267 4 d279 1 a279 1 #ifdef SYSVSEM d285 1 a285 1 #ifdef SYSVMSG d291 1 a291 1 #ifdef SYSVSHM @ 1.80.4.1 log @Sync with HEAD @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.81 2019/01/27 02:08:40 pgoyette Exp $ a261 1 #ifdef COMPAT_09 a265 4 #else 162 UNIMPL compat_09_sys_getdomainname 163 UNIMPL compat_09_sys_setdomainname #endif d274 1 a274 1 #if defined(SYSVSEM) && defined(COMPAT_10) d280 1 a280 1 #if defined(SYSVMSG) && defined(COMPAT_10) d286 1 a286 1 #if defined(SYSVSHM) && defined(COMPAT_10) @ 1.80.4.2 log @Mostly merge changes from HEAD upto 20200411 @ text @d1 1 a1 1 $NetBSD$ d181 1 a181 1 void *val, u_int valsize); } @ 1.80.2.1 log @Conditionalize compat_09 syscalls @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.80 2018/01/06 16:41:23 kamil Exp $ a261 1 #ifdef COMPAT_09 a265 4 #else 162 UNIMPL compat_09_sys_getdomainname 163 UNIMPL compat_09_sys_setdomainname #endif @ 1.80.2.2 log @Conditionalize the compat_10 sysv ipc syscalls on both the COMPAT_10 and SYSVxxx attributes @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.80.2.1 2018/09/29 02:06:14 pgoyette Exp $ d279 1 a279 1 #if defined(SYSVSEM) && defined(COMPAT_10) d285 1 a285 1 #if defined(SYSVMSG) && defined(COMPAT_10) d291 1 a291 1 #if defined(SYSVSHM) && defined(COMPAT_10) @ 1.79 log @compat/sunos: Drop SYS_vadvise The (o)vadvise syscall is dummy since the beginning of NetBSD. Sponsored by @ text @d135 1 a135 1 72 OBSOL vadvise @ 1.78 log @compat/sunos: 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.77 2017/12/19 08:25:37 kamil Exp $ d135 1 a135 1 72 NOARGS { int|sys||ovadvise(int anom); } vadvise @ 1.77 log @compat sunos: 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.76 2013/11/07 19:37:19 njoly Exp $ d131 1 a131 1 69 NOARGS { int|sys||sbrk(intptr_t incr); } @ 1.76 log @Fix dup/dup2/dup3 argument types (u_int -> int). @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.75 2010/03/03 11:07:17 pooka Exp $ d132 1 a132 1 70 NOARGS { int|sys||sstk(int incr); } @ 1.75 log @One more overcomplex ENOSYS bites the dust. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.74 2009/01/13 22:27:43 pooka Exp $ d98 1 a98 1 41 NOARGS { int|sys||dup(u_int fd); } d161 1 a161 1 90 NOARGS { int|sys||dup2(u_int from, u_int to); } @ 1.75.20.1 log @Rebase to HEAD as of a few days ago. @ text @d1 1 a1 1 $NetBSD$ d98 1 a98 1 41 NOARGS { int|sys||dup(int fd); } d161 1 a161 1 90 NOARGS { int|sys||dup2(int from, int to); } @ 1.75.10.1 log @sync with head. for a reference, the tree before this commit was tagged as yamt-pagecache-tag8. this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments") @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.75 2010/03/03 11:07:17 pooka Exp $ d98 1 a98 1 41 NOARGS { int|sys||dup(int fd); } d161 1 a161 1 90 NOARGS { int|sys||dup2(int from, int to); } @ 1.75.24.1 log @sync with head @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.75 2010/03/03 11:07:17 pooka Exp $ d98 1 a98 1 41 NOARGS { int|sys||dup(int fd); } d161 1 a161 1 90 NOARGS { int|sys||dup2(int from, int to); } @ 1.74 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.73 2009/01/13 21:57:55 pooka Exp $ d252 1 a252 1 155 STD { int|sunos_sys||nfssvc(int fd); } @ 1.74.4.1 log @Sync with HEAD. @ text @d1 1 a1 1 $NetBSD$ d252 1 a252 1 155 UNIMPL nfssvc @ 1.73 log @UNIMPL police @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.72 2009/01/11 12:44:47 tsutsui Exp $ d51 6 a56 6 0 NOARGS { int sys_nosys(void); } syscall 1 NOARGS { int sys_exit(int rval); } 2 NOARGS { int sys_fork(void); } 3 NOARGS { int sys_read(int fd, char *buf, u_int nbyte); } 4 NOARGS { int sys_write(int fd, char *buf, u_int nbyte); } 5 STD { int sunos_sys_open(const char *path, int flags, \ d58 2 a59 2 6 NOARGS { int sys_close(int fd); } 7 STD { int sunos_sys_wait4(int pid, int *status, \ d61 5 a65 5 8 STD { int sunos_sys_creat(const char *path, int mode); } 9 NOARGS { int sys_link(char *path, char *link); } 10 NOARGS { int sys_unlink(char *path); } 11 STD { int sunos_sys_execv(const char *path, char **argp); } 12 NOARGS { int sys_chdir(char *path); } d67 1 a67 1 14 STD { int sunos_sys_mknod(const char *path, int mode, \ d69 3 a71 3 15 NOARGS { int sys_chmod(char *path, int mode); } 16 NOARGS { int sys_chown(char *path, int uid, int gid); } 17 NOARGS { int sys_obreak(char *nsize); } break d73 2 a74 2 19 NOARGS { long compat_43_sys_lseek(int fd, long offset, int whence); } 20 NOARGS { pid_t sys_getpid_with_ppid(void); } d77 4 a80 4 23 NOARGS { int sys_setuid(uid_t uid); } 24 NOARGS { uid_t sys_getuid_with_euid(void); } 25 STD { int sunos_sys_stime(sunos_time_t *tp); } 26 STD { long sunos_sys_ptrace(int req, pid_t pid, \ d88 1 a88 1 33 NOARGS { int sys_access(const char *path, int flags); } d91 3 a93 3 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, \ d96 1 a96 1 40 NOARGS { int compat_43_sys_lstat(const char *path, \ d98 2 a99 2 41 NOARGS { int sys_dup(u_int fd); } 42 NOARGS { int sys_pipe(void); } d101 1 a101 1 44 NOARGS { int sys_profil(void *samples, u_int size, \ d104 2 a105 2 46 NOARGS { int sys_setgid(uid_t gid); } 47 NOARGS { gid_t sys_getgid_with_egid(void); } d109 1 a109 1 51 NOARGS { int sys_acct(char *path); } d111 1 a111 1 53 STD { int sunos_sys_mctl(void *addr, int len, int func, \ d113 1 a113 1 54 STD { int sunos_sys_ioctl(int fd, u_long com, \ d115 1 a115 1 55 STD { int sunos_sys_reboot(int howto, char *bootstr); } d117 3 a119 3 57 NOARGS { int sys_symlink(char *path, char *link); } 58 NOARGS { int sys_readlink(char *path, char *buf, int count); } 59 STD { int sunos_sys_execve(const char *path, char **argp, \ d121 3 a123 3 60 NOARGS { int sys_umask(int newmask); } 61 NOARGS { int sys_chroot(char *path); } 62 NOARGS { int compat_43_sys_fstat(int fd, struct stat43 *sb); } d125 2 a126 2 64 NOARGS { int compat_43_sys_getpagesize(void); } 65 STD { int sunos_sys_omsync(void *addr, size_t len, \ d128 1 a128 1 66 NOARGS { int sys_vfork(void); } d131 3 a133 3 69 NOARGS { int sys_sbrk(intptr_t incr); } 70 NOARGS { int sys_sstk(int incr); } 71 STD { void *sunos_sys_mmap(void *addr, size_t len, \ d135 3 a137 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, \ d139 1 a139 1 75 NOARGS { int sys_madvise(void *addr, size_t len, \ d141 1 a141 1 76 STD { int sunos_sys_vhangup(void); } d143 1 a143 1 78 NOARGS { int sys_mincore(void *addr, size_t len, \ d145 5 a149 5 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 STD { int sunos_sys_setpgrp(int pid, int pgid); } 83 NOARGS { int compat_50_sys_setitimer(u_int which, \ d153 2 a154 2 85 NOARGS { int compat_12_sys_swapon(char *name); } 86 NOARGS { int compat_50_sys_getitimer(u_int which, \ d156 1 a156 1 87 NOARGS { int compat_43_sys_gethostname(char *hostname, \ d158 1 a158 1 88 NOARGS { int compat_43_sys_sethostname(char *hostname, \ d160 2 a161 2 89 NOARGS { int compat_43_sys_getdtablesize(void); } 90 NOARGS { int sys_dup2(u_int from, u_int to); } d163 2 a164 2 92 STD { int sunos_sys_fcntl(int fd, int cmd, void *arg); } 93 NOARGS { int compat_50_sys_select(u_int nd, fd_set *in, \ d167 5 a171 5 95 NOARGS { int sys_fsync(int fd); } 96 NOARGS { int sys_setpriority(int which, int who, int prio); } 97 STD { int sunos_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, \ d173 2 a174 2 100 NOARGS { int sys_getpriority(int which, int who); } 101 NOARGS { int compat_43_sys_send(int s, void *buf, int len, \ d176 1 a176 1 102 NOARGS { int compat_43_sys_recv(int s, void *buf, int len, \ d179 2 a180 2 104 NOARGS { int sys_bind(int s, void *name, int namelen); } 105 STD { int sunos_sys_setsockopt(int s, int level, int name, \ d182 1 a182 1 106 NOARGS { int sys_listen(int s, int backlog); } d184 1 a184 1 108 STD { int sunos_sys_sigvec(int signum, struct sigvec *nsv, \ d186 4 a189 4 109 NOARGS { int compat_43_sys_sigblock(int mask); } 110 NOARGS { int compat_43_sys_sigsetmask(int mask); } 111 STD { int sunos_sys_sigsuspend(int mask); } 112 NOARGS { int compat_43_sys_sigstack(struct sigstack *nss, \ d191 1 a191 1 113 NOARGS { int compat_43_sys_recvmsg(int s, \ d193 1 a193 1 114 NOARGS { int compat_43_sys_sendmsg(int s, void *msg, \ d196 1 a196 1 116 NOARGS { int compat_50_sys_gettimeofday(struct timeval50 *tp, \ d198 1 a198 1 117 NOARGS { int compat_50_sys_getrusage(int who, \ d200 1 a200 1 118 NOARGS { int sys_getsockopt(int s, int level, int name, \ d203 1 a203 1 120 NOARGS { int sys_readv(int fd, struct iovec *iovp, \ d205 1 a205 1 121 NOARGS { int sys_writev(int fd, struct iovec *iovp, \ d207 1 a207 1 122 NOARGS { int compat_50_sys_settimeofday(struct timeval50 *tv, \ d209 3 a211 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, \ d214 6 a219 6 126 NOARGS { int sys_setreuid(int ruid, int euid); } 127 NOARGS { int sys_setregid(int rgid, int egid); } 128 NOARGS { int sys_rename(char *from, char *to); } 129 NOARGS { int compat_43_sys_truncate(char *path, long length); } 130 NOARGS { int compat_43_sys_ftruncate(int fd, long length); } 131 NOARGS { int sys_flock(int fd, int how); } d221 1 a221 1 133 NOARGS { int sys_sendto(int s, void *buf, size_t len, \ d223 2 a224 2 134 NOARGS { int sys_shutdown(int s, int how); } 135 STD { int sunos_sys_socketpair(int domain, int type, \ d226 3 a228 3 136 NOARGS { int sys_mkdir(char *path, int mode); } 137 NOARGS { int sys_rmdir(char *path); } 138 NOARGS { int compat_50_sys_utimes(char *path, \ d230 2 a231 2 139 STD { int sunos_sys_sigreturn(struct sigcontext *sigcntxp); } 140 NOARGS { int compat_50_sys_adjtime(struct timeval50 *delta, \ d233 1 a233 1 141 NOARGS { int compat_43_sys_getpeername(int fdes, void *asa, \ d235 1 a235 1 142 NOARGS { int compat_43_sys_gethostid(void); } d237 1 a237 1 144 STD { int sunos_sys_getrlimit(u_int which, \ d239 1 a239 1 145 STD { int sunos_sys_setrlimit(u_int which, \ d241 1 a241 1 146 NOARGS { int compat_43_sys_killpg(int pgid, int signum); } d245 1 a245 1 150 NOARGS { int compat_43_sys_getsockname(int fdes, void *asa, \ d249 1 a249 1 153 NOARGS { int sys_poll(struct pollfd *fds, u_int nfds, \ d252 2 a253 2 155 STD { int sunos_sys_nfssvc(int fd); } 156 NOARGS { int compat_12_sys_getdirentries(int fd, char *buf, \ d255 1 a255 1 157 STD { int sunos_sys_statfs(const char *path, \ d257 1 a257 1 158 STD { int sunos_sys_fstatfs(int fd, \ d259 4 a262 4 159 STD { int sunos_sys_unmount(char *path); } 160 NOARGS { int async_daemon(void); } 161 NOARGS { int compat_30_sys_getfh(char *fname, fhandle_t *fhp); } 162 NOARGS { int compat_09_sys_getdomainname(char *domainname, \ d264 1 a264 1 163 NOARGS { int compat_09_sys_setdomainname(char *domainname, \ d267 1 a267 1 165 STD { int sunos_sys_quotactl(int cmd, char *special, \ d269 2 a270 2 166 STD { int sunos_sys_exportfs(char *path, char *ex); } 167 STD { int sunos_sys_mount(char *type, char *dir, \ d272 1 a272 1 168 STD { int sunos_sys_ustat(int dev, \ d275 1 a275 1 169 NOARGS { int compat_10_sys_semsys(int which, int a2, int a3, \ d281 1 a281 1 170 NOARGS { int compat_10_sys_msgsys(int which, int a2, int a3, \ d287 1 a287 1 171 NOARGS { int compat_10_sys_shmsys(int which, int a2, int a3, \ d292 1 a292 1 172 STD { int sunos_sys_auditsys(char *record); } d294 1 a294 1 174 STD { int sunos_sys_getdents(int fd, char *buf, \ d296 3 a298 3 175 NOARGS { int sys_setsid(void); } 176 NOARGS { int sys_fchdir(int fd); } 177 NOARGS { int sys_fchroot(int fd); } d304 1 a304 1 183 STD { int sunos_sys_sigpending(int *mask); } d306 5 a310 5 185 NOARGS { int sys_setpgid(int pid, int pgid); } 186 NOARGS { long sys_pathconf(char *path, int name); } 187 NOARGS { long sys_fpathconf(int fd, int name); } 188 STD { int sunos_sys_sysconf(int name); } 189 STD { int sunos_sys_uname(struct sunos_utsname *name); } @ 1.72 log @Update for compat_50 stuff. (compile test only) @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.71 2009/01/11 02:45:49 christos Exp $ d152 1 a152 1 84 UNIMPL { int sunos_sys_wait(void); } @ 1.71 log @merge christos-time_t @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.68.8.3 2008/11/20 20:45:38 christos Exp $ d60 1 a60 1 int options, struct rusage *rusage); } d149 3 a151 2 83 NOARGS { int sys_setitimer(u_int which, \ struct itimerval *itv, struct itimerval *oitv); } d154 2 a155 2 86 NOARGS { int sys_getitimer(u_int which, \ struct itimerval *itv); } d164 2 a165 2 93 NOARGS { int sys_select(u_int nd, fd_set *in, fd_set *ou, \ fd_set *ex, struct timeval *tv); } d196 1 a196 1 116 NOARGS { int sys_gettimeofday(struct timeval *tp, \ d198 2 a199 1 117 NOARGS { int sys_getrusage(int who, struct rusage *rusage); } d207 1 a207 1 122 NOARGS { int sys_settimeofday(struct timeval *tv, \ d228 2 a229 1 138 NOARGS { int sys_utimes(char *path, struct timeval *tptr); } d231 2 a232 2 140 NOARGS { int sys_adjtime(struct timeval *delta, \ struct timeval *olddelta); } @ 1.70 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.69 2008/06/21 13:20:46 tsutsui Exp $ d79 1 a79 1 25 STD { int sunos_sys_stime(time_t *tp); } @ 1.69 log @Include before for cpuset_t. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.68 2007/12/20 23:03:04 dsl Exp $ a34 1 #include "opt_nfsserver.h" a35 2 #include "fs_nfs.h" a248 1 #ifdef NFSSERVER a249 3 #else 155 UNIMPL #endif a256 1 #ifdef NFS a258 4 #else 160 UNIMPL 161 UNIMPL #endif @ 1.69.4.1 log @Sync with HEAD. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.74 2009/01/13 22:27:43 pooka Exp $ d35 1 d37 2 d54 6 a59 6 0 NOARGS { int|sys||nosys(void); } syscall 1 NOARGS { int|sys||exit(int rval); } 2 NOARGS { int|sys||fork(void); } 3 NOARGS { int|sys||read(int fd, char *buf, u_int nbyte); } 4 NOARGS { int|sys||write(int fd, char *buf, u_int nbyte); } 5 STD { int|sunos_sys||open(const char *path, int flags, \ d61 8 a68 8 6 NOARGS { int|sys||close(int fd); } 7 STD { int|sunos_sys||wait4(int pid, int *status, \ int options, struct rusage50 *rusage); } 8 STD { int|sunos_sys||creat(const char *path, int mode); } 9 NOARGS { int|sys||link(char *path, char *link); } 10 NOARGS { int|sys||unlink(char *path); } 11 STD { int|sunos_sys||execv(const char *path, char **argp); } 12 NOARGS { int|sys||chdir(char *path); } d70 1 a70 1 14 STD { int|sunos_sys||mknod(const char *path, int mode, \ d72 3 a74 3 15 NOARGS { int|sys||chmod(char *path, int mode); } 16 NOARGS { int|sys||chown(char *path, int uid, int gid); } 17 NOARGS { int|sys||obreak(char *nsize); } break d76 2 a77 2 19 NOARGS { long|compat_43_sys||lseek(int fd, long offset, int whence); } 20 NOARGS { pid_t|sys||getpid_with_ppid(void); } d80 4 a83 4 23 NOARGS { int|sys||setuid(uid_t uid); } 24 NOARGS { uid_t|sys||getuid_with_euid(void); } 25 STD { int|sunos_sys||stime(sunos_time_t *tp); } 26 STD { long|sunos_sys||ptrace(int req, pid_t pid, \ d91 1 a91 1 33 NOARGS { int|sys||access(const char *path, int flags); } d94 3 a96 3 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, \ d99 1 a99 1 40 NOARGS { int|compat_43_sys||lstat(const char *path, \ d101 2 a102 2 41 NOARGS { int|sys||dup(u_int fd); } 42 NOARGS { int|sys||pipe(void); } d104 1 a104 1 44 NOARGS { int|sys||profil(void *samples, u_int size, \ d107 2 a108 2 46 NOARGS { int|sys||setgid(uid_t gid); } 47 NOARGS { gid_t|sys||getgid_with_egid(void); } d112 1 a112 1 51 NOARGS { int|sys||acct(char *path); } d114 1 a114 1 53 STD { int|sunos_sys||mctl(void *addr, int len, int func, \ d116 1 a116 1 54 STD { int|sunos_sys||ioctl(int fd, u_long com, \ d118 1 a118 1 55 STD { int|sunos_sys||reboot(int howto, char *bootstr); } d120 3 a122 3 57 NOARGS { int|sys||symlink(char *path, char *link); } 58 NOARGS { int|sys||readlink(char *path, char *buf, int count); } 59 STD { int|sunos_sys||execve(const char *path, char **argp, \ d124 3 a126 3 60 NOARGS { int|sys||umask(int newmask); } 61 NOARGS { int|sys||chroot(char *path); } 62 NOARGS { int|compat_43_sys||fstat(int fd, struct stat43 *sb); } d128 2 a129 2 64 NOARGS { int|compat_43_sys||getpagesize(void); } 65 STD { int|sunos_sys||omsync(void *addr, size_t len, \ d131 1 a131 1 66 NOARGS { int|sys||vfork(void); } d134 3 a136 3 69 NOARGS { int|sys||sbrk(intptr_t incr); } 70 NOARGS { int|sys||sstk(int incr); } 71 STD { void *|sunos_sys||mmap(void *addr, size_t len, \ d138 3 a140 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, \ d142 1 a142 1 75 NOARGS { int|sys||madvise(void *addr, size_t len, \ d144 1 a144 1 76 STD { int|sunos_sys||vhangup(void); } d146 1 a146 1 78 NOARGS { int|sys||mincore(void *addr, size_t len, \ d148 11 a158 12 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 STD { int|sunos_sys||setpgrp(int pid, int pgid); } 83 NOARGS { int|compat_50_sys||setitimer(u_int which, \ struct itimerval50 *itv, \ struct itimerval50 *oitv); } 84 UNIMPL sunos_sys_wait 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, \ d160 1 a160 1 88 NOARGS { int|compat_43_sys||sethostname(char *hostname, \ d162 2 a163 2 89 NOARGS { int|compat_43_sys||getdtablesize(void); } 90 NOARGS { int|sys||dup2(u_int from, u_int to); } d165 3 a167 3 92 STD { int|sunos_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); } d169 5 a173 5 95 NOARGS { int|sys||fsync(int fd); } 96 NOARGS { int|sys||setpriority(int which, int who, int prio); } 97 STD { int|sunos_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, \ d175 2 a176 2 100 NOARGS { int|sys||getpriority(int which, int who); } 101 NOARGS { int|compat_43_sys||send(int s, void *buf, int len, \ d178 1 a178 1 102 NOARGS { int|compat_43_sys||recv(int s, void *buf, int len, \ d181 2 a182 2 104 NOARGS { int|sys||bind(int s, void *name, int namelen); } 105 STD { int|sunos_sys||setsockopt(int s, int level, int name, \ d184 1 a184 1 106 NOARGS { int|sys||listen(int s, int backlog); } d186 1 a186 1 108 STD { int|sunos_sys||sigvec(int signum, struct sigvec *nsv, \ d188 4 a191 4 109 NOARGS { int|compat_43_sys||sigblock(int mask); } 110 NOARGS { int|compat_43_sys||sigsetmask(int mask); } 111 STD { int|sunos_sys||sigsuspend(int mask); } 112 NOARGS { int|compat_43_sys||sigstack(struct sigstack *nss, \ d193 1 a193 1 113 NOARGS { int|compat_43_sys||recvmsg(int s, \ d195 1 a195 1 114 NOARGS { int|compat_43_sys||sendmsg(int s, void *msg, \ d198 1 a198 1 116 NOARGS { int|compat_50_sys||gettimeofday(struct timeval50 *tp, \ d200 2 a201 3 117 NOARGS { int|compat_50_sys||getrusage(int who, \ struct rusage50 *rusage); } 118 NOARGS { int|sys||getsockopt(int s, int level, int name, \ d204 1 a204 1 120 NOARGS { int|sys||readv(int fd, struct iovec *iovp, \ d206 1 a206 1 121 NOARGS { int|sys||writev(int fd, struct iovec *iovp, \ d208 1 a208 1 122 NOARGS { int|compat_50_sys||settimeofday(struct timeval50 *tv, \ d210 3 a212 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, \ d215 6 a220 6 126 NOARGS { int|sys||setreuid(int ruid, int euid); } 127 NOARGS { int|sys||setregid(int rgid, int egid); } 128 NOARGS { int|sys||rename(char *from, char *to); } 129 NOARGS { int|compat_43_sys||truncate(char *path, long length); } 130 NOARGS { int|compat_43_sys||ftruncate(int fd, long length); } 131 NOARGS { int|sys||flock(int fd, int how); } d222 1 a222 1 133 NOARGS { int|sys||sendto(int s, void *buf, size_t len, \ d224 2 a225 2 134 NOARGS { int|sys||shutdown(int s, int how); } 135 STD { int|sunos_sys||socketpair(int domain, int type, \ d227 7 a233 8 136 NOARGS { int|sys||mkdir(char *path, int mode); } 137 NOARGS { int|sys||rmdir(char *path); } 138 NOARGS { int|compat_50_sys||utimes(char *path, \ struct timeval50 *tptr); } 139 STD { int|sunos_sys||sigreturn(struct sigcontext *sigcntxp); } 140 NOARGS { int|compat_50_sys||adjtime(struct timeval50 *delta, \ struct timeval50 *olddelta); } 141 NOARGS { int|compat_43_sys||getpeername(int fdes, void *asa, \ d235 1 a235 1 142 NOARGS { int|compat_43_sys||gethostid(void); } d237 1 a237 1 144 STD { int|sunos_sys||getrlimit(u_int which, \ d239 1 a239 1 145 STD { int|sunos_sys||setrlimit(u_int which, \ d241 1 a241 1 146 NOARGS { int|compat_43_sys||killpg(int pgid, int signum); } d245 1 a245 1 150 NOARGS { int|compat_43_sys||getsockname(int fdes, void *asa, \ d249 1 a249 1 153 NOARGS { int|sys||poll(struct pollfd *fds, u_int nfds, \ d252 6 a257 2 155 STD { int|sunos_sys||nfssvc(int fd); } 156 NOARGS { int|compat_12_sys||getdirentries(int fd, char *buf, \ d259 1 a259 1 157 STD { int|sunos_sys||statfs(const char *path, \ d261 1 a261 1 158 STD { int|sunos_sys||fstatfs(int fd, \ d263 9 a271 4 159 STD { int|sunos_sys||unmount(char *path); } 160 NOARGS { int|async||daemon(void); } 161 NOARGS { int|compat_30_sys||getfh(char *fname, fhandle_t *fhp); } 162 NOARGS { int|compat_09_sys||getdomainname(char *domainname, \ d273 1 a273 1 163 NOARGS { int|compat_09_sys||setdomainname(char *domainname, \ d276 1 a276 1 165 STD { int|sunos_sys||quotactl(int cmd, char *special, \ d278 2 a279 2 166 STD { int|sunos_sys||exportfs(char *path, char *ex); } 167 STD { int|sunos_sys||mount(char *type, char *dir, \ d281 1 a281 1 168 STD { int|sunos_sys||ustat(int dev, \ d284 1 a284 1 169 NOARGS { int|compat_10_sys||semsys(int which, int a2, int a3, \ d290 1 a290 1 170 NOARGS { int|compat_10_sys||msgsys(int which, int a2, int a3, \ d296 1 a296 1 171 NOARGS { int|compat_10_sys||shmsys(int which, int a2, int a3, \ d301 1 a301 1 172 STD { int|sunos_sys||auditsys(char *record); } d303 1 a303 1 174 STD { int|sunos_sys||getdents(int fd, char *buf, \ d305 3 a307 3 175 NOARGS { int|sys||setsid(void); } 176 NOARGS { int|sys||fchdir(int fd); } 177 NOARGS { int|sys||fchroot(int fd); } d313 1 a313 1 183 STD { int|sunos_sys||sigpending(int *mask); } d315 5 a319 5 185 NOARGS { int|sys||setpgid(int pid, int pgid); } 186 NOARGS { long|sys||pathconf(char *path, int name); } 187 NOARGS { long|sys||fpathconf(int fd, int name); } 188 STD { int|sunos_sys||sysconf(int name); } 189 STD { int|sunos_sys||uname(struct sunos_utsname *name); } @ 1.69.2.1 log @Update haad-dm branch to haad-dm-base2. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.70 2008/11/19 18:36:05 ad Exp $ d35 1 d37 2 d252 1 d254 3 d264 1 d267 4 @ 1.68 log @Convert all the system call entry points from: int foo(struct lwp *l, void *v, register_t *retval) to: int foo(struct lwp *l, const struct foo_args *uap, register_t *retval) Fixup compat code to not write into 'uap' and (in some cases) to actually pass a correctly formatted 'uap' structure with the right name to the next routine. A few 'compat' routines that just call standard ones have been deleted. All the 'compat' code compiles (along with the kernels required to test build it). 98% done by automated scripts. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.67 2007/03/04 06:01:30 christos Exp $ d46 1 @ 1.68.12.1 log @sync with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.68 2007/12/20 23:03:04 dsl Exp $ d35 1 d37 2 a45 1 #include d53 6 a58 6 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 STD { int|sunos_sys||open(const char *path, int flags, \ d60 8 a67 8 6 NOARGS { int|sys||close(int fd); } 7 STD { int|sunos_sys||wait4(int pid, int *status, \ int options, struct rusage50 *rusage); } 8 STD { int|sunos_sys||creat(const char *path, int mode); } 9 NOARGS { int|sys||link(char *path, char *link); } 10 NOARGS { int|sys||unlink(char *path); } 11 STD { int|sunos_sys||execv(const char *path, char **argp); } 12 NOARGS { int|sys||chdir(char *path); } d69 1 a69 1 14 STD { int|sunos_sys||mknod(const char *path, int mode, \ d71 3 a73 3 15 NOARGS { int|sys||chmod(char *path, int mode); } 16 NOARGS { int|sys||chown(char *path, int uid, int gid); } 17 NOARGS { int|sys||obreak(char *nsize); } break d75 2 a76 2 19 NOARGS { long|compat_43_sys||lseek(int fd, long offset, int whence); } 20 NOARGS { pid_t|sys||getpid_with_ppid(void); } d79 4 a82 4 23 NOARGS { int|sys||setuid(uid_t uid); } 24 NOARGS { uid_t|sys||getuid_with_euid(void); } 25 STD { int|sunos_sys||stime(sunos_time_t *tp); } 26 STD { long|sunos_sys||ptrace(int req, pid_t pid, \ d90 1 a90 1 33 NOARGS { int|sys||access(const char *path, int flags); } d93 3 a95 3 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, \ d98 1 a98 1 40 NOARGS { int|compat_43_sys||lstat(const char *path, \ d100 2 a101 2 41 NOARGS { int|sys||dup(u_int fd); } 42 NOARGS { int|sys||pipe(void); } d103 1 a103 1 44 NOARGS { int|sys||profil(void *samples, u_int size, \ d106 2 a107 2 46 NOARGS { int|sys||setgid(uid_t gid); } 47 NOARGS { gid_t|sys||getgid_with_egid(void); } d111 1 a111 1 51 NOARGS { int|sys||acct(char *path); } d113 1 a113 1 53 STD { int|sunos_sys||mctl(void *addr, int len, int func, \ d115 1 a115 1 54 STD { int|sunos_sys||ioctl(int fd, u_long com, \ d117 1 a117 1 55 STD { int|sunos_sys||reboot(int howto, char *bootstr); } d119 3 a121 3 57 NOARGS { int|sys||symlink(char *path, char *link); } 58 NOARGS { int|sys||readlink(char *path, char *buf, int count); } 59 STD { int|sunos_sys||execve(const char *path, char **argp, \ d123 3 a125 3 60 NOARGS { int|sys||umask(int newmask); } 61 NOARGS { int|sys||chroot(char *path); } 62 NOARGS { int|compat_43_sys||fstat(int fd, struct stat43 *sb); } d127 2 a128 2 64 NOARGS { int|compat_43_sys||getpagesize(void); } 65 STD { int|sunos_sys||omsync(void *addr, size_t len, \ d130 1 a130 1 66 NOARGS { int|sys||vfork(void); } d133 3 a135 3 69 NOARGS { int|sys||sbrk(intptr_t incr); } 70 NOARGS { int|sys||sstk(int incr); } 71 STD { void *|sunos_sys||mmap(void *addr, size_t len, \ d137 3 a139 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, \ d141 1 a141 1 75 NOARGS { int|sys||madvise(void *addr, size_t len, \ d143 1 a143 1 76 STD { int|sunos_sys||vhangup(void); } d145 1 a145 1 78 NOARGS { int|sys||mincore(void *addr, size_t len, \ d147 11 a157 12 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 STD { int|sunos_sys||setpgrp(int pid, int pgid); } 83 NOARGS { int|compat_50_sys||setitimer(u_int which, \ struct itimerval50 *itv, \ struct itimerval50 *oitv); } 84 UNIMPL sunos_sys_wait 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, \ d159 1 a159 1 88 NOARGS { int|compat_43_sys||sethostname(char *hostname, \ d161 2 a162 2 89 NOARGS { int|compat_43_sys||getdtablesize(void); } 90 NOARGS { int|sys||dup2(u_int from, u_int to); } d164 3 a166 3 92 STD { int|sunos_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); } d168 5 a172 5 95 NOARGS { int|sys||fsync(int fd); } 96 NOARGS { int|sys||setpriority(int which, int who, int prio); } 97 STD { int|sunos_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, \ d174 2 a175 2 100 NOARGS { int|sys||getpriority(int which, int who); } 101 NOARGS { int|compat_43_sys||send(int s, void *buf, int len, \ d177 1 a177 1 102 NOARGS { int|compat_43_sys||recv(int s, void *buf, int len, \ d180 2 a181 2 104 NOARGS { int|sys||bind(int s, void *name, int namelen); } 105 STD { int|sunos_sys||setsockopt(int s, int level, int name, \ d183 1 a183 1 106 NOARGS { int|sys||listen(int s, int backlog); } d185 1 a185 1 108 STD { int|sunos_sys||sigvec(int signum, struct sigvec *nsv, \ d187 4 a190 4 109 NOARGS { int|compat_43_sys||sigblock(int mask); } 110 NOARGS { int|compat_43_sys||sigsetmask(int mask); } 111 STD { int|sunos_sys||sigsuspend(int mask); } 112 NOARGS { int|compat_43_sys||sigstack(struct sigstack *nss, \ d192 1 a192 1 113 NOARGS { int|compat_43_sys||recvmsg(int s, \ d194 1 a194 1 114 NOARGS { int|compat_43_sys||sendmsg(int s, void *msg, \ d197 1 a197 1 116 NOARGS { int|compat_50_sys||gettimeofday(struct timeval50 *tp, \ d199 2 a200 3 117 NOARGS { int|compat_50_sys||getrusage(int who, \ struct rusage50 *rusage); } 118 NOARGS { int|sys||getsockopt(int s, int level, int name, \ d203 1 a203 1 120 NOARGS { int|sys||readv(int fd, struct iovec *iovp, \ d205 1 a205 1 121 NOARGS { int|sys||writev(int fd, struct iovec *iovp, \ d207 1 a207 1 122 NOARGS { int|compat_50_sys||settimeofday(struct timeval50 *tv, \ d209 3 a211 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, \ d214 6 a219 6 126 NOARGS { int|sys||setreuid(int ruid, int euid); } 127 NOARGS { int|sys||setregid(int rgid, int egid); } 128 NOARGS { int|sys||rename(char *from, char *to); } 129 NOARGS { int|compat_43_sys||truncate(char *path, long length); } 130 NOARGS { int|compat_43_sys||ftruncate(int fd, long length); } 131 NOARGS { int|sys||flock(int fd, int how); } d221 1 a221 1 133 NOARGS { int|sys||sendto(int s, void *buf, size_t len, \ d223 2 a224 2 134 NOARGS { int|sys||shutdown(int s, int how); } 135 STD { int|sunos_sys||socketpair(int domain, int type, \ d226 7 a232 8 136 NOARGS { int|sys||mkdir(char *path, int mode); } 137 NOARGS { int|sys||rmdir(char *path); } 138 NOARGS { int|compat_50_sys||utimes(char *path, \ struct timeval50 *tptr); } 139 STD { int|sunos_sys||sigreturn(struct sigcontext *sigcntxp); } 140 NOARGS { int|compat_50_sys||adjtime(struct timeval50 *delta, \ struct timeval50 *olddelta); } 141 NOARGS { int|compat_43_sys||getpeername(int fdes, void *asa, \ d234 1 a234 1 142 NOARGS { int|compat_43_sys||gethostid(void); } d236 1 a236 1 144 STD { int|sunos_sys||getrlimit(u_int which, \ d238 1 a238 1 145 STD { int|sunos_sys||setrlimit(u_int which, \ d240 1 a240 1 146 NOARGS { int|compat_43_sys||killpg(int pgid, int signum); } d244 1 a244 1 150 NOARGS { int|compat_43_sys||getsockname(int fdes, void *asa, \ d248 1 a248 1 153 NOARGS { int|sys||poll(struct pollfd *fds, u_int nfds, \ d251 6 a256 2 155 STD { int|sunos_sys||nfssvc(int fd); } 156 NOARGS { int|compat_12_sys||getdirentries(int fd, char *buf, \ d258 1 a258 1 157 STD { int|sunos_sys||statfs(const char *path, \ d260 1 a260 1 158 STD { int|sunos_sys||fstatfs(int fd, \ d262 9 a270 4 159 STD { int|sunos_sys||unmount(char *path); } 160 NOARGS { int|async||daemon(void); } 161 NOARGS { int|compat_30_sys||getfh(char *fname, fhandle_t *fhp); } 162 NOARGS { int|compat_09_sys||getdomainname(char *domainname, \ d272 1 a272 1 163 NOARGS { int|compat_09_sys||setdomainname(char *domainname, \ d275 1 a275 1 165 STD { int|sunos_sys||quotactl(int cmd, char *special, \ d277 2 a278 2 166 STD { int|sunos_sys||exportfs(char *path, char *ex); } 167 STD { int|sunos_sys||mount(char *type, char *dir, \ d280 1 a280 1 168 STD { int|sunos_sys||ustat(int dev, \ d283 1 a283 1 169 NOARGS { int|compat_10_sys||semsys(int which, int a2, int a3, \ d289 1 a289 1 170 NOARGS { int|compat_10_sys||msgsys(int which, int a2, int a3, \ d295 1 a295 1 171 NOARGS { int|compat_10_sys||shmsys(int which, int a2, int a3, \ d300 1 a300 1 172 STD { int|sunos_sys||auditsys(char *record); } d302 1 a302 1 174 STD { int|sunos_sys||getdents(int fd, char *buf, \ d304 3 a306 3 175 NOARGS { int|sys||setsid(void); } 176 NOARGS { int|sys||fchdir(int fd); } 177 NOARGS { int|sys||fchroot(int fd); } d312 1 a312 1 183 STD { int|sunos_sys||sigpending(int *mask); } d314 5 a318 5 185 NOARGS { int|sys||setpgid(int pid, int pgid); } 186 NOARGS { long|sys||pathconf(char *path, int name); } 187 NOARGS { long|sys||fpathconf(int fd, int name); } 188 STD { int|sunos_sys||sysconf(int name); } 189 STD { int|sunos_sys||uname(struct sunos_utsname *name); } @ 1.68.12.2 log @sync with head @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.68.12.1 2009/05/04 08:12:27 yamt Exp $ d252 1 a252 1 155 UNIMPL nfssvc @ 1.68.6.1 log @Sync with HEAD. @ text @d1 1 a1 1 $NetBSD$ a45 1 #include @ 1.68.6.2 log @Sync with HEAD. @ text @d35 1 d37 2 d54 6 a59 6 0 NOARGS { int|sys||nosys(void); } syscall 1 NOARGS { int|sys||exit(int rval); } 2 NOARGS { int|sys||fork(void); } 3 NOARGS { int|sys||read(int fd, char *buf, u_int nbyte); } 4 NOARGS { int|sys||write(int fd, char *buf, u_int nbyte); } 5 STD { int|sunos_sys||open(const char *path, int flags, \ d61 8 a68 8 6 NOARGS { int|sys||close(int fd); } 7 STD { int|sunos_sys||wait4(int pid, int *status, \ int options, struct rusage50 *rusage); } 8 STD { int|sunos_sys||creat(const char *path, int mode); } 9 NOARGS { int|sys||link(char *path, char *link); } 10 NOARGS { int|sys||unlink(char *path); } 11 STD { int|sunos_sys||execv(const char *path, char **argp); } 12 NOARGS { int|sys||chdir(char *path); } d70 1 a70 1 14 STD { int|sunos_sys||mknod(const char *path, int mode, \ d72 3 a74 3 15 NOARGS { int|sys||chmod(char *path, int mode); } 16 NOARGS { int|sys||chown(char *path, int uid, int gid); } 17 NOARGS { int|sys||obreak(char *nsize); } break d76 2 a77 2 19 NOARGS { long|compat_43_sys||lseek(int fd, long offset, int whence); } 20 NOARGS { pid_t|sys||getpid_with_ppid(void); } d80 4 a83 4 23 NOARGS { int|sys||setuid(uid_t uid); } 24 NOARGS { uid_t|sys||getuid_with_euid(void); } 25 STD { int|sunos_sys||stime(sunos_time_t *tp); } 26 STD { long|sunos_sys||ptrace(int req, pid_t pid, \ d91 1 a91 1 33 NOARGS { int|sys||access(const char *path, int flags); } d94 3 a96 3 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, \ d99 1 a99 1 40 NOARGS { int|compat_43_sys||lstat(const char *path, \ d101 2 a102 2 41 NOARGS { int|sys||dup(u_int fd); } 42 NOARGS { int|sys||pipe(void); } d104 1 a104 1 44 NOARGS { int|sys||profil(void *samples, u_int size, \ d107 2 a108 2 46 NOARGS { int|sys||setgid(uid_t gid); } 47 NOARGS { gid_t|sys||getgid_with_egid(void); } d112 1 a112 1 51 NOARGS { int|sys||acct(char *path); } d114 1 a114 1 53 STD { int|sunos_sys||mctl(void *addr, int len, int func, \ d116 1 a116 1 54 STD { int|sunos_sys||ioctl(int fd, u_long com, \ d118 1 a118 1 55 STD { int|sunos_sys||reboot(int howto, char *bootstr); } d120 3 a122 3 57 NOARGS { int|sys||symlink(char *path, char *link); } 58 NOARGS { int|sys||readlink(char *path, char *buf, int count); } 59 STD { int|sunos_sys||execve(const char *path, char **argp, \ d124 3 a126 3 60 NOARGS { int|sys||umask(int newmask); } 61 NOARGS { int|sys||chroot(char *path); } 62 NOARGS { int|compat_43_sys||fstat(int fd, struct stat43 *sb); } d128 2 a129 2 64 NOARGS { int|compat_43_sys||getpagesize(void); } 65 STD { int|sunos_sys||omsync(void *addr, size_t len, \ d131 1 a131 1 66 NOARGS { int|sys||vfork(void); } d134 3 a136 3 69 NOARGS { int|sys||sbrk(intptr_t incr); } 70 NOARGS { int|sys||sstk(int incr); } 71 STD { void *|sunos_sys||mmap(void *addr, size_t len, \ d138 3 a140 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, \ d142 1 a142 1 75 NOARGS { int|sys||madvise(void *addr, size_t len, \ d144 1 a144 1 76 STD { int|sunos_sys||vhangup(void); } d146 1 a146 1 78 NOARGS { int|sys||mincore(void *addr, size_t len, \ d148 11 a158 12 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 STD { int|sunos_sys||setpgrp(int pid, int pgid); } 83 NOARGS { int|compat_50_sys||setitimer(u_int which, \ struct itimerval50 *itv, \ struct itimerval50 *oitv); } 84 UNIMPL sunos_sys_wait 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, \ d160 1 a160 1 88 NOARGS { int|compat_43_sys||sethostname(char *hostname, \ d162 2 a163 2 89 NOARGS { int|compat_43_sys||getdtablesize(void); } 90 NOARGS { int|sys||dup2(u_int from, u_int to); } d165 3 a167 3 92 STD { int|sunos_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); } d169 5 a173 5 95 NOARGS { int|sys||fsync(int fd); } 96 NOARGS { int|sys||setpriority(int which, int who, int prio); } 97 STD { int|sunos_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, \ d175 2 a176 2 100 NOARGS { int|sys||getpriority(int which, int who); } 101 NOARGS { int|compat_43_sys||send(int s, void *buf, int len, \ d178 1 a178 1 102 NOARGS { int|compat_43_sys||recv(int s, void *buf, int len, \ d181 2 a182 2 104 NOARGS { int|sys||bind(int s, void *name, int namelen); } 105 STD { int|sunos_sys||setsockopt(int s, int level, int name, \ d184 1 a184 1 106 NOARGS { int|sys||listen(int s, int backlog); } d186 1 a186 1 108 STD { int|sunos_sys||sigvec(int signum, struct sigvec *nsv, \ d188 4 a191 4 109 NOARGS { int|compat_43_sys||sigblock(int mask); } 110 NOARGS { int|compat_43_sys||sigsetmask(int mask); } 111 STD { int|sunos_sys||sigsuspend(int mask); } 112 NOARGS { int|compat_43_sys||sigstack(struct sigstack *nss, \ d193 1 a193 1 113 NOARGS { int|compat_43_sys||recvmsg(int s, \ d195 1 a195 1 114 NOARGS { int|compat_43_sys||sendmsg(int s, void *msg, \ d198 1 a198 1 116 NOARGS { int|compat_50_sys||gettimeofday(struct timeval50 *tp, \ d200 2 a201 3 117 NOARGS { int|compat_50_sys||getrusage(int who, \ struct rusage50 *rusage); } 118 NOARGS { int|sys||getsockopt(int s, int level, int name, \ d204 1 a204 1 120 NOARGS { int|sys||readv(int fd, struct iovec *iovp, \ d206 1 a206 1 121 NOARGS { int|sys||writev(int fd, struct iovec *iovp, \ d208 1 a208 1 122 NOARGS { int|compat_50_sys||settimeofday(struct timeval50 *tv, \ d210 3 a212 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, \ d215 6 a220 6 126 NOARGS { int|sys||setreuid(int ruid, int euid); } 127 NOARGS { int|sys||setregid(int rgid, int egid); } 128 NOARGS { int|sys||rename(char *from, char *to); } 129 NOARGS { int|compat_43_sys||truncate(char *path, long length); } 130 NOARGS { int|compat_43_sys||ftruncate(int fd, long length); } 131 NOARGS { int|sys||flock(int fd, int how); } d222 1 a222 1 133 NOARGS { int|sys||sendto(int s, void *buf, size_t len, \ d224 2 a225 2 134 NOARGS { int|sys||shutdown(int s, int how); } 135 STD { int|sunos_sys||socketpair(int domain, int type, \ d227 7 a233 8 136 NOARGS { int|sys||mkdir(char *path, int mode); } 137 NOARGS { int|sys||rmdir(char *path); } 138 NOARGS { int|compat_50_sys||utimes(char *path, \ struct timeval50 *tptr); } 139 STD { int|sunos_sys||sigreturn(struct sigcontext *sigcntxp); } 140 NOARGS { int|compat_50_sys||adjtime(struct timeval50 *delta, \ struct timeval50 *olddelta); } 141 NOARGS { int|compat_43_sys||getpeername(int fdes, void *asa, \ d235 1 a235 1 142 NOARGS { int|compat_43_sys||gethostid(void); } d237 1 a237 1 144 STD { int|sunos_sys||getrlimit(u_int which, \ d239 1 a239 1 145 STD { int|sunos_sys||setrlimit(u_int which, \ d241 1 a241 1 146 NOARGS { int|compat_43_sys||killpg(int pgid, int signum); } d245 1 a245 1 150 NOARGS { int|compat_43_sys||getsockname(int fdes, void *asa, \ d249 1 a249 1 153 NOARGS { int|sys||poll(struct pollfd *fds, u_int nfds, \ d252 6 a257 2 155 STD { int|sunos_sys||nfssvc(int fd); } 156 NOARGS { int|compat_12_sys||getdirentries(int fd, char *buf, \ d259 1 a259 1 157 STD { int|sunos_sys||statfs(const char *path, \ d261 1 a261 1 158 STD { int|sunos_sys||fstatfs(int fd, \ d263 9 a271 4 159 STD { int|sunos_sys||unmount(char *path); } 160 NOARGS { int|async||daemon(void); } 161 NOARGS { int|compat_30_sys||getfh(char *fname, fhandle_t *fhp); } 162 NOARGS { int|compat_09_sys||getdomainname(char *domainname, \ d273 1 a273 1 163 NOARGS { int|compat_09_sys||setdomainname(char *domainname, \ d276 1 a276 1 165 STD { int|sunos_sys||quotactl(int cmd, char *special, \ d278 2 a279 2 166 STD { int|sunos_sys||exportfs(char *path, char *ex); } 167 STD { int|sunos_sys||mount(char *type, char *dir, \ d281 1 a281 1 168 STD { int|sunos_sys||ustat(int dev, \ d284 1 a284 1 169 NOARGS { int|compat_10_sys||semsys(int which, int a2, int a3, \ d290 1 a290 1 170 NOARGS { int|compat_10_sys||msgsys(int which, int a2, int a3, \ d296 1 a296 1 171 NOARGS { int|compat_10_sys||shmsys(int which, int a2, int a3, \ d301 1 a301 1 172 STD { int|sunos_sys||auditsys(char *record); } d303 1 a303 1 174 STD { int|sunos_sys||getdents(int fd, char *buf, \ d305 3 a307 3 175 NOARGS { int|sys||setsid(void); } 176 NOARGS { int|sys||fchdir(int fd); } 177 NOARGS { int|sys||fchroot(int fd); } d313 1 a313 1 183 STD { int|sunos_sys||sigpending(int *mask); } d315 5 a319 5 185 NOARGS { int|sys||setpgid(int pid, int pgid); } 186 NOARGS { long|sys||pathconf(char *path, int name); } 187 NOARGS { long|sys||fpathconf(int fd, int name); } 188 STD { int|sunos_sys||sysconf(int name); } 189 STD { int|sunos_sys||uname(struct sunos_utsname *name); } @ 1.68.16.1 log @Sync with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.69 2008/06/21 13:20:46 tsutsui Exp $ a45 1 #include @ 1.68.14.1 log @Initial checkin of re-adding SA. Everything except kern_sa.c compiles in GENERIC for i386. This is still a work-in-progress, but this checkin covers most of the mechanical work (changing signalling to be able to accomidate SA's process-wide signalling and re-adding includes of sys/sa.h and savar.h). Subsequent changes will be much more interesting. Also, kern_sa.c has received partial cleanup. There's still more to do, though. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.68 2007/12/20 23:03:04 dsl Exp $ a45 1 #include @ 1.68.14.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.68.14.1 2008/05/10 23:48:59 wrstuden Exp $ d46 1 @ 1.68.14.3 log @Sync w/ -current. 34 merge conflicts to follow. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.68.14.2 2008/05/14 01:35:10 wrstuden Exp $ a45 1 #include @ 1.68.8.1 log @Welcome to the time_t=long long dev_t=uint64_t branch. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.68 2007/12/20 23:03:04 dsl Exp $ d81 1 a81 1 25 STD { int sunos_sys_stime(sunos_time_t *tp); } @ 1.68.8.2 log @Sync with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.69 2008/06/21 13:20:46 tsutsui Exp $ a45 1 #include @ 1.68.8.3 log @merge with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.70 2008/11/19 18:36:05 ad Exp $ d35 1 d37 2 d252 1 d254 3 d264 1 d267 4 @ 1.67 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.66 2007/02/09 21:55:24 ad Exp $ d90 1 a90 1 33 STD { int sunos_sys_access(const char *path, int flags); } d95 1 a95 1 38 STD { int sunos_sys_stat(const char *path, \ d98 1 a98 1 40 STD { int sunos_sys_lstat(const char *path, \ @ 1.67.16.1 log @sync with HEAD @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.67 2007/03/04 06:01:30 christos Exp $ d90 1 a90 1 33 NOARGS { int sys_access(const char *path, int flags); } d95 1 a95 1 38 NOARGS { int compat_43_sys_stat(const char *path, \ d98 1 a98 1 40 NOARGS { int compat_43_sys_lstat(const char *path, \ @ 1.67.28.1 log @Sync with HEAD @ text @d1 1 a1 1 $NetBSD$ d90 1 a90 1 33 NOARGS { int sys_access(const char *path, int flags); } d95 1 a95 1 38 NOARGS { int compat_43_sys_stat(const char *path, \ d98 1 a98 1 40 NOARGS { int compat_43_sys_lstat(const char *path, \ @ 1.67.24.1 log @Sync with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.68 2007/12/20 23:03:04 dsl Exp $ d90 1 a90 1 33 NOARGS { int sys_access(const char *path, int flags); } d95 1 a95 1 38 NOARGS { int compat_43_sys_stat(const char *path, \ d98 1 a98 1 40 NOARGS { int compat_43_sys_lstat(const char *path, \ @ 1.66 log @Merge newlock2 to head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.65 2006/09/01 20:58:18 matt Exp $ d83 1 a83 1 caddr_t addr, int data, char *addr2); } d103 1 a103 1 44 NOARGS { int sys_profil(caddr_t samples, u_int size, \ d116 1 a116 1 caddr_t data); } d128 1 a128 1 65 STD { int sunos_sys_omsync(caddr_t addr, size_t len, \ d171 2 a172 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, \ d175 1 a175 1 101 NOARGS { int compat_43_sys_send(int s, caddr_t buf, int len, \ d177 1 a177 1 102 NOARGS { int compat_43_sys_recv(int s, caddr_t buf, int len, \ d180 1 a180 1 104 NOARGS { int sys_bind(int s, caddr_t name, int namelen); } d182 1 a182 1 caddr_t val, int valsize); } d194 1 a194 1 114 NOARGS { int compat_43_sys_sendmsg(int s, caddr_t msg, \ d201 1 a201 1 caddr_t val, int *avalsize); } d211 2 a212 2 125 NOARGS { int compat_43_sys_recvfrom(int s, caddr_t buf, \ size_t len, int flags, caddr_t from, \ d221 2 a222 2 133 NOARGS { int sys_sendto(int s, caddr_t buf, size_t len, \ int flags, caddr_t to, int tolen); } d232 1 a232 1 141 NOARGS { int compat_43_sys_getpeername(int fdes, caddr_t asa, \ d244 1 a244 1 150 NOARGS { int compat_43_sys_getsockname(int fdes, caddr_t asa, \ d276 1 a276 1 int uid, caddr_t addr); } d279 1 a279 1 int flags, caddr_t data); } @ 1.66.2.1 log @Sync with HEAD. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.66 2007/02/09 21:55:24 ad Exp $ d83 1 a83 1 void *addr, int data, char *addr2); } d103 1 a103 1 44 NOARGS { int sys_profil(void *samples, u_int size, \ d116 1 a116 1 void *data); } d128 1 a128 1 65 STD { int sunos_sys_omsync(void *addr, size_t len, \ d171 2 a172 2 98 NOARGS { int sys_connect(int s, void *name, int namelen); } 99 NOARGS { int compat_43_sys_accept(int s, void *name, \ d175 1 a175 1 101 NOARGS { int compat_43_sys_send(int s, void *buf, int len, \ d177 1 a177 1 102 NOARGS { int compat_43_sys_recv(int s, void *buf, int len, \ d180 1 a180 1 104 NOARGS { int sys_bind(int s, void *name, int namelen); } d182 1 a182 1 void *val, int valsize); } d194 1 a194 1 114 NOARGS { int compat_43_sys_sendmsg(int s, void *msg, \ d201 1 a201 1 void *val, int *avalsize); } d211 2 a212 2 125 NOARGS { int compat_43_sys_recvfrom(int s, void *buf, \ size_t len, int flags, void *from, \ d221 2 a222 2 133 NOARGS { int sys_sendto(int s, void *buf, size_t len, \ int flags, void *to, int tolen); } d232 1 a232 1 141 NOARGS { int compat_43_sys_getpeername(int fdes, void *asa, \ d244 1 a244 1 150 NOARGS { int compat_43_sys_getsockname(int fdes, void *asa, \ d276 1 a276 1 int uid, void *addr); } d279 1 a279 1 int flags, void *data); } @ 1.65 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.64 2006/08/30 23:00:06 he Exp $ a45 1 #include @ 1.65.2.1 log @Remove support for SA. Ok core@@. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.65 2006/09/01 20:58:18 matt Exp $ d46 1 @ 1.64 log @Update for options PTRACE. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.63 2006/07/13 23:38:57 pavel Exp $ a82 1 #if defined(PTRACE) || !defined(_KERNEL) a84 3 #else 26 EXCL ptrace #endif @ 1.63 log @request the COMPAT_30 getfh in the master files. (Changes to the generated ones would be lost.) @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.62 2005/12/11 12:20:23 christos Exp $ d83 1 d86 3 @ 1.62 log @merge ktrace-lwp. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.60.2.1 2005/03/04 16:40:29 skrll Exp $ d266 1 a266 1 161 NOARGS { int sys_getfh(char *fname, fhandle_t *fhp); } @ 1.62.4.1 log @sync with head @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.65 2006/09/01 20:58:18 matt Exp $ d266 1 a266 1 161 NOARGS { int compat_30_sys_getfh(char *fname, fhandle_t *fhp); } @ 1.62.8.1 log @sync with head @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.62 2005/12/11 12:20:23 christos Exp $ d266 1 a266 1 161 NOARGS { int compat_30_sys_getfh(char *fname, fhandle_t *fhp); } @ 1.61 log @nuke trailing whitespace @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.60 2003/01/18 08:36:15 thorpej Exp $ @ 1.61.4.1 log @sync with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.61 2005/02/26 23:10:21 perry Exp $ d266 1 a266 1 161 NOARGS { int compat_30_sys_getfh(char *fname, fhandle_t *fhp); } @ 1.61.4.2 log @sync with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.61.4.1 2006/12/30 20:47:45 yamt Exp $ d46 1 @ 1.61.4.3 log @sync with head. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.61.4.2 2007/02/26 09:09:39 yamt Exp $ d83 1 a83 1 void *addr, int data, char *addr2); } d103 1 a103 1 44 NOARGS { int sys_profil(void *samples, u_int size, \ d116 1 a116 1 void *data); } d128 1 a128 1 65 STD { int sunos_sys_omsync(void *addr, size_t len, \ d171 2 a172 2 98 NOARGS { int sys_connect(int s, void *name, int namelen); } 99 NOARGS { int compat_43_sys_accept(int s, void *name, \ d175 1 a175 1 101 NOARGS { int compat_43_sys_send(int s, void *buf, int len, \ d177 1 a177 1 102 NOARGS { int compat_43_sys_recv(int s, void *buf, int len, \ d180 1 a180 1 104 NOARGS { int sys_bind(int s, void *name, int namelen); } d182 1 a182 1 void *val, int valsize); } d194 1 a194 1 114 NOARGS { int compat_43_sys_sendmsg(int s, void *msg, \ d201 1 a201 1 void *val, int *avalsize); } d211 2 a212 2 125 NOARGS { int compat_43_sys_recvfrom(int s, void *buf, \ size_t len, int flags, void *from, \ d221 2 a222 2 133 NOARGS { int sys_sendto(int s, void *buf, size_t len, \ int flags, void *to, int tolen); } d232 1 a232 1 141 NOARGS { int compat_43_sys_getpeername(int fdes, void *asa, \ d244 1 a244 1 150 NOARGS { int compat_43_sys_getsockname(int fdes, void *asa, \ d276 1 a276 1 int uid, void *addr); } d279 1 a279 1 int flags, void *data); } @ 1.61.4.4 log @sync with head @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.61.4.3 2007/09/03 14:32:50 yamt Exp $ d90 1 a90 1 33 NOARGS { int sys_access(const char *path, int flags); } d95 1 a95 1 38 NOARGS { int compat_43_sys_stat(const char *path, \ d98 1 a98 1 40 NOARGS { int compat_43_sys_lstat(const char *path, \ @ 1.60 log @Merge the nathanw_sa branch. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.59 2002/01/03 00:59:00 mrg Exp $ d106 1 a106 1 45 UNIMPL d113 1 a113 1 52 UNIMPL d127 1 a127 1 63 UNIMPL d203 1 a203 1 119 UNIMPL d221 1 a221 1 132 UNIMPL d242 3 a244 3 147 UNIMPL 148 UNIMPL 149 UNIMPL d251 1 a251 1 154 UNIMPL d255 1 a255 1 155 UNIMPL d268 2 a269 2 160 UNIMPL 161 UNIMPL d314 1 a314 1 184 UNIMPL @ 1.60.10.1 log @sync with -current @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.61 2005/02/26 23:10:21 perry Exp $ d106 1 a106 1 45 UNIMPL d113 1 a113 1 52 UNIMPL d127 1 a127 1 63 UNIMPL d203 1 a203 1 119 UNIMPL d221 1 a221 1 132 UNIMPL d242 3 a244 3 147 UNIMPL 148 UNIMPL 149 UNIMPL d251 1 a251 1 154 UNIMPL d255 1 a255 1 155 UNIMPL d268 2 a269 2 160 UNIMPL 161 UNIMPL d314 1 a314 1 184 UNIMPL @ 1.60.12.1 log @sync with head. xen and whitespace. xen part is not finished. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.60 2003/01/18 08:36:15 thorpej Exp $ d106 1 a106 1 45 UNIMPL d113 1 a113 1 52 UNIMPL d127 1 a127 1 63 UNIMPL d203 1 a203 1 119 UNIMPL d221 1 a221 1 132 UNIMPL d242 3 a244 3 147 UNIMPL 148 UNIMPL 149 UNIMPL d251 1 a251 1 154 UNIMPL d255 1 a255 1 155 UNIMPL d268 2 a269 2 160 UNIMPL 161 UNIMPL d314 1 a314 1 184 UNIMPL @ 1.60.2.1 log @Sync with HEAD. Hi Perry! @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.61 2005/02/26 23:10:21 perry Exp $ d106 1 a106 1 45 UNIMPL d113 1 a113 1 52 UNIMPL d127 1 a127 1 63 UNIMPL d203 1 a203 1 119 UNIMPL d221 1 a221 1 132 UNIMPL d242 3 a244 3 147 UNIMPL 148 UNIMPL 149 UNIMPL d251 1 a251 1 154 UNIMPL d255 1 a255 1 155 UNIMPL d268 2 a269 2 160 UNIMPL 161 UNIMPL d314 1 a314 1 184 UNIMPL @ 1.59 log @move the COMPAT_SUNOS SO_BROADCAST hack out of uipc_socket.c into the compat/sunos code. besides being cleaner this allows the sunos LKM to properly work without any special kernel hacks. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.58 2001/05/30 11:37:31 mrg Exp $ d46 1 @ 1.58 log @use _KERNEL_OPT. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.57 2000/12/09 07:10:36 mycroft Exp $ d170 1 a170 1 97 NOARGS { int sys_socket(int domain, int type, int protocol); } d224 1 a224 1 135 NOARGS { int sys_socketpair(int domain, int type, \ @ 1.58.2.1 log @Sync kqueue branch with -current. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.59 2002/01/03 00:59:00 mrg Exp $ d170 1 a170 1 97 STD { int sunos_sys_socket(int domain, int type, int protocol); } d224 1 a224 1 135 STD { int sunos_sys_socketpair(int domain, int type, \ @ 1.57 log @Get rid of the damn EMUL_GET* flags. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.56 2000/12/09 05:27:30 mycroft Exp $ d34 1 a34 1 #if defined(_KERNEL) && !defined(_LKM) @ 1.57.2.1 log @Catch up to -current. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.57 2000/12/09 07:10:36 mycroft Exp $ d34 1 a34 1 #if defined(_KERNEL_OPT) @ 1.57.2.2 log @More catchup. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.57.2.1 2001/06/21 20:00:30 nathanw Exp $ d170 1 a170 1 97 STD { int sunos_sys_socket(int domain, int type, int protocol); } d224 1 a224 1 135 STD { int sunos_sys_socketpair(int domain, int type, \ @ 1.57.2.3 log @Catch up to -current. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.57.2.2 2002/01/11 23:38:51 nathanw Exp $ @ 1.57.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.57.2.3 2002/02/28 04:13:00 nathanw Exp $ a45 1 #include @ 1.56 log @Add the %% separators. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.55 2000/11/30 19:05:29 jdolecek Exp $ d76 1 a76 1 20 NOARGS { pid_t sys_getpid(void); } d80 1 a80 1 24 NOARGS { uid_t sys_getuid(void); } d107 1 a107 1 47 NOARGS { gid_t sys_getgid(void); } @ 1.55 log @LKMify @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.54 2000/04/09 06:47:39 mrg Exp $ d34 1 a34 1 if defined(_KERNEL) && !defined(_LKM) d39 1 a39 1 endif d50 2 @ 1.54 log @rename some unimplimented (because they are OLD in sunos) syscalls to avoid confusion. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.53 1999/07/12 21:55:20 kleink Exp $ d34 1 d39 1 @ 1.53 log @XSH5: change function signature to `void *sbrk(intptr_t)'. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.52 1999/03/22 17:28:21 sommerfe Exp $ d64 1 a64 1 13 OBSOL time d70 1 a70 1 18 OBSOL stat d80 6 a85 6 27 UNIMPL sunos_alarm 28 UNIMPL sunos_fstat 29 UNIMPL sunos_pause 30 UNIMPL sunos_utime 31 UNIMPL sunos_stty 32 UNIMPL sunos_gtty d87 2 a88 2 34 UNIMPL sunos_nice 35 UNIMPL sunos_ftime @ 1.53.2.1 log @Update thorpej_scsipi to -current as of a month ago @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.54 2000/04/09 06:47:39 mrg Exp $ d64 1 a64 1 13 OBSOL old_time d70 1 a70 1 18 OBSOL old_stat d80 6 a85 6 27 UNIMPL old_sunos_alarm 28 UNIMPL old_sunos_fstat 29 UNIMPL old_sunos_pause 30 UNIMPL old_sunos_utime 31 UNIMPL old_sunos_stty 32 UNIMPL old_sunos_gtty d87 2 a88 2 34 UNIMPL old_sunos_nice 35 UNIMPL old_sunos_ftime @ 1.53.2.2 log @Sync with HEAD. @ text @d1 1 a1 1 $NetBSD$ a33 1 if defined(_KERNEL) && !defined(_LKM) a37 1 endif @ 1.53.2.3 log @Sync with HEAD (for UBC fixes). @ text @d34 1 a34 1 #if defined(_KERNEL) && !defined(_LKM) d39 1 a39 1 #endif a50 2 %% d74 1 a74 1 20 NOARGS { pid_t sys_getpid_with_ppid(void); } d78 1 a78 1 24 NOARGS { uid_t sys_getuid_with_euid(void); } d105 1 a105 1 47 NOARGS { gid_t sys_getgid_with_egid(void); } @ 1.52 log @Use standard system fchroot instead of emulation-specific copy. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.51 1999/02/09 20:29:24 christos Exp $ d129 1 a129 1 69 NOARGS { int sys_sbrk(int incr); } @ 1.52.4.1 log @Update from trunk. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.53 1999/07/12 21:55:20 kleink Exp $ d129 1 a129 1 69 NOARGS { int sys_sbrk(intptr_t incr); } @ 1.51 log @Const poisoning and CHECK_ALT_CREAT fixes @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.50 1998/12/18 18:49:59 drochner Exp $ d302 1 a302 1 177 STD { int sunos_sys_fchroot(int fd); } @ 1.50 log @remove compat_xxx dependencies where they don't belong @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.49 1998/12/10 17:03:20 christos Exp $ d54 2 a55 1 5 STD { int sunos_sys_open(char *path, int flags, int mode); } d59 1 a59 1 8 STD { int sunos_sys_creat(char *path, int mode); } d62 1 a62 1 11 STD { int sunos_sys_execv(char *path, char **argp); } d65 2 a66 1 14 STD { int sunos_sys_mknod(char *path, int mode, int dev); } d86 1 a86 1 33 STD { int sunos_sys_access(char *path, int flags); } d91 2 a92 1 38 STD { int sunos_sys_stat(char *path, struct stat43 *ub); } d94 2 a95 1 40 STD { int sunos_sys_lstat(char *path, struct stat43 *ub); } d117 1 a117 1 59 STD { int sunos_sys_execve(char *path, char **argp, \ d254 1 a254 1 157 STD { int sunos_sys_statfs(char *path, \ @ 1.49 log @Defopt COMPAT_43 @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.48 1998/10/19 22:40:29 tron Exp $ a35 1 #include "opt_compat_43.h" @ 1.48 log @Defopt SYSVMSG, SYSVSEM and SYSVSHM. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.47 1998/09/13 22:28:17 pk Exp $ d36 1 @ 1.47 log @Signal compat: sunos sigset_t conversions; new sunos_sigvec() & sunos_sigpending() @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.46 1998/06/25 22:19:12 thorpej Exp $ d35 1 @ 1.46 log @defopt NFSSERVER @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.45 1998/02/19 00:43:56 thorpej Exp $ d180 1 a180 1 111 NOARGS { int sys_sigsuspend(int mask); } @ 1.45 log @Include the NFS option header. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.44 1997/10/19 18:48:16 christos Exp $ d33 2 @ 1.44 log @Make mman(2) functions args consistent (caddr_t -> void *) @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.43 1997/10/16 23:54:17 christos Exp $ d32 3 a34 1 ; #include's are copied to the syscall switch definition file only. @ 1.43 log @ostat -> stat43 @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.42 1997/10/10 12:45:01 fvdl Exp $ d100 1 a100 1 53 STD { int sunos_sys_mctl(caddr_t addr, int len, int func, \ d122 1 a122 1 71 STD { int sunos_sys_mmap(caddr_t addr, size_t len, \ d125 2 a126 2 73 NOARGS { int sys_munmap(caddr_t addr, size_t len); } 74 NOARGS { int sys_mprotect(caddr_t addr, size_t len, \ d128 1 a128 1 75 NOARGS { int sys_madvise(caddr_t addr, size_t len, \ d132 1 a132 1 78 NOARGS { int sys_mincore(caddr_t addr, size_t len, \ @ 1.42 log @sys_getdirentries -> compat_12_sys_getdirentries from Juergen Hannken-Illjes. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.41 1997/06/13 19:09:12 thorpej Exp $ d84 1 a84 1 38 STD { int sunos_sys_stat(char *path, struct ostat *ub); } d86 1 a86 1 40 STD { int sunos_sys_lstat(char *path, struct ostat *ub); } d112 1 a112 1 62 NOARGS { int compat_43_sys_fstat(int fd, struct ostat *sb); } @ 1.41 log @Use compat_12_sys_swapon(). @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.40 1997/06/12 19:01:02 mrg Exp $ d243 1 a243 1 156 NOARGS { int sys_getdirentries(int fd, char *buf, \ @ 1.41.4.1 log @Update marc-pcmcia branch from trunk. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.42 1997/10/10 12:45:01 fvdl Exp $ d243 1 a243 1 156 NOARGS { int compat_12_sys_getdirentries(int fd, char *buf, \ @ 1.40 log @now need sunos_sys_swapon() as ours is different. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.39.6.1 1997/06/01 14:07:14 mrg Exp $ d141 1 a141 1 85 STD { int sunos_sys_swapon(char *name); } @ 1.39 log @NFSCLIENT -> NFS @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.38 1996/09/07 14:22:01 mycroft Exp $ d141 1 a141 1 85 NOARGS { int sys_swapon(char *name); } @ 1.39.6.1 log @we now need sunos_sys_swapon(). @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.39 1997/01/31 02:18:56 thorpej Exp $ d141 1 a141 1 85 STD { int sunos_sys_swapon(char *name); } @ 1.39.2.1 log @initial work for dynamic swap additions. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.39 1997/01/31 02:18:56 thorpej Exp $ d141 1 a141 1 85 STD { int compat_12_sys_swapon(char *name); } @ 1.38 log @Modify poll(2) prototype. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.37 1996/09/07 12:40:49 mycroft Exp $ d250 1 a250 1 #ifdef NFSCLIENT @ 1.38.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.38 1996/09/07 14:22:01 mycroft Exp $ d250 1 a250 1 #ifdef NFS @ 1.37 log @Implement poll(2). @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.36 1996/08/30 23:07:49 christos Exp $ d235 1 a235 1 153 NOARGS { int sys_poll(struct pollfd *fds, size_t nfds, \ @ 1.36 log @add obsolete stime(2) @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.35 1996/08/26 22:49:48 thorpej Exp $ d38 1 d40 1 d235 2 a236 2 153 STD { int sunos_sys_poll(struct sunos_pollfd *fds, \ long nfds, int timeout); } @ 1.35 log @Implement sunos_sys_execve(). The previous code simply called sys_execve() without doing an alternate patch check, which was incorrect. Bug pointed out by Krister Walfridsson on port-sparc@@NetBSD.ORG. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.34 1996/06/23 11:15:37 mycroft Exp $ d68 1 a68 1 25 UNIMPL sunos_stime @ 1.34 log @Catch up with setre[ug]id() changes. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.33 1996/02/28 16:05:43 pk Exp $ d106 1 a106 1 59 NOARGS { int sys_execve(char *path, char **argp, \ @ 1.33 log @Insert sunos_sys_fcntl(). @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.32 1995/10/07 06:27:35 mycroft Exp $ d199 2 a200 2 126 NOARGS { int compat_43_sys_setreuid(int ruid, int euid); } 127 NOARGS { int compat_43_sys_setregid(int rgid, int egid); } @ 1.33.4.1 log @From trunk: Implement setre[ug]id() for real. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.34 1996/06/23 11:15:37 mycroft Exp $ d199 2 a200 2 126 NOARGS { int sys_setreuid(int ruid, int euid); } 127 NOARGS { int sys_setregid(int rgid, int egid); } @ 1.33.4.2 log @From trunk: Do execv() and execve() path name translation consistently across emulations. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.33.4.1 1996/12/10 08:11:51 mycroft Exp $ d106 1 a106 1 59 STD { int sunos_sys_execve(char *path, char **argp, \ @ 1.32 log @Prefix names of system call implementation functions with `sys_'. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.31 1995/07/05 13:14:17 pk Exp $ d149 1 a149 1 92 NOARGS { int sys_fcntl(int fd, int cmd, void *arg); } @ 1.31 log @Start using sunos_sigvec(). @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.30 1995/06/25 14:58:22 briggs Exp $ d42 14 a55 14 0 NOARGS { int nosys(void); } syscall 1 NOARGS { int exit(int rval); } 2 NOARGS { int fork(void); } 3 NOARGS { int read(int fd, char *buf, u_int nbyte); } 4 NOARGS { int write(int fd, char *buf, u_int nbyte); } 5 STD { int sunos_open(char *path, int flags, int mode); } 6 NOARGS { int close(int fd); } 7 STD { int sunos_wait4(int pid, int *status, int options, \ struct rusage *rusage); } 8 STD { int sunos_creat(char *path, int mode); } 9 NOARGS { int link(char *path, char *link); } 10 NOARGS { int unlink(char *path); } 11 STD { int sunos_execv(char *path, char **argp); } 12 NOARGS { int chdir(char *path); } d57 4 a60 4 14 STD { int sunos_mknod(char *path, int mode, int dev); } 15 NOARGS { int chmod(char *path, int mode); } 16 NOARGS { int chown(char *path, int uid, int gid); } 17 NOARGS { int obreak(char *nsize); } break d62 2 a63 2 19 NOARGS { long compat_43_lseek(int fd, long offset, int whence); } 20 NOARGS { pid_t getpid(void); } d66 2 a67 2 23 NOARGS { int setuid(uid_t uid); } 24 NOARGS { uid_t getuid(void); } d69 2 a70 2 26 STD { long sunos_ptrace(int req, int pid, char *addr, \ int data, char *addr2); } d77 1 a77 1 33 STD { int sunos_access(char *path, int flags); } d80 3 a82 3 36 NOARGS { int sync(void); } 37 NOARGS { int kill(int pid, int signum); } 38 STD { int sunos_stat(char *path, struct ostat *ub); } d84 3 a86 3 40 STD { int sunos_lstat(char *path, struct ostat *ub); } 41 NOARGS { int dup(u_int fd); } 42 NOARGS { int pipe(void); } d88 1 a88 1 44 NOARGS { int profil(caddr_t samples, u_int size, \ d91 2 a92 2 46 NOARGS { int setgid(uid_t gid); } 47 NOARGS { gid_t getgid(void); } d96 1 a96 1 51 NOARGS { int acct(char *path); } d98 1 a98 1 53 STD { int sunos_mctl(caddr_t addr, int len, int func, \ d100 3 a102 2 54 STD { int sunos_ioctl(int fd, u_long com, caddr_t data); } 55 STD { int sunos_reboot(int howto, char *bootstr); } d104 7 a110 6 57 NOARGS { int symlink(char *path, char *link); } 58 NOARGS { int readlink(char *path, char *buf, int count); } 59 NOARGS { int execve(char *path, char **argp, char **envp); } 60 NOARGS { int umask(int newmask); } 61 NOARGS { int chroot(char *path); } 62 NOARGS { int compat_43_fstat(int fd, struct ostat *sb); } d112 4 a115 3 64 NOARGS { int compat_43_getpagesize(void); } 65 STD { int sunos_omsync(caddr_t addr, int len, int flags); } 66 NOARGS { int vfork(void); } d118 11 a128 9 69 NOARGS { int sbrk(int incr); } 70 NOARGS { int sstk(int incr); } 71 STD { int sunos_mmap(caddr_t addr, int len, int prot, \ u_int flags, int fd, long pos); } 72 NOARGS { int ovadvise(int anom); } vadvise 73 NOARGS { int munmap(caddr_t addr, int len); } 74 NOARGS { int mprotect(caddr_t addr, int len, int prot); } 75 NOARGS { int madvise(caddr_t addr, int len, int behav); } 76 STD { int sunos_vhangup(void); } d130 18 a147 14 78 NOARGS { int mincore(caddr_t addr, int len, char *vec); } 79 NOARGS { int getgroups(u_int gidsetsize, gid_t *gidset); } 80 NOARGS { int setgroups(u_int gidsetsize, gid_t *gidset); } 81 NOARGS { int getpgrp(void); } 82 STD { int sunos_setpgid(int pid, int pgid); } 83 NOARGS { int setitimer(u_int which, struct itimerval *itv, \ struct itimerval *oitv); } 84 UNIMPL { int sunos_wait(void); } 85 NOARGS { int swapon(char *name); } 86 NOARGS { int getitimer(u_int which, struct itimerval *itv); } 87 NOARGS { int compat_43_gethostname(char *hostname, u_int len); } 88 NOARGS { int compat_43_sethostname(char *hostname, u_int len); } 89 NOARGS { int compat_43_getdtablesize(void); } 90 NOARGS { int dup2(u_int from, u_int to); } d149 2 a150 2 92 NOARGS { int fcntl(int fd, int cmd, void *arg); } 93 NOARGS { int select(u_int nd, fd_set *in, fd_set *ou, \ d153 11 a163 8 95 NOARGS { int fsync(int fd); } 96 NOARGS { int setpriority(int which, int who, int prio); } 97 NOARGS { int socket(int domain, int type, int protocol); } 98 NOARGS { int connect(int s, caddr_t name, int namelen); } 99 NOARGS { int compat_43_accept(int s, caddr_t name, int *anamelen); } 100 NOARGS { int getpriority(int which, int who); } 101 NOARGS { int compat_43_send(int s, caddr_t buf, int len, int flags); } 102 NOARGS { int compat_43_recv(int s, caddr_t buf, int len, int flags); } d165 2 a166 2 104 NOARGS { int bind(int s, caddr_t name, int namelen); } 105 STD { int sunos_setsockopt(int s, int level, int name, \ d168 1 a168 1 106 NOARGS { int listen(int s, int backlog); } d170 1 a170 1 108 STD { int sunos_sigvec(int signum, struct sigvec *nsv, \ d172 4 a175 4 109 NOARGS { int compat_43_sigblock(int mask); } 110 NOARGS { int compat_43_sigsetmask(int mask); } 111 NOARGS { int sigsuspend(int mask); } 112 NOARGS { int compat_43_sigstack(struct sigstack *nss, \ d177 4 a180 2 113 NOARGS { int compat_43_recvmsg(int s, struct omsghdr *msg, int flags); } 114 NOARGS { int compat_43_sendmsg(int s, caddr_t msg, int flags); } d182 1 a182 1 116 NOARGS { int gettimeofday(struct timeval *tp, \ d184 2 a185 2 117 NOARGS { int getrusage(int who, struct rusage *rusage); } 118 NOARGS { int getsockopt(int s, int level, int name, \ d188 3 a190 2 120 NOARGS { int readv(int fd, struct iovec *iovp, u_int iovcnt); } 121 NOARGS { int writev(int fd, struct iovec *iovp, \ d192 1 a192 1 122 NOARGS { int settimeofday(struct timeval *tv, \ d194 11 a204 10 123 NOARGS { int fchown(int fd, int uid, int gid); } 124 NOARGS { int fchmod(int fd, int mode); } 125 NOARGS { int compat_43_recvfrom(int s, caddr_t buf, size_t len, \ int flags, caddr_t from, int *fromlenaddr); } 126 NOARGS { int compat_43_setreuid(int ruid, int euid); } 127 NOARGS { int compat_43_setregid(int rgid, int egid); } 128 NOARGS { int rename(char *from, char *to); } 129 NOARGS { int compat_43_truncate(char *path, long length); } 130 NOARGS { int compat_43_ftruncate(int fd, long length); } 131 NOARGS { int flock(int fd, int how); } d206 1 a206 1 133 NOARGS { int sendto(int s, caddr_t buf, size_t len, \ d208 8 a215 8 134 NOARGS { int shutdown(int s, int how); } 135 NOARGS { int socketpair(int domain, int type, int protocol, \ int *rsv); } 136 NOARGS { int mkdir(char *path, int mode); } 137 NOARGS { int rmdir(char *path); } 138 NOARGS { int utimes(char *path, struct timeval *tptr); } 139 STD { int sunos_sigreturn(struct sigcontext *sigcntxp); } 140 NOARGS { int adjtime(struct timeval *delta, \ d217 3 a219 2 141 NOARGS { int compat_43_getpeername(int fdes, caddr_t asa, int *alen); } 142 NOARGS { int compat_43_gethostid(void); } d221 5 a225 3 144 STD { int sunos_getrlimit(u_int which, struct orlimit *rlp); } 145 STD { int sunos_setrlimit(u_int which, struct orlimit *rlp); } 146 NOARGS { int compat_43_killpg(int pgid, int signum); } d229 2 a230 1 150 NOARGS { int compat_43_getsockname(int fdes, caddr_t asa, int *alen); } d233 2 a234 2 153 STD { int sunos_poll(struct sunos_pollfd *fds, long nfds, \ int timeout); } d237 1 a237 1 155 STD { int sunos_nfssvc(int fd); } d241 7 a247 5 156 NOARGS { int getdirentries(int fd, char *buf, u_int count, \ long *basep); } 157 STD { int sunos_statfs(char *path, struct sunos_statfs *buf); } 158 STD { int sunos_fstatfs(int fd, struct sunos_statfs *buf); } 159 STD { int sunos_unmount(char *path, int flags); } d250 1 a250 1 161 NOARGS { int getfh(char *fname, fhandle_t *fhp); } d255 4 a258 2 162 NOARGS { int compat_09_getdomainname(char *domainname, int len); } 163 NOARGS { int compat_09_setdomainname(char *domainname, int len); } d260 7 a266 6 165 STD { int sunos_quotactl(int cmd, char *special, int uid, \ caddr_t addr); } 166 STD { int sunos_exportfs(char *path, char *ex); } 167 STD { int sunos_mount(char *type, char *dir, int flags, \ caddr_t data); } 168 STD { int sunos_ustat(int dev, struct sunos_ustat *buf); } d268 2 a269 2 169 NOARGS { int compat_10_semsys(int which, int a2, int a3, int a4, \ int a5); } d271 1 a271 1 169 UNIMPL nosys d274 2 a275 2 170 NOARGS { int compat_10_msgsys(int which, int a2, int a3, int a4, \ int a5, int a6); } d277 1 a277 1 170 UNIMPL nosys d280 2 a281 1 171 NOARGS { int compat_10_shmsys(int which, int a2, int a3, int a4); } d283 1 a283 1 171 UNIMPL nosys d285 1 a285 1 172 STD { int sunos_auditsys(char *record); } d287 5 a291 4 174 STD { int sunos_getdents(int fd, char *buf, int nbytes); } 175 NOARGS { int setsid(void); } 176 NOARGS { int fchdir(int fd); } 177 STD { int sunos_fchroot(int fd); } d297 1 a297 1 183 STD { int sunos_sigpending(int *mask); } d299 5 a303 5 185 NOARGS { int setpgid(int pid, int pgid); } 186 NOARGS { long pathconf(char *path, int name); } 187 NOARGS { long fpathconf(int fd, int name); } 188 STD { int sunos_sysconf(int name); } 189 STD { int sunos_uname(struct sunos_utsname *name); } @ 1.30 log @Oops... NOARGS for compat_43_sigvec. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.29 1995/06/25 14:18:35 briggs Exp $ d158 1 a158 1 108 NOARGS { int compat_43_sigvec(int signum, struct sigvec *nsv, \ @ 1.29 log @sigvec -> compat_43_sigvec. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.28 1995/06/24 20:23:02 christos Exp $ d158 1 a158 1 108 STD { int compat_43_sigvec(int signum, struct sigvec *nsv, \ @ 1.28 log @Use compat_util.[ch] @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.27 1995/06/11 22:34:06 pk Exp $ d158 1 a158 1 108 STD { int sigvec(int signum, struct sigvec *nsv, \ @ 1.27 log @Go with the flow; use `/emul/sunos' pseudo-root (from Matthew Green). Note: sunos_stat() and sunos_lstat() were added too. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.26 1995/04/22 23:45:33 christos Exp $ d158 1 a158 1 108 NOARGS { int compat_43_sigvec(int signum, struct sigvec *nsv, \ @ 1.26 log @Added sunos_reboot(). @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.25 1995/04/22 19:48:52 christos Exp $ d77 1 a77 1 33 NOARGS { int access(char *path, int flags); } d82 1 a82 1 38 NOARGS { int compat_43_stat(char *path, struct ostat *ub); } d84 1 a84 1 40 NOARGS { int compat_43_lstat(char *path, struct ostat *ub); } @ 1.25 log @- added struct emul to all emulations. - removed all setup functions. - added copyargs() functions where needed. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.24 1994/12/06 00:17:06 deraadt Exp $ d101 1 a101 1 55 NOARGS { int reboot(int opt); } @ 1.24 log @repair SYSV_* system calls @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.23 1994/11/25 23:59:31 deraadt Exp $ d198 1 a198 1 139 NOARGS { int sigreturn(struct sigcontext *sigcntxp); } @ 1.23 log @a few other things which work @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.21 1994/11/14 07:33:50 deraadt Exp $ d243 1 a243 1 169 NOARGS { int semsys(int which, int a2, int a3, int a4, \ d246 1 a246 1 169 UNIMPL 1.0 semsys d249 1 a249 1 170 NOARGS { int msgsys(int which, int a2, int a3, int a4, \ d252 1 a252 1 170 UNIMPL 1.0 msgsys d255 1 a255 1 171 NOARGS { int shmsys(int which, int a2, int a3, int a4); } d257 1 a257 1 171 UNIMPL 1.0 shmsys @ 1.22 log @sunos ptrace & poll emulation @ text @d91 1 a91 1 46 UNIMPL sunos_setgid d132 1 a132 1 84 UNIMPL { int wait(void); } d273 2 a274 2 186 UNIMPL { long pathconf(char *path, int name); } 187 UNIMPL { long fpathconf(int fd, int name); } @ 1.21 log @fix sunos_mmap @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.20 1994/10/26 02:57:11 cgd Exp $ d69 2 a70 1 26 UNIMPL sunos_ptrace d213 2 a214 1 153 UNIMPL poll @ 1.20 log @new RCS ID format. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.19 1994/10/26 01:03:43 deraadt Exp $ d117 1 a117 1 int flags, int fd, long pos); } @ 1.19 log @whoops @ text @d1 2 a2 1 $NetBSD: syscalls.master,v 1.18 1994/10/25 23:03:33 deraadt Exp $ @ 1.18 log @rename, new syscall interface, etc. @ text @d1 1 a1 1 $NetBSD: syscalls.master,v 1.17 1994/06/29 06:30:25 cgd Exp $ d39 1 a39 1 #include @ 1.17 log @New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD' @ text @d1 1 a1 1 $NetBSD$ a2 2 ; System call name/number master file (or rather, slave, from SunOS). ; Processed to created sun_sysent.c, sun_syscalls.c and sun_syscall.h. d4 4 a7 1 ; Columns: number type nargs name altname/comments d9 3 a11 6 ; type one of STD, OBSOL, UNIMPL, COMPAT ; nargs number of arguments ; name name of syscall routine ; altname name of system call if different ; for UNIMPL/OBSOL, name continues with comments d14 18 a31 4 ; COMPAT included on COMPAT #ifdef ; LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h ; OBSOL obsolete, not included in system, only specifies name ; UNIMPL not implemented, placeholder only d33 7 a39 1 ; #ifdef's, etc. may be included, and are copied to the output files. d41 172 a212 155 0 STD 0 nosys syscall 1 STD 1 exit 2 STD 0 fork 3 STD 3 read 4 STD 3 write 5 STD 3 sun_open 6 STD 1 close 7 STD 4 sun_wait4 8 STD 2 sun_creat 9 STD 2 link 10 STD 1 unlink 11 STD 2 sun_execv 12 STD 1 chdir 13 COMPAT 0 sun_time 14 STD 3 sun_mknod 15 STD 2 chmod 16 STD 3 chown 17 STD 1 obreak break 18 COMPAT 2 sun_stat 19 STD 3 olseek lseek 20 STD 0 getpid 21 OBSOL 1 sun_old_mount 22 UNIMPL 1 System V umount 23 COMPAT 1 setuid 24 STD 0 getuid 25 COMPAT 1 sun_stime 26 UNIMPL 5 sun_ptrace 27 COMPAT 1 sun_alarm 28 COMPAT 1 sun_fstat 29 COMPAT 0 sun_pause 30 COMPAT 2 sun_utime 31 UNIMPL 0 was stty 32 UNIMPL 0 was gtty 33 STD 2 access 34 COMPAT 1 sun_nice 35 COMPAT 1 sun_ftime 36 STD 0 sync 37 STD 2 kill 38 STD 2 ostat stat 39 COMPAT 2 sun_setpgrp 40 STD 2 olstat lstat 41 STD 2 dup 42 STD 0 pipe 43 COMPAT 1 sun_times 44 STD 4 profil 45 UNIMPL 0 nosys 46 COMPAT 1 sun_setgid 47 STD 0 getgid 48 COMPAT 2 sun_ssig 49 UNIMPL 0 reserved for USG 50 UNIMPL 0 reserved for USG 51 STD 1 acct 52 UNIMPL 0 nosys 53 STD 4 sun_mctl 54 STD 3 sun_ioctl 55 STD 2 reboot 56 OBSOL 3 sun_owait3 57 STD 2 symlink 58 STD 3 readlink 59 STD 3 execve 60 STD 1 umask 61 STD 1 chroot 62 STD 2 ofstat 63 UNIMPL 0 nosys 64 STD 0 ogetpagesize 65 STD 3 sun_omsync 66 STD 0 vfork 67 OBSOL 0 vread 68 OBSOL 0 vwrite 69 STD 1 sbrk 70 STD 1 sstk 71 STD 6 sun_mmap mmap 72 STD 1 ovadvise vadvise 73 STD 2 munmap 74 STD 3 mprotect 75 STD 3 madvise 76 STD 0 sun_vhangup 77 COMPAT 0 vlimit 78 STD 3 mincore 79 STD 2 getgroups 80 STD 2 setgroups 81 STD 1 getpgrp 82 STD 2 sun_setpgid 83 STD 3 setitimer 84 COMPAT 0 wait 85 STD 1 swapon 86 STD 2 getitimer 87 STD 2 ogethostname 88 STD 2 osethostname 89 STD 0 ogetdtablesize 90 STD 2 dup2 91 UNIMPL 2 getdopt 92 STD 3 fcntl 93 STD 5 select 94 UNIMPL 2 setdopt 95 STD 1 fsync 96 STD 3 setpriority 97 STD 3 socket 98 STD 3 connect 99 STD 3 oaccept 100 STD 2 getpriority 101 STD 4 osend 102 STD 4 orecv 103 UNIMPL 0 old socketaddr 104 STD 3 bind 105 STD 5 sun_setsockopt 106 STD 2 listen 107 COMPAT 0 vtimes 108 STD 3 osigvec 109 STD 1 osigblock 110 STD 1 osigsetmask 111 STD 1 sigsuspend 112 STD 2 osigstack 113 STD 3 orecvmsg 114 STD 3 osendmsg 115 OBSOL 3 vtrace 116 STD 2 gettimeofday 117 STD 2 getrusage 118 STD 5 getsockopt 119 UNIMPL 0 nosys 120 STD 3 readv 121 STD 3 writev 122 STD 2 settimeofday 123 STD 3 fchown 124 STD 2 fchmod 125 STD 6 orecvfrom 126 STD 2 osetreuid 127 STD 2 osetregid 128 STD 2 rename 129 STD 2 otruncate truncate 130 STD 2 oftruncate ftruncate 131 STD 2 flock 132 UNIMPL 0 nosys 133 STD 6 sendto 134 STD 2 shutdown 135 STD 5 socketpair 136 STD 2 mkdir 137 STD 1 rmdir 138 STD 2 utimes 139 STD 1 sigreturn 140 STD 2 adjtime 141 STD 3 ogetpeername 142 STD 0 ogethostid 143 UNIMPL 1 old sethostid 144 STD 2 sun_getrlimit 145 STD 2 sun_setrlimit 146 STD 2 okillpg 147 UNIMPL 0 nosys 148 UNIMPL 0 nosys 149 UNIMPL 0 nosys 150 STD 3 ogetsockname 151 UNIMPL 4 getmsg 152 UNIMPL 4 putmsg 153 UNIMPL 3 poll 154 UNIMPL 0 nosys d214 1 a214 1 155 STD 0 sun_nfssvc d216 1 a216 1 155 UNIMPL 0 nosys d218 5 a222 4 156 STD 4 getdirentries 157 STD 2 sun_statfs 158 STD 2 sun_fstatfs 159 STD 1 sun_unmount d224 2 a225 2 160 STD 0 async_daemon 161 STD 2 getfh d227 2 a228 2 160 UNIMPL 0 nosys 161 UNIMPL 0 nosys d230 9 a238 7 162 STD 2 ogetdomainname 163 STD 2 osetdomainname 164 UNIMPL 5 rtschedule 165 STD 4 sun_quotactl 166 STD 2 sun_exportfs 167 STD 4 sun_mount 168 STD 2 sun_ustat d240 2 a241 1 169 STD 5 semsys d243 1 a243 1 169 UNIMPL 0 nosys d246 2 a247 1 170 STD 6 msgsys d249 1 a249 1 170 UNIMPL 0 nosys d252 1 a252 1 171 STD 4 shmsys d254 1 a254 1 171 UNIMPL 0 nosys d256 18 a273 18 172 STD 4 sun_auditsys 173 UNIMPL 5 rfssys 174 STD 3 sun_getdents 175 STD 1 setsid 176 STD 1 fchdir 177 STD 1 sun_fchroot 178 UNIMPL 0 vpixsys 179 UNIMPL 0 aioread 180 UNIMPL 0 aiowrite 181 UNIMPL 0 aiowait 182 UNIMPL 0 aiocancel 183 STD 1 sun_sigpending 184 UNIMPL 0 nosys 185 STD 2 setpgid 186 UNIMPL 2 pathconf 187 UNIMPL 2 fpathconf 188 STD 1 sun_sysconf 189 STD 1 sun_uname @ 1.16 log @update to match recent getdtablesize() change @ text @d1 2 a2 2 $Id: syscalls.master,v 1.15 1994/05/07 05:06:35 deraadt Exp $ ; from: @@(#)syscalls.master 8.1 (Berkeley) 7/19/93 @ 1.15 log @backwards compat for a few things. @ text @d1 1 a1 1 $Id: syscalls.master,v 1.14 1994/05/01 06:14:50 cgd Exp $ d112 1 a112 1 89 STD 0 getdtablesize @ 1.14 log @three changes i forgot, from Gordon Ross (gwr@@lamp) @ text @d1 1 a1 1 $Id: syscalls.master,v 1.13 1994/04/26 19:50:47 pk Exp $ d87 1 a87 1 64 STD 0 getpagesize d110 2 a111 2 87 STD 2 gethostname 88 STD 2 sethostname d135 1 a135 1 112 STD 2 sigstack d165 1 a165 1 142 STD 0 gethostid d194 2 a195 2 162 STD 2 getdomainname 163 STD 2 setdomainname @ 1.13 log @SunOS's RLIMIT_NOFILE is different: add sun_[gs]rlimit(). @ text @d1 1 a1 1 $Id: syscalls.master,v 1.12 1994/03/27 08:51:52 cgd Exp $ d24 1 a24 1 1 STD 1 rexit exit d56 1 a56 1 33 STD 2 saccess access d74 1 a74 1 51 STD 1 sysacct acct @ 1.12 log @fix botch @ text @d1 1 a1 1 $Id: syscalls.master,v 1.11 1994/03/27 08:35:52 cgd Exp $ d167 2 a168 2 144 STD 2 getrlimit 145 STD 2 setrlimit @ 1.11 log @do the syscall shuffle @ text @d1 1 a1 1 $Id: syscalls.master,v 1.10 1994/03/03 14:08:27 deraadt Exp $ d153 1 a153 1 130 STD 2 oftruncate truncate @ 1.10 log @first cut at a SUNOS_COMPAT sysconf() system call. @ text @d1 1 a1 1 $Id: syscalls.master,v 1.9 1993/12/12 20:43:24 deraadt Exp $ d42 1 a42 1 19 STD 3 lseek d61 1 a61 1 38 STD 2 stat d63 1 a63 1 40 STD 2 lstat d85 1 a85 1 62 STD 2 fstat d152 2 a153 2 129 STD 2 truncate 130 STD 2 ftruncate @ 1.9 log @m68k/sparc sunos binary compatibility code, pulled down from magnum branch for consumption by the m68k masses @ text @d1 1 a1 1 $Id: syscalls.master,v 1.8.2.7 1993/12/01 15:19:59 pk Exp $ d232 1 a232 1 188 UNIMPL 1 sysconf @ 1.8 log @moved from arch/sparc/sunos to compat/sunos @ text @d1 1 a1 1 $Id: syscalls.master,v 1.7 1993/11/20 03:01:58 deraadt Exp deraadt $ d37 1 a37 1 14 STD 3 mknod d99 1 a99 1 76 COMPAT 0 vhangup d178 3 d182 1 d184 2 a185 2 157 STD 2 statfs 158 STD 2 fstatfs d187 4 d193 1 d197 2 a198 2 165 UNIMPL 4 quotactl 166 UNIMPL 2 exportfs d200 1 a200 1 168 UNIMPL 2 ustat d222 5 a226 5 178 UNIMPL 0 nosys 179 UNIMPL 0 nosys 180 UNIMPL 0 nosys 181 UNIMPL 0 nosys 182 UNIMPL 0 nosys @ 1.8.2.1 log @file syscalls.master was added on branch magnum on 1993-11-26 13:25:49 +0000 @ text @d1 224 @ 1.8.2.2 log @support nfssvc, getfh, and async_daemon system calls. @ text @a0 233 $Id: syscalls.master,v 1.8.2.1 1993/11/26 13:25:49 deraadt Exp $ ; from: @@(#)syscalls.master 8.1 (Berkeley) 7/19/93 ; System call name/number master file (or rather, slave, from SunOS). ; Processed to created sun_sysent.c, sun_syscalls.c and sun_syscall.h. ; Columns: number type nargs name altname/comments ; number system call number, must be in order ; type one of STD, OBSOL, UNIMPL, COMPAT ; nargs number of arguments ; name name of syscall routine ; altname name of system call if different ; for UNIMPL/OBSOL, name continues with comments ; types: ; STD always included ; COMPAT included on COMPAT #ifdef ; LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h ; OBSOL obsolete, not included in system, only specifies name ; UNIMPL not implemented, placeholder only ; #ifdef's, etc. may be included, and are copied to the output files. 0 STD 0 nosys syscall 1 STD 1 rexit exit 2 STD 0 fork 3 STD 3 read 4 STD 3 write 5 STD 3 sun_open 6 STD 1 close 7 STD 4 sun_wait4 8 STD 2 sun_creat 9 STD 2 link 10 STD 1 unlink 11 STD 2 sun_execv 12 STD 1 chdir 13 COMPAT 0 sun_time 14 STD 3 mknod 15 STD 2 chmod 16 STD 3 chown 17 STD 1 obreak break 18 COMPAT 2 sun_stat 19 STD 3 lseek 20 STD 0 getpid 21 OBSOL 1 sun_old_mount 22 UNIMPL 1 System V umount 23 COMPAT 1 setuid 24 STD 0 getuid 25 COMPAT 1 sun_stime 26 UNIMPL 5 sun_ptrace 27 COMPAT 1 sun_alarm 28 COMPAT 1 sun_fstat 29 COMPAT 0 sun_pause 30 COMPAT 2 sun_utime 31 UNIMPL 0 was stty 32 UNIMPL 0 was gtty 33 STD 2 saccess access 34 COMPAT 1 sun_nice 35 COMPAT 1 sun_ftime 36 STD 0 sync 37 STD 2 kill 38 STD 2 stat 39 COMPAT 2 sun_setpgrp 40 STD 2 lstat 41 STD 2 dup 42 STD 0 pipe 43 COMPAT 1 sun_times 44 STD 4 profil 45 UNIMPL 0 nosys 46 COMPAT 1 sun_setgid 47 STD 0 getgid 48 COMPAT 2 sun_ssig 49 UNIMPL 0 reserved for USG 50 UNIMPL 0 reserved for USG 51 STD 1 sysacct acct 52 UNIMPL 0 nosys 53 STD 4 sun_mctl 54 STD 3 sun_ioctl 55 STD 2 reboot 56 OBSOL 3 sun_owait3 57 STD 2 symlink 58 STD 3 readlink 59 STD 3 execve 60 STD 1 umask 61 STD 1 chroot 62 STD 2 fstat 63 UNIMPL 0 nosys 64 STD 0 getpagesize 65 STD 3 sun_omsync 66 STD 0 vfork 67 OBSOL 0 vread 68 OBSOL 0 vwrite 69 STD 1 sbrk 70 STD 1 sstk 71 STD 6 sun_mmap mmap 72 STD 1 ovadvise vadvise 73 STD 2 munmap 74 STD 3 mprotect 75 STD 3 madvise 76 COMPAT 0 vhangup 77 COMPAT 0 vlimit 78 STD 3 mincore 79 STD 2 getgroups 80 STD 2 setgroups 81 STD 1 getpgrp 82 STD 2 sun_setpgid 83 STD 3 setitimer 84 COMPAT 0 wait 85 STD 1 swapon 86 STD 2 getitimer 87 STD 2 gethostname 88 STD 2 sethostname 89 STD 0 getdtablesize 90 STD 2 dup2 91 UNIMPL 2 getdopt 92 STD 3 fcntl 93 STD 5 select 94 UNIMPL 2 setdopt 95 STD 1 fsync 96 STD 3 setpriority 97 STD 3 socket 98 STD 3 connect 99 STD 3 oaccept 100 STD 2 getpriority 101 STD 4 osend 102 STD 4 orecv 103 UNIMPL 0 old socketaddr 104 STD 3 bind 105 STD 5 sun_setsockopt 106 STD 2 listen 107 COMPAT 0 vtimes 108 STD 3 osigvec 109 STD 1 osigblock 110 STD 1 osigsetmask 111 STD 1 sigsuspend 112 STD 2 sigstack 113 STD 3 orecvmsg 114 STD 3 osendmsg 115 OBSOL 3 vtrace 116 STD 2 gettimeofday 117 STD 2 getrusage 118 STD 5 getsockopt 119 UNIMPL 0 nosys 120 STD 3 readv 121 STD 3 writev 122 STD 2 settimeofday 123 STD 3 fchown 124 STD 2 fchmod 125 STD 6 orecvfrom 126 STD 2 osetreuid 127 STD 2 osetregid 128 STD 2 rename 129 STD 2 truncate 130 STD 2 ftruncate 131 STD 2 flock 132 UNIMPL 0 nosys 133 STD 6 sendto 134 STD 2 shutdown 135 STD 5 socketpair 136 STD 2 mkdir 137 STD 1 rmdir 138 STD 2 utimes 139 STD 1 sigreturn 140 STD 2 adjtime 141 STD 3 ogetpeername 142 STD 0 gethostid 143 UNIMPL 1 old sethostid 144 STD 2 getrlimit 145 STD 2 setrlimit 146 STD 2 okillpg 147 UNIMPL 0 nosys 148 UNIMPL 0 nosys 149 UNIMPL 0 nosys 150 STD 3 ogetsockname 151 UNIMPL 4 getmsg 152 UNIMPL 4 putmsg 153 UNIMPL 3 poll 154 UNIMPL 0 nosys #ifdef NFSSERVER 155 STD 0 sun_nfssvc #else 155 UNIMPL 0 nosys #endif 156 STD 4 getdirentries 157 STD 2 statfs 158 STD 2 fstatfs 159 STD 1 sun_unmount #ifdef NFSCLIENT 160 STD 0 async_daemon 161 STD 2 getfh #else 160 UNIMPL 0 nosys 161 UNIMPL 0 nosys #endif 162 STD 2 getdomainname 163 STD 2 setdomainname 164 UNIMPL 5 rtschedule 165 UNIMPL 4 quotactl 166 UNIMPL 2 exportfs 167 STD 4 sun_mount 168 UNIMPL 2 ustat #ifdef SYSVSEM 169 STD 5 semsys #else 169 UNIMPL 0 nosys #endif #ifdef SYSVMSG 170 STD 6 msgsys #else 170 UNIMPL 0 nosys #endif #ifdef SYSVSHM 171 STD 4 shmsys #else 171 UNIMPL 0 nosys #endif 172 STD 4 sun_auditsys 173 UNIMPL 5 rfssys 174 STD 3 sun_getdents 175 STD 1 setsid 176 STD 1 fchdir 177 STD 1 sun_fchroot 178 UNIMPL 0 vpixsys 179 UNIMPL 0 aioread 180 UNIMPL 0 aiowrite 181 UNIMPL 0 aiowait 182 UNIMPL 0 aiocancel 183 STD 1 sun_sigpending 184 UNIMPL 0 nosys 185 STD 2 setpgid 186 UNIMPL 2 pathconf 187 UNIMPL 2 fpathconf 188 UNIMPL 1 sysconf 189 STD 1 sun_uname @ 1.8.2.3 log @add ustat(2) system call. bleah. @ text @d1 1 a1 1 $Id: syscalls.master,v 1.8.2.2 1993/11/26 13:37:35 deraadt Exp $ d200 1 a200 1 168 STD 2 sun_ustat @ 1.8.2.4 log @support quotactl(2) @ text @d1 1 a1 1 $Id: syscalls.master,v 1.8.2.3 1993/11/26 23:53:14 deraadt Exp $ d197 1 a197 1 165 STD 4 sun_quotactl @ 1.8.2.5 log @support sunos vhangup(2) call (getty needs it) @ text @d1 1 a1 1 $Id: syscalls.master,v 1.8.2.4 1993/11/27 02:18:43 deraadt Exp $ d99 1 a99 1 76 STD 0 sun_vhangup @ 1.8.2.6 log @statfs(2) is different.. @ text @d1 1 a1 1 $Id: syscalls.master,v 1.8.2.5 1993/11/27 02:58:46 deraadt Exp $ d184 2 a185 2 157 STD 2 sun_statfs 158 STD 2 sun_fstatfs @ 1.8.2.7 log @very rudimentary exportfs(2) support, ie. "return 0" @ text @d1 1 a1 1 $Id: syscalls.master,v 1.8.2.6 1993/11/27 08:22:26 deraadt Exp $ d198 1 a198 1 166 STD 2 sun_exportfs @ 1.8.2.8 log @Introduced sun_mknod() which also deals with FIFOs (ie. `mknod xxx p' on SunOS). @ text @d1 1 a1 1 $Id: syscalls.master,v 1.8.2.7 1993/12/01 15:19:59 pk Exp $ d37 1 a37 1 14 STD 3 sun_mknod @ 1.7 log @new compat functions: sun_open, sun_auditsys, sun_setpgid, sun_uname some from Markus. @ text @d1 1 a1 1 $Id: syscalls.master,v 1.6 1993/11/14 14:56:05 deraadt Exp $ @ 1.6 log @update to kern/syscalls.master, for SYSVSEM & SYSVMSG @ text @d1 1 a1 1 $Id: syscalls.master,v 1.5 1993/11/10 00:59:10 deraadt Exp $ d28 1 a28 1 5 STD 3 open d105 1 a105 1 82 STD 2 setpgid d207 1 a207 1 172 STD 4 auditsys d224 1 a224 1 189 UNIMPL 1 uname @ 1.5 log @update to 4.4 way of doing syscall#0 @ text @d1 1 a1 1 $Id: syscalls.master,v 1.4 1993/10/15 10:58:42 deraadt Exp $ d192 10 a201 2 169 UNIMPL 5 semsys 170 UNIMPL 6 msgsys @ 1.4 log @use the standard {get,set}domainname stuff @ text @d1 1 a1 1 $Id: syscalls.master,v 1.3 1993/10/13 02:31:49 deraadt Exp $ d23 1 a23 1 0 UNIMPL 0 nosys syscall @ 1.3 log @Add a stub auditsys() system call that does nothing. SunOS /sbin/fsck calls it.. @ text @d1 1 a1 1 $Id: syscalls.master,v 1.2 1993/10/11 02:44:12 deraadt Exp $ d185 2 a186 2 162 STD 2 sun_getdomainname 163 STD 2 sun_setdomainname @ 1.2 log @various changes, suffice to say that 4.4 syscalls do not look like ours @ text @d1 1 a1 1 $Id: syscalls.master,v 1.1 1993/10/02 10:24:45 deraadt Exp $ d199 1 a199 1 172 UNIMPL 4 auditsys @ 1.1 log @Chris Torek's sparc port. Missing lots of things. @ text @d1 1 a1 1 $Id: $ d24 1 a24 1 1 STD 1 exit d42 1 a42 1 19 STD 3 olseek d56 1 a56 1 33 STD 2 access d61 1 a61 1 38 STD 2 ostat d63 1 a63 1 40 STD 2 olstat d74 1 a74 1 51 STD 1 acct d85 1 a85 1 62 STD 2 ofstat d87 1 a87 1 64 STD 0 ogetpagesize d110 2 a111 2 87 STD 2 ogethostname 88 STD 2 osethostname d135 1 a135 1 112 STD 2 osigstack d152 2 a153 2 129 STD 2 otruncate 130 STD 2 oftruncate d165 1 a165 1 142 STD 0 ogethostid d167 2 a168 2 144 STD 2 ogetrlimit 145 STD 2 osetrlimit @