The NetBSD Project

CVS log for src/sys/arch/vax/vax/sig_machdep.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / vax / vax

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.26 / (download) - annotate - [select for diffs], Mon Nov 1 05:07:16 2021 UTC (2 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

Use "stack_t" instead of "struct sigaltstack", as the former is the
newer standardized name.  NFC.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Oct 27 04:15:00 2021 UTC (2 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.24: +4 -3 lines
Diff to previous 1.24 (colored)

Use the signal trampoline version constants from <sys/signal.h>.

Revision 1.22.10.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:51 2019 UTC (4 years, 8 months ago) by christos
Branch: phil-wifi
Changes since 1.22: +5 -5 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Sync with HEAD

Revision 1.21.32.1 / (download) - annotate - [select for diffs], Wed Jan 30 13:32:58 2019 UTC (5 years ago) by martin
Branch: netbsd-7-0
Changes since 1.21: +4 -3 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Pull up following revision(s) (requested by maxv in ticket #1677):

	sys/arch/hppa/hppa/sig_machdep.c: revision 1.26
	sys/arch/arm/arm/sig_machdep.c: revision 1.51
	sys/arch/i386/i386/machdep.c: revision 1.813
	sys/arch/alpha/alpha/machdep.c: revision 1.352
	sys/arch/m68k/m68k/sig_machdep.c: revision 1.50
	sys/arch/usermode/target/i386/cpu_i386.c: revision 1.8
	sys/arch/sparc64/sparc64/machdep.c: revision 1.289
	sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.111
	sys/arch/powerpc/powerpc/sig_machdep.c: revision 1.46
	sys/arch/amd64/amd64/netbsd32_machdep.c: revision 1.117
	sys/arch/sh3/sh3/sh3_machdep.c: revision 1.106
	sys/arch/mips/mips/netbsd32_machdep.c: revision 1.16
	sys/arch/mips/mips/sig_machdep.c: revision 1.24
	sys/arch/usermode/target/x86_64/cpu_x86_64.c: revision 1.7
	sys/arch/vax/vax/sig_machdep.c: revision 1.23

Fix widespread leak in the sendsig_siginfo() functions. sigframe_siginfo
has padding, so zero it out properly. While here I'm also zeroing out some
other things in several ports, for safety. Same problem in netbsd32, so
fix that too.

I can't compile-test on each architecture, but there should be no
breakage (tm).

Overall this fixes at least 14 info leaks. Prompted by the discovery by
KLEAK of a leak in amd64's sendsig_siginfo.

Revision 1.21.40.1 / (download) - annotate - [select for diffs], Wed Jan 30 13:29:52 2019 UTC (5 years ago) by martin
Branch: netbsd-7-1
Changes since 1.21: +4 -3 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Pull up following revision(s) (requested by maxv in ticket #1677):

	sys/arch/hppa/hppa/sig_machdep.c: revision 1.26
	sys/arch/arm/arm/sig_machdep.c: revision 1.51
	sys/arch/i386/i386/machdep.c: revision 1.813
	sys/arch/alpha/alpha/machdep.c: revision 1.352
	sys/arch/m68k/m68k/sig_machdep.c: revision 1.50
	sys/arch/usermode/target/i386/cpu_i386.c: revision 1.8
	sys/arch/sparc64/sparc64/machdep.c: revision 1.289
	sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.111
	sys/arch/powerpc/powerpc/sig_machdep.c: revision 1.46
	sys/arch/amd64/amd64/netbsd32_machdep.c: revision 1.117
	sys/arch/sh3/sh3/sh3_machdep.c: revision 1.106
	sys/arch/mips/mips/netbsd32_machdep.c: revision 1.16
	sys/arch/mips/mips/sig_machdep.c: revision 1.24
	sys/arch/usermode/target/x86_64/cpu_x86_64.c: revision 1.7
	sys/arch/vax/vax/sig_machdep.c: revision 1.23

Fix widespread leak in the sendsig_siginfo() functions. sigframe_siginfo
has padding, so zero it out properly. While here I'm also zeroing out some
other things in several ports, for safety. Same problem in netbsd32, so
fix that too.

I can't compile-test on each architecture, but there should be no
breakage (tm).

Overall this fixes at least 14 info leaks. Prompted by the discovery by
KLEAK of a leak in amd64's sendsig_siginfo.

Revision 1.21.28.1 / (download) - annotate - [select for diffs], Wed Jan 30 13:27:28 2019 UTC (5 years ago) by martin
Branch: netbsd-7
Changes since 1.21: +4 -3 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Pull up following revision(s) (requested by maxv in ticket #1677):

	sys/arch/hppa/hppa/sig_machdep.c: revision 1.26
	sys/arch/arm/arm/sig_machdep.c: revision 1.51
	sys/arch/i386/i386/machdep.c: revision 1.813
	sys/arch/alpha/alpha/machdep.c: revision 1.352
	sys/arch/m68k/m68k/sig_machdep.c: revision 1.50
	sys/arch/usermode/target/i386/cpu_i386.c: revision 1.8
	sys/arch/sparc64/sparc64/machdep.c: revision 1.289
	sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.111
	sys/arch/powerpc/powerpc/sig_machdep.c: revision 1.46
	sys/arch/amd64/amd64/netbsd32_machdep.c: revision 1.117
	sys/arch/sh3/sh3/sh3_machdep.c: revision 1.106
	sys/arch/mips/mips/netbsd32_machdep.c: revision 1.16
	sys/arch/mips/mips/sig_machdep.c: revision 1.24
	sys/arch/usermode/target/x86_64/cpu_x86_64.c: revision 1.7
	sys/arch/vax/vax/sig_machdep.c: revision 1.23

Fix widespread leak in the sendsig_siginfo() functions. sigframe_siginfo
has padding, so zero it out properly. While here I'm also zeroing out some
other things in several ports, for safety. Same problem in netbsd32, so
fix that too.

I can't compile-test on each architecture, but there should be no
breakage (tm).

Overall this fixes at least 14 info leaks. Prompted by the discovery by
KLEAK of a leak in amd64's sendsig_siginfo.

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Sun Jan 27 18:43:09 2019 UTC (5 years ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.22: +4 -3 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Pull up following revision(s) (requested by maxv in ticket #1173):
	sys/arch/hppa/hppa/sig_machdep.c: revision 1.26
	sys/arch/arm/arm/sig_machdep.c: revision 1.51
	sys/arch/i386/i386/machdep.c: revision 1.813
	sys/arch/alpha/alpha/machdep.c: revision 1.352
	sys/arch/m68k/m68k/sig_machdep.c: revision 1.50
	sys/arch/usermode/target/i386/cpu_i386.c: revision 1.8
	sys/arch/sparc64/sparc64/machdep.c: revision 1.289
	sys/arch/sparc64/sparc64/netbsd32_machdep.c: revision 1.111
	sys/arch/powerpc/powerpc/sig_machdep.c: revision 1.46
	sys/arch/amd64/amd64/netbsd32_machdep.c: revision 1.117
	sys/arch/sh3/sh3/sh3_machdep.c: revision 1.106
	sys/arch/mips/mips/netbsd32_machdep.c: revision 1.16
	sys/arch/mips/mips/sig_machdep.c: revision 1.24
	sys/arch/riscv/riscv/sig_machdep.c: revision 1.2
	sys/arch/usermode/target/x86_64/cpu_x86_64.c: revision 1.7
	sys/arch/vax/vax/sig_machdep.c: revision 1.23

Fix widespread leak in the sendsig_siginfo() functions. sigframe_siginfo
has padding, so zero it out properly. While here I'm also zeroing out some
other things in several ports, for safety. Same problem in netbsd32, so
fix that too.

I can't compile-test on each architecture, but there should be no
breakage (tm).

Overall this fixes at least 14 info leaks. Prompted by the discovery by
KLEAK of a leak in amd64's sendsig_siginfo.

Revision 1.22.8.2 / (download) - annotate - [select for diffs], Fri Jan 18 08:50:24 2019 UTC (5 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.22.8.1: +3 -4 lines
Diff to previous 1.22.8.1 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored)

Synch with HEAD

Revision 1.24 / (download) - annotate - [select for diffs], Sat Dec 29 11:30:12 2018 UTC (5 years, 1 month ago) by maxv
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.23: +3 -4 lines
Diff to previous 1.23 (colored)

Retire compat_ibcs2, as discussed on tech-kern@. FreeBSD did the same
recently.

Revision 1.22.8.1 / (download) - annotate - [select for diffs], Wed Dec 26 14:01:44 2018 UTC (5 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.22: +4 -3 lines
Diff to previous 1.22 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.23 / (download) - annotate - [select for diffs], Tue Nov 27 14:09:54 2018 UTC (5 years, 2 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-1226
Changes since 1.22: +4 -3 lines
Diff to previous 1.22 (colored)

Fix widespread leak in the sendsig_siginfo() functions. sigframe_siginfo
has padding, so zero it out properly. While here I'm also zeroing out some
other things in several ports, for safety. Same problem in netbsd32, so
fix that too.

I can't compile-test on each architecture, but there should be no
breakage (tm).

Overall this fixes at least 14 info leaks. Prompted by the discovery by
KLEAK of a leak in amd64's sendsig_siginfo.

Revision 1.21.12.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:48 2017 UTC (6 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.21: +3 -7 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

update from HEAD

Revision 1.21.30.1 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:55 2017 UTC (6 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.21: +3 -7 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

Sync with HEAD

Revision 1.22 / (download) - annotate - [select for diffs], Mon May 22 16:53:05 2017 UTC (6 years, 9 months ago) by ragge
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, phil-wifi-base, pgoyette-compat-base, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek
Branch point for: phil-wifi, pgoyette-compat, netbsd-8
Changes since 1.21: +3 -7 lines
Diff to previous 1.21 (colored)

Update copyright notice for Ludd (remove clause 3 & 4).

Revision 1.8.2.3 / (download) - annotate - [select for diffs], Sat Aug 11 17:43:21 2012 UTC (11 years, 6 months ago) by matt
Branch: yamt-idlelwp
Changes since 1.8.2.2: +3 -3 lines
Diff to previous 1.8.2.2 (colored) next main 1.9 (colored)

Include compat stuff for IBCS2 as well.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Jul 3 02:18:21 2011 UTC (12 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, localcount-20160914, khorben-n900, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver
Branch point for: tls-maxphys, nick-nhusb, netbsd-7-1, netbsd-7-0, netbsd-7
Changes since 1.20: +15 -16 lines
Diff to previous 1.20 (colored)

Cleanup trapframe handling.  Instead of keeping a trapframe pointer in the
pcb, put in the mdlwp instead.  We had a dummy field so it didn't grow in
size.  This also follows the practice that mips and powerpc follow that a
pointer to the user trapframe is in l->l_md.md_utf.  Make trapframe members
start with tf_

Revision 1.19.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:52:20 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.19: +6 -31 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

sync with head

Revision 1.20 / (download) - annotate - [select for diffs], Tue Dec 14 23:44:50 2010 UTC (13 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: uebayasi-xip-base7, rmind-uvmplock-nbase, rmind-uvmplock-base, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.19: +6 -31 lines
Diff to previous 1.19 (colored)

Cleanups includes.  Change <machine/XXX.h> to <sys/XXX.h>
Remove unneeded includes.

Revision 1.15.2.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:06 2010 UTC (13 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.15.2.1: +4 -4 lines
Diff to previous 1.15.2.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

sync with head

Revision 1.19 / (download) - annotate - [select for diffs], Sat Nov 21 04:45:39 2009 UTC (14 years, 3 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, matt-premerge-20091211
Branch point for: rmind-uvmplock
Changes since 1.18: +4 -4 lines
Diff to previous 1.18 (colored)

- Use lwp_getpcb() on VAX, clean from struct user usage.
- Include sys/user.h in MD proc.h .

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Mon May 4 08:12:05 2009 UTC (14 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.15: +6 -229 lines
Diff to previous 1.15 (colored)

sync with head.

Revision 1.15.10.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:17:02 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.15: +6 -229 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Sync with HEAD.

Revision 1.14.6.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:36 2009 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.14.6.1: +4 -227 lines
Diff to previous 1.14.6.1 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

Sync with HEAD.

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jan 13 23:56:13 2009 UTC (15 years, 1 month ago) by mjf
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, mjf-devfs2-base, jymxensuspend-base, jym-xensuspend
Changes since 1.17: +6 -239 lines
Diff to previous 1.17 (colored)

- Separate the COMPAT_13 and COMPAT_16 code into their own files and
  compile them only when the relevant config options are set.

- Provide a sendsig_sigcontext() implementation using the existing vax
  signal code; it already does the correct thing.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Dec 27 16:26:06 2008 UTC (15 years, 1 month ago) by cegger
Branch: MAIN
Changes since 1.16: +12 -2 lines
Diff to previous 1.16 (colored)

add stub for sendsig_sigcontext().
I leave this to our vax guys to implement it.
Implementing it is another step to make vax kernels build again.

Revision 1.16 / (download) - annotate - [select for diffs], Sat Dec 20 12:50:24 2008 UTC (15 years, 2 months ago) by cegger
Branch: MAIN
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

catch up with latest changes: sendsig -> sendsig_siginfo

Revision 1.14.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:48 2008 UTC (15 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.14: +12 -12 lines
Diff to previous 1.14 (colored)

Sync with HEAD.

Revision 1.14.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:33:00 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.14: +12 -12 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

sync with head.

Revision 1.15.4.3 / (download) - annotate - [select for diffs], Wed May 14 19:54:11 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.15.4.2: +6 -6 lines
Diff to previous 1.15.4.2 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

Per discussion with ad at n dot o, revert signal mask handling
changes.

The l_sigstk changes are most likely totally un-needed as SA will
never use a signal stack - we send an upcall (or will as other
diffs are brought in).

The l_sigmask changes were too controvertial. In all honesty, I
think it's probably best to revert them. The main reason they were
there is the fact that in an SA process, we don't mask signals per
kernel thread, we mask them per user thread. In the kernel, we want
them all to get turned into upcalls. Thus the normal state of
l_sigmask in an SA process is for it to always be empty.

While we are in the process of delivering a signal, we want to
temporarily mask a signal (so we don't recursively exhaust our
upcall stacks). However signal delivery is rare (important, but
rare), and delivering back-to-back signals is even rarer. So rather
than cause every user of a signal mask to be prepared for this very
rare case, we will just add a second check later in the signal
delivery code. Said change is not in this diff.

This also un-compensates all of our compatability code for dealing
with SA. SA is a NetBSD-specific thing, so there's no need for
Irix, Linux, Solaris, SVR4 and so on to cope with it.

As previously, everything other than kern_sa.c compiles in i386
GENERIC as of this checkin. I will switch to ALL soon for compile
testing.

Revision 1.15.4.2 / (download) - annotate - [select for diffs], Wed May 14 01:35:01 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.15.4.1: +2 -3 lines
Diff to previous 1.15.4.1 (colored) to branchpoint 1.15 (colored)

Per discussion with ad, remove most of the #include <sys/sa.h> lines
as they were including sa.h just for the type(s) needed for syscallargs.h.

Instead, create a new file, sys/satypes.h, which contains just the
types needed for syscallargs.h. Yes, there's only one now, but that
may change and it's probably more likely to change if it'd be difficult
to handle. :-)

Per discussion with matt at n dot o, add an include of satypes.h to
sigtypes.h. Upcall handlers are kinda signal handlers, and signalling
is the header file that's already included for syscallargs.h that
closest matches SA.

This shaves about 3000 lines off of the diff of the branch relative
to the base. That also represents about 18% of the total before this
checkin.

I think this reduction is very good thing.

Revision 1.15.4.1 / (download) - annotate - [select for diffs], Sat May 10 23:48:47 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.15: +7 -6 lines
Diff to previous 1.15 (colored)

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.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Apr 24 18:39:22 2008 UTC (15 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, yamt-nfs-mp-base, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp, wrstuden-revivesa, nick-hppapmap
Changes since 1.14: +12 -12 lines
Diff to previous 1.14 (colored)

Merge proc::p_mutex and proc::p_smutex into a single adaptive mutex, since
we no longer need to guard against access from hardware interrupt handlers.

Additionally, if cloning a process with CLONE_SIGHAND, arrange to have the
child process share the parent's lock so that signal state may be kept in
sync. Partially addresses PR kern/37437.

Revision 1.4.18.4 / (download) - annotate - [select for diffs], Mon Jan 21 09:40:01 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.18.3: +8 -8 lines
Diff to previous 1.4.18.3 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

sync with head

Revision 1.12.10.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:49:37 2008 UTC (16 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.12.10.1: +8 -8 lines
Diff to previous 1.12.10.1 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

sync with HEAD

Revision 1.13.8.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:51:12 2008 UTC (16 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.13: +8 -8 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Sync with HEAD

Revision 1.13.4.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:42:52 2007 UTC (16 years, 2 months ago) by ad
Branch: vmlocking2
Changes since 1.13: +8 -8 lines
Diff to previous 1.13 (colored) next main 1.14 (colored)

Sync with head.

Revision 1.14 / (download) - annotate - [select for diffs], Thu Dec 20 23:02:43 2007 UTC (16 years, 2 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, vmlocking2-base3, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: yamt-pf42, mjf-devfs2
Changes since 1.13: +8 -8 lines
Diff to previous 1.13 (colored)

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.

Revision 1.12.10.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:23:15 2007 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

sync with HEAD

Revision 1.13 / (download) - annotate - [select for diffs], Wed Oct 17 19:58:00 2007 UTC (16 years, 4 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, mjf-devfs, jmcneill-pm-base, jmcneill-base, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: vmlocking2, bouyer-xeni386
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.

Revision 1.11.10.1 / (download) - annotate - [select for diffs], Wed Oct 3 19:25:41 2007 UTC (16 years, 4 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Sync with HEAD

Revision 1.4.18.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:31:00 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.18.2: +7 -7 lines
Diff to previous 1.4.18.2 (colored) to branchpoint 1.4 (colored)

sync with head.

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Sun Jul 15 13:17:10 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Sync with head.

Revision 1.11.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:02:59 2007 UTC (16 years, 7 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Sync with head.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Jul 8 10:19:24 2007 UTC (16 years, 7 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, jmcneill-pm, hpcarm-cleanup, bouyer-xenamd64
Branch point for: matt-armv6
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Initialize the link context in a signal frame to the receiving lwp's
link context instead of NULL.  Otherwise, if we got a signal while the
lwp had a link context set, the link context would be set to NULL upon
return from signal delivery.

christos@tech-kern: "I think you are right."

Revision 1.8.2.2 / (download) - annotate - [select for diffs], Mon Mar 12 05:51:20 2007 UTC (16 years, 11 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.8.2.1: +6 -6 lines
Diff to previous 1.8.2.1 (colored)

Sync with HEAD.

Revision 1.11 / (download) - annotate - [select for diffs], Sun Mar 4 19:21:55 2007 UTC (16 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, ppcoea-renovation, mjf-ufs-trans
Changes since 1.10: +4 -4 lines
Diff to previous 1.10 (colored)

Fix caddr_t fallout.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Mar 4 06:01:02 2007 UTC (16 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.9: +6 -6 lines
Diff to previous 1.9 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:53:23 2007 UTC (16 years, 11 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.8: +5 -5 lines
Diff to previous 1.8 (colored)

- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.4.18.2 / (download) - annotate - [select for diffs], Mon Feb 26 09:08:43 2007 UTC (17 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.18.1: +42 -17 lines
Diff to previous 1.4.18.1 (colored) to branchpoint 1.4 (colored)

sync with head.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Feb 21 23:48:12 2007 UTC (17 years ago) by thorpej
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Changes since 1.8: +5 -5 lines
Diff to previous 1.8 (colored)

Pick up some additional files that were missed before due to conflicts
with newlock2 merge:

Replace the Mach-derived boolean_t type with the C99 bool type.  A
future commit will replace use of TRUE and FALSE with true and false.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Feb 16 02:17:42 2007 UTC (17 years ago) by ad
Branch: MAIN
Branch point for: yamt-idlelwp
Changes since 1.7: +42 -15 lines
Diff to previous 1.7 (colored)

More MD changes to get vax compiling.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:13 2007 UTC (17 years ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge
Changes since 1.6: +2 -4 lines
Diff to previous 1.6 (colored)

Merge newlock2 to head.

Revision 1.6.20.1 / (download) - annotate - [select for diffs], Tue Jan 30 13:49:38 2007 UTC (17 years ago) by ad
Branch: newlock2
Changes since 1.6: +2 -4 lines
Diff to previous 1.6 (colored) next main 1.7 (colored)

Remove support for SA. Ok core@.

Revision 1.4.18.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:57:34 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4: +11 -6 lines
Diff to previous 1.4 (colored)

sync with head.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Dec 11 12:19:36 2005 UTC (18 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: newlock2
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

merge ktrace-lwp.

Revision 1.4.4.5 / (download) - annotate - [select for diffs], Thu Nov 10 13:59:59 2005 UTC (18 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.4.4: +11 -6 lines
Diff to previous 1.4.4.4 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Sync with HEAD. Here we go again...

Revision 1.5 / (download) - annotate - [select for diffs], Wed Sep 14 17:38:40 2005 UTC (18 years, 5 months ago) by he
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.4: +11 -6 lines
Diff to previous 1.4 (colored)

Another file which needs <compat/sys/signal.h> and <compat/sys/signalvar.h>
for native_sigset_to_sigset13.

Also fix something which must obviously be a typo:
COMAT_ULTRIX -> COMPAT_ULTRIX.

Revision 1.4.4.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:23:59 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.4.3: +2 -2 lines
Diff to previous 1.4.4.3 (colored) to branchpoint 1.4 (colored)

Fix the sync with head I botched.

Revision 1.4.4.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:42:13 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.4.2: +2 -2 lines
Diff to previous 1.4.4.2 (colored) to branchpoint 1.4 (colored)

Sync with HEAD.

Revision 1.4.4.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:42:37 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4.4.1: +459 -0 lines
Diff to previous 1.4.4.1 (colored) to branchpoint 1.4 (colored)

Sync with HEAD

Revision 1.4.4.1, Thu Dec 11 18:34:38 2003 UTC (20 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.4: +0 -459 lines
FILE REMOVED

file sig_machdep.c was added on branch ktrace-lwp on 2004-08-03 10:42:37 +0000

Revision 1.4 / (download) - annotate - [select for diffs], Thu Dec 11 18:34:38 2003 UTC (20 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-lazymbuf, ktrace-lwp
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

Copy ksi->ksi_info, not all of ksi, to user stack.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Sep 30 21:45:09 2003 UTC (20 years, 4 months ago) by matt
Branch: MAIN
Changes since 1.2: +42 -42 lines
Diff to previous 1.2 (colored)

Rearrange and with COMPAT_* properly

Revision 1.2 / (download) - annotate - [select for diffs], Mon Sep 29 22:24:53 2003 UTC (20 years, 4 months ago) by matt
Branch: MAIN
Changes since 1.1: +4 -4 lines
Diff to previous 1.1 (colored)

trap.c:		Set ksi.ksi_trap to frame->trap.
sig_machdep.c:	Use ksi->ksi_addr in compat code to supply the
		'code' argument to the old signal routines.

Revision 1.1 / (download) - annotate - [select for diffs], Mon Sep 29 21:04:53 2003 UTC (20 years, 4 months ago) by matt
Branch: MAIN

Add SA_SIGINFO support for VAX.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>