The NetBSD Project

CVS log for src/sys/kern/sys_sig.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.57 / (download) - annotate - [select for diffs], Wed Oct 4 20:42:38 2023 UTC (6 months, 1 week ago) by ad
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.56: +6 -2 lines
Diff to previous 1.56 (colored) to selected 1.45.2.1 (colored)

Sprinkle a bunch more calls to lwp_need_userret().  There should be no
functional change but it does get rid of a bunch of assumptions about how
mi_userret() works making it easier to adjust in that in the future, and
works as a kind of documentation too.

Revision 1.56 / (download) - annotate - [select for diffs], Thu Apr 21 21:31:11 2022 UTC (23 months, 3 weeks ago) by andvar
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, 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
Changes since 1.55: +3 -3 lines
Diff to previous 1.55 (colored) to selected 1.45.2.1 (colored)

s/substract/subtract/ in comments and error message.
s/obtainted/obtained/ in one comment.

Revision 1.55 / (download) - annotate - [select for diffs], Sun Nov 7 01:51:56 2021 UTC (2 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.54: +6 -2 lines
Diff to previous 1.54 (colored) to selected 1.45.2.1 (colored)

Add a comment describing why we give carte blanche to processes
marked as PK_32.  NFC.

Revision 1.54 / (download) - annotate - [select for diffs], Mon Nov 1 05:07:17 2021 UTC (2 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.53: +5 -6 lines
Diff to previous 1.53 (colored) to selected 1.45.2.1 (colored)

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

Revision 1.53 / (download) - annotate - [select for diffs], Wed Oct 27 04:45:42 2021 UTC (2 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.52: +29 -22 lines
Diff to previous 1.52 (colored) to selected 1.45.2.1 (colored)

- In sendsig() and sigaction1(), don't hard-code signal trampoline
  versions.  Instead, use the version constants from <sys/signal.h>
  and automatically (and correctly) handle cases where multiple versions
  of a particular trampoline flavor exist.  Conditionalize support
  for sigcontext trampolines on __HAVE_STRUCT_SIGCONTEXT.
- aarch64 and amd64 don't use sigcontext natively, but do need to
  support it for 32-bit compatibility; define __HAVE_STRUCT_SIGCONTEXT
  conditionally on _KERNEL.

Revision 1.52 / (download) - annotate - [select for diffs], Thu Sep 23 06:58:47 2021 UTC (2 years, 6 months ago) by ryo
Branch: MAIN
Changes since 1.51: +12 -5 lines
Diff to previous 1.51 (colored) to selected 1.45.2.1 (colored)

Since trampoline ABI ver0 is also used in other emulation environments (e.g. linux emulation),
checking (emul->e_sigobject != NULL) to determine if it is allowed or not.

Revision 1.51 / (download) - annotate - [select for diffs], Sat May 23 23:42:43 2020 UTC (3 years, 10 months ago) by ad
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, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.50: +7 -7 lines
Diff to previous 1.50 (colored) to selected 1.45.2.1 (colored)

Move proc_lock into the data segment.  It was dynamically allocated because
at the time we had mutex_obj_alloc() but not __cacheline_aligned.

Revision 1.46.16.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:05:04 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.46.16.1: +8 -9 lines
Diff to previous 1.46.16.1 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored) to selected 1.45.2.1 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.47.4.3 / (download) - annotate - [select for diffs], Mon Nov 11 17:11:07 2019 UTC (4 years, 5 months ago) by martin
Branch: netbsd-9
CVS Tags: netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Changes since 1.47.4.2: +6 -7 lines
Diff to previous 1.47.4.2 (colored) to branchpoint 1.47 (colored) next main 1.48 (colored) to selected 1.45.2.1 (colored)

Pull up following revision(s) (requested by pgoyette in ticket #413):

	sys/kern/kern_core.c: revision 1.27 (patch)
	sys/kern/kern_sig.c: revision 1.377 (patch)
	sys/kern/kern_sig.c: revision 1.378 (patch)
	sys/kern/sys_sig.c: revision 1.50
	sys/kern/sys_ptrace_common.c: revision 1.70
	sys/kern/compat_stub.c: revision 1.16
	sys/compat/common/kern_sig_16.c: revision 1.4
	sys/kern/compat_stub.c: revision 1.17
	sys/sys/compat_stub.h: revision 1.20
	sys/sys/signalvar.h: revision 1.98
	sys/sys/compat_stub.h: revision 1.21
	sys/sys/signalvar.h: revision 1.99

Convert the sendsig_sigcontext_16 function pointer to use the new
compat_hook mechanism.
XXX Despite being a kernel<-->module abi change, this should be
XXX pulled up to -9

 -

Convert the coredump_vec modular function pointer to use the new
compat_hook mechanism.
XXX Should be pulled up to -9 despite the kernel <--> module ABI
XXX change.

Revision 1.50 / (download) - annotate - [select for diffs], Sun Nov 10 13:28:06 2019 UTC (4 years, 5 months ago) by pgoyette
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp, 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.49: +6 -7 lines
Diff to previous 1.49 (colored) to selected 1.45.2.1 (colored)

Convert the sendsig_sigcontext_16 function pointer to use the new
compat_hook mechanism.

XXX Despite being a kernel<-->module abi change, this should be
XXX pulled up to -9

Revision 1.47.4.2 / (download) - annotate - [select for diffs], Sun Nov 10 13:24:50 2019 UTC (4 years, 5 months ago) by martin
Branch: netbsd-9
Changes since 1.47.4.1: +3 -3 lines
Diff to previous 1.47.4.1 (colored) to branchpoint 1.47 (colored) to selected 1.45.2.1 (colored)

Pull up following revision(s) (requested by pgoyette in ticket #412):

	sys/kern/sys_sig.c: revision 1.49

If we need to handle old-version signals, load the version-specific
"compat_16" module.  There is no longer a monolithic "compat" module!
XXX pullup-9 needed

Revision 1.49 / (download) - annotate - [select for diffs], Sat Nov 9 23:34:13 2019 UTC (4 years, 5 months ago) by pgoyette
Branch: MAIN
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored) to selected 1.45.2.1 (colored)

If we need to handle old-version signals, load the version-specific
"compat_16" module.  There is no longer a monolithic "compat" module!

XXX pullup-9 needed

Revision 1.47.4.1 / (download) - annotate - [select for diffs], Mon Oct 21 20:13:09 2019 UTC (4 years, 5 months ago) by martin
Branch: netbsd-9
Changes since 1.47: +4 -4 lines
Diff to previous 1.47 (colored) to selected 1.45.2.1 (colored)

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

	sys/kern/sys_sig.c: revision 1.48
	sys/sys/signalvar.h: revision 1.94
	sys/sys/signalvar.h: revision 1.95

Introduce sigaction_copy(), to copy sigaction structures without padding,
and use it in sigaction1(). This is to fix info leaks all at once in the
signal functions.

 -

Fix libkvm build.

Revision 1.48 / (download) - annotate - [select for diffs], Sun Sep 8 07:00:20 2019 UTC (4 years, 7 months ago) by maxv
Branch: MAIN
Changes since 1.47: +4 -4 lines
Diff to previous 1.47 (colored) to selected 1.45.2.1 (colored)

Introduce sigaction_copy(), to copy sigaction structures without padding,
and use it in sigaction1(). This is to fix info leaks all at once in the
signal functions.

Revision 1.46.16.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:09:03 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.46: +4 -2 lines
Diff to previous 1.46 (colored) to selected 1.45.2.1 (colored)

Sync with HEAD

Revision 1.46.14.1 / (download) - annotate - [select for diffs], Wed Dec 26 14:02:04 2018 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.46: +4 -2 lines
Diff to previous 1.46 (colored) next main 1.47 (colored) to selected 1.45.2.1 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.42.6.1 / (download) - annotate - [select for diffs], Wed Dec 12 11:37:42 2018 UTC (5 years, 4 months ago) by martin
Branch: netbsd-7-0
Changes since 1.42: +4 -2 lines
Diff to previous 1.42 (colored) next main 1.43 (colored) to selected 1.45.2.1 (colored)

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

	sys/kern/sys_sig.c: revision 1.47

Fix kernel info leak, 4 bytes of padding in struct _ksiginfo. Maybe we
should just set _pad to zero on LP64?

        + Possible info leak: [len=40, leaked=4]
        | #0 0xffffffff80baf397 in kleak_copyout
        | #1 0xffffffff80bda817 in sigtimedwait1
        | #2 0xffffffff80bdab95 in sys_____sigtimedwait50
        | #3 0xffffffff80259c42 in syscall

Revision 1.42.10.1 / (download) - annotate - [select for diffs], Wed Dec 12 11:36:46 2018 UTC (5 years, 4 months ago) by martin
Branch: netbsd-7-1
Changes since 1.42: +4 -2 lines
Diff to previous 1.42 (colored) next main 1.43 (colored) to selected 1.45.2.1 (colored)

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

	sys/kern/sys_sig.c: revision 1.47

Fix kernel info leak, 4 bytes of padding in struct _ksiginfo. Maybe we
should just set _pad to zero on LP64?

        + Possible info leak: [len=40, leaked=4]
        | #0 0xffffffff80baf397 in kleak_copyout
        | #1 0xffffffff80bda817 in sigtimedwait1
        | #2 0xffffffff80bdab95 in sys_____sigtimedwait50
        | #3 0xffffffff80259c42 in syscall

Revision 1.42.4.1 / (download) - annotate - [select for diffs], Wed Dec 12 11:35:41 2018 UTC (5 years, 4 months ago) by martin
Branch: netbsd-7
Changes since 1.42: +4 -2 lines
Diff to previous 1.42 (colored) next main 1.43 (colored) to selected 1.45.2.1 (colored)

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

	sys/kern/sys_sig.c: revision 1.47

Fix kernel info leak, 4 bytes of padding in struct _ksiginfo. Maybe we
should just set _pad to zero on LP64?

        + Possible info leak: [len=40, leaked=4]
        | #0 0xffffffff80baf397 in kleak_copyout
        | #1 0xffffffff80bda817 in sigtimedwait1
        | #2 0xffffffff80bdab95 in sys_____sigtimedwait50
        | #3 0xffffffff80259c42 in syscall

Revision 1.46.8.1 / (download) - annotate - [select for diffs], Wed Dec 12 11:33:29 2018 UTC (5 years, 4 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.46: +4 -2 lines
Diff to previous 1.46 (colored) next main 1.47 (colored) to selected 1.45.2.1 (colored)

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

	sys/kern/sys_sig.c: revision 1.47

Fix kernel info leak, 4 bytes of padding in struct _ksiginfo. Maybe we
should just set _pad to zero on LP64?

        + Possible info leak: [len=40, leaked=4]
        | #0 0xffffffff80baf397 in kleak_copyout
        | #1 0xffffffff80bda817 in sigtimedwait1
        | #2 0xffffffff80bdab95 in sys_____sigtimedwait50
        | #3 0xffffffff80259c42 in syscall

Revision 1.47 / (download) - annotate - [select for diffs], Sat Dec 1 14:05:33 2018 UTC (5 years, 4 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, netbsd-9-base, isaki-audio2-base, isaki-audio2
Branch point for: netbsd-9
Changes since 1.46: +4 -2 lines
Diff to previous 1.46 (colored) to selected 1.45.2.1 (colored)

Fix kernel info leak, 4 bytes of padding in struct _ksiginfo. Maybe we
should just set _pad to zero on LP64?

	+ Possible info leak: [len=40, leaked=4]
	| #0 0xffffffff80baf397 in kleak_copyout
	| #1 0xffffffff80bda817 in sigtimedwait1
	| #2 0xffffffff80bdab95 in sys_____sigtimedwait50
	| #3 0xffffffff80259c42 in syscall

Revision 1.38.2.4 / (download) - annotate - [select for diffs], Sun Dec 3 11:38:45 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.38.2.3: +15 -5 lines
Diff to previous 1.38.2.3 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored) to selected 1.45.2.1 (colored)

update from HEAD

Revision 1.43.2.3 / (download) - annotate - [select for diffs], Wed Oct 5 20:56:03 2016 UTC (7 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.43.2.2: +4 -4 lines
Diff to previous 1.43.2.2 (colored) to branchpoint 1.43 (colored) next main 1.44 (colored) to selected 1.45.2.1 (colored)

Sync with HEAD

Revision 1.45.2.1 / (download) - annotate - [selected], Sat Aug 6 00:19:09 2016 UTC (7 years, 8 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.45: +3 -3 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

Sync with HEAD

Revision 1.46 / (download) - annotate - [select for diffs], Thu Aug 4 06:43:43 2016 UTC (7 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, 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, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, netbsd-8-base, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: phil-wifi, pgoyette-compat, netbsd-8
Changes since 1.45: +3 -3 lines
Diff to previous 1.45 (colored) to selected 1.45.2.1 (colored)

Realtime signal support from GSoC 2016, Charles Cui.

Revision 1.43.2.2 / (download) - annotate - [select for diffs], Sun Dec 27 12:10:05 2015 UTC (8 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.43.2.1: +14 -3 lines
Diff to previous 1.43.2.1 (colored) to branchpoint 1.43 (colored) to selected 1.45.2.1 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.45 / (download) - annotate - [select for diffs], Fri Oct 2 16:54:15 2015 UTC (8 years, 6 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20160726, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226
Branch point for: pgoyette-localcount
Changes since 1.44: +14 -3 lines
Diff to previous 1.44 (colored) to selected 1.45.2.1 (colored)

Change SDT (Statically Defined Tracing) probes to use link sets so that it
is easier to add probes. (From FreeBSD)

Revision 1.43.2.1 / (download) - annotate - [select for diffs], Tue Sep 22 12:06:07 2015 UTC (8 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.43: +3 -4 lines
Diff to previous 1.43 (colored) to selected 1.45.2.1 (colored)

Sync with HEAD

Revision 1.44 / (download) - annotate - [select for diffs], Fri Jun 19 10:18:19 2015 UTC (8 years, 10 months ago) by martin
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921
Changes since 1.43: +3 -4 lines
Diff to previous 1.43 (colored) to selected 1.45.2.1 (colored)

Make kill1 public (we'll need it from compat/netbsd32)

Revision 1.43 / (download) - annotate - [select for diffs], Sat Oct 18 08:33:29 2014 UTC (9 years, 6 months ago) by snj
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored) to selected 1.45.2.1 (colored)

src is too big these days to tolerate superfluous apostrophes.  It's
"its", people!

Revision 1.38.2.3 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:29 2014 UTC (9 years, 8 months ago) by tls
Branch: tls-maxphys
Changes since 1.38.2.2: +6 -4 lines
Diff to previous 1.38.2.2 (colored) to branchpoint 1.38 (colored) to selected 1.45.2.1 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.35.4.4 / (download) - annotate - [select for diffs], Thu May 22 11:41:03 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.35.4.3: +24 -9 lines
Diff to previous 1.35.4.3 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored) to selected 1.45.2.1 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.41.6.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:07 2014 UTC (9 years, 11 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.41: +8 -6 lines
Diff to previous 1.41 (colored) next main 1.42 (colored) to selected 1.45.2.1 (colored)

sync with head

Revision 1.42 / (download) - annotate - [select for diffs], Fri Feb 14 16:35:11 2014 UTC (10 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, 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
Branch point for: netbsd-7-1, netbsd-7-0, netbsd-7
Changes since 1.41: +8 -6 lines
Diff to previous 1.41 (colored) to selected 1.45.2.1 (colored)

Don't check trampolines for SIG_DFL or SIG_IGN since they are not used.
From gimpy.

Revision 1.38.2.2 / (download) - annotate - [select for diffs], Sun Jun 23 06:18:58 2013 UTC (10 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.38.2.1: +18 -5 lines
Diff to previous 1.38.2.1 (colored) to branchpoint 1.38 (colored) to selected 1.45.2.1 (colored)

resync from head

Revision 1.41 / (download) - annotate - [select for diffs], Fri Mar 8 09:32:59 2013 UTC (11 years, 1 month ago) by apb
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Changes since 1.40: +15 -5 lines
Diff to previous 1.40 (colored) to selected 1.45.2.1 (colored)

Properly differentiate between infinite timeout and zero timeout.
Local variable timo = -1 is used for zero timeout (non blocking mode).

Fixes PR 47625 from anthony.mallet

Revision 1.40 / (download) - annotate - [select for diffs], Fri Mar 8 08:48:38 2013 UTC (11 years, 1 month ago) by apb
Branch: MAIN
Changes since 1.39: +5 -2 lines
Diff to previous 1.39 (colored) to selected 1.45.2.1 (colored)

In the timeout passed to sigtimedwait, NULL means an infinite timeout,
and {.tv_sec = 0, .tv_nsec=0} means do not block at all.  Add a comment
saying so.  The code incorrectly treats them both as an infinite timeout,
and that is not fixed by this commit.

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Mon Feb 25 00:29:54 2013 UTC (11 years, 1 month ago) by tls
Branch: tls-maxphys
Changes since 1.38: +26 -23 lines
Diff to previous 1.38 (colored) to selected 1.45.2.1 (colored)

resync with head

Revision 1.35.4.3 / (download) - annotate - [select for diffs], Wed Jan 23 00:06:22 2013 UTC (11 years, 2 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.35.4.2: +26 -23 lines
Diff to previous 1.35.4.2 (colored) to branchpoint 1.35 (colored) to selected 1.45.2.1 (colored)

sync with head

Revision 1.39 / (download) - annotate - [select for diffs], Tue Jan 22 01:45:59 2013 UTC (11 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base8
Changes since 1.38: +26 -23 lines
Diff to previous 1.38 (colored) to selected 1.45.2.1 (colored)

It is useless to check for sigcontext_vec and compat module loading for
PK_32 processes. The correct modules are already loaded, otherwise how
is the process running?

Revision 1.35.4.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:22:35 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.35.4.1: +6 -5 lines
Diff to previous 1.35.4.1 (colored) to branchpoint 1.35 (colored) to selected 1.45.2.1 (colored)

sync with head

Revision 1.36.6.1 / (download) - annotate - [select for diffs], Sat Jul 21 00:00:13 2012 UTC (11 years, 9 months ago) by riz
Branch: netbsd-6
CVS Tags: 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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.36: +6 -5 lines
Diff to previous 1.36 (colored) next main 1.37 (colored) to selected 1.45.2.1 (colored)

Pull up following revision(s) (requested by christos in ticket #430):
	sys/kern/sys_sig.c: revision 1.38
From Roger Pau Monne: kill(2) called for a zombie process should return 0,
according to:
    http://pubs.opengroup.org/onlinepubs/9699919799/functions/kill.html

Revision 1.38 / (download) - annotate - [select for diffs], Wed Jul 18 20:30:07 2012 UTC (11 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base7, yamt-pagecache-base6
Branch point for: tls-maxphys
Changes since 1.37: +6 -5 lines
Diff to previous 1.37 (colored) to selected 1.45.2.1 (colored)

From Roger Pau Monne: kill(2) called for a zombie process should return 0,
according to:
    http://pubs.opengroup.org/onlinepubs/9699919799/functions/kill.html

Revision 1.35.4.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:29 2012 UTC (12 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.35: +39 -46 lines
Diff to previous 1.35 (colored) to selected 1.45.2.1 (colored)

sync with head

Revision 1.36.4.1 / (download) - annotate - [select for diffs], Fri Feb 24 09:11:48 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.36: +35 -43 lines
Diff to previous 1.36 (colored) next main 1.37 (colored) to selected 1.45.2.1 (colored)

sync to -current.

Revision 1.37 / (download) - annotate - [select for diffs], Sun Feb 19 21:06:57 2012 UTC (12 years, 2 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base10
Changes since 1.36: +35 -43 lines
Diff to previous 1.36 (colored) to selected 1.45.2.1 (colored)

Remove COMPAT_SA / KERN_SA.  Welcome to 6.99.3!
Approved by core@.

Revision 1.36 / (download) - annotate - [select for diffs], Fri Nov 18 03:34:13 2011 UTC (12 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-6-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: netbsd-6, jmcneill-usbmp
Changes since 1.35: +6 -5 lines
Diff to previous 1.35 (colored) to selected 1.45.2.1 (colored)

add a copyin function for sigset so that we can use sigtimedwait1 from
emulations.

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:09:37 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.30: +62 -32 lines
Diff to previous 1.30 (colored) next main 1.31 (colored) to selected 1.45.2.1 (colored)

Sync with HEAD.

Revision 1.26.4.4 / (download) - annotate - [select for diffs], Tue May 31 03:05:03 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.26.4.3: +43 -17 lines
Diff to previous 1.26.4.3 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored) to selected 1.45.2.1 (colored)

sync with head

Revision 1.35 / (download) - annotate - [select for diffs], Sun May 29 22:14:53 2011 UTC (12 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache
Changes since 1.34: +11 -4 lines
Diff to previous 1.34 (colored) to selected 1.45.2.1 (colored)

when undoing the sigsuspend setup, either take the signal and allow the
signal path to restore the mask, or restore the mask here.

Revision 1.34 / (download) - annotate - [select for diffs], Sat May 28 15:33:40 2011 UTC (12 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.33: +15 -2 lines
Diff to previous 1.33 (colored) to selected 1.45.2.1 (colored)

If a signal did not fire, restore the original signal mask for pselect/pollts
using a signal mask. Tested by tron.

Revision 1.33 / (download) - annotate - [select for diffs], Wed May 18 03:51:41 2011 UTC (12 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.32: +30 -24 lines
Diff to previous 1.32 (colored) to selected 1.45.2.1 (colored)

PR/43625: Mark Davies: Fix pselect(2) to honor the temporary mask. pselect(2)
(and pollts(2)) are similar to sigsuspend(2) in that they temporarily change
the process signal mask and wait for signal delivery. Factor out and share the
code that does this.

Revision 1.26.4.3 / (download) - annotate - [select for diffs], Sat Mar 5 20:55:23 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.26.4.2: +78 -29 lines
Diff to previous 1.26.4.2 (colored) to branchpoint 1.26 (colored) to selected 1.45.2.1 (colored)

sync with head

Revision 1.30.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 15:10:40 2011 UTC (13 years, 1 month ago) by bouyer
Branch: bouyer-quota2
Changes since 1.30.4.1: +17 -15 lines
Diff to previous 1.30.4.1 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored) to selected 1.45.2.1 (colored)

Sync with HEAD

Revision 1.32 / (download) - annotate - [select for diffs], Thu Mar 3 20:46:16 2011 UTC (13 years, 1 month ago) by martin
Branch: MAIN
CVS Tags: bouyer-quota2-nbase
Changes since 1.31: +17 -15 lines
Diff to previous 1.31 (colored) to selected 1.45.2.1 (colored)

Do not restrict the siginfo a process sends to itself in any way, but
keep restrictions for foreign processes. This is needed to allow raising
of full SIGFPE siginfo from softfloat libraries for example.

Revision 1.17.4.4 / (download) - annotate - [select for diffs], Wed Feb 16 21:22:45 2011 UTC (13 years, 2 months ago) by bouyer
Branch: netbsd-5
CVS Tags: 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
Changes since 1.17.4.3: +4 -2 lines
Diff to previous 1.17.4.3 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored) to selected 1.45.2.1 (colored)

Pull up following revision(s) (requested by joerg in ticket #1556):
	sys/compat/irix/irix_signal.c: revision 1.56
	sys/compat/svr4/svr4_signal.c: revision 1.65
	sys/compat/netbsd32/netbsd32_signal.c: revision 1.35
	sys/kern/sys_sig.c: revision 1.31
Explicitly initialize ucontext before calling getmcontext.

Revision 1.30.4.1 / (download) - annotate - [select for diffs], Tue Feb 8 16:19:59 2011 UTC (13 years, 2 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.30: +4 -2 lines
Diff to previous 1.30 (colored) to selected 1.45.2.1 (colored)

Sync with HEAD

Revision 1.31 / (download) - annotate - [select for diffs], Thu Feb 3 21:45:32 2011 UTC (13 years, 2 months ago) by joerg
Branch: MAIN
CVS Tags: bouyer-quota2-base
Changes since 1.30: +4 -2 lines
Diff to previous 1.30 (colored) to selected 1.45.2.1 (colored)

Explicitly initialize ucontext before calling getmcontext.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Jan 10 04:39:18 2011 UTC (13 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.29: +71 -26 lines
Diff to previous 1.29 (colored) to selected 1.45.2.1 (colored)

implement sigqueueinfo

Revision 1.26.2.2 / (download) - annotate - [select for diffs], Fri Oct 22 07:22:29 2010 UTC (13 years, 5 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.26.2.1: +3 -3 lines
Diff to previous 1.26.2.1 (colored) to branchpoint 1.26 (colored) next main 1.27 (colored) to selected 1.45.2.1 (colored)

Sync with HEAD (-D20101022).

Revision 1.14.2.5 / (download) - annotate - [select for diffs], Sat Oct 9 03:32:32 2010 UTC (13 years, 6 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.14.2.4: +5 -5 lines
Diff to previous 1.14.2.4 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored) to selected 1.45.2.1 (colored)

sync with head

Revision 1.29 / (download) - annotate - [select for diffs], Sat Aug 21 13:19:39 2010 UTC (13 years, 8 months ago) by pgoyette
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, uebayasi-xip-base4, uebayasi-xip-base3, matt-mips64-premerge-20101231
Changes since 1.28: +5 -5 lines
Diff to previous 1.28 (colored) to selected 1.45.2.1 (colored)

Update the rest of the kernel to conform to the module subsystem's new
locking protocol.

Revision 1.26.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:47:32 2010 UTC (13 years, 8 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.26: +7 -4 lines
Diff to previous 1.26 (colored) to selected 1.45.2.1 (colored)

Sync with HEAD.

Revision 1.14.2.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:54:43 2010 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.14.2.3: +7 -4 lines
Diff to previous 1.14.2.3 (colored) to branchpoint 1.14 (colored) to selected 1.45.2.1 (colored)

sync with head.

Revision 1.26.4.2 / (download) - annotate - [select for diffs], Sat Jul 3 01:19:55 2010 UTC (13 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.26.4.1: +4 -3 lines
Diff to previous 1.26.4.1 (colored) to branchpoint 1.26 (colored) to selected 1.45.2.1 (colored)

sync with head

Revision 1.28 / (download) - annotate - [select for diffs], Thu Jul 1 02:38:31 2010 UTC (13 years, 9 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base10, uebayasi-xip-base2
Changes since 1.27: +4 -3 lines
Diff to previous 1.27 (colored) to selected 1.45.2.1 (colored)

Remove pfind() and pgfind(), fix locking in various broken uses of these.
Rename real routines to proc_find() and pgrp_find(), remove PFIND_* flags
and have consistent behaviour.  Provide proc_find_raw() for special cases.
Fix memory leak in sysctl_proc_corename().

COMPAT_LINUX: rework ptrace() locking, minimise differences between
different versions per-arch.

Note: while this change adds some formal cosmetics for COMPAT_DARWIN and
COMPAT_IRIX - locking there is utterly broken (for ages).

Fixes PR/43176.

Revision 1.26.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:17:58 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.26: +5 -3 lines
Diff to previous 1.26 (colored) to selected 1.45.2.1 (colored)

sync with head

Revision 1.27 / (download) - annotate - [select for diffs], Thu May 20 17:10:42 2010 UTC (13 years, 11 months ago) by drochner
Branch: MAIN
Changes since 1.26: +5 -3 lines
Diff to previous 1.26 (colored) to selected 1.45.2.1 (colored)

fix sigwaitinfo/sigtimedwait:
-allow NULL "info" pointer
-return signal number

Revision 1.17.4.2.4.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:28:18 2010 UTC (14 years ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.17.4.2: +8 -17 lines
Diff to previous 1.17.4.2 (colored) next main 1.17.4.3 (colored) to selected 1.45.2.1 (colored)

sync to netbsd-5

Revision 1.14.2.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:19 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.14.2.2: +80 -100 lines
Diff to previous 1.14.2.2 (colored) to branchpoint 1.14 (colored) to selected 1.45.2.1 (colored)

sync with head

Revision 1.26 / (download) - annotate - [select for diffs], Tue Jan 19 22:28:31 2010 UTC (14 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.25: +4 -4 lines
Diff to previous 1.25 (colored) to selected 1.45.2.1 (colored)

Get rid of last "easy" kernel symbols starting with __:
__assert -> kern_assert
__sigtimedwait1 -> sigtimedwait1
__wdstart -> wdstart1

The rest are MD and/or shared with userspace, so they will require
a little more involvement than what is available for this quick
"ride the 5.99.24 bump" action.

Revision 1.17.4.2.2.1 / (download) - annotate - [select for diffs], Thu Jan 7 07:08:34 2010 UTC (14 years, 3 months ago) by snj
Branch: netbsd-5-0
CVS Tags: netbsd-5-0-2-RELEASE
Changes since 1.17.4.2: +8 -17 lines
Diff to previous 1.17.4.2 (colored) next main 1.17.4.3 (colored) to selected 1.45.2.1 (colored)

Pull up following revision(s) (requested by rmind in ticket #1199):
	sys/kern/sys_sig.c: revision 1.24
sigtimedwait: fix a memory leak (which happens since newlock2 times).
Allocate ksiginfo on stack since it is safe and sigget() assumes that it is
not allocated from pool (pending signals via sigput()/sigget() "mill" should
be dynamically allocated, however).  Might be useful to revisit later.
Likely the cause of PR/40750 and indirect cause of PR/39283.

Revision 1.17.4.3 / (download) - annotate - [select for diffs], Thu Jan 7 07:04:50 2010 UTC (14 years, 3 months ago) by snj
Branch: netbsd-5
CVS Tags: 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, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.17.4.2: +8 -17 lines
Diff to previous 1.17.4.2 (colored) to branchpoint 1.17 (colored) to selected 1.45.2.1 (colored)

Pull up following revision(s) (requested by rmind in ticket #1199):
	sys/kern/sys_sig.c: revision 1.24
sigtimedwait: fix a memory leak (which happens since newlock2 times).
Allocate ksiginfo on stack since it is safe and sigget() assumes that it is
not allocated from pool (pending signals via sigput()/sigget() "mill" should
be dynamically allocated, however).  Might be useful to revisit later.
Likely the cause of PR/40750 and indirect cause of PR/39283.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Dec 20 04:49:09 2009 UTC (14 years, 4 months ago) by rmind
Branch: MAIN
Changes since 1.24: +73 -84 lines
Diff to previous 1.24 (colored) to selected 1.45.2.1 (colored)

signal(9) code: add some comments, improve/fix wrong ones.  While here, kill
trailing whitespaces, wrap long lines, etc.  No functional changes intended.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Dec 19 18:25:54 2009 UTC (14 years, 4 months ago) by rmind
Branch: MAIN
Changes since 1.23: +8 -17 lines
Diff to previous 1.23 (colored) to selected 1.45.2.1 (colored)

sigtimedwait: fix a memory leak (which happens since newlock2 times).
Allocate ksiginfo on stack since it is safe and sigget() assumes that it is
not allocated from pool (pending signals via sigput()/sigget() "mill" should
be dynamically allocated, however).  Might be useful to revisit later.

Likely the cause of PR/40750 and indirect cause of PR/39283.

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:21:57 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.21: +10 -11 lines
Diff to previous 1.21 (colored) next main 1.22 (colored) to selected 1.45.2.1 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.14.2.2 / (download) - annotate - [select for diffs], Mon May 4 08:13:48 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.14.2.1: +92 -66 lines
Diff to previous 1.14.2.1 (colored) to branchpoint 1.14 (colored) to selected 1.45.2.1 (colored)

sync with head.

Revision 1.17.2.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:37:00 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.17.2.1: +10 -11 lines
Diff to previous 1.17.2.1 (colored) to branchpoint 1.17 (colored) next main 1.18 (colored) to selected 1.45.2.1 (colored)

Sync with HEAD.

Revision 1.17.4.2 / (download) - annotate - [select for diffs], Wed Apr 1 21:43:53 2009 UTC (15 years ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-1-RELEASE, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b
Branch point for: netbsd-5-0, matt-nb5-mips64
Changes since 1.17.4.1: +10 -11 lines
Diff to previous 1.17.4.1 (colored) to branchpoint 1.17 (colored) to selected 1.45.2.1 (colored)

Pull up following revision(s) (requested by christos in ticket #638):
	sys/kern/sys_sig.c: revision 1.23
- use itimespecfix to detect invalid timespecs
- use tstohz instead of mstohz to prevent overflow.

Revision 1.17.4.1 / (download) - annotate - [select for diffs], Wed Apr 1 21:25:35 2009 UTC (15 years ago) by snj
Branch: netbsd-5
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored) to selected 1.45.2.1 (colored)

Pull up following revision(s) (requested by rmind in ticket #632):
	sys/kern/sys_sig.c: revision 1.22
PR/41094: Matteo Beccati: sigtimedwait returns EAGAIN instead of EINVAL if
timeout is invalid

Revision 1.23 / (download) - annotate - [select for diffs], Sun Mar 29 17:54:12 2009 UTC (15 years ago) by christos
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-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base
Changes since 1.22: +10 -11 lines
Diff to previous 1.22 (colored) to selected 1.45.2.1 (colored)

- use itimespecfix to detect invalid timespecs
- use tstohz instead of mstohz to prevent overflow.

Revision 1.22 / (download) - annotate - [select for diffs], Sun Mar 29 16:23:23 2009 UTC (15 years ago) by christos
Branch: MAIN
Changes since 1.21: +3 -3 lines
Diff to previous 1.21 (colored) to selected 1.45.2.1 (colored)

PR/41094: Matteo Beccati: sigtimedwait returns EAGAIN instead of EINVAL if
timeout is invalid

Revision 1.17.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:19:39 2009 UTC (15 years, 3 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.17: +64 -50 lines
Diff to previous 1.17 (colored) to selected 1.45.2.1 (colored)

Sync with HEAD.

Revision 1.12.6.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:20 2009 UTC (15 years, 3 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.12.6.2: +82 -54 lines
Diff to previous 1.12.6.2 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored) to selected 1.45.2.1 (colored)

Sync with HEAD.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Jan 11 02:45:53 2009 UTC (15 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: nick-hppapmap-base2, mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.20: +6 -4 lines
Diff to previous 1.20 (colored) to selected 1.45.2.1 (colored)

merge christos-time_t

Revision 1.12.8.4 / (download) - annotate - [select for diffs], Sat Dec 27 23:14:24 2008 UTC (15 years, 3 months ago) by christos
Branch: christos-time_t
Changes since 1.12.8.3: +51 -18 lines
Diff to previous 1.12.8.3 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored) to selected 1.45.2.1 (colored)

merge with head.

Revision 1.16.2.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:15:09 2008 UTC (15 years, 4 months ago) by haad
Branch: haad-dm
Changes since 1.16.2.1: +60 -48 lines
Diff to previous 1.16.2.1 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored) to selected 1.45.2.1 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Nov 25 16:42:44 2008 UTC (15 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base, christos-time_t-nbase, christos-time_t-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.19: +51 -18 lines
Diff to previous 1.19 (colored) to selected 1.45.2.1 (colored)

sigaction1: we need to remember if the sigcontext method may be useable,
because libc can use it even if siginfo is available.

Changes are needed in libc to stop this being a performance penalty but
they will come later.

Revision 1.12.8.3 / (download) - annotate - [select for diffs], Thu Nov 20 20:45:39 2008 UTC (15 years, 5 months ago) by christos
Branch: christos-time_t
Changes since 1.12.8.2: +27 -48 lines
Diff to previous 1.12.8.2 (colored) to branchpoint 1.12 (colored) to selected 1.45.2.1 (colored)

merge with head.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Nov 19 18:36:07 2008 UTC (15 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.18: +27 -12 lines
Diff to previous 1.18 (colored) to selected 1.45.2.1 (colored)

Make the emulations, exec formats, coredump, NFS, and the NFS server
into modules. By and large this commit:

- shuffles header files and ifdefs
- splits code out where necessary to be modular
- adds module glue for each of the components
- adds/replaces hooks for things that can be installed at runtime

Revision 1.18 / (download) - annotate - [select for diffs], Fri Nov 14 23:10:57 2008 UTC (15 years, 5 months ago) by ad
Branch: MAIN
Changes since 1.17: +2 -38 lines
Diff to previous 1.17 (colored) to selected 1.45.2.1 (colored)

- Move some more compat code into sys/compat.
- Split 4.3BSD ifioctl stuff into its own file.
- Remove some ifdefs that include small fragments of vfs compat code
  which are difficult to relocate elsewhere.

Revision 1.12.8.2 / (download) - annotate - [select for diffs], Sat Nov 1 21:22:27 2008 UTC (15 years, 5 months ago) by christos
Branch: christos-time_t
Changes since 1.12.8.1: +48 -45 lines
Diff to previous 1.12.8.1 (colored) to branchpoint 1.12 (colored) to selected 1.45.2.1 (colored)

Sync with head.

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:17:28 2008 UTC (15 years, 6 months ago) by haad
Branch: haad-dm
Changes since 1.16: +22 -8 lines
Diff to previous 1.16 (colored) to selected 1.45.2.1 (colored)

Sync with HEAD.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Oct 15 06:51:20 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: MAIN
CVS Tags: netbsd-5-base, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap, netbsd-5
Changes since 1.16: +22 -8 lines
Diff to previous 1.16 (colored) to selected 1.45.2.1 (colored)

Merge wrstuden-revivesa into HEAD.

Revision 1.15.2.5 / (download) - annotate - [select for diffs], Thu Sep 18 04:31:44 2008 UTC (15 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.15.2.4: +2 -6 lines
Diff to previous 1.15.2.4 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored) to selected 1.45.2.1 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.12.6.2 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:14 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.12.6.1: +0 -1 lines
Diff to previous 1.12.6.1 (colored) to branchpoint 1.12 (colored) to selected 1.45.2.1 (colored)

Sync with HEAD.

Revision 1.15.4.1 / (download) - annotate - [select for diffs], Fri Jun 27 15:11:39 2008 UTC (15 years, 9 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.15: +2 -3 lines
Diff to previous 1.15 (colored) next main 1.16 (colored) to selected 1.45.2.1 (colored)

Sync with head.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Jun 25 11:04:24 2008 UTC (15 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base
Branch point for: haad-dm
Changes since 1.15: +2 -3 lines
Diff to previous 1.15 (colored) to selected 1.45.2.1 (colored)

sigpending1: don't subtract the sigmask (!!).

Revision 1.12.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:24:12 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.12: +27 -37 lines
Diff to previous 1.12 (colored) to selected 1.45.2.1 (colored)

Sync with HEAD.

Revision 1.15.2.4 / (download) - annotate - [select for diffs], Wed May 28 06:33:24 2008 UTC (15 years, 10 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.15.2.3: +17 -9 lines
Diff to previous 1.15.2.3 (colored) to branchpoint 1.15 (colored) to selected 1.45.2.1 (colored)

Adjust to how we're handling l_mask for SA processes.

Revision 1.15.2.3 / (download) - annotate - [select for diffs], Fri May 23 05:45:22 2008 UTC (15 years, 10 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.15.2.2: +11 -2 lines
Diff to previous 1.15.2.2 (colored) to branchpoint 1.15 (colored) to selected 1.45.2.1 (colored)

SA processes can only have one sigwaiter.

Revision 1.12.10.1 / (download) - annotate - [select for diffs], Sun May 18 12:35:10 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-pf42
Changes since 1.12: +29 -39 lines
Diff to previous 1.12 (colored) next main 1.13 (colored) to selected 1.45.2.1 (colored)

sync with head.

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Fri May 16 02:25:27 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.14: +2 -9 lines
Diff to previous 1.14 (colored) to selected 1.45.2.1 (colored)

sync with head.

Revision 1.15.2.2 / (download) - annotate - [select for diffs], Wed May 14 19:54:12 2008 UTC (15 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.15.2.1: +14 -14 lines
Diff to previous 1.15.2.1 (colored) to branchpoint 1.15 (colored) to selected 1.45.2.1 (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.2.1 / (download) - annotate - [select for diffs], Sat May 10 23:49:05 2008 UTC (15 years, 11 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.15: +14 -14 lines
Diff to previous 1.15 (colored) to selected 1.45.2.1 (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], Mon Apr 28 20:24:05 2008 UTC (15 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, simonb-wapbl
Changes since 1.14: +2 -9 lines
Diff to previous 1.14 (colored) to selected 1.45.2.1 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.14 / (download) - annotate - [select for diffs], Thu Apr 24 18:39:24 2008 UTC (15 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Changes since 1.13: +24 -28 lines
Diff to previous 1.13 (colored) to selected 1.45.2.1 (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.13 / (download) - annotate - [select for diffs], Thu Apr 24 15:35:30 2008 UTC (15 years, 11 months ago) by ad
Branch: MAIN
Changes since 1.12: +7 -6 lines
Diff to previous 1.12 (colored) to selected 1.45.2.1 (colored)

Network protocol interrupts can now block on locks, so merge the globals
proclist_mutex and proclist_lock into a single adaptive mutex (proc_lock).
Implications:

- Inspecting process state requires thread context, so signals can no longer
  be sent from a hardware interrupt handler. Signal activity must be
  deferred to a soft interrupt or kthread.

- As the proc state locking is simplified, it's now safe to take exit()
  and wait() out from under kernel_lock.

- The system spends less time at IPL_SCHED, and there is less lock activity.

Revision 1.12.8.1 / (download) - annotate - [select for diffs], Sat Mar 29 20:47:01 2008 UTC (16 years ago) by christos
Branch: christos-time_t
Changes since 1.12: +6 -4 lines
Diff to previous 1.12 (colored) to selected 1.45.2.1 (colored)

Welcome to the time_t=long long dev_t=uint64_t branch.

Revision 1.8.8.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:05:01 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.8.8.1: +4 -4 lines
Diff to previous 1.8.8.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored) to selected 1.45.2.1 (colored)

sync with HEAD

Revision 1.5.2.6 / (download) - annotate - [select for diffs], Wed Feb 27 08:36:56 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.2.5: +3 -3 lines
Diff to previous 1.5.2.5 (colored) to branchpoint 1.5 (colored) next main 1.6 (colored) to selected 1.45.2.1 (colored)

sync with head.

Revision 1.12 / (download) - annotate - [select for diffs], Tue Feb 19 12:20:02 2008 UTC (16 years, 2 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, ad-socklock-base1
Branch point for: yamt-pf42, mjf-devfs2, christos-time_t
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored) to selected 1.45.2.1 (colored)

sigpause -> sigsuspend in comments.

Revision 1.8.14.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:06:47 2008 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.8: +3 -7 lines
Diff to previous 1.8 (colored) next main 1.9 (colored) to selected 1.45.2.1 (colored)

Sync with HEAD.

Revision 1.5.2.5 / (download) - annotate - [select for diffs], Mon Feb 4 09:24:19 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.2.4: +3 -3 lines
Diff to previous 1.5.2.4 (colored) to branchpoint 1.5 (colored) to selected 1.45.2.1 (colored)

sync with head.

Revision 1.8.20.2 / (download) - annotate - [select for diffs], Wed Jan 23 19:27:42 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.8.20.1: +1 -1 lines
Diff to previous 1.8.20.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored) to selected 1.45.2.1 (colored)

Sync with HEAD.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Jan 23 17:56:53 2008 UTC (16 years, 2 months ago) by elad
Branch: MAIN
CVS Tags: mjf-devfs-base, bouyer-xeni386-nbase
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored) to selected 1.45.2.1 (colored)

Forgot to commit these two as well. Spotted by hannken@.

Adapt to "CAN" removal.

Revision 1.5.2.4 / (download) - annotate - [select for diffs], Mon Jan 21 09:46:25 2008 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.2.3: +34 -38 lines
Diff to previous 1.5.2.3 (colored) to branchpoint 1.5 (colored) to selected 1.45.2.1 (colored)

sync with head

Revision 1.8.8.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:56:23 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.8: +34 -38 lines
Diff to previous 1.8 (colored) to selected 1.45.2.1 (colored)

sync with HEAD

Revision 1.8.20.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:56:15 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.8: +34 -38 lines
Diff to previous 1.8 (colored) to selected 1.45.2.1 (colored)

Sync with HEAD

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jan 2 11:48:53 2008 UTC (16 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: matt-armv6-base, bouyer-xeni386-base
Changes since 1.9: +2 -6 lines
Diff to previous 1.9 (colored) to selected 1.45.2.1 (colored)

Merge vmlocking2 to head.

Revision 1.8.16.2 / (download) - annotate - [select for diffs], Wed Dec 26 21:39:45 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.8.16.1: +34 -34 lines
Diff to previous 1.8.16.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored) to selected 1.45.2.1 (colored)

Sync with head.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Dec 20 23:03:12 2007 UTC (16 years, 4 months ago) by dsl
Branch: MAIN
CVS Tags: vmlocking2-base3
Changes since 1.8: +34 -34 lines
Diff to previous 1.8 (colored) to selected 1.45.2.1 (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.8.16.1 / (download) - annotate - [select for diffs], Tue Dec 4 13:03:17 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking2
Changes since 1.8: +2 -6 lines
Diff to previous 1.8 (colored) to selected 1.45.2.1 (colored)

Pull the vmlocking changes into a new branch.

Revision 1.5.2.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:41:10 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.2.2: +16 -12 lines
Diff to previous 1.5.2.2 (colored) to branchpoint 1.5 (colored) to selected 1.45.2.1 (colored)

sync with head.

Revision 1.7.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:10:12 2007 UTC (16 years, 9 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored) next main 1.8 (colored) to selected 1.45.2.1 (colored)

Sync with head.

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jul 9 21:10:56 2007 UTC (16 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, vmlocking-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: vmlocking2, mjf-devfs, matt-armv6, bouyer-xeni386
Changes since 1.7: +4 -4 lines
Diff to previous 1.7 (colored) to selected 1.45.2.1 (colored)

Merge some of the less invasive changes from the vmlocking branch:

- kthread, callout, devsw API changes
- select()/poll() improvements
- miscellaneous MT safety improvements

Revision 1.7.2.2 / (download) - annotate - [select for diffs], Wed Mar 21 20:10:22 2007 UTC (17 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.7.2.1: +3 -3 lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored) to selected 1.45.2.1 (colored)

GC the simplelock/spinlock debugging stuff.

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Tue Mar 13 17:50:59 2007 UTC (17 years, 1 month ago) by ad
Branch: vmlocking
Changes since 1.7: +3 -7 lines
Diff to previous 1.7 (colored) to selected 1.45.2.1 (colored)

Pull in the initial set of changes for the vmlocking branch.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Mon Mar 12 05:58:42 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.3.2.1: +3 -3 lines
Diff to previous 1.3.2.1 (colored) next main 1.4 (colored) to selected 1.45.2.1 (colored)

Sync with HEAD.

Revision 1.7 / (download) - annotate - [select for diffs], Fri Mar 9 14:11:27 2007 UTC (17 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored) to selected 1.45.2.1 (colored)

- Make the proclist_lock a mutex. The write:read ratio is unfavourable,
  and mutexes are cheaper use than RW locks.
- LOCK_ASSERT -> KASSERT in some places.
- Hold proclist_lock/kernel_lock longer in a couple of places.

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:54:31 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.3: +21 -17 lines
Diff to previous 1.3 (colored) to selected 1.45.2.1 (colored)

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

Revision 1.6 / (download) - annotate - [select for diffs], Tue Feb 27 15:19:54 2007 UTC (17 years, 1 month ago) by ad
Branch: MAIN
Changes since 1.5: +13 -9 lines
Diff to previous 1.5 (colored) to selected 1.45.2.1 (colored)

Further avoid unnecessary trips through lwp_userret()/issignal().

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Mon Feb 26 09:11:17 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5.2.1: +754 -0 lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored) to selected 1.45.2.1 (colored)

sync with head.

Revision 1.5.2.1, Thu Feb 22 06:34:45 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.5: +0 -754 lines
FILE REMOVED

file sys_sig.c was added on branch yamt-lazymbuf on 2007-02-26 09:11:17 +0000

Revision 1.5 / (download) - annotate - [select for diffs], Thu Feb 22 06:34:45 2007 UTC (17 years, 1 month ago) by thorpej
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Branch point for: yamt-lazymbuf
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored) to selected 1.45.2.1 (colored)

TRUE -> true, FALSE -> false

Revision 1.4 / (download) - annotate - [select for diffs], Sat Feb 17 22:31:44 2007 UTC (17 years, 2 months ago) by pavel
Branch: MAIN
Changes since 1.3: +11 -11 lines
Diff to previous 1.3 (colored) to selected 1.45.2.1 (colored)

Change the process/lwp flags seen by userland via sysctl back to the
P_*/L_* naming convention, and rename the in-kernel flags to avoid
conflict. (P_ -> PK_, L_ -> LW_ ). Add back the (now unused) LSDEAD
constant.

Restores source compatibility with pre-newlock2 tools like ps or top.

Reviewed by Andrew Doran.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Feb 10 11:32:22 2007 UTC (17 years, 2 months ago) by ad
Branch: MAIN
Branch point for: yamt-idlelwp
Changes since 1.2: +2 -23 lines
Diff to previous 1.2 (colored) to selected 1.45.2.1 (colored)

A quick hack to get things building again: put back the SA system calls
with no arguments, and alias them to sys_nosys. To be revisited.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:31 2007 UTC (17 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge
Changes since 1.1: +775 -0 lines
Diff to previous 1.1 (colored) to selected 1.45.2.1 (colored)

Merge newlock2 to head.

Revision 1.1.2.13 / (download) - annotate - [select for diffs], Tue Feb 6 10:01:03 2007 UTC (17 years, 2 months ago) by yamt
Branch: newlock2
Changes since 1.1.2.12: +6 -6 lines
Diff to previous 1.1.2.12 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored) to selected 1.45.2.1 (colored)

__sigtimedwait1: fix use-after-free.

Revision 1.1.2.12 / (download) - annotate - [select for diffs], Mon Feb 5 13:16:49 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.1.2.11: +6 -5 lines
Diff to previous 1.1.2.11 (colored) to branchpoint 1.1 (colored) to selected 1.45.2.1 (colored)

- When clearing signals dequeue siginfo first and free later, once
  outside the lock permiter.
- Push kernel_lock back in a a couple of places.
- Adjust limcopy() to be MP safe (this needs redoing).
- Fix a couple of bugs noticed along the way.
- Catch up with condvar changes.

Revision 1.1.2.11 / (download) - annotate - [select for diffs], Sun Feb 4 14:08:11 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.1.2.10: +3 -6 lines
Diff to previous 1.1.2.10 (colored) to branchpoint 1.1 (colored) to selected 1.45.2.1 (colored)

Fix a comment.

Revision 1.1.2.10 / (download) - annotate - [select for diffs], Sun Feb 4 14:05:19 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.1.2.9: +18 -18 lines
Diff to previous 1.1.2.9 (colored) to branchpoint 1.1 (colored) to selected 1.45.2.1 (colored)

o sigtimedwait1(): don't allocate the waitset every time. This gets
  called often enough to justify stashing it in struct lwp.
o Push kernel_lock back in a few places.

Revision 1.1.2.9 / (download) - annotate - [select for diffs], Tue Jan 30 13:51:41 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.1.2.8: +14 -25 lines
Diff to previous 1.1.2.8 (colored) to branchpoint 1.1 (colored) to selected 1.45.2.1 (colored)

Remove support for SA. Ok core@.

Revision 1.1.2.8 / (download) - annotate - [select for diffs], Sun Jan 28 01:34:18 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.1.2.7: +3 -3 lines
Diff to previous 1.1.2.7 (colored) to branchpoint 1.1 (colored) to selected 1.45.2.1 (colored)

- Remove the last use of mtsleep()
- sched_pause() -> kpause()

Revision 1.1.2.7 / (download) - annotate - [select for diffs], Sat Jan 27 01:29:05 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.1.2.6: +3 -4 lines
Diff to previous 1.1.2.6 (colored) to branchpoint 1.1 (colored) to selected 1.45.2.1 (colored)

- Job control shouldn't affect LWPs sleeping interruptably.
- Remove another use of mtsleep().

Revision 1.1.2.6 / (download) - annotate - [select for diffs], Tue Jan 16 02:17:45 2007 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.1.2.5: +4 -7 lines
Diff to previous 1.1.2.5 (colored) to branchpoint 1.1 (colored) to selected 1.45.2.1 (colored)

Fix a race between sigtimedwait()/sigunwait().

Revision 1.1.2.5 / (download) - annotate - [select for diffs], Fri Dec 29 20:27:44 2006 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.1.2.4: +30 -67 lines
Diff to previous 1.1.2.4 (colored) to branchpoint 1.1 (colored) to selected 1.45.2.1 (colored)

Checkpoint work in progress.

Revision 1.1.2.4 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:23 2006 UTC (17 years, 5 months ago) by ad
Branch: newlock2
Changes since 1.1.2.3: +9 -8 lines
Diff to previous 1.1.2.3 (colored) to branchpoint 1.1 (colored) to selected 1.45.2.1 (colored)

Sync with head.

Revision 1.1.2.3 / (download) - annotate - [select for diffs], Fri Nov 17 16:34:38 2006 UTC (17 years, 5 months ago) by ad
Branch: newlock2
Changes since 1.1.2.2: +61 -22 lines
Diff to previous 1.1.2.2 (colored) to branchpoint 1.1 (colored) to selected 1.45.2.1 (colored)

Checkpoint work in progress.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Tue Oct 24 21:10:21 2006 UTC (17 years, 5 months ago) by ad
Branch: newlock2
Changes since 1.1.2.1: +47 -32 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) to selected 1.45.2.1 (colored)

- Redo LWP locking slightly and fix some races.
- Fix some locking botches.
- Make signal mask / stack per-proc for SA processes.
- Add _lwp_kill().

Revision 1.1.2.1 / (download) - annotate - [select for diffs], Sat Oct 21 14:26:41 2006 UTC (17 years, 6 months ago) by ad
Branch: newlock2
Changes since 1.1: +774 -0 lines
Diff to previous 1.1 (colored) to selected 1.45.2.1 (colored)

- Split core dump, LWP syscalls and signal syscalls into their own files.
- Checkpoint work in progress on locking & per-LWP signals.

Revision 1.1, Sat Oct 21 14:26:41 2006 UTC (17 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, newlock2-nbase, newlock2-base
Branch point for: newlock2
FILE REMOVED

file sys_sig.c was initially added on branch newlock2.

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>