head	1.32;
access;
symbols
	perseant-exfatfs-base-20250801:1.32
	perseant-exfatfs-base-20240630:1.32
	perseant-exfatfs:1.32.0.70
	perseant-exfatfs-base:1.32
	bouyer-sunxi-drm:1.32.0.68
	bouyer-sunxi-drm-base:1.32
	cjep_sun2x:1.32.0.66
	cjep_sun2x-base:1.32
	cjep_staticlib_x-base1:1.32
	cjep_staticlib_x:1.32.0.64
	cjep_staticlib_x-base:1.32
	thorpej-futex-base:1.32
	bouyer-xenpvh-base2:1.32
	phil-wifi-20200421:1.32
	bouyer-xenpvh-base1:1.32
	phil-wifi-20200411:1.32
	bouyer-xenpvh:1.32.0.62
	bouyer-xenpvh-base:1.32
	phil-wifi-20200406:1.32
	ad-namecache-base3:1.32
	ad-namecache-base2:1.32
	ad-namecache-base1:1.32
	ad-namecache:1.32.0.60
	ad-namecache-base:1.32
	isaki-audio2:1.32.0.58
	isaki-audio2-base:1.32
	pgoyette-compat-merge-20190127:1.32
	pgoyette-compat-20190127:1.32
	pgoyette-compat-20190118:1.32
	pgoyette-compat-1226:1.32
	pgoyette-compat-1126:1.32
	pgoyette-compat-1020:1.32
	pgoyette-compat-0930:1.32
	pgoyette-compat-0906:1.32
	pgoyette-compat-0728:1.32
	pgoyette-compat-0625:1.32
	pgoyette-compat-0521:1.32
	pgoyette-compat-0502:1.32
	pgoyette-compat-0422:1.32
	pgoyette-compat-0415:1.32
	pgoyette-compat-0407:1.32
	pgoyette-compat-0330:1.32
	pgoyette-compat-0322:1.32
	pgoyette-compat-0315:1.32
	pgoyette-compat:1.32.0.56
	pgoyette-compat-base:1.32
	perseant-stdc-iso10646:1.32.0.54
	perseant-stdc-iso10646-base:1.32
	prg-localcount2-base3:1.32
	prg-localcount2-base2:1.32
	prg-localcount2-base1:1.32
	prg-localcount2:1.32.0.52
	prg-localcount2-base:1.32
	pgoyette-localcount-20170426:1.32
	bouyer-socketcan-base1:1.32
	pgoyette-localcount-20170320:1.32
	bouyer-socketcan:1.32.0.50
	bouyer-socketcan-base:1.32
	pgoyette-localcount-20170107:1.32
	pgoyette-localcount-20161104:1.32
	localcount-20160914:1.32
	pgoyette-localcount-20160806:1.32
	pgoyette-localcount-20160726:1.32
	pgoyette-localcount:1.32.0.48
	pgoyette-localcount-base:1.32
	netbsd-5-2-3-RELEASE:1.32
	netbsd-5-1-5-RELEASE:1.32
	yamt-pagecache-base9:1.32
	yamt-pagecache-tag8:1.32
	tls-earlyentropy:1.32.0.46
	tls-earlyentropy-base:1.32
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.32
	riastradh-drm2-base3:1.32
	netbsd-5-2-2-RELEASE:1.32
	netbsd-5-1-4-RELEASE:1.32
	netbsd-5-2-1-RELEASE:1.32
	netbsd-5-1-3-RELEASE:1.32
	rmind-smpnet-nbase:1.32
	rmind-smpnet:1.32.0.42
	rmind-smpnet-base:1.32
	agc-symver:1.32.0.44
	agc-symver-base:1.32
	tls-maxphys-base:1.32
	yamt-pagecache-base8:1.32
	netbsd-5-2:1.32.0.40
	yamt-pagecache-base7:1.32
	netbsd-5-2-RELEASE:1.32
	netbsd-5-2-RC1:1.32
	yamt-pagecache-base6:1.32
	yamt-pagecache-base5:1.32
	yamt-pagecache-base4:1.32
	netbsd-5-1-2-RELEASE:1.32
	netbsd-5-1-1-RELEASE:1.32
	jmcneill-usbmp:1.32.0.38
	jmcneill-usbmp-base:1.32
	jmcneill-audiomp3:1.32.0.36
	jmcneill-audiomp3-base:1.32
	yamt-pagecache-base3:1.32
	yamt-pagecache-base2:1.32
	yamt-pagecache:1.32.0.34
	yamt-pagecache-base:1.32
	rmind-uvmplock-nbase:1.32
	bouyer-quota2-nbase:1.32
	bouyer-quota2:1.32.0.32
	bouyer-quota2-base:1.32
	jruoho-x86intr:1.32.0.30
	jruoho-x86intr-base:1.32
	matt-nb5-pq3:1.32.0.28
	matt-nb5-pq3-base:1.32
	netbsd-5-1:1.32.0.26
	netbsd-5-1-RELEASE:1.32
	yamt-nfs-mp-base11:1.32
	netbsd-5-1-RC4:1.32
	uebayasi-xip-base2:1.32
	yamt-nfs-mp-base10:1.32
	netbsd-5-1-RC3:1.32
	netbsd-5-1-RC2:1.32
	netbsd-5-1-RC1:1.32
	rmind-uvmplock:1.32.0.24
	rmind-uvmplock-base:1.32
	yamt-nfs-mp-base9:1.32
	uebayasi-xip:1.32.0.22
	uebayasi-xip-base:1.32
	netbsd-5-0-2-RELEASE:1.32
	yamt-nfs-mp-base8:1.32
	yamt-nfs-mp-base7:1.32
	netbsd-5-0-1-RELEASE:1.32
	jymxensuspend-base:1.32
	yamt-nfs-mp-base6:1.32
	yamt-nfs-mp-base5:1.32
	yamt-nfs-mp-base4:1.32
	jym-xensuspend-nbase:1.32
	yamt-nfs-mp-base3:1.32
	netbsd-5-0:1.32.0.20
	netbsd-5-0-RELEASE:1.32
	netbsd-5-0-RC4:1.32
	netbsd-5-0-RC3:1.32
	netbsd-5-0-RC2:1.32
	jym-xensuspend:1.32.0.18
	jym-xensuspend-base:1.32
	netbsd-5-0-RC1:1.32
	haad-dm-base2:1.32
	haad-nbase2:1.32
	ad-audiomp2:1.32.0.16
	ad-audiomp2-base:1.32
	netbsd-5:1.32.0.14
	netbsd-5-base:1.32
	matt-mips64:1.30.0.32
	haad-dm-base1:1.32
	netbsd-4-0-1-RELEASE:1.28
	wrstuden-fixsa-newbase:1.28
	haad-dm:1.32.0.12
	haad-dm-base:1.32
	simonb-wapbl-nbase:1.32
	yamt-pf42-base4:1.32
	simonb-wapbl:1.32.0.10
	simonb-wapbl-base:1.32
	yamt-pf42-base3:1.32
	hpcarm-cleanup-nbase:1.32
	yamt-pf42-base2:1.32
	yamt-nfs-mp-base2:1.32
	yamt-nfs-mp:1.32.0.8
	yamt-nfs-mp-base:1.32
	yamt-pf42:1.32.0.6
	yamt-pf42-base:1.32
	ad-socklock-base1:1.32
	yamt-lazymbuf-base15:1.32
	yamt-lazymbuf-base14:1.32
	keiichi-mipv6-nbase:1.32
	mjf-devfs2:1.32.0.4
	mjf-devfs2-base:1.32
	keiichi-mipv6:1.32.0.2
	keiichi-mipv6-base:1.32
	bouyer-xeni386-merge1:1.30.28.1
	matt-armv6-prevmlocking:1.30
	wrstuden-fixsa-base-1:1.28
	vmlocking2-base3:1.31
	netbsd-4-0:1.28.0.14
	netbsd-4-0-RELEASE:1.28
	bouyer-xeni386-nbase:1.32
	yamt-kmem-base3:1.30
	cube-autoconf:1.30.0.30
	cube-autoconf-base:1.30
	yamt-kmem-base2:1.30
	bouyer-xeni386:1.30.0.28
	bouyer-xeni386-base:1.32
	yamt-kmem:1.30.0.26
	yamt-kmem-base:1.30
	vmlocking2-base2:1.30
	reinoud-bufcleanup-nbase:1.30
	vmlocking2:1.30.0.24
	vmlocking2-base1:1.30
	netbsd-4-0-RC5:1.28
	matt-nb4-arm:1.28.0.12
	matt-nb4-arm-base:1.28
	matt-armv6-nbase:1.32
	jmcneill-base:1.30
	netbsd-4-0-RC4:1.28
	mjf-devfs:1.30.0.22
	mjf-devfs-base:1.32
	bouyer-xenamd64-base2:1.30
	vmlocking-nbase:1.30
	yamt-x86pmap-base4:1.30
	bouyer-xenamd64:1.30.0.20
	bouyer-xenamd64-base:1.30
	netbsd-4-0-RC3:1.28
	yamt-x86pmap-base3:1.30
	yamt-x86pmap-base2:1.30
	netbsd-4-0-RC2:1.28
	yamt-x86pmap:1.30.0.18
	yamt-x86pmap-base:1.30
	nick-csl-alignment-base5:1.30
	nick-csl-alignment-base4:1.30
	netbsd-4-0-RC1:1.28
	matt-armv6:1.30.0.16
	matt-armv6-base:1.30
	nick-csl-alignment-base3:1.30
	nick-csl-alignment-base2:1.30
	matt-mips64-base:1.30
	jmcneill-pm:1.30.0.14
	jmcneill-pm-base:1.30
	hpcarm-cleanup:1.30.0.12
	hpcarm-cleanup-base:1.32
	nick-csl-alignment:1.30.0.10
	nick-csl-alignment-base:1.30
	netbsd-3-1-1-RELEASE:1.27
	netbsd-3-0-3-RELEASE:1.27
	yamt-idlelwp-base8:1.30
	wrstuden-fixsa:1.28.0.10
	wrstuden-fixsa-base:1.28
	thorpej-atomic:1.30.0.8
	thorpej-atomic-base:1.30
	reinoud-bufcleanup:1.30.0.6
	reinoud-bufcleanup-base:1.30
	mjf-ufs-trans:1.30.0.4
	mjf-ufs-trans-base:1.30
	vmlocking:1.30.0.2
	vmlocking-base:1.30
	ad-audiomp:1.29.0.4
	ad-audiomp-base:1.29
	yamt-idlelwp:1.29.0.2
	post-newlock2-merge:1.29
	newlock2-nbase:1.28
	yamt-splraiseipl-base5:1.28
	yamt-splraiseipl-base4:1.28
	yamt-splraiseipl-base3:1.28
	abandoned-netbsd-4-base:1.28
	abandoned-netbsd-4:1.28.0.2
	netbsd-3-1:1.27.0.46
	netbsd-3-1-RELEASE:1.27
	netbsd-3-0-2-RELEASE:1.27
	yamt-splraiseipl-base2:1.28
	netbsd-3-1-RC4:1.27
	yamt-splraiseipl:1.28.0.6
	yamt-splraiseipl-base:1.28
	netbsd-3-1-RC3:1.27
	yamt-pdpolicy-base9:1.28
	newlock2:1.28.0.4
	newlock2-base:1.28
	yamt-pdpolicy-base8:1.28
	netbsd-3-1-RC2:1.27
	netbsd-3-1-RC1:1.27
	yamt-pdpolicy-base7:1.28
	netbsd-4:1.28.0.8
	netbsd-4-base:1.28
	yamt-pdpolicy-base6:1.27
	chap-midi-nbase:1.27
	netbsd-3-0-1-RELEASE:1.27
	gdamore-uart:1.27.0.44
	gdamore-uart-base:1.27
	simonb-timcounters-final:1.27
	yamt-pdpolicy-base5:1.27
	chap-midi:1.27.0.42
	chap-midi-base:1.27
	yamt-pdpolicy-base4:1.27
	yamt-pdpolicy-base3:1.27
	peter-altq-base:1.27
	peter-altq:1.27.0.40
	yamt-pdpolicy-base2:1.27
	elad-kernelauth-base:1.27
	elad-kernelauth:1.27.0.38
	yamt-pdpolicy:1.27.0.36
	yamt-pdpolicy-base:1.27
	yamt-uio_vmspace-base5:1.27
	simonb-timecounters:1.27.0.34
	simonb-timecounters-base:1.27
	rpaulo-netinet-merge-pcb:1.27.0.32
	rpaulo-netinet-merge-pcb-base:1.28
	yamt-uio_vmspace:1.27.0.30
	netbsd-3-0:1.27.0.28
	netbsd-3-0-RELEASE:1.27
	netbsd-3-0-RC6:1.27
	yamt-readahead-base3:1.27
	netbsd-3-0-RC5:1.27
	netbsd-3-0-RC4:1.27
	netbsd-3-0-RC3:1.27
	yamt-readahead-base2:1.27
	netbsd-3-0-RC2:1.27
	yamt-readahead-pervnode:1.27
	yamt-readahead-perfile:1.27
	yamt-readahead:1.27.0.26
	yamt-readahead-base:1.27
	netbsd-3-0-RC1:1.27
	yamt-vop-base3:1.27
	netbsd-2-0-3-RELEASE:1.27
	netbsd-2-1:1.27.0.24
	yamt-vop-base2:1.27
	thorpej-vnode-attr:1.27.0.22
	thorpej-vnode-attr-base:1.27
	netbsd-2-1-RELEASE:1.27
	yamt-vop:1.27.0.20
	yamt-vop-base:1.27
	netbsd-2-1-RC6:1.27
	netbsd-2-1-RC5:1.27
	netbsd-2-1-RC4:1.27
	netbsd-2-1-RC3:1.27
	netbsd-2-1-RC2:1.27
	netbsd-2-1-RC1:1.27
	yamt-lazymbuf:1.27.0.18
	yamt-km-base4:1.27
	netbsd-2-0-2-RELEASE:1.27
	yamt-km-base3:1.27
	netbsd-3:1.27.0.16
	netbsd-3-base:1.27
	yamt-km-base2:1.27
	yamt-km:1.27.0.12
	yamt-km-base:1.27
	kent-audio2:1.27.0.10
	kent-audio2-base:1.27
	netbsd-2-0-1-RELEASE:1.27
	kent-audio1-beforemerge:1.27
	netbsd-2:1.27.0.8
	netbsd-2-base:1.27
	kent-audio1:1.27.0.6
	kent-audio1-base:1.27
	netbsd-2-0-RELEASE:1.27
	netbsd-2-0-RC5:1.27
	netbsd-2-0-RC4:1.27
	netbsd-2-0-RC3:1.27
	netbsd-2-0-RC2:1.27
	netbsd-2-0-RC1:1.27
	netbsd-2-0:1.27.0.4
	netbsd-2-0-base:1.27
	netbsd-1-6-PATCH002-RELEASE:1.26
	netbsd-1-6-PATCH002:1.26
	netbsd-1-6-PATCH002-RC4:1.26
	netbsd-1-6-PATCH002-RC3:1.26
	netbsd-1-6-PATCH002-RC2:1.26
	netbsd-1-6-PATCH002-RC1:1.26
	ktrace-lwp:1.27.0.2
	ktrace-lwp-base:1.27
	netbsd-1-6-PATCH001:1.26
	netbsd-1-6-PATCH001-RELEASE:1.26
	netbsd-1-6-PATCH001-RC3:1.26
	netbsd-1-6-PATCH001-RC2:1.26
	netbsd-1-6-PATCH001-RC1:1.26
	nathanw_sa_end:1.24.2.2
	nathanw_sa_before_merge:1.26
	fvdl_fs64_base:1.26
	gmcgarry_ctxsw:1.26.0.20
	gmcgarry_ctxsw_base:1.26
	gmcgarry_ucred:1.26.0.18
	gmcgarry_ucred_base:1.26
	nathanw_sa_base:1.26
	kqueue-aftermerge:1.26
	kqueue-beforemerge:1.26
	netbsd-1-6-RELEASE:1.26
	netbsd-1-6-RC3:1.26
	netbsd-1-6-RC2:1.26
	netbsd-1-6-RC1:1.26
	netbsd-1-6:1.26.0.16
	netbsd-1-6-base:1.26
	gehenna-devsw:1.26.0.14
	gehenna-devsw-base:1.26
	netbsd-1-5-PATCH003:1.21.12.1
	eeh-devprop:1.26.0.12
	eeh-devprop-base:1.26
	newlock:1.26.0.10
	newlock-base:1.26
	ifpoll-base:1.26
	thorpej-mips-cache:1.26.0.6
	thorpej-mips-cache-base:1.26
	thorpej-devvp-base3:1.26
	thorpej-devvp-base2:1.26
	post-chs-ubcperf:1.26
	pre-chs-ubcperf:1.26
	thorpej-devvp:1.26.0.4
	thorpej-devvp-base:1.26
	netbsd-1-5-PATCH002:1.21.12.1
	kqueue:1.26.0.2
	kqueue-base:1.26
	netbsd-1-5-PATCH001:1.21.12.1
	thorpej_scsipi_beforemerge:1.24
	nathanw_sa:1.24.0.2
	thorpej_scsipi_nbase:1.24
	netbsd-1-5-RELEASE:1.21
	netbsd-1-5-BETA2:1.21
	netbsd-1-5-BETA:1.21
	netbsd-1-4-PATCH003:1.20
	netbsd-1-5-ALPHA2:1.21
	netbsd-1-5:1.21.0.12
	netbsd-1-5-base:1.21
	minoura-xpg4dl-base:1.21
	minoura-xpg4dl:1.21.0.10
	netbsd-1-4-PATCH002:1.20
	chs-ubc2-newbase:1.21
	wrstuden-devbsize-19991221:1.21
	wrstuden-devbsize:1.21.0.8
	wrstuden-devbsize-base:1.21
	kame_141_19991130:1.20
	comdex-fall-1999:1.21.0.6
	comdex-fall-1999-base:1.21
	fvdl-softdep:1.21.0.4
	fvdl-softdep-base:1.21
	thorpej_scsipi:1.21.0.2
	thorpej_scsipi_base:1.24
	netbsd-1-4-PATCH001:1.20
	kame_14_19990705:1.20
	kame_14_19990628:1.20
	kame:1.20.0.6
	chs-ubc2:1.20.0.4
	chs-ubc2-base:1.20
	netbsd-1-4-RELEASE:1.20
	netbsd-1-4:1.20.0.2
	netbsd-1-4-base:1.20
	netbsd-1-3-PATCH003:1.15
	netbsd-1-3-PATCH003-CANDIDATE2:1.15
	kenh-if-detach:1.18.0.4
	kenh-if-detach-base:1.18
	netbsd-1-3-PATCH003-CANDIDATE1:1.15
	netbsd-1-3-PATCH003-CANDIDATE0:1.15
	chs-ubc:1.18.0.2
	chs-ubc-base:1.18
	eeh-paddr_t:1.17.0.2
	eeh-paddr_t-base:1.17
	netbsd-1-3-PATCH002:1.15
	netbsd-1-3-PATCH001:1.15
	netbsd-1-3-RELEASE:1.15
	netbsd-1-3-BETA:1.15
	netbsd-1-3:1.15.0.2
	netbsd-1-3-base:1.15
	thorpej-signal:1.13.0.6
	thorpej-signal-base:1.13
	marc-pcmcia:1.13.0.4
	marc-pcmcia-bp:1.13
	marc-pcmcia-base:1.13
	bouyer-scsipi:1.13.0.2
	is-newarp-before-merge:1.12
	is-newarp:1.12.0.6
	is-newarp-base:1.12
	netbsd-1-2-PATCH001:1.9.4.1
	mrg-vm-swap:1.12.0.4
	thorpej-setroot:1.12.0.2
	netbsd-1-2-RELEASE:1.9
	netbsd-1-2-BETA:1.9
	netbsd-1-2:1.9.0.4
	netbsd-1-2-base:1.9
	date-03-may-96:1.1.1.1
	netbsd:1.1.1
	netbsd-1-1-PATCH001:1.8
	netbsd-1-1-RELEASE:1.8
	netbsd-1-1:1.8.0.2
	netbsd-1-1-base:1.8;
locks; strict;
comment	@# @;


1.32
date	2007.12.31.13.39.02;	author ad;	state dead;
branches;
next	1.31;

1.31
date	2007.12.20.23.02.49;	author dsl;	state Exp;
branches;
next	1.30;

1.30
date	2007.03.04.06.01.16;	author christos;	state Exp;
branches
	1.30.16.1
	1.30.22.1
	1.30.24.1
	1.30.28.1;
next	1.29;

1.29
date	2007.02.09.21.55.16;	author ad;	state Exp;
branches
	1.29.2.1;
next	1.28;

1.28
date	2006.06.26.21.23.57;	author mrg;	state Exp;
branches
	1.28.4.1;
next	1.27;

1.27
date	2003.01.18.07.36.58;	author thorpej;	state Exp;
branches
	1.27.18.1
	1.27.32.1
	1.27.36.1
	1.27.44.1;
next	1.26;

1.26
date	2001.06.06.16.17.40;	author thorpej;	state Exp;
branches;
next	1.25;

1.25
date	2001.05.30.11.37.24;	author mrg;	state Exp;
branches;
next	1.24;

1.24
date	2001.01.27.07.53.10;	author thorpej;	state Exp;
branches
	1.24.2.1;
next	1.23;

1.23
date	2000.12.09.05.27.29;	author mycroft;	state Exp;
branches;
next	1.22;

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

1.21
date	99.08.25.04.50.53;	author thorpej;	state Exp;
branches
	1.21.2.1
	1.21.12.1;
next	1.20;

1.20
date	99.02.09.20.21.18;	author christos;	state Exp;
branches;
next	1.19;

1.19
date	98.12.10.17.03.19;	author christos;	state Exp;
branches;
next	1.18;

1.18
date	98.10.19.22.31.50;	author tron;	state Exp;
branches;
next	1.17;

1.17
date	98.02.19.00.37.43;	author thorpej;	state Exp;
branches;
next	1.16;

1.16
date	98.02.14.21.16.35;	author kleink;	state Exp;
branches;
next	1.15;

1.15
date	97.10.17.18.39.14;	author scottr;	state Exp;
branches;
next	1.14;

1.14
date	97.10.15.17.18.29;	author mycroft;	state Exp;
branches;
next	1.13;

1.13
date	97.03.16.03.48.04;	author thorpej;	state Exp;
branches;
next	1.12;

1.12
date	96.09.07.14.21.57;	author mycroft;	state Exp;
branches;
next	1.11;

1.11
date	96.09.07.13.23.39;	author mycroft;	state Exp;
branches;
next	1.10;

1.10
date	96.09.03.03.12.21;	author mycroft;	state Exp;
branches;
next	1.9;

1.9
date	95.11.28.08.39.56;	author thorpej;	state Exp;
branches
	1.9.4.1;
next	1.8;

1.8
date	95.10.07.06.26.42;	author mycroft;	state Exp;
branches;
next	1.7;

1.7
date	95.05.10.16.45.47;	author christos;	state Exp;
branches;
next	1.6;

1.6
date	94.10.26.02.45.23;	author cgd;	state Exp;
branches;
next	1.5;

1.5
date	94.06.30.16.42.48;	author cgd;	state Exp;
branches;
next	1.4;

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

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

1.2
date	94.05.17.10.36.03;	author cgd;	state Exp;
branches;
next	1.1;

1.1
date	94.01.07.00.44.10;	author mycroft;	state Exp;
branches;
next	;

1.30.16.1
date	2008.03.23.02.04.31;	author matt;	state dead;
branches;
next	;

1.30.22.1
date	2008.02.18.21.05.23;	author mjf;	state dead;
branches;
next	;

1.30.24.1
date	2007.12.26.19.48.57;	author ad;	state Exp;
branches;
next	;

1.30.28.1
date	2008.01.02.21.52.00;	author bouyer;	state dead;
branches;
next	;

1.29.2.1
date	2007.03.12.05.52.00;	author rmind;	state Exp;
branches;
next	;

1.28.4.1
date	2007.01.30.13.51.31;	author ad;	state Exp;
branches;
next	;

1.27.18.1
date	2006.12.30.20.47.32;	author yamt;	state Exp;
branches;
next	1.27.18.2;

1.27.18.2
date	2007.02.26.09.09.08;	author yamt;	state Exp;
branches;
next	1.27.18.3;

1.27.18.3
date	2007.09.03.14.32.03;	author yamt;	state Exp;
branches;
next	1.27.18.4;

1.27.18.4
date	2008.01.21.09.40.58;	author yamt;	state dead;
branches;
next	;

1.27.32.1
date	2006.09.09.02.45.26;	author rpaulo;	state Exp;
branches;
next	;

1.27.36.1
date	2006.08.11.15.43.19;	author yamt;	state Exp;
branches;
next	;

1.27.44.1
date	2006.07.13.17.49.08;	author gdamore;	state Exp;
branches;
next	;

1.24.2.1
date	2001.06.21.19.59.13;	author nathanw;	state Exp;
branches;
next	1.24.2.2;

1.24.2.2
date	2002.05.29.21.32.24;	author nathanw;	state Exp;
branches;
next	;

1.21.2.1
date	2000.12.08.09.08.16;	author bouyer;	state Exp;
branches;
next	1.21.2.2;

1.21.2.2
date	2000.12.13.15.49.43;	author bouyer;	state Exp;
branches;
next	1.21.2.3;

1.21.2.3
date	2001.02.11.19.13.29;	author bouyer;	state Exp;
branches;
next	;

1.21.12.1
date	2001.06.07.19.56.14;	author he;	state Exp;
branches;
next	;

1.9.4.1
date	96.12.10.08.43.14;	author mycroft;	state Exp;
branches;
next	;


desc
@@


1.32
log
@Remove COMPAT_HPUX.
@
text
@	$NetBSD: syscalls.master,v 1.31 2007/12/20 23:02:49 dsl Exp $

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

; NetBSD COMPAT_HPUX 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"
#include "opt_compat_43.h"
#endif

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

#include <compat/hpux/hpux.h>
#include <compat/hpux/hpux_syscallargs.h>

#include <machine/hpux_machdep.h>

%%

0	NOARGS		{ int sys_nosys(void); } syscall
1	NOARGS		{ int sys_exit(int rval); }
2	STD		{ int hpux_sys_fork(void); }
3	STD		{ int hpux_sys_read(int fd, char *buf, u_int nbyte); }
4	STD		{ int hpux_sys_write(int fd, char *buf, u_int nbyte); }
5	STD		{ int hpux_sys_open(const char *path, int flags, \
			    int mode); }
6	NOARGS		{ int sys_close(int fd); }
7	STD		{ int hpux_sys_wait(int *status); }
8	STD		{ int hpux_sys_creat(const char *path, int mode); }
9	NOARGS	 	{ int sys_link(char *path, char *link); }
10	NOARGS		{ int sys_unlink(const char *path); }
11	STD		{ int hpux_sys_execv(const char * path, char **argp); }
12	NOARGS		{ int sys_chdir(const char *path); }
13	STD		{ int hpux_sys_time_6x(time_t *t); }
14	STD		{ int hpux_sys_mknod(const char *path, int mode, \
			    int dev); }
15	NOARGS		{ int sys_chmod(const char *path, int mode); }
;			chown may not be correct for older HP-UX executables
16	NOARGS		{ int sys___posix_chown(const char *path, int uid, \
			    int gid); }
17	NOARGS		{ int sys_obreak(char *nsize); }
18	STD		{ int hpux_sys_stat_6x(const char *path, \
			    struct hpux_ostat *sb); }
19	NOARGS		{ long compat_43_sys_lseek(int fd, long offset, \
			    int whence); }
20	NOARGS MPSAFE	{ pid_t sys_getpid(void); }
21	UNIMPL		mount
22	UNIMPL		umount
23	NOARGS		{ int sys_setuid(uid_t uid); }
24	NOARGS		{ uid_t sys_getuid(void); }
25	STD		{ int hpux_sys_stime_6x(int time); }
#if 0
26	STD		{ int hpux_sys_ptrace(int req, int pid, int *addr, \
			    int data); }
#else
26	UNIMPL		ptrace
#endif
27	STD		{ int hpux_sys_alarm_6x(int deltat); }
28	STD		{ int hpux_sys_fstat_6x(int fd, \
			    struct hpux_ostat *sb); }
29	STD		{ int hpux_sys_pause_6x(void); }
30	STD		{ int hpux_sys_utime_6x(char *fname, time_t *tptr); }
31	STD		{ int hpux_sys_stty_6x(int fd, void *arg); }
32	STD		{ int hpux_sys_gtty_6x(int fd, void *arg); }
33	NOARGS		{ int sys_access(const char *path, int flags); }
34	STD		{ int hpux_sys_nice_6x(int nval); }
35	STD		{ int hpux_sys_ftime_6x(struct hpux_timeb *tp); }
36	NOARGS		{ int sys_sync(void); }
37	STD		{ int hpux_sys_kill(pid_t pid, int signo); }
38	STD		{ int hpux_sys_stat(const char *path, \
			    struct hpux_stat *sb); }
39	STD		{ int hpux_sys_setpgrp_6x(void); }
#define hpux_sys_lstat_args hpux_sys_stat_args
40	NOARGS		{ int hpux_sys_lstat(const char *path, \
			    struct hpux_stat *sb); }
41	NOARGS		{ int sys_dup(int fd); }
42	NOARGS		{ int sys_pipe(void); }
43	STD		{ int hpux_sys_times_6x(struct tms *tms); }
44	NOARGS		{ int sys_profil(void *samples, u_int size, \
			    u_int offset, u_int scale); }

45	UNIMPL		ki_syscall
46	NOARGS		{ int sys_setgid(gid_t gid); }
47	NOARGS		{ gid_t sys_getgid(void); }
48	STD		{ int hpux_sys_ssig_6x(int signo, sig_t fun); }
49	UNIMPL		reserved for USG
50	UNIMPL		reserved for USG
51	UNIMPL		acct
52	UNIMPL
53	UNIMPL
54	STD		{ int hpux_sys_ioctl(int fd, int com, void *data); }
55	UNIMPL		reboot
56	NOARGS		{ int sys_symlink(const char *path, const char *link); }
57	STD		{ int hpux_sys_utssys(struct hpux_utsname *uts, \
					  int dev, int request); }
58	NOARGS		{ int sys_readlink(const char *path, char *buf, \
					  int count); }
59	STD		{ int hpux_sys_execve(const char *path, char **argp, \
			    char **envp); }
60	NOARGS		{ int sys_umask(int newmask); }
61	NOARGS		{ int sys_chroot(char *path); }
62	STD		{ int hpux_sys_fcntl(int fd, int cmd, int arg); }
63	STD		{ int hpux_sys_ulimit(int cmd, int newlimit); }
64	UNIMPL
65	UNIMPL
66	STD		{ int hpux_sys_vfork(void); }
67	NOARGS		{ int hpux_sys_read(int fd, char *buf, u_int nbyte); } vread
68	NOARGS		{ int hpux_sys_write(int fd, char *buf, u_int nbyte); } vwrite
69	UNIMPL
70	UNIMPL
71	STD		{ int hpux_sys_mmap(void *addr, size_t len, \
			    int prot, int flags, int fd, long pos); }
72	UNIMPL
73	NOARGS		{ int sys_munmap(void *addr, size_t len); }
74	NOARGS		{ int sys_mprotect(void *addr, size_t len, \
			    int prot); }
75	UNIMPL
76	UNIMPL
77	UNIMPL
78	UNIMPL
79	NOARGS		{ int sys_getgroups(u_int gidsetsize, gid_t *gidset); }
80	NOARGS		{ int sys_setgroups(u_int gidsetsize, gid_t *gidset); }
81	STD		{ int hpux_sys_getpgrp2(pid_t pid); }
82	STD		{ int hpux_sys_setpgrp2(pid_t pid, pid_t pgid); }
83	NOARGS		{ int sys_setitimer(u_int which, \
			    struct itimerval *itv, struct itimerval *oitv); }
84	STD		{ int hpux_sys_wait3(int *status, int options, \
			    int rusage); }
85	UNIMPL		swapon
86	NOARGS		{ int sys_getitimer(u_int which, \
			    struct itimerval *itv); }
87	UNIMPL
88	UNIMPL
89	UNIMPL
90	NOARGS		{ int sys_dup2(u_int from, u_int to); }
91	UNIMPL
92	STD		{ int hpux_sys_fstat(int fd, struct hpux_stat *sb); }
93	NOARGS		{ int sys_select(u_int nd, fd_set *in, fd_set *ou, \
			    fd_set *ex, struct timeval *tv); }
94	UNIMPL
95	NOARGS		{ int sys_fsync(int fd); }
96	UNIMPL
97	UNIMPL
98	UNIMPL
99	UNIMPL
100	UNIMPL
101	UNIMPL
102	UNIMPL
103	STD		{ int hpux_sys_sigreturn(struct hpuxsigcontext \
			    *sigcntxp); }
104	UNIMPL
105	UNIMPL
106	UNIMPL
107	UNIMPL
108	STD		{ int hpux_sys_sigvec(int signo, struct sigvec *nsv, \
			    struct sigvec *osv); }
109	STD		{ int hpux_sys_sigblock(int mask); }
110	STD		{ int hpux_sys_sigsetmask(int mask); }
111	STD		{ int hpux_sys_sigpause(int mask); }
112	NOARGS		{ int compat_43_sys_sigstack(struct sigstack *nss, \
			    struct sigstack *oss); }
113	UNIMPL
114	UNIMPL
115	UNIMPL
116	NOARGS		{ int sys_gettimeofday(struct timeval *tp); }
117	UNIMPL
118	UNIMPL
119	UNIMPL		io_stub
120	STD		{ int hpux_sys_readv(int fd, struct iovec *iovp, \
			    u_int iovcnt); }
121	STD		{ int hpux_sys_writev(int fd, struct iovec *iovp, \
			    u_int iovcnt); }
122	NOARGS		{ int sys_settimeofday(struct timeval *tv, \
			    struct timezone *tzp); }
123	NOARGS		{ int sys___posix_fchown(int fd, int uid, int gid); }
124	NOARGS		{ int sys_fchmod(int fd, int mode); }
125	UNIMPL
126	STD		{ int hpux_sys_setresuid(uid_t r, uid_t e, uid_t s); }
127	STD		{ int hpux_sys_setresgid(gid_t r, gid_t e, gid_t s); }
128	NOARGS		{ int sys___posix_rename(const char *from, \
			    const char *to); }
129	NOARGS		{ int compat_43_sys_truncate(const char *path, \
			    long length); }
130	NOARGS		{ int compat_43_sys_ftruncate(int fd, long length); }
131	UNIMPL
132	STD		{ int hpux_sys_sysconf(int name); }
133	UNIMPL
134	UNIMPL
135	UNIMPL
136	NOARGS		{ int sys_mkdir(const char *path, int mode); }
137	NOARGS		{ int sys_rmdir(const char *path); }
138	UNIMPL
139	UNIMPL
140	UNIMPL
141	UNIMPL
142	UNIMPL
143	UNIMPL
144	STD		{ int hpux_sys_getrlimit(u_int which, \
			    struct orlimit *rlp); }
145	STD		{ int hpux_sys_setrlimit(u_int which, \
			    struct orlimit *rlp); }
146	UNIMPL
147	UNIMPL
148	UNIMPL
149	UNIMPL
150	UNIMPL
151	UNIMPL		privgrp
152	STD		{ int hpux_sys_rtprio(pid_t pid, int prio); }
153	UNIMPL		plock
154	STD		{ int hpux_sys_netioctl(int call, int *args); }
155	STD		{ int hpux_sys_lockf(int fd, int func, long size); }
#ifdef SYSVSEM
156	NOARGS		{ int sys_semget(key_t key, int nsems, \
			    int semflg); }
157	STD		{ int hpux_sys_osemctl(int semid, int semnum, \
			    int cmd, union __semun arg); }
158	NOARGS		{ int sys_semop(int semid, \
			    struct sembuf *sops, u_int nsops); }
#else
156	UNIMPL		semget
157	UNIMPL		osemctl
158	UNIMPL		semop
#endif
#ifdef SYSVMSG
159	NOARGS		{ int sys_msgget(key_t key, int msgflg); }
160	STD		{ int hpux_sys_omsgctl(int msqid, int cmd, \
			    struct hpux_omsqid_ds *buf); }
161	NOARGS		{ int sys_msgsnd(int msqid, void *msgp, \
			    size_t msgsz, int msgflg); }
162	NOARGS		{ int sys_msgrcv(int msqid, void *msgp, \
			    size_t msgsz, long msgtyp, int msgflg); }
#else
159	UNIMPL		msgget
160	UNIMPL		omsgctl
161	UNIMPL		msgsnd
162	UNIMPL		msgrcv
#endif
#ifdef SYSVSHM
163	NOARGS		{ int sys_shmget(key_t key, int size, \
			    int shmflg); }
164	STD		{ int hpux_sys_oshmctl(int shmid, int cmd, \
			    struct hpux_oshmid_ds *buf); }
165	NOARGS		{ int sys_shmat(int shmid, void *shmaddr, \
			    int shmflg); }
166	NOARGS		{ int sys_shmdt(void *shmaddr); }
#else
163	UNIMPL		shmget
164	UNIMPL		shmctl
165	UNIMPL		shmat
166	UNIMPL		shmdt
#endif
;			XXX 68020_advise
167	STD		{ int hpux_sys_advise(int arg); }
168	UNIMPL		nsp_init
169	UNIMPL		cluster
170	UNIMPL		mkrnod
171	UNIMPL		test
172	UNIMPL		unsp_open
173	UNIMPL
174	STD		{ int hpux_sys_getcontext(char *buf, int len); }
175	UNIMPL		setcontext
176	UNIMPL		bigio
177	UNIMPL		pipenode
178	UNIMPL		lsync
179	UNIMPL		getmachineid
180	UNIMPL		mysite
181	UNIMPL		sitels
182	UNIMPL		swapclients
183	UNIMPL		rmtprocess
184	UNIMPL		dskless_stats
185	UNIMPL		Northrop special
186	UNIMPL		setacl
187	UNIMPL		fsetacl
188	UNIMPL		getacl
189	UNIMPL		fgetacl
190	STD		{ int hpux_sys_getaccess(char *path, uid_t uid, \
			    int ngroups, gid_t *gidset, void *label, \
			    void *privs); }
191	UNIMPL		getaudid
192	UNIMPL		setaudid
193	UNIMPL		getaudproc
194	UNIMPL		setaudproc
195	UNIMPL		getevent
196	UNIMPL		setevent
197	UNIMPL		audwrite
198	UNIMPL		audswitch
199	UNIMPL		audctl
200	STD		{ int hpux_sys_waitpid(pid_t pid, int *status, \
			    int options, struct rusage *rusage); }
201	UNIMPL
202	UNIMPL
203	UNIMPL
204	UNIMPL
205	UNIMPL
206	UNIMPL
207	UNIMPL
208	UNIMPL
209	UNIMPL
210	UNIMPL
211	UNIMPL
212	UNIMPL
213	UNIMPL
214	UNIMPL
215	UNIMPL
216	UNIMPL
217	UNIMPL
218	UNIMPL
219	UNIMPL
220	UNIMPL
221	UNIMPL
222	UNIMPL
223	UNIMPL
224	UNIMPL		set_no_trunc
225	NOARGS		{ int sys_pathconf(char *path, int name); }
226	NOARGS		{ int sys_fpathconf(int fd, int name); }
227	UNIMPL
228	UNIMPL
229	UNIMPL		async_daemon
230	UNIMPL		nfs_fcntl
231	NOARGS		{ int compat_43_sys_getdirentries(int fd, char *buf, \
			    u_int count, long *basep); }
232	NOARGS		{ int compat_09_sys_getdomainname(char *domainname, \
			    int len); }
233	UNIMPL		getfh
234	UNIMPL		vfsmount
235	UNIMPL		nfssvc
236	NOARGS		{ int compat_09_sys_setdomainname(char *domainname, \
			    int len); }
237	UNIMPL		statfs
238	UNIMPL		fstatfs
239	STD		{ int hpux_sys_sigaction(int signo, \
			    struct hpux_sigaction *nsa, \
			    struct hpux_sigaction *osa); }
240	STD		{ int hpux_sys_sigprocmask(int how, \
			    hpux_sigset_t *set, hpux_sigset_t *oset); }
241	STD		{ int hpux_sys_sigpending(hpux_sigset_t *set); }
242	STD		{ int hpux_sys_sigsuspend(hpux_sigset_t *set); }
243	UNIMPL		fsctl
244	UNIMPL
245	UNIMPL		pstat
246	UNIMPL
247	UNIMPL
248	UNIMPL
249	UNIMPL
250	UNIMPL
251	UNIMPL		ulconnect
252	UNIMPL		ulcontrol
253	UNIMPL		ulcreate
254	UNIMPL		uldest
255	UNIMPL		ulrecv
256	UNIMPL		ulrecvcn
257	UNIMPL		ulsend
258	UNIMPL		ulshutdown
259	UNIMPL		swapfs
260	UNIMPL
261	UNIMPL
262	UNIMPL
263	UNIMPL
264	UNIMPL
265	UNIMPL
266	UNIMPL
267	UNIMPL		tsync
;			called getnumfds in HP-UX
268	NOARGS		{ int compat_43_sys_getdtablesize(void); }
269	NOARGS		{ int sys_poll(struct pollfd *fds, u_int nfds, \
			    int timeout); }
270	UNIMPL		getmsg
271	UNIMPL		putmsg
272	NOARGS		{ int sys_fchdir(int fd); }
273	UNIMPL		getmount_cnt
274	UNIMPL		getmount_entry
275	NOARGS		{ int compat_43_sys_accept(int s, void *name, \
			    int *anamelen); }
276	NOARGS		{ int sys_bind(int s, void *name, int namelen); }
277	NOARGS		{ int sys_connect(int s, void *name, int namelen); }
278	NOARGS		{ int compat_43_sys_getpeername(int fdes, void *asa, \
			    int *alen); }
279	NOARGS		{ int compat_43_sys_getsockname(int fdec, void *asa, \
			    int *alen); }
280	NOARGS		{ int sys_getsockopt(int s, int level, int name, \
			    void *val, int *avalsize); }
281	NOARGS		{ int sys_listen(int s, int backlog); }
282	NOARGS		{ int compat_43_sys_recv(int s, void *buf, int len, \
			    int flags); }
283	NOARGS		{ int compat_43_sys_recvfrom(int s, void *buf, \
			    size_t len, int flags, void *from, \
			    int *fromlenaddr); }
284	NOARGS		{ int compat_43_sys_recvmsg(int s, \
			    struct omsghdr *msg, int flags); }
285	NOARGS		{ int compat_43_sys_send(int s, void *buf, int len, \
			    int flags); }
286	NOARGS		{ int compat_43_sys_sendmsg(int s, void *msg, \
			    int flags); }
287	NOARGS		{ int sys_sendto(int s, void *buf, size_t len, \
			    int flags, void *to, int tolen); }
288	STD		{ int hpux_sys_setsockopt2(int s, int level, int name, \
			    void *val, int valsize); }
289	NOARGS		{ int sys_shutdown(int s, int how); }
290	NOARGS		{ int compat_30_sys_socket(int domain, int type, int protocol); }
291	NOARGS		{ int sys_socketpair(int domain, int type, \
			    int protocol, int *rsv); }
292	UNIMPL
293	UNIMPL
294	UNIMPL
295	UNIMPL
296	UNIMPL
297	UNIMPL
298	UNIMPL		ipccreate
299	UNIMPL		ipcname
300	UNIMPL		ipcnamerase
301	UNIMPL		ipclookup
302	UNIMPL		ipcselect
303	UNIMPL		ipcconnect
304	UNIMPL		ipcrecvcn
305	UNIMPL		ipcsend
306	UNIMPL		ipcrecv
307	UNIMPL		ipcgetnodename
308	UNIMPL		ipcsetnodename
309	UNIMPL		ipcontrol
310	UNIMPL		ipcshutdown
311	UNIMPL		ipcdest
#ifdef SYSVSEM
312	STD		{ int hpux_sys_semctl(int semid, int semnum, int cmd, \
			    union __semun arg); }
#else
312	UNIMPL		semctl
#endif
#ifdef SYSVMSG
313	STD		{ int hpux_sys_msgctl(int msqid, int cmd, \
			    struct hpux_msqid_ds *buf); }
#else
313	UNIMPL		msgctl
#endif
#ifdef SYSVSHM
314	STD		{ int hpux_sys_shmctl(int shmid, int cmd, \
			    struct hpux_shmid_ds *buf); }
#else
314	UNIMPL		shmctl
#endif
315	UNIMPL		mpctl
316	UNIMPL		exportfs
317	UNIMPL		getpmsg
318	UNIMPL		putpmsg
319	UNIMPL		strioctl
320	UNIMPL		msync
321	UNIMPL		msleep
322	UNIMPL		mwakeup
323	UNIMPL		msem_init
324	UNIMPL		msem_remove
@


1.31
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.30 2007/03/04 06:01:16 christos Exp $
@


1.30
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.29 2007/02/09 21:55:16 ad Exp $
d65 1
a65 1
10	STD		{ int hpux_sys_unlink(const char *path); }
d67 1
a67 1
12	STD		{ int hpux_sys_chdir(const char *path); }
d71 3
a73 2
15	STD		{ int hpux_sys_chmod(const char *path, int mode); }
16	STD		{ int hpux_sys_chown(const char *path, int uid, \
d99 1
a99 1
33	STD		{ int hpux_sys_access(const char *path, int flags); }
d107 2
a108 1
40	STD		{ int hpux_sys_lstat(const char *path, \
d127 1
a127 2
56	STD		{ int hpux_sys_symlink(const char *path, \
			    const char *link); }
d130 1
a130 1
58	STD		{ int hpux_sys_readlink(const char *path, char *buf, \
d214 1
a214 1
128	STD		{ int hpux_sys_rename(const char *from, \
d216 1
a216 1
129	STD		{ int hpux_sys_truncate(const char *path, \
d224 2
a225 2
136	STD		{ int hpux_sys_mkdir(const char *path, int mode); }
137	STD		{ int hpux_sys_rmdir(const char *path); }
@


1.30.16.1
log
@sync with HEAD
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.30 2007/03/04 06:01:16 christos Exp $
@


1.30.22.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.30 2007/03/04 06:01:16 christos Exp $
@


1.30.28.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.30 2007/03/04 06:01:16 christos Exp $
@


1.30.24.1
log
@Sync with head.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.31 2007/12/20 23:02:49 dsl Exp $
d65 1
a65 1
10	NOARGS		{ int sys_unlink(const char *path); }
d67 1
a67 1
12	NOARGS		{ int sys_chdir(const char *path); }
d71 2
a72 3
15	NOARGS		{ int sys_chmod(const char *path, int mode); }
;			chown may not be correct for older HP-UX executables
16	NOARGS		{ int sys___posix_chown(const char *path, int uid, \
d98 1
a98 1
33	NOARGS		{ int sys_access(const char *path, int flags); }
d106 1
a106 2
#define hpux_sys_lstat_args hpux_sys_stat_args
40	NOARGS		{ int hpux_sys_lstat(const char *path, \
d125 2
a126 1
56	NOARGS		{ int sys_symlink(const char *path, const char *link); }
d129 1
a129 1
58	NOARGS		{ int sys_readlink(const char *path, char *buf, \
d213 1
a213 1
128	NOARGS		{ int sys___posix_rename(const char *from, \
d215 1
a215 1
129	NOARGS		{ int compat_43_sys_truncate(const char *path, \
d223 2
a224 2
136	NOARGS		{ int sys_mkdir(const char *path, int mode); }
137	NOARGS		{ int sys_rmdir(const char *path); }
@


1.29
log
@Merge newlock2 to head.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.28 2006/06/26 21:23:57 mrg Exp $
d96 2
a97 2
31	STD		{ int hpux_sys_stty_6x(int fd, caddr_t arg); }
32	STD		{ int hpux_sys_gtty_6x(int fd, caddr_t arg); }
d111 1
a111 1
44	NOARGS		{ int sys_profil(caddr_t samples, u_int size, \
d123 1
a123 1
54	STD		{ int hpux_sys_ioctl(int fd, int com, caddr_t data); }
d144 1
a144 1
71	STD		{ int hpux_sys_mmap(caddr_t addr, size_t len, \
d147 2
a148 2
73	NOARGS		{ int sys_munmap(caddr_t addr, size_t len); }
74	NOARGS		{ int sys_mprotect(caddr_t addr, size_t len, \
d405 1
a405 1
275	NOARGS		{ int compat_43_sys_accept(int s, caddr_t name, \
d407 3
a409 3
276	NOARGS		{ int sys_bind(int s, caddr_t name, int namelen); }
277	NOARGS		{ int sys_connect(int s, caddr_t name, int namelen); }
278	NOARGS		{ int compat_43_sys_getpeername(int fdes, caddr_t asa, \
d411 1
a411 1
279	NOARGS		{ int compat_43_sys_getsockname(int fdec, caddr_t asa, \
d414 1
a414 1
			    caddr_t val, int *avalsize); }
d416 1
a416 1
282	NOARGS		{ int compat_43_sys_recv(int s, caddr_t buf, int len, \
d418 2
a419 2
283	NOARGS		{ int compat_43_sys_recvfrom(int s, caddr_t buf, \
			    size_t len, int flags, caddr_t from, \
d423 1
a423 1
285	NOARGS		{ int compat_43_sys_send(int s, caddr_t buf, int len, \
d425 1
a425 1
286	NOARGS		{ int compat_43_sys_sendmsg(int s, caddr_t msg, \
d427 2
a428 2
287	NOARGS		{ int sys_sendto(int s, caddr_t buf, size_t len, \
			    int flags, caddr_t to, int tolen); }
d430 1
a430 1
			    caddr_t val, int valsize); }
@


1.29.2.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.29 2007/02/09 21:55:16 ad Exp $
d96 2
a97 2
31	STD		{ int hpux_sys_stty_6x(int fd, void *arg); }
32	STD		{ int hpux_sys_gtty_6x(int fd, void *arg); }
d111 1
a111 1
44	NOARGS		{ int sys_profil(void *samples, u_int size, \
d123 1
a123 1
54	STD		{ int hpux_sys_ioctl(int fd, int com, void *data); }
d144 1
a144 1
71	STD		{ int hpux_sys_mmap(void *addr, size_t len, \
d147 2
a148 2
73	NOARGS		{ int sys_munmap(void *addr, size_t len); }
74	NOARGS		{ int sys_mprotect(void *addr, size_t len, \
d405 1
a405 1
275	NOARGS		{ int compat_43_sys_accept(int s, void *name, \
d407 3
a409 3
276	NOARGS		{ int sys_bind(int s, void *name, int namelen); }
277	NOARGS		{ int sys_connect(int s, void *name, int namelen); }
278	NOARGS		{ int compat_43_sys_getpeername(int fdes, void *asa, \
d411 1
a411 1
279	NOARGS		{ int compat_43_sys_getsockname(int fdec, void *asa, \
d414 1
a414 1
			    void *val, int *avalsize); }
d416 1
a416 1
282	NOARGS		{ int compat_43_sys_recv(int s, void *buf, int len, \
d418 2
a419 2
283	NOARGS		{ int compat_43_sys_recvfrom(int s, void *buf, \
			    size_t len, int flags, void *from, \
d423 1
a423 1
285	NOARGS		{ int compat_43_sys_send(int s, void *buf, int len, \
d425 1
a425 1
286	NOARGS		{ int compat_43_sys_sendmsg(int s, void *msg, \
d427 2
a428 2
287	NOARGS		{ int sys_sendto(int s, void *buf, size_t len, \
			    int flags, void *to, int tolen); }
d430 1
a430 1
			    void *val, int valsize); }
@


1.28
log
@version the socket(2) syscall.  for compat30 socket, we use
EPROTONOSUPPORT instead of EAFNOSUPPORT.

from pavel@@ with a little bit of clean up from myself.

XXX: netbsd32 (and perhaps other emulations) should be able
XXX: to call the standard socket calls for this i think, but
XXX: revisit this at another time.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.27 2003/01/18 07:36:58 thorpej Exp $
a44 1
#include <sys/sa.h>
@


1.28.4.1
log
@Remove support for SA. Ok core@@.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.28 2006/06/26 21:23:57 mrg Exp $
d45 1
@


1.27
log
@Merge the nathanw_sa branch.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.26 2001/06/06 16:17:40 thorpej Exp $
d433 1
a433 1
290	NOARGS		{ int sys_socket(int domain, int type, int protocol); }
@


1.27.18.1
log
@sync with head.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.27 2003/01/18 07:36:58 thorpej Exp $
d433 1
a433 1
290	NOARGS		{ int compat_30_sys_socket(int domain, int type, int protocol); }
@


1.27.18.2
log
@sync with head.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.27.18.1 2006/12/30 20:47:32 yamt Exp $
d45 1
@


1.27.18.3
log
@sync with head.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.27.18.2 2007/02/26 09:09:08 yamt Exp $
d96 2
a97 2
31	STD		{ int hpux_sys_stty_6x(int fd, void *arg); }
32	STD		{ int hpux_sys_gtty_6x(int fd, void *arg); }
d111 1
a111 1
44	NOARGS		{ int sys_profil(void *samples, u_int size, \
d123 1
a123 1
54	STD		{ int hpux_sys_ioctl(int fd, int com, void *data); }
d144 1
a144 1
71	STD		{ int hpux_sys_mmap(void *addr, size_t len, \
d147 2
a148 2
73	NOARGS		{ int sys_munmap(void *addr, size_t len); }
74	NOARGS		{ int sys_mprotect(void *addr, size_t len, \
d405 1
a405 1
275	NOARGS		{ int compat_43_sys_accept(int s, void *name, \
d407 3
a409 3
276	NOARGS		{ int sys_bind(int s, void *name, int namelen); }
277	NOARGS		{ int sys_connect(int s, void *name, int namelen); }
278	NOARGS		{ int compat_43_sys_getpeername(int fdes, void *asa, \
d411 1
a411 1
279	NOARGS		{ int compat_43_sys_getsockname(int fdec, void *asa, \
d414 1
a414 1
			    void *val, int *avalsize); }
d416 1
a416 1
282	NOARGS		{ int compat_43_sys_recv(int s, void *buf, int len, \
d418 2
a419 2
283	NOARGS		{ int compat_43_sys_recvfrom(int s, void *buf, \
			    size_t len, int flags, void *from, \
d423 1
a423 1
285	NOARGS		{ int compat_43_sys_send(int s, void *buf, int len, \
d425 1
a425 1
286	NOARGS		{ int compat_43_sys_sendmsg(int s, void *msg, \
d427 2
a428 2
287	NOARGS		{ int sys_sendto(int s, void *buf, size_t len, \
			    int flags, void *to, int tolen); }
d430 1
a430 1
			    void *val, int valsize); }
@


1.27.18.4
log
@sync with head
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.27.18.3 2007/09/03 14:32:03 yamt Exp $
@


1.27.32.1
log
@sync with head
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.28 2006/06/26 21:23:57 mrg Exp $
d433 1
a433 1
290	NOARGS		{ int compat_30_sys_socket(int domain, int type, int protocol); }
@


1.27.36.1
log
@sync with head
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.27 2003/01/18 07:36:58 thorpej Exp $
d433 1
a433 1
290	NOARGS		{ int compat_30_sys_socket(int domain, int type, int protocol); }
@


1.27.44.1
log
@Merge from HEAD.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.28 2006/06/26 21:23:57 mrg Exp $
d433 1
a433 1
290	NOARGS		{ int compat_30_sys_socket(int domain, int type, int protocol); }
@


1.26
log
@Don't define our own (incorrect!) dup(2); just use the NetBSD version.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.25 2001/05/30 11:37:24 mrg Exp $
d45 1
@


1.25
log
@use _KERNEL_OPT.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.24 2001/01/27 07:53:10 thorpej Exp $
d108 1
a108 1
41	STD		{ int hpux_sys_dup(int fd); }
@


1.24
log
@getpid(2) is MP-safe.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.23 2000/12/09 05:27:29 mycroft Exp $
d34 1
a34 1
#if defined(_KERNEL) && !defined(_LKM)
@


1.24.2.1
log
@Catch up to -current.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.24 2001/01/27 07:53:10 thorpej Exp $
d34 1
a34 1
#if defined(_KERNEL_OPT)
d108 1
a108 1
41	NOARGS		{ int sys_dup(int fd); }
@


1.24.2.2
log
@#include <sys/sa.h> before <sys/syscallargs.h>, to provide sa_upcall_t
now that <sys/param.h> doesn't include <sys/sa.h>.

(Behold the Power of Ed)
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.24.2.1 2001/06/21 19:59:13 nathanw Exp $
a44 1
#include <sys/sa.h>
@


1.23
log
@Add the %% separators.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.22 2000/11/30 19:05:27 jdolecek Exp $
d79 1
a79 1
20	NOARGS		{ pid_t sys_getpid(void); }
@


1.22
log
@LKMify
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.21 1999/08/25 04:50:53 thorpej Exp $
d34 1
a34 1
if defined(_KERNEL) && !defined(_LKM)
d37 1
a37 1
endif
d51 2
@


1.21
log
@Update for new SVID IPC calls, and also update the list of syscalls
to include the complete set as of 9.x.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.20 1999/02/09 20:21:18 christos Exp $
d34 1
d37 1
@


1.21.12.1
log
@Pull up revision 1.26 (requested by thorpej):
  Use the NetBSD version of dup(2) instead of our own (incorrect!)
  version.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.21 1999/08/25 04:50:53 thorpej Exp $
d104 1
a104 1
41	NOARGS		{ int sys_dup(int fd); }
@


1.21.2.1
log
@Sync with HEAD.
@
text
@d1 1
a1 1
	$NetBSD$
a33 1
if defined(_KERNEL) && !defined(_LKM)
a35 1
endif
@


1.21.2.2
log
@Sync with HEAD (for UBC fixes).
@
text
@d34 1
a34 1
#if defined(_KERNEL) && !defined(_LKM)
d37 1
a37 1
#endif
a50 2

%%
@


1.21.2.3
log
@Sync with HEAD.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.21.2.2 2000/12/13 15:49:43 bouyer Exp $
d79 1
a79 1
20	NOARGS MPSAFE	{ pid_t sys_getpid(void); }
@


1.20
log
@const poisoning
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.19 1998/12/10 17:03:19 christos Exp $
d242 6
a247 5
156	NOARGS		{ int sys_semget(key_t key, int nsems, int semflg); }
157	NOARGS		{ int sys___semctl(int semid, int semnum, int cmd, \
			    union semun *arg); }
158	NOARGS		{ int sys_semop(int semid, struct sembuf *sops, \
			    u_int nsops); }
d250 1
a250 1
157	UNIMPL		semctl
d255 6
a260 6
160	NOARGS		{ int sys_msgctl(int msqid, int cmd, \
			    struct msqid_ds *buf); }
161	NOARGS		{ int sys_msgsnd(int msqid, void *msgp, size_t msgsz, \
			    int msgflg); }
162	NOARGS		{ int sys_msgrcv(int msqid, void *msgp, size_t msgsz, \
			    long msgtyp, int msgflg); }
d263 1
a263 1
160	UNIMPL		msgctl
d268 6
a273 4
163	NOARGS		{ int sys_shmget(key_t key, int size, int shmflg); }
164	STD		{ int hpux_sys_shmctl(int shmid, int cmd, \
			    caddr_t buf); }
165	NOARGS		{ int sys_shmat(int shmid, void *shmaddr, int shmflg); }
d281 1
d286 1
a286 1
171	UNIMPL
d290 3
a292 3
175	UNIMPL
176	UNIMPL
177	UNIMPL
d294 1
a294 1
179	UNIMPL
d297 2
a298 2
182	UNIMPL
183	UNIMPL
d300 1
a300 1
185	UNIMPL
d342 1
a342 1
224	UNIMPL
d353 1
a353 1
233	UNIMPL		nfs_getfh
d355 1
a355 1
235	UNIMPL		nfs_svc
d375 9
a383 9
251	UNIMPL
252	UNIMPL
253	UNIMPL
254	UNIMPL
255	UNIMPL
256	UNIMPL
257	UNIMPL
258	UNIMPL
259	UNIMPL
d391 2
a392 1
267	UNIMPL
d396 2
a397 2
270	UNIMPL
271	UNIMPL
d399 2
a400 2
273	UNIMPL
274	UNIMPL
d437 14
a450 14
298	UNIMPL
299	UNIMPL
300	UNIMPL
301	UNIMPL
302	UNIMPL
303	UNIMPL
304	UNIMPL
305	UNIMPL
306	UNIMPL
307	UNIMPL
308	UNIMPL
309	UNIMPL
310	UNIMPL
311	UNIMPL
d452 2
a453 2
312	NOARGS		{ int sys___semctl(int semid, int semnum, int cmd, \
			    union semun *arg); } nsemctl
d458 2
a459 2
313	NOARGS		{ int sys_msgctl(int msqid, int cmd, \
			    struct msqid_ds *buf); } nmsgctl
d464 2
a465 2
314	STD		{ int hpux_sys_nshmctl(int shmid, int cmd, \
			    caddr_t buf); }
d469 10
@


1.19
log
@Defopt COMPAT_43
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.18 1998/10/19 22:31:50 tron Exp $
d55 2
a56 1
5	STD		{ int hpux_sys_open(char *path, int flags, int mode); }
d59 1
a59 1
8	STD		{ int hpux_sys_creat(char *path, int mode); }
d61 3
a63 3
10	STD		{ int hpux_sys_unlink(char *path); }
11	STD		{ int hpux_sys_execv(char * path, char **argp); }
12	STD		{ int hpux_sys_chdir(char *path); }
d65 5
a69 3
14	STD		{ int hpux_sys_mknod(char *path, int mode, int dev); }
15	STD		{ int hpux_sys_chmod(char *path, int mode); }
16	STD		{ int hpux_sys_chown(char *path, int uid, int gid); }
d71 1
a71 1
18	STD		{ int hpux_sys_stat_6x(char *path, \
d94 1
a94 1
33	STD		{ int hpux_sys_access(char *path, int flags); }
d99 2
a100 1
38	STD		{ int hpux_sys_stat(char *path, struct hpux_stat *sb); }
d102 2
a103 1
40	STD		{ int hpux_sys_lstat(char *path, struct hpux_stat *sb); }
d121 2
a122 1
56	STD		{ int hpux_sys_symlink(char *path, char *link); }
d125 1
a125 1
58	STD		{ int hpux_sys_readlink(char *path, char *buf, \
d127 1
a127 1
59	STD		{ int hpux_sys_execve(char *path, char **argp, \
d209 4
a212 2
128	STD		{ int hpux_sys_rename(char *from, char *to); }
129	STD		{ int hpux_sys_truncate(char *path, long length); }
d219 2
a220 2
136	STD		{ int hpux_sys_mkdir(char *path, int mode); }
137	STD		{ int hpux_sys_rmdir(char *path); }
@


1.18
log
@Defopt SYSVMSG, SYSVSEM and SYSVSHM.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.17 1998/02/19 00:37:43 thorpej Exp $
d35 1
@


1.17
log
@Update a comment to reflect new makesyscalls.sh behavior.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.16 1998/02/14 21:16:35 kleink Exp $
d33 2
@


1.16
log
@Use sys___posix_fchown() instead of sys_fchown().
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.15 1997/10/17 18:39:14 scottr Exp $
d32 1
a32 1
; #include's are copied to the syscall switch definition file only.
@


1.15
log
@ptrace() emulation is no longer supported, and probably hasn't worked
for some time anyway.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.14 1997/10/15 17:18:29 mycroft Exp $
d195 1
a195 1
123	NOARGS		{ int sys_fchown(int fd, int uid, int gid); }
@


1.14
log
@Fix a typo inherited from kern/syscalls.master.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.13 1997/03/16 03:48:04 thorpej Exp $
d75 1
d78 3
@


1.13
log
@Use hpux_sendsig() and hpux_sys_sigreturn().
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.12 1996/09/07 14:21:57 mycroft Exp $
d213 1
a213 1
			    struct ogetrlimit *rlp); }
d215 1
a215 1
			    struct ogetrlimit *rlp); }
@


1.12
log
@Modify poll(2) prototype.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.11 1996/09/07 13:23:39 mycroft Exp $
d45 2
d165 2
a166 1
103	NOARGS		{ int sys_sigreturn(struct sigcontext *sigcntxp); }
@


1.11
log
@Implement poll(2).
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.10 1996/09/03 03:12:21 mycroft Exp $
d371 1
a371 1
269	NOARGS		{ int sys_poll(struct pollfd *fds, size_t nfds, \
@


1.10
log
@Define execv() and execve() consistently across emulations.
Do path name translation.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.9 1995/11/28 08:39:56 thorpej Exp $
d39 1
d371 2
a372 1
269	UNIMPL
@


1.9
log
@Get COMPAT_HPUX partially working on the hp300.  Notable improvements:
	* It compiles (and links).
	* Make use of "/emul/hpux" where applicable.
	* Untangle a bit, pulling some funtions from the monolithic
	  hpux_compat.c into hpux_file.c, hpux_exec.c, etc.
	* Fix a couple of bugs.
Yet to do:
	* Move hp300-specific functions into hp300/hp300/hpux_machdep.c.
	* Make everything work properly (you laugh...)

These changes are sufficient to run some simple HP-UX 9.x executables,
including ls(1) (which will read password and group information from the
YP server correctly, albeit slowly), a simple "hello world", uname(1),
and a few other odds and ends.  Dynamically linked executables work, and
demand-paging _seems_ to work properly.  Major problems:
	* socket and/or signal handling appears to need some work yet.
	* 99% sure I didn't do exactly the right thing adjusting for the
	  fact that "kstack" is gone now.
	* ktrace(1)'ing some executables (HP-UX telnet(1) is what I tried)
	  causes the HP-UX executable to dump core with a SIGSEGV for an
	  as of yet unknown reason.

This is mostly meant as a checkpoint/snapshot, to make it easier for others
to track progress on this code, and hack on it themselves.  It's certainly
better off now than before.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.8 1995/10/07 06:26:42 mycroft Exp $
d55 1
a55 1
11	STD		{ int hpux_sys_execv(char * path, char * * argp); }
d111 1
a111 1
59	NOARGS		{ int sys_execve(char *path, char **argp, \
@


1.9.4.1
log
@From trunk:
Do execv() and execve() path name translation consistently across
emulations.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.10 1996/09/03 03:12:21 mycroft Exp $
d55 1
a55 1
11	STD		{ int hpux_sys_execv(char * path, char **argp); }
d111 1
a111 1
59	STD		{ int hpux_sys_execve(char *path, char **argp, \
@


1.8
log
@Prefix names of system call implementation functions with `sys_'.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.7 1995/05/10 16:45:47 christos Exp $
d38 1
d54 1
a54 1
10	NOARGS		{ int sys_unlink(char *path); }
d56 5
a60 5
12	NOARGS		{ int sys_chdir(char *path); }
13	COMPAT_HPUX_6X	{ int sys_time(time_t *t); }
14	NOARGS		{ int sys_mknod(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); }
d62 2
a63 1
18	COMPAT_HPUX_6X	{ int sys_stat(char *path, struct hpux_ostat *sb); }
d71 1
a71 1
25	COMPAT_HPUX_6X	{ int sys_stime(int time); }
d74 10
a83 9
27	COMPAT_HPUX_6X	{ int sys_alarm(int deltat); }
28	COMPAT_HPUX_6X	{ int sys_fstat(int fd, struct hpux_ostat *sb); }
29	COMPAT_HPUX_6X	{ int sys_pause(void); }
30	COMPAT_HPUX_6X	{ int sys_utime(char *fname, time_t *tptr); }
31	COMPAT_HPUX_6X	{ int sys_stty(int fd, caddr_t arg); }
32	COMPAT_HPUX_6X	{ int sys_gtty(int fd, caddr_t arg); }
33	NOARGS		{ int sys_access(char *path, int flags); }
34	COMPAT_HPUX_6X	{ int sys_nice(int nval); }
35	COMPAT_HPUX_6X	{ int sys_ftime(struct hpux_timeb *tp); }
d87 1
a87 1
39	COMPAT_HPUX_6X	{ int sys_setpgrp(void); }
d91 1
a91 1
43	COMPAT_HPUX_6X	{ int sys_times(struct tms *tms); }
d98 1
a98 1
48	COMPAT_HPUX_6X	{ int sys_ssig(int signo, sig_t fun); }
d106 1
a106 1
56	NOARGS		{ int sys_symlink(char *path, char *link); }
d109 2
a110 1
58	NOARGS		{ int sys_readlink(char *path, char *buf, int count); }
d192 2
a193 2
128	NOARGS		{ int sys_rename(char *from, char *to); }
129	NOARGS		{ int compat_43_sys_truncate(char *path, long length); }
d200 2
a201 2
136	NOARGS		{ int sys_mkdir(char *path, int mode); }
137	NOARGS		{ int sys_rmdir(char *path); }
@


1.7
log
@Made this compile on the i386 (gasp)... Someone will need to test it.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.10 1995/03/31 03:06:51 christos Exp $
a3 2
; System call name/number master file (or rather, slave, from HPUX).
; Processed to created hpux_sysent.c, hpux_syscalls.c and hpux_syscall.h.
d5 4
a8 1
; Columns: number type nargs name altname/comments
d10 23
a32 5
;	type	one of STD, OBSOL, UNIMPL, STD
;	nargs	number of arguments
;	name	name of syscall routine
;	altname	name of system call if different
;		for UNIMPL/OBSOL, name continues with comments
a34 1
#include <compat/hpux/hpux.h>
d39 2
d43 48
a90 56
; types:
;	STD	always included
;	STD	included on COMPAT #ifdef
;	LIBSTD 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	NOARGS		{ int nosys(void); } syscall
1	NOARGS		{ int exit(int rval); }
2	STD		{ int hpux_fork(void); }
3	STD		{ int hpux_read(int fd, char *buf, u_int nbyte); }
4	STD		{ int hpux_write(int fd, char *buf, u_int nbyte); }
5	STD		{ int hpux_open(char *path, int flags, int mode); }
6	NOARGS		{ int close(int fd); }
7	STD		{ int hpux_wait(int *status); }
8	STD		{ int hpux_creat(char *path, int mode); }
9	NOARGS	 	{ int link(char *path, char *link); }
10	NOARGS		{ int unlink(char *path); }
11	STD		{ int hpux_execv(char * path, char * * argp); }
12	NOARGS		{ int chdir(char *path); }
13	COMPAT_HPUX_6X	{ int time(time_t *t); }
14	NOARGS		{ int mknod(char *path, int mode, int dev); }
15	NOARGS		{ int chmod(char *path, int mode); }
16	NOARGS		{ int chown(char *path, int uid, int gid); }
17	NOARGS		{ int obreak(char *nsize); }
18	COMPAT_HPUX_6X	{ int stat(char *path, struct hpux_ostat *sb); }
19	NOARGS		{ long compat_43_lseek(int fd, long offset, \
					       int whence); }
20	NOARGS		{ pid_t getpid(void); }
21	UNIMPL		hpux_mount
22	UNIMPL		hpux_umount
23	NOARGS		{ int setuid(uid_t uid); }
24	NOARGS		{ uid_t getuid(void); }
25	COMPAT_HPUX_6X	{ int stime(int time); }
26	STD		{ int hpux_ptrace(int req, int pid, \
					  int *addr, int data); }
27	COMPAT_HPUX_6X	{ int alarm(int deltat); }
28	COMPAT_HPUX_6X	{ int fstat(int fd, struct hpux_ostat *sb); }
29	COMPAT_HPUX_6X	{ int pause(void); }
30	COMPAT_HPUX_6X	{ int utime(char *fname, time_t *tptr); }
31	COMPAT_HPUX_6X	{ int stty(int fd, caddr_t arg); }
32	COMPAT_HPUX_6X	{ int gtty(int fd, caddr_t arg); }
33	NOARGS		{ int access(char *path, int flags); }
34	COMPAT_HPUX_6X	{ int nice(int nval); }
35	COMPAT_HPUX_6X	{ int ftime(struct hpux_timeb *tp); }
36	NOARGS		{ int sync(void); }
37	STD		{ int hpux_kill(pid_t pid, int signo); }
38	STD		{ int hpux_stat(char *path, struct hpux_stat *sb); }
39	COMPAT_HPUX_6X	{ int setpgrp(void); }
40	STD		{ int hpux_lstat(char *path, struct hpux_stat *sb); }
41	STD		{ int hpux_dup(int fd); }
42	NOARGS		{ int pipe(void); }
43	COMPAT_HPUX_6X	{ int times(struct tms *tms); }
44	NOARGS		{ int profil(caddr_t samples, u_int size, \
				     u_int offset, u_int scale); }
d92 4
a95 4
45	UNIMPL		hpux_ki_syscall
46	NOARGS		{ int setgid(gid_t gid); }
47	NOARGS		{ gid_t getgid(void); }
48	COMPAT_HPUX_6X	{ int ssig(int signo, sig_t fun); }
d98 7
a104 7
51	UNIMPL		hpux_acct
52	UNIMPL		nosys
53	UNIMPL		nosys
54	STD		{ int hpux_ioctl(int fd, int com, caddr_t data); }
55	UNIMPL		hpux_reboot
56	NOARGS		{ int symlink(char *path, char *link); }
57	STD		{ int hpux_utssys(struct hpux_utsname *uts, \
d106 32
a137 31
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	STD		{ int hpux_fcntl(int fd, int cmd, int arg); }
63	STD		{ int hpux_ulimit(int cmd, int newlimit); }
64	UNIMPL		nosys
65	UNIMPL		nosys
66	STD		{ int hpux_vfork(void); }
67	NOARGS		{ int hpux_read(int fd, char *buf, u_int nbyte); } vread
68	NOARGS		{ int hpux_write(int fd, char *buf, u_int nbyte); } vwrite
69	UNIMPL		nosys
70	UNIMPL		nosys
71	STD		{ int hpux_mmap(caddr_t addr, int len, int prot, \
					int flags, int fd, long pos); }
72	UNIMPL		nosys
73	NOARGS		{ int munmap(caddr_t addr, int len); }
74	NOARGS		{ int mprotect(caddr_t addr, int len, int prot); }
75	UNIMPL		nosys
76	UNIMPL		nosys
77	UNIMPL		nosys
78	UNIMPL		nosys
79	NOARGS		{ int getgroups(u_int gidsetsize, gid_t *gidset); }
80	NOARGS		{ int setgroups(u_int gidsetsize, gid_t *gidset); }
81	STD		{ int hpux_getpgrp2(pid_t pid); }
82	STD		{ int hpux_setpgrp2(pid_t pid, pid_t pgid); }
83	NOARGS		{ int setitimer(u_int which, struct itimerval *itv, \
					struct itimerval *oitv); }
84	STD		{ int hpux_wait3(int *status, int options, \
					 int rusage); }
d139 79
a217 78
86	NOARGS		{ int getitimer(u_int which, struct itimerval *itv); }
87	UNIMPL		nosys
88	UNIMPL		nosys
89	UNIMPL		nosys
90	NOARGS		{ int dup2(u_int from, u_int to); }
91	UNIMPL		nosys
92	STD		{ int hpux_fstat(int fd, struct hpux_stat *sb); }
93	NOARGS		{ int select(u_int nd, fd_set *in, fd_set *ou, \
				     fd_set *ex, struct timeval *tv); }
94	UNIMPL		nosys
95	NOARGS		{ int fsync(int fd); }
96	UNIMPL		nosys
97	UNIMPL		nosys
98	UNIMPL		nosys
99	UNIMPL		nosys
100	UNIMPL		nosys
101	UNIMPL		nosys
102	UNIMPL		nosys
103	NOARGS		{ int sigreturn(struct sigcontext *sigcntxp); }
104	UNIMPL		nosys
105	UNIMPL		nosys
106	UNIMPL		nosys
107	UNIMPL		nosys
108	STD		{ int hpux_sigvec(int signo, struct sigvec *nsv, \
					  struct sigvec *osv); }
109	STD		{ int hpux_sigblock(int mask); }
110	STD		{ int hpux_sigsetmask(int mask); }
111	STD		{ int hpux_sigpause(int mask); }
112	NOARGS		{ int compat_43_sigstack(struct sigstack *nss, \
						 struct sigstack *oss); }
113	UNIMPL		nosys
114	UNIMPL		nosys
115	UNIMPL		nosys
116	NOARGS		{ int gettimeofday(struct timeval *tp); }
117	UNIMPL		nosys
118	UNIMPL		nosys
119	UNIMPL		hpib_io_stub
120	STD		{ int hpux_readv(int fd, struct iovec *iovp, \
					 u_int iovcnt); }
121	STD		{ int hpux_writev(int fd, struct iovec *iovp, \
					  u_int iovcnt); }
122	NOARGS		{ int settimeofday(struct timeval *tv, \
					   struct timezone *tzp); }
123	NOARGS		{ int fchown(int fd, int uid, int gid); }
124	NOARGS		{ int fchmod(int fd, int mode); }
125	UNIMPL		nosys	
126	STD		{ int hpux_setresuid(uid_t r, uid_t e, uid_t s); }
127	STD		{ int hpux_setresgid(gid_t r, gid_t e, gid_t s); }
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	UNIMPL		nosys
132	STD		{ int hpux_sysconf(int name); }
133	UNIMPL		nosys
134	UNIMPL		nosys
135	UNIMPL		nosys
136	NOARGS		{ int mkdir(char *path, int mode); }
137	NOARGS		{ int rmdir(char *path); }
138	UNIMPL		nosys
139	UNIMPL		nosys
140	UNIMPL		nosys
141	UNIMPL		nosys
142	UNIMPL		nosys
143	UNIMPL		nosys
144	STD		{ int hpux_getrlimit(u_int which, \
					     struct ogetrlimit *rlp); }
145	STD		{ int hpux_setrlimit(u_int which, \
					     struct ogetrlimit *rlp); }
146	UNIMPL		nosys
147	UNIMPL		nosys
148	UNIMPL		nosys
149	UNIMPL		nosys
150	UNIMPL		nosys
151	UNIMPL		hpux_privgrp
152	STD		{ int hpux_rtprio(pid_t pid, int prio); }
153	UNIMPL		hpux_plock
154	STD		{ int hpux_netioctl(int call, int *args); }
155	STD		{ int hpux_lockf(int fd, int func, long size); }
d219 5
a223 5
156	NOARGS		{ int semget(key_t key, int nsems, int semflg); }
157	NOARGS		{ int __semctl(int semid, int semnum, int cmd, \
				       union semun *arg); }
158	NOARGS		{ int semop(int semid, struct sembuf *sops, \
				    u_int nsops); }
d230 7
a236 7
159	NOARGS		{ int msgget(key_t key, int msgflg); }
160	NOARGS		{ int msgctl(int msqid, int cmd, \
				     struct msqid_ds *buf); }
161	NOARGS		{ int msgsnd(int msqid, void *msgp, size_t msgsz, \
				     int msgflg); }
162	NOARGS		{ int msgrcv(int msqid, void *msgp, size_t msgsz, \
				     long msgtyp, int msgflg); }
d244 5
a248 4
163	NOARGS		{ int shmget(key_t key, int size, int shmflg); }
164	STD		{ int hpux_shmctl(int shmid, int cmd, caddr_t buf); }
165	NOARGS		{ int shmat(int shmid, void *shmaddr, int shmflg); }
166	NOARGS		{ int shmdt(void *shmaddr); }
d255 1
a255 1
167	STD		{ int hpux_advise(int arg); }
d259 1
a259 1
171	UNIMPL		nosys
d261 5
a265 5
173	UNIMPL		nosys
174	STD		{ int hpux_getcontext(char *buf, int len); }
175	UNIMPL		nosys
176	UNIMPL		nosys
177	UNIMPL		nosys
d267 1
a267 1
179	UNIMPL		nosys
d270 2
a271 2
182	UNIMPL		nosys
183	UNIMPL		nosys
d273 1
a273 1
185	UNIMPL		nosys
d278 3
a280 3
190	STD		{ int hpux_getaccess(char *path, uid_t uid, \
					     int ngroups, gid_t *gidset, \
					     void *label, void *privs); }
d290 132
a421 135
200	STD		{ int hpux_waitpid(pid_t pid, int *status, \
					   int options, \
					   struct rusage *rusage); }
201	UNIMPL		nosys
202	UNIMPL		nosys
203	UNIMPL		nosys
204	UNIMPL		nosys
205	UNIMPL		nosys
206	UNIMPL		nosys
207	UNIMPL		nosys
208	UNIMPL		nosys
209	UNIMPL		nosys
210	UNIMPL		nosys
211	UNIMPL		nosys
212	UNIMPL		nosys
213	UNIMPL		nosys
214	UNIMPL		nosys
215	UNIMPL		nosys
216	UNIMPL		nosys
217	UNIMPL		nosys
218	UNIMPL		nosys
219	UNIMPL		nosys
220	UNIMPL		nosys
221	UNIMPL		nosys
222	UNIMPL		nosys
223	UNIMPL		nosys
224	UNIMPL		nosys
225	NOARGS		{ int pathconf(char *path, int name); }
226	NOARGS		{ int fpathconf(int fd, int name); }
227	UNIMPL		nosys
228	UNIMPL		nosys
229	UNIMPL		hpux_async_daemon
230	UNIMPL		hpux_nfs_fcntl
231	NOARGS		{ int compat_43_getdirentries(int fd, char *buf, \
						      u_int count, \
						      long *basep); }
232	NOARGS		{ int compat_09_getdomainname(char *domainname, \
						      int len); }
233	UNIMPL		hpux_nfs_getfh
234	UNIMPL		hpux_vfsmount
235	UNIMPL		hpux_nfs_svc
236	NOARGS		{ int compat_09_setdomainname(char *domainname, \
						      int len); }
237	UNIMPL		hpux_statfs
238	UNIMPL		hpux_fstatfs
239	STD		{ int hpux_sigaction(int signo, \
					     struct hpux_sigaction *nsa, \
					     struct hpux_sigaction *osa); }
240	STD		{ int hpux_sigprocmask(int how, hpux_sigset_t *set, \
					       hpux_sigset_t *oset); }
241	STD		{ int hpux_sigpending(hpux_sigset_t *set); }
242	STD		{ int hpux_sigsuspend(hpux_sigset_t *set); }
243	UNIMPL		hpux_fsctl
244	UNIMPL		nosys
245	UNIMPL		hpux_pstat
246	UNIMPL		nosys
247	UNIMPL		nosys
248	UNIMPL		nosys
249	UNIMPL		nosys
250	UNIMPL		nosys
251	UNIMPL		nosys
252	UNIMPL		nosys
253	UNIMPL		nosys
254	UNIMPL		nosys
255	UNIMPL		nosys
256	UNIMPL		nosys
257	UNIMPL		nosys
258	UNIMPL		nosys
259	UNIMPL		nosys
260	UNIMPL		nosys
261	UNIMPL		nosys
262	UNIMPL		nosys
263	UNIMPL		nosys
264	UNIMPL		nosys
265	UNIMPL		nosys
266	UNIMPL		nosys
267	UNIMPL		nosys
268	NOARGS		{ int compat_43_getdtablesize(void); }
269	UNIMPL		nosys
270	UNIMPL		nosys
271	UNIMPL		nosys
272	NOARGS		{ int fchdir(int fd); }
273	UNIMPL		nosys
274	UNIMPL		nosys
275	NOARGS		{ int compat_43_accept(int s, caddr_t name, \
					       int *anamelen); }
276	NOARGS		{ int bind(int s, caddr_t name, int namelen); }
277	NOARGS		{ int connect(int s, caddr_t name, int namelen); }
278	NOARGS		{ int compat_43_getpeername(int fdes, caddr_t asa, \
						    int *alen); }
279	NOARGS		{ int compat_43_getsockname(int fdec, caddr_t asa, \
						    int *alen); }
280	NOARGS		{ int getsockopt(int s, int level, int name, \
					 caddr_t val, int *avalsize); }
281	NOARGS		{ int listen(int s, int backlog); }
282	NOARGS		{ int compat_43_recv(int s, caddr_t buf, int len, \
					     int flags); }
283	NOARGS		{ int compat_43_recvfrom(int s, caddr_t buf, \
						 size_t len, int flags, \
						 caddr_t from, \
						 int *fromlenaddr); }
284	NOARGS		{ int compat_43_recvmsg(int s, struct omsghdr *msg, \
						int flags); }
285	NOARGS		{ int compat_43_send(int s, caddr_t buf, int len, \
					     int flags); }
286	NOARGS		{ int compat_43_sendmsg(int s, caddr_t msg, \
						int flags); }
287	NOARGS		{ int sendto(int s, caddr_t buf, size_t len, \
				     int flags, caddr_t to, int tolen); }
288	STD		{ int hpux_setsockopt2(int s, int level, int name, \
					       caddr_t val, int valsize); }
289	NOARGS		{ int shutdown(int s, int how); }
290	NOARGS		{ int socket(int domain, int type, int protocol); }
291	NOARGS		{ int socketpair(int domain, int type, int protocol, \
			    int *rsv); }
292	UNIMPL		nosys
293	UNIMPL		nosys
294	UNIMPL		nosys
295	UNIMPL		nosys
296	UNIMPL		nosys
297	UNIMPL		nosys
298	UNIMPL		nosys
299	UNIMPL		nosys
300	UNIMPL		nosys
301	UNIMPL		nosys
302	UNIMPL		nosys
303	UNIMPL		nosys
304	UNIMPL		nosys
305	UNIMPL		nosys
306	UNIMPL		nosys
307	UNIMPL		nosys
308	UNIMPL		nosys
309	UNIMPL		nosys
310	UNIMPL		nosys
311	UNIMPL		nosys
d423 1
a423 1
312	NOARGS		{ int __semctl(int semid, int semnum, int cmd, \
d429 1
a429 1
313	NOARGS		{ int msgctl(int msqid, int cmd, \
d435 2
a436 1
314	STD		{ int hpux_nshmctl(int shmid, int cmd, caddr_t buf); }
@


1.6
log
@new RCS ID format.
@
text
@d1 1
a1 1
	$NetBSD: syscalls.master,v 1.5 1994/06/30 16:42:48 cgd Exp $
d3 2
a4 2
;	@@(#)syscalls.master	8.3 (Berkeley) 2/7/94
; System call name/number master file (or rather, slave, from HP-UX).
a5 3
;
; from:	Utah $Hdr: hpux_sysent.c 1.33 93/08/13$
;
d9 1
a9 1
;	type	one of STD, OBSOL, UNIMPL, COMPAT
d15 8
d25 2
a26 2
;	COMPAT	included on COMPAT #ifdef
;	LIBCOMPAT included on COMPAT #ifdef, and placed in syscall.h
d28 1
a28 2
;	UNIMPL	not implemented, placeholder only, call nosys
;	NOTIMPL	not implemented, placeholder only, call notimp
d31 48
d80 124
a203 156
0	UNIMPL	0 indir or out-of-range
1	STD	1 exit
2	STD	0 hpux_fork fork
3	STD	3 hpux_read read
4	STD	3 hpux_write write
5	STD	3 hpux_open open
6	STD	1 close
7	STD	1 hpux_wait owait
8	STD	2 hpux_creat ocreat
9	STD	2 link
10	STD	1 unlink
11	STD	2 hpux_execv execv
12	STD	1 chdir
13	COMPAT	1 hpux_time time
14	STD	3 mknod
15	STD	2 chmod
16	STD	3 chown
17	STD	1 obreak break
18	COMPAT	2 hpux_stat stat
19	STD	3 olseek
20	STD	0 getpid
21	NOTIMPL	3 mount
22	NOTIMPL	1 umount
23	STD	1 setuid
24	STD	0 getuid
25	COMPAT	1 hpux_stime stime
26	STD	4 hpux_ptrace ptrace
27	COMPAT	1 hpux_alarm alarm
28	COMPAT	2 hpux_fstat fstat
29	COMPAT	0 hpux_pause pause
30	COMPAT	2 hpux_utime utime
31	COMPAT	2 hpux_stty stty
32	COMPAT	2 hpux_gtty gtty
33	STD	2 access
34	COMPAT	1 hpux_nice nice
35	COMPAT	1 hpux_ftime ftime
36	STD	0 sync
37	STD	2 hpux_kill kill
38	STD	2 hpux_stat stat
39	COMPAT	1 hpux_setpgrp setpgrp
40	STD	2 hpux_lstat lstat
41	STD	1 hpux_dup dup
42	STD	0 pipe
43	COMPAT	1 hpux_times times
44	STD	4 profil
45	NOTIMPL	4 ki_syscall
46	STD	1 setgid
47	STD	0 getgid
48	COMPAT	2 hpux_ssig ssig
49	UNIMPL	0 reserved for USG
50	UNIMPL	0 reserved for USG
51	NOTIMPL	1 acct
52	UNIMPL	0 nosys
53	UNIMPL	0 nosys
54	STD	3 hpux_ioctl ioctl
55	NOTIMPL	4 reboot
56	STD	2 symlink
57	STD	3 hpux_utssys utssys
58	STD	3 readlink
59	STD	3 execve
60	STD	1 umask
61	STD	1 chroot
62	STD	3 hpux_fcntl fcntl
63	STD	2 hpux_ulimit ulimit
64	UNIMPL	0 nosys
65	UNIMPL	0 nosys
66	STD	0 hpux_vfork vfork
67	STD	0 hpux_read vread
68	STD	0 hpux_write vwrite
69	UNIMPL	0 nosys
70	UNIMPL	0 nosys
71	STD	6 hpux_mmap mmap
72	UNIMPL	0 nosys
73	STD	2 munmap
74	NOTIMPL	3 mprotect
75	UNIMPL	0 nosys
76	UNIMPL	0 nosys
77	UNIMPL	0 nosys
78	UNIMPL	0 nosys
79	STD	2 getgroups
80	STD	2 setgroups
81	STD	1 hpux_getpgrp2 getpgrp2
82	STD	2 hpux_setpgrp2 setpgrp2
83	STD	3 setitimer
84	STD	3 hpux_wait3 wait3
85	NOTIMPL	5 swapon
86	STD	2 getitimer
87	UNIMPL	0 nosys
88	UNIMPL	0 nosys
89	UNIMPL	0 nosys
90	STD	2 dup2
91	UNIMPL	0 nosys
92	STD	2 hpux_fstat fstat
93	STD	5 select
94	UNIMPL	0 nosys
95	STD	1 fsync
96	UNIMPL	0 nosys
97	UNIMPL	3 nosys
98	UNIMPL	2 nosys
99	UNIMPL	2 nosys
100	UNIMPL	0 nosys
101	UNIMPL	0 nosys
102	UNIMPL	0 nosys
103	STD	1 sigreturn
104	UNIMPL	2 nosys
105	UNIMPL	0 nosys
106	UNIMPL	0 nosys
107	UNIMPL	0 nosys
108	STD	3 hpux_sigvec sigvec
109	STD	1 hpux_sigblock sigblock
110	STD	1 hpux_sigsetmask sigsetmask
111	STD	1 hpux_sigpause sigpause
112	STD	2 osigstack
113	UNIMPL	0 nosys
114	UNIMPL	0 nosys
115	UNIMPL	0 nosys
116	STD	2 gettimeofday
117	UNIMPL	0 nosys
118	UNIMPL	0 nosys
119	NOTIMPL	3 hpib_io_stub
120	STD	3 hpux_readv readv
121	STD	3 hpux_writev writev
122	STD	2 settimeofday
123	STD	3 fchown
124	STD	2 fchmod
125	UNIMPL	0 nosys
126	STD	3 hpux_setresuid setresuid
127	STD	3 hpux_setresgid setresgid
128	STD	2 rename
129	COMPAT	2 truncate
130	COMPAT	2 ftruncate
131	UNIMPL	0 nosys
132	STD	1 hpux_sysconf sysconf
133	UNIMPL	0 nosys
134	UNIMPL	0 nosys
135	UNIMPL	0 nosys
136	STD	2 mkdir
137	STD	1 rmdir
138	UNIMPL	0 nosys
139	UNIMPL	0 nosys
140	UNIMPL	0 nosys
141	UNIMPL	0 nosys
142	UNIMPL	0 nosys
143	UNIMPL	0 nosys
144	COMPAT	2 getrlimit
145	COMPAT	2 setrlimit
146	UNIMPL	0 nosys
147	UNIMPL	0 nosys
148	UNIMPL	0 nosys
149	UNIMPL	0 nosys
150	UNIMPL	0 nosys
151	NOTIMPL	3 privgrp
152	STD	2 hpux_rtprio rtprio
153	NOTIMPL	1 plock
154	STD	2 hpux_netioctl netioctl
155	STD	4 hpux_lockf lockf
d205 5
a209 3
156	STD	3 semget
157	STD	4 semctl
158	STD	3 semop
d211 3
a213 3
156	NOTIMPL	3 semget
157	NOTIMPL	4 semctl
158	NOTIMPL	3 semop
d216 7
a222 4
159	STD	2 msgget
160	STD	3 msgctl
161	STD	4 msgsnd
162	STD	5 msgrcv
d224 4
a227 4
159	NOTIMPL	2 msgget
160	NOTIMPL	3 msgctl
161	NOTIMPL	4 msgsnd
162	NOTIMPL	5 msgrcv
d230 4
a233 4
163	STD	3 shmget
164	STD	3 hpux_shmctl shmctl
165	STD	3 shmat
166	STD	1 shmdt
d235 4
a238 4
163	NOTIMPL	3 shmget
164	NOTIMPL	3 shmctl
165	NOTIMPL	3 shmat
166	NOTIMPL	1 shmdt
d240 173
a412 147
167	STD	1 hpux_advise m68020_advise
168	NOTIMPL	2 nsp_init
169	NOTIMPL	3 cluster
170	NOTIMPL	4 mkrnod
171	UNIMPL	0 nosys
172	NOTIMPL	0 unsp_open
173	UNIMPL	0 nosys
174	STD	3 hpux_getcontext getcontext
175	UNIMPL	0 nosys
176	UNIMPL	0 nosys
177	UNIMPL	0 nosys
178	NOTIMPL	0 lsync
179	UNIMPL	0 nosys
180	NOTIMPL	0 mysite
181	NOTIMPL	1 sitels
182	UNIMPL	0 nosys
183	UNIMPL	0 nosys
184	NOTIMPL	4 dskless_stats
185	UNIMPL	0 nosys
186	NOTIMPL	3 setacl
187	NOTIMPL	3 fsetacl
188	NOTIMPL	3 getacl
189	NOTIMPL	3 fgetacl
190	STD	6 hpux_getaccess getaccess
191	NOTIMPL	0 getaudid
192	NOTIMPL	1 setaudid
193	NOTIMPL	0 getaudproc
194	NOTIMPL	1 setaudproc
195	NOTIMPL	2 getevent
196	NOTIMPL	2 setevent
197	NOTIMPL	1 audwrite
198	NOTIMPL	1 audswitch
199	NOTIMPL	4 audctl
200	STD	3 hpux_waitpid waitpid
201	UNIMPL	0 nosys
202	UNIMPL	0 nosys
203	UNIMPL	6 nosys
204	UNIMPL	0 nosys
205	UNIMPL	0 nosys
206	UNIMPL	9 nosys
207	UNIMPL	0 nosys
208	UNIMPL	0 nosys
209	UNIMPL	6 nosys
210	UNIMPL	5 nosys
211	UNIMPL	0 nosys
212	UNIMPL	0 nosys
213	UNIMPL	0 nosys
214	UNIMPL	0 nosys
215	UNIMPL	0 nosys
216	UNIMPL	0 nosys
217	UNIMPL	0 nosys
218	UNIMPL	0 nosys
219	UNIMPL	0 nosys
220	UNIMPL	4 nosys
221	UNIMPL	10 nosys
222	UNIMPL	0 nosys
223	UNIMPL	0 nosys
224	UNIMPL	0 nosys
225	NOTIMPL	2 pathconf
226	NOTIMPL	2 fpathconf
227	UNIMPL	0 nosys
228	UNIMPL	0 nosys
229	NOTIMPL	0 async_daemon
230	NOTIMPL	3 nfs_fcntl
231	COMPAT	4 getdirentries
232	COMPAT	2 getdomainname
233	NOTIMPL	2 nfs_getfh
234	NOTIMPL	4 vfsmount
235	NOTIMPL	1 nfs_svc
236	COMPAT	2 setdomainname
237	NOTIMPL	2 statfs
238	NOTIMPL	2 fstatfs
239	STD	3 hpux_sigaction sigaction
240	STD	3 hpux_sigprocmask sigprocmask
241	STD	1 hpux_sigpending sigpending
242	STD	1 hpux_sigsuspend sigsuspend
243	NOTIMPL	4 fsctl
244	UNIMPL	0 nosys
245	NOTIMPL	3 pstat
246	UNIMPL	0 nosys
247	UNIMPL	0 nosys
248	UNIMPL	0 nosys
249	UNIMPL	0 nosys
250	UNIMPL	0 nosys
251	UNIMPL	0 nosys
252	UNIMPL	0 nosys
253	UNIMPL	0 nosys
254	UNIMPL	0 nosys
255	UNIMPL	0 nosys
256	UNIMPL	0 nosys
257	UNIMPL	0 nosys
258	UNIMPL	0 nosys
259	UNIMPL	0 nosys
260	UNIMPL	0 nosys
261	UNIMPL	0 nosys
262	UNIMPL	0 nosys
263	UNIMPL	0 nosys
264	UNIMPL	0 nosys
265	UNIMPL	0 nosys
266	UNIMPL	0 nosys
267	UNIMPL	0 nosys
268	COMPAT	0 getdtablesize getnumfds
269	UNIMPL	0 nosys
270	UNIMPL	0 nosys
271	UNIMPL	0 nosys
272	STD	1 fchdir
273	UNIMPL	0 nosys
274	UNIMPL	0 nosys
275	COMPAT	3 accept
276	STD	3 bind
277	STD	3 connect
278	COMPAT	3 getpeername
279	COMPAT	3 getsockname
280	STD	5 getsockopt
281	STD	2 listen
282	COMPAT	4 recv
283	COMPAT	6 recvfrom
284	COMPAT	3 recvmsg
285	COMPAT	4 send
286	COMPAT	3 sendmsg
287	STD	6 sendto
288	STD	5 hpux_setsockopt2 setsockopt2
289	STD	2 shutdown
290	STD	3 socket
291	STD	4 socketpair
292	UNIMPL	0 nosys
293	UNIMPL	0 nosys
294	UNIMPL	0 nosys
295	UNIMPL	0 nosys
296	UNIMPL	0 nosys
297	UNIMPL	0 nosys
298	UNIMPL	0 nosys
299	UNIMPL	0 nosys
300	UNIMPL	0 nosys
301	UNIMPL	0 nosys
302	UNIMPL	0 nosys
303	UNIMPL	0 nosys
304	UNIMPL	0 nosys
305	UNIMPL	0 nosys
306	UNIMPL	0 nosys
307	UNIMPL	0 nosys
308	UNIMPL	0 nosys
309	UNIMPL	0 nosys
310	UNIMPL	0 nosys
311	UNIMPL	0 nosys
#ifdef SYSVSHM
312	STD	4 semctl nsemctl
d414 1
a414 1
312	NOTIMPL	4 nsemctl
d417 2
a418 1
313	STD	3 msgctl nmsgctl
d420 1
a420 1
313	NOTIMPL	3 nmsgctl
d423 1
a423 1
314	STD	3 hpux_nshmctl nshmctl
d425 1
a425 1
314	NOTIMPL	3 nshmctl
@


1.5
log
@fix up for new ID format, and consistency
@
text
@d1 2
a2 1
	$NetBSD: syscalls.master,v 1.4 1994/06/22 03:04:03 mycroft Exp $
@


1.4
log
@getdirentries() and getdtablesize() compat.
@
text
@d1 2
a2 2
	$Id: syscalls.master,v 1.3 1994/05/23 08:03:32 mycroft Exp $
;	from: @@(#)syscalls.master	8.3 (Berkeley) 2/7/94
@


1.3
log
@Merge with 4.4-Lite.
@
text
@d1 1
a1 1
	$Id: $
d278 1
a278 1
231	STD	4 getdirentries
d315 1
a315 1
268	STD	0 getdtablesize getnumfds
@


1.2
log
@fix syscall for new names
@
text
@d1 7
a7 3
 	$Id: syscalls.master,v 1.1 1994/01/07 00:44:10 mycroft Exp $
; System call name/number master file.
; Processed to created init_sysent.c, syscalls.c and syscall.h.
d11 1
a11 1
;	type	one of STD, OBSOL, UNIMPL, NODEF, COMPAT
d22 2
a23 2
;	NODEF	do everything except include in syscall.h
;	UNIMPL	not implemented, placeholder only
d27 1
a27 1
0	STD	0 nosys
d29 4
a32 4
2	STD	0 fork
3	STD	3 hpux_read
4	STD	3 hpux_write
5	STD	3 hpux_open
d34 2
a35 2
7	STD	1 hpux_wait
8	STD	2 ocreat creat
d40 1
a40 1
13	COMPAT	1 hpux_time
d45 2
a46 2
18	COMPAT	2 hpux_stat
19	STD	3 lseek
d48 2
a49 2
21	STD	3 notimp mount
22	STD	1 notimp umount
d52 8
a59 8
25	COMPAT	1 hpux_stime
26	STD	4 hpux_ptrace
27	COMPAT	1 hpux_alarm
28	COMPAT	2 hpux_fstat
29	COMPAT	0 hpux_pause
30	COMPAT	2 hpux_utime
31	COMPAT	2 hpux_stty
32	COMPAT	2 hpux_gtty
d61 2
a62 2
34	COMPAT	1 hpux_nice
35	COMPAT	1 hpux_ftime
d64 5
a68 5
37	STD	2 hpux_kill
38	STD	2 hpux_stat
39	COMPAT	1 hpux_setpgrp
40	STD	2 hpux_lstat
41	STD	1 hpux_dup
d70 1
a70 1
43	COMPAT	1 hpux_times
d72 1
a72 1
45	STD	4 notimp ki_syscall
d75 8
a82 8
48	COMPAT	2 hpux_ssig
49	UNIMPL	0 reserved
50	UNIMPL	0 reserved
51	STD	1 notimp acct
52	UNIMPL	0 old set phys addr
53	UNIMPL	0 old lock in core
54	STD	3 hpux_ioctl
55	STD	4 notimp reboot
d84 1
a84 1
57	STD	3 hpux_utssys
d89 17
a105 17
62	STD	3 hpux_fcntl
63	STD	2 hpux_ulimit
64	STD	0 nosys
65	STD	0 nosys
66	STD	0 vfork
67	STD	0 hpux_read
68	STD	0 hpux_write
69	STD	0 nosys
70	STD	0 nosys
71	STD	0 nosys
72	STD	0 nosys
73	STD	0 nosys
74	STD	3 notimp mprotect
75	STD	0 nosys
76	STD	0 nosys
77	STD	0 nosys
78	STD	0 nosys
d108 2
a109 2
81	STD	1 hpux_getpgrp2
82	STD	2 hpux_setpgrp2
d111 2
a112 2
84	STD	3 hpux_wait3
85	STD	1 notimp swapon
d114 3
a116 3
87	STD	0 nosys
88	STD	0 nosys
89	STD	0 nosys
d118 2
a119 2
91	STD	2 nosys
92	STD	2 hpux_fstat
d121 1
a121 1
94	STD	0 nosys
d123 7
a129 7
96	STD	0 nosys
97	STD	3 nosys
98	STD	2 nosys
99	STD	2 nosys
100	STD	0 nosys
101	STD	0 nosys
102	STD	0 nosys
d131 8
a138 8
104	STD	2 nosys
105	STD	0 nosys
106	STD	0 nosys
107	STD	0 nosys
108	STD	3 hpux_sigvec
109	STD	1 hpux_sigblock 
110	STD	1 hpux_sigsetmask
111	STD	1 hpux_sigpause
d140 3
a142 3
113	STD	0 nosys
114	STD	0 nosys
115	STD	0 nosys
d144 5
a148 5
117	STD	0 nosys
118	STD	0 nosys
119	STD	3 notimp hpib_io_stub
120	STD	3 hpux_readv
121	STD	3 hpux_writev
d152 3
a154 3
125	STD	0 nosys
126	STD	3 hpux_setresuid
127	STD	3 hpux_setresgid
d156 7
a162 7
129	STD	2 truncate
130	STD	2 ftruncate
131	STD	0 nosys
132	STD	1 notimp sysconf
133	STD	0 nosys
134	STD	0 nosys
135	STD	0 nosys
d165 14
a178 14
138	STD	0 nosys
139	STD	0 sigreturn
140	STD	0 nosys
141	STD	0 nosys
142	STD	0 nosys
143	STD	0 nosys
144	STD	0 nosys
145	STD	0 nosys
146	STD	0 nosys
147	STD	0 nosys
148	STD	0 nosys
149	STD	0 nosys
150	STD	0 nosys
151	STD	3 notimp privgrp
d180 3
a182 3
153	STD	1 notimp plock
154	STD	2 hpux_netioctl
155	STD	4 hpux_lockf
d188 3
a190 3
156	STD	3 notimp semget
157	STD	4 notimp semctl
158	STD	3 notimp semop
d198 4
a201 4
159	STD	2 notimp msgget
160	STD	3 notimp msgctl
161	STD	4 notimp msgsnd
162	STD	5 notimp msgrcv
d205 1
a205 1
164	STD	3 shmctl
d209 4
a212 4
163	STD	3 notimp shmget
164	STD	3 notimp shmctl
165	STD	3 notimp shmat
166	STD	1 notimp shmdt
d214 64
a277 64
167	STD	1 hpux_advise
168	STD	0 notimp dux_notconfigured
169	STD	3 notimp cluster
170	STD	4 notimp mkrnod
171	STD	0 nosys
172	STD	0 notimp dux_notconfigured
173	STD	0 nosys
174	STD	3 hpux_getcontext
175	STD	0 nosys
176	STD	0 nosys
177	STD	0 nosys
178	STD	0 notimp lsync
179	STD	0 nosys
180	STD	0 notimp mysite
181	STD	0 notimp returnzero
182	STD	0 nosys
183	STD	0 nosys
184	STD	0 nosys
185	STD	0 nosys
186	STD	3 notimp setacl
187	STD	3 notimp fsetacl
188	STD	3 notimp getacl
189	STD	3 notimp fgetacl
190	STD	6 hpux_getaccess
191	STD	0 notimp getaudid
192	STD	1 notimp setaudid
193	STD	0 notimp getaudproc
194	STD	1 notimp setaudproc
195	STD	2 notimp getevent
196	STD	2 notimp setevent
197	STD	1 notimp audwrite
198	STD	1 notimp audswitch
199	STD	4 notimp audctl
200	STD	3 hpux_waitpid
201	STD	0 nosys
202	STD	2 notimp netioctl
203	STD	6 nosys
204	STD	0 nosys
205	STD	0 nosys
206	STD	9 nosys
207	STD	0 nosys
208	STD	0 nosys
209	STD	6 nosys
210	STD	5 nosys
211	STD	0 nosys
212	STD	0 nosys
213	STD	0 nosys
214	STD	0 nosys
215	STD	0 nosys
216	STD	0 nosys
217	STD	0 nosys
218	STD	0 nosys
219	STD	0 nosys
220	STD	4 nosys
221	STD	10 nosys
222	STD	0 nosys
223	STD	0 nosys
224	STD	0 nosys
225	STD	2 notimp pathconf
226	STD	2 notimp fpathconf
227	STD	0 nosys
228	STD	0 nosys
229	STD	0 notimp async_daemon
230	STD	3 notimp nfs_fcntl
d279 95
a373 11
232	STD	2 ogetdomainname
233	STD	2 notimp nfs_getfh
234	STD	4 notimp vfsmount
235	STD	1 notimp nfs_svc
236	STD	2 osetdomainname
237	STD	0 notimp statfs
238	STD	0 notimp fstatfs
239	STD	3 hpux_sigaction
240	STD	3 hpux_sigprocmask
241	STD	1 hpux_sigpending
242	STD	1 hpux_sigsuspend
@


1.1
log
@Partial cleanup.  Needs more work.
@
text
@d1 1
a1 1
 	$Id: syscalls.master,v 1.10 1993/12/12 19:28:21 deraadt Exp $
d24 1
a24 1
1	STD	1 rexit exit
d56 1
a56 1
33	STD	2 saccess access
d135 1
a135 1
112	STD	2 sigstack
d275 1
a275 1
232	STD	2 getdomainname
d279 1
a279 1
236	STD	2 setdomainname
@
