The NetBSD Project

CVS log for src/sys/sys/signalvar.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.104 / (download) - annotate - [select for diffs], Mon Nov 1 05:07:17 2021 UTC (2 years, 4 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-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, HEAD
Changes since 1.103: +2 -3 lines
Diff to previous 1.103 (colored) to selected 1.1.1.3 (colored)

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

Revision 1.102.2.1 / (download) - annotate - [select for diffs], Mon Dec 14 14:38:17 2020 UTC (3 years, 3 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.102: +2 -1 lines
Diff to previous 1.102 (colored) next main 1.103 (colored) to selected 1.1.1.3 (colored)

Sync w/ HEAD.

Revision 1.103 / (download) - annotate - [select for diffs], Sun Nov 1 18:51:03 2020 UTC (3 years, 4 months ago) by pgoyette
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-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.102: +2 -1 lines
Diff to previous 1.102 (colored) to selected 1.1.1.3 (colored)

Separate the compat_netbsd32_coredump from the compat_netbsd32 and
coredump modules, into its own module.

Welcome to 7.99.75 !!!

Revision 1.102 / (download) - annotate - [select for diffs], Thu May 14 13:32:15 2020 UTC (3 years, 10 months ago) by kamil
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.101: +2 -1 lines
Diff to previous 1.101 (colored) to selected 1.1.1.3 (colored)

Introduce new ptrace(2) operations: PT_SET_SIGPASS and PT_GET_SIGPASS

They deliver the logic of bypassing selected signals directly to the
debuggee, without informing the debugger.

This can be used to implement the QPassSignals GDB/LLDB protocol.

This call can be useful to avoid signal races in ATF ptrace tests.

Revision 1.91.2.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:05:20 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.91.2.1: +20 -11 lines
Diff to previous 1.91.2.1 (colored) to branchpoint 1.91 (colored) next main 1.92 (colored) to selected 1.1.1.3 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.101 / (download) - annotate - [select for diffs], Sun Apr 5 20:53:17 2020 UTC (3 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Changes since 1.100: +2 -2 lines
Diff to previous 1.100 (colored) to selected 1.1.1.3 (colored)

- Untangle spawn_return by splitting it up to sub-functions.
- Merge the eventswitch parent notification code which was copied in two
  places (eventswitchchild)
- Fix bugs in the eventswitch parent notification code:
  1. p_slflags should be accessed holding both proc_lock and p->p_lock
  2. p->p_opptr can be NULL if the parent was PSL_CHTRACED and exited.

Fixes random crashes the posix_spawn_kill_spawner unit test which tried
to dereference a NULL pptr.

Revision 1.100 / (download) - annotate - [select for diffs], Wed Nov 20 19:37:54 2019 UTC (4 years, 4 months ago) by pgoyette
Branch: MAIN
CVS Tags: is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.99: +2 -1 lines
Diff to previous 1.99 (colored) to selected 1.1.1.3 (colored)

Move all non-emulation-specific coredump code into the coredump module,
and remove all #ifdef COREDUMP conditional compilation.  Now, the
coredump module is completely separated from the emulation modules, and
they can all be independently loaded and unloaded.

Welcome to 9.99.18 !

Revision 1.93.2.4 / (download) - annotate - [select for diffs], Mon Nov 11 17:11:07 2019 UTC (4 years, 4 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.93.2.3: +1 -8 lines
Diff to previous 1.93.2.3 (colored) to branchpoint 1.93 (colored) next main 1.94 (colored) to selected 1.1.1.3 (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.99 / (download) - annotate - [select for diffs], Sun Nov 10 14:20:50 2019 UTC (4 years, 4 months ago) by pgoyette
Branch: MAIN
CVS Tags: phil-wifi-20191119
Changes since 1.98: +1 -6 lines
Diff to previous 1.98 (colored) to selected 1.1.1.3 (colored)

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.98 / (download) - annotate - [select for diffs], Sun Nov 10 13:28:06 2019 UTC (4 years, 4 months ago) by pgoyette
Branch: MAIN
Changes since 1.97: +1 -3 lines
Diff to previous 1.97 (colored) to selected 1.1.1.3 (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.93.2.3 / (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.93.2.2: +17 -1 lines
Diff to previous 1.93.2.2 (colored) to branchpoint 1.93 (colored) to selected 1.1.1.3 (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.93.2.2 / (download) - annotate - [select for diffs], Tue Oct 15 19:23:09 2019 UTC (4 years, 5 months ago) by martin
Branch: netbsd-9
Changes since 1.93.2.1: +1 -2 lines
Diff to previous 1.93.2.1 (colored) to branchpoint 1.93 (colored) to selected 1.1.1.3 (colored)

Pull up following revision(s) (requested by kamil in ticket #328):

	sys/kern/kern_sig.c: revision 1.369
	sys/sys/signalvar.h: revision 1.97

Refactor sigswitch()

Make the function static as it is now local to kern_sig.c.
Rename the 'relock' argument to 'proc_lock_held' as it is more verbose.

This was suggested by mjg@freebsd. While there this flips the users between
true<->false.

Add additional KASSERT(9) calls here to validate whethe proc_lock is used
accordingly.

Revision 1.93.2.1 / (download) - annotate - [select for diffs], Tue Oct 15 18:32:13 2019 UTC (4 years, 5 months ago) by martin
Branch: netbsd-9
Changes since 1.93: +2 -2 lines
Diff to previous 1.93 (colored) to selected 1.1.1.3 (colored)

Pull up following revision(s) (requested by kamil in ticket #311):

	sys/sys/siginfo.h: revision 1.34
	sys/kern/sys_ptrace_common.c: revision 1.59
	sys/kern/sys_lwp.c: revision 1.70
	sys/compat/sys/siginfo.h: revision 1.8
	sys/kern/kern_sig.c: revision 1.365
	sys/kern/kern_lwp.c: revision 1.203
	sys/sys/signalvar.h: revision 1.96
	sys/kern/kern_exec.c: revision 1.482
	sys/kern/kern_fork.c: revision 1.214

Move TRAP_CHLD/TRAP_LWP ptrace information from struct proc to siginfo

Storing struct ptrace_state information inside struct proc was vulnerable
to synchronization bugs, as multiple events emitted in the same time were
overwritting other ones.

Cache the original parent process id in p_oppid. Reusing here p_opptr is
in theory prone to slight race codition.

Change the semantics of PT_GET_PROCESS_STATE, reutning EINVAL for calls
prompting for the value in cases when there wasn't registered an
appropriate event.

Add an alternative approach to check the ptrace_state information, directly
from the siginfo_t value returned from PT_GET_SIGINFO. The original
PT_GET_PROCESS_STATE approach is kept for compat with older NetBSD and
OpenBSD. New code is recommended to keep using PT_GET_PROCESS_STATE.
Add a couple of compile-time asserts for assumptions in the code.

No functional change intended in existing ptrace(2) software.

All ATF ptrace(2) and ATF GDB tests pass.

This change improves reliability of the threading ptrace(2) code.

Revision 1.97 / (download) - annotate - [select for diffs], Sat Oct 12 19:57:09 2019 UTC (4 years, 5 months ago) by kamil
Branch: MAIN
Changes since 1.96: +1 -2 lines
Diff to previous 1.96 (colored) to selected 1.1.1.3 (colored)

Refactor sigswitch()

Make the function static as it is now local to kern_sig.c.

Rename the 'relock' argument to 'proc_lock_held' as it is more verbose.
This was suggested by mjg@freebsd. While there this flips the users between
true<->false.

Add additional KASSERT(9) calls here to validate whethe proc_lock is used
accordingly.

Revision 1.96 / (download) - annotate - [select for diffs], Mon Sep 30 21:13:33 2019 UTC (4 years, 5 months ago) by kamil
Branch: MAIN
Changes since 1.95: +2 -2 lines
Diff to previous 1.95 (colored) to selected 1.1.1.3 (colored)

Move TRAP_CHLD/TRAP_LWP ptrace information from struct proc to siginfo

Storing struct ptrace_state information inside struct proc was vulnerable
to synchronization bugs, as multiple events emitted in the same time were
overwritting other ones.

Cache the original parent process id in p_oppid. Reusing here p_opptr is
in theory prone to slight race codition.

Change the semantics of PT_GET_PROCESS_STATE, reutning EINVAL for calls
prompting for the value in cases when there wasn't registered an
appropriate event.

Add an alternative approach to check the ptrace_state information, directly
from the siginfo_t value returned from PT_GET_SIGINFO. The original
PT_GET_PROCESS_STATE approach is kept for compat with older NetBSD and
OpenBSD. New code is recommended to keep using PT_GET_PROCESS_STATE.

Add a couple of compile-time asserts for assumptions in the code.

No functional change intended in existing ptrace(2) software.

All ATF ptrace(2) and ATF GDB tests pass.

This change improves reliability of the threading ptrace(2) code.

Revision 1.95 / (download) - annotate - [select for diffs], Sun Sep 8 11:53:23 2019 UTC (4 years, 6 months ago) by mlelstv
Branch: MAIN
Changes since 1.94: +5 -1 lines
Diff to previous 1.94 (colored) to selected 1.1.1.3 (colored)

Fix libkvm build.

Revision 1.94 / (download) - annotate - [select for diffs], Sun Sep 8 07:00:20 2019 UTC (4 years, 6 months ago) by maxv
Branch: MAIN
Changes since 1.93: +13 -1 lines
Diff to previous 1.93 (colored) to selected 1.1.1.3 (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.91.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:09:57 2019 UTC (4 years, 9 months ago) by christos
Branch: phil-wifi
Changes since 1.91: +2 -1 lines
Diff to previous 1.91 (colored) to selected 1.1.1.3 (colored)

Sync with HEAD

Revision 1.93 / (download) - annotate - [select for diffs], Fri May 3 22:34:21 2019 UTC (4 years, 10 months ago) by kamil
Branch: MAIN
CVS Tags: phil-wifi-20190609, netbsd-9-base
Branch point for: netbsd-9
Changes since 1.92: +2 -2 lines
Diff to previous 1.92 (colored) to selected 1.1.1.3 (colored)

Register KTR events for debugger related signals

Register signals for:

 - crashes (FPE, SEGV, FPE, ILL, BUS)
 - LWP events
 - CHLD (FORK/VFORK/VFORK_DONE) events -- temporarily disabled
 - EXEC events

While there refactor related functions in order to simplify the code.

Add missing comment documentation for recently added kernel functions.

Revision 1.92 / (download) - annotate - [select for diffs], Wed May 1 17:21:55 2019 UTC (4 years, 10 months ago) by kamil
Branch: MAIN
Changes since 1.91: +2 -1 lines
Diff to previous 1.91 (colored) to selected 1.1.1.3 (colored)

Add eventswitch() in signal code

Route all crash and debugger related signal through eventswitch(), that
calls sigswitch() with preprocessed arguments.

This code avoids code duplication and allows to introduce changes that
will affect all callers of sigswitch() in debugger-related events.

No functional change intended.

Revision 1.88.14.3 / (download) - annotate - [select for diffs], Mon May 21 04:36:17 2018 UTC (5 years, 10 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.88.14.2: +2 -2 lines
Diff to previous 1.88.14.2 (colored) to branchpoint 1.88 (colored) next main 1.89 (colored) to selected 1.1.1.3 (colored)

Sync with HEAD

Revision 1.91 / (download) - annotate - [select for diffs], Sun May 20 04:00:35 2018 UTC (5 years, 10 months ago) by kamil
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi
Changes since 1.90: +2 -2 lines
Diff to previous 1.90 (colored) to selected 1.1.1.3 (colored)

Make stopsigmask a non-static symbol now as it's used in ptrace(2) code

This is a missing part of the previous commit.

While there fix a typo in a newly added comment in the ptrace(2) code.

Sponsored by <The NetBSD Foundation>

Revision 1.88.14.2 / (download) - annotate - [select for diffs], Wed May 2 07:20:24 2018 UTC (5 years, 10 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.88.14.1: +3 -1 lines
Diff to previous 1.88.14.1 (colored) to branchpoint 1.88 (colored) to selected 1.1.1.3 (colored)

Synch with HEAD

Revision 1.90 / (download) - annotate - [select for diffs], Tue May 1 16:37:23 2018 UTC (5 years, 10 months ago) by kamil
Branch: MAIN
CVS Tags: pgoyette-compat-0502
Changes since 1.89: +3 -1 lines
Diff to previous 1.89 (colored) to selected 1.1.1.3 (colored)

Implement PTRACE_VFORK

Add support for tracing vfork(2) events in the context of ptrace(2).

This API covers other frontends to fork1(9) like posix_spawn(2) or clone(2),
if they cause parent to wait for exec(2) or exit(2) of the child.

Changes:
 - Add new argument to sigswitch() determining whether we need to acquire
   the proc_lock or whether it's already held.
 - Refactor fork1(9) for fork(2) and vfork(2)-like events.
   Call sigswitch() from fork(1) for forking or vforking parent, instead of
   emitting kpsignal(9). We need to emit the signal and suspend the parent,
   returning to user and relock proc_lock.
 - Add missing prototype for proc_stop_done() in kern_sig.c.
 - Make sigswitch a public function accessible from other kernel code
   including <sys/signalvar.h>.
 - Remove an entry about unimplemented PTRACE_VFORK in the ptrace(2) man page.
 - Permin PTRACE_VFORK in the ptrace(2) frontend for userland.
 - Remove expected failure for unimplemented PTRACE_VFORK tests in the ATF
   ptrace(2) test-suite.
 - Relax signal routing constraints under a debugger for a vfork(2)ed child.
   This intended to protect from signaling a parent of a vfork(2)ed child that
   called PT_TRACE_ME, but wrongly misrouted other signals in vfork(2)
   use-cases.

Add XXX comments about still existing problems and future enhancements:
 - correct vfork(2) + PT_TRACE_ME handling.
 - fork1(2) handling of scenarios when a process is collected in valid but
   rare cases.

All ATF ptrace(2) fork[1-8] and vfork[1-8] tests pass.

Fix PR kern/51630 by Kamil Rytarowski (myself).

Sponsored by <The NetBSD Foundation>

Revision 1.88.14.1 / (download) - annotate - [select for diffs], Sun Apr 22 07:20:29 2018 UTC (5 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.88: +4 -4 lines
Diff to previous 1.88 (colored) to selected 1.1.1.3 (colored)

Sync with HEAD

Revision 1.89 / (download) - annotate - [select for diffs], Thu Apr 19 21:19:07 2018 UTC (5 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-0422
Changes since 1.88: +4 -4 lines
Diff to previous 1.88 (colored) to selected 1.1.1.3 (colored)

s/static inline/static __inline/g for consistency with other include
headers.

Revision 1.83.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:39:21 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.83.2.1: +7 -6 lines
Diff to previous 1.83.2.1 (colored) to branchpoint 1.83 (colored) next main 1.84 (colored) to selected 1.1.1.3 (colored)

update from HEAD

Revision 1.86.4.2 / (download) - annotate - [select for diffs], Sun Feb 5 13:41:01 2017 UTC (7 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.86.4.1: +7 -6 lines
Diff to previous 1.86.4.1 (colored) to branchpoint 1.86 (colored) next main 1.87 (colored) to selected 1.1.1.3 (colored)

Sync with HEAD

Revision 1.86.8.2 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:53 2017 UTC (7 years, 2 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.86.8.1: +7 -6 lines
Diff to previous 1.86.8.1 (colored) to branchpoint 1.86 (colored) next main 1.87 (colored) to selected 1.1.1.3 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.88 / (download) - annotate - [select for diffs], Fri Jan 6 22:53:17 2017 UTC (7 years, 2 months ago) by kamil
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-compat-base, 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, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: pgoyette-compat
Changes since 1.87: +7 -6 lines
Diff to previous 1.87 (colored) to selected 1.1.1.3 (colored)

Introduce new ptrace(2) interface: PT_SET_SIGINFO and PT_GET_SIGINFO

This interface is designed to read signal information emited to tracee and
fake this signal with new value.

This functionality is required to distinguish types of events that occured
in the tracee and intercepted by a debugger.

These accessors introduce a new structure type ptrace_siginfo:
/*
 * Signal Information structure
 */
typedef struct ptrace_siginfo {
       siginfo_t       psi_siginfo;    /* signal information structure */
       lwpid_t         psi_lwpid;      /* destination LWP of the signal
                                        * value 0 means the whole process
                                        * (route signal to all LWPs) */
} ptrace_siginfo_t;

Include <sys/siginfo.h> in <sys/ptrace.h> in order to not break existing
software due to unknown symbol siginfo_t.

This interface has been proposed to the tech-kern@ mailing list.

Sponsored by <The NetBSD Foundation>

Revision 1.86.4.1 / (download) - annotate - [select for diffs], Wed Oct 5 20:56:11 2016 UTC (7 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.86: +2 -2 lines
Diff to previous 1.86 (colored) to selected 1.1.1.3 (colored)

Sync with HEAD

Revision 1.86.8.1 / (download) - annotate - [select for diffs], Sat Aug 6 00:19:11 2016 UTC (7 years, 7 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.86: +2 -2 lines
Diff to previous 1.86 (colored) to selected 1.1.1.3 (colored)

Sync with HEAD

Revision 1.87 / (download) - annotate - [select for diffs], Thu Aug 4 06:43:43 2016 UTC (7 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-20161104, pgoyette-localcount-20160806, nick-nhusb-base-20161204, nick-nhusb-base-20161004, localcount-20160914
Changes since 1.86: +2 -2 lines
Diff to previous 1.86 (colored) to selected 1.1.1.3 (colored)

Realtime signal support from GSoC 2016, Charles Cui.

Revision 1.83.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:04:44 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.83: +7 -6 lines
Diff to previous 1.83 (colored) to selected 1.1.1.3 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.85.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:56:54 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.85: +2 -2 lines
Diff to previous 1.85 (colored) next main 1.86 (colored) to selected 1.1.1.3 (colored)

Rebase.

Revision 1.81.4.2 / (download) - annotate - [select for diffs], Thu May 22 11:41:18 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.81.4.1: +6 -5 lines
Diff to previous 1.81.4.1 (colored) to branchpoint 1.81 (colored) next main 1.82 (colored) to selected 1.1.1.3 (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.83.4.1 / (download) - annotate - [select for diffs], Sun May 18 17:46:21 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.83: +7 -6 lines
Diff to previous 1.83 (colored) next main 1.84 (colored) to selected 1.1.1.3 (colored)

sync with head

Revision 1.86 / (download) - annotate - [select for diffs], Thu May 15 07:11:30 2014 UTC (9 years, 10 months ago) by uebayasi
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, rmind-smpnet-nbase, rmind-smpnet-base, 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, 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-1, 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-7-0, netbsd-7
Branch point for: pgoyette-localcount, nick-nhusb
Changes since 1.85: +2 -2 lines
Diff to previous 1.85 (colored) to selected 1.1.1.3 (colored)

sigexit() calls either exit1() or panic() and never returns.  Mark it as
__dead.

Revision 1.85 / (download) - annotate - [select for diffs], Wed Jan 1 18:57:16 2014 UTC (10 years, 2 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-pagecache-base9, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.84: +3 -2 lines
Diff to previous 1.84 (colored) to selected 1.1.1.3 (colored)

Change the type of the 'cookie' that holds the state of the core dump file
from 'void *' to the actual type 'struct coredump_iostate *'.
In most of the code the contents of the structure are still unknown.
This just stops the wrong type of pointer being passed to the 'void *'
parameter.
I hope I've found everything, amd64 GENERIC and i386 GENERIC & ALL compile.

Revision 1.84 / (download) - annotate - [select for diffs], Fri Nov 22 21:04:11 2013 UTC (10 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.83: +4 -4 lines
Diff to previous 1.83 (colored) to selected 1.1.1.3 (colored)

convert vmem, signals, powerhooks from CIRCLEQ -> TAILQ.

Revision 1.81.4.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:08:53 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.81: +2 -14 lines
Diff to previous 1.81 (colored) to selected 1.1.1.3 (colored)

sync with head

Revision 1.82.4.1 / (download) - annotate - [select for diffs], Fri Feb 24 09:11:50 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.82: +1 -13 lines
Diff to previous 1.82 (colored) next main 1.83 (colored) to selected 1.1.1.3 (colored)

sync to -current.

Revision 1.83 / (download) - annotate - [select for diffs], Sun Feb 19 21:07:00 2012 UTC (12 years, 1 month ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Changes since 1.82: +1 -13 lines
Diff to previous 1.82 (colored) to selected 1.1.1.3 (colored)

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

Revision 1.82 / (download) - annotate - [select for diffs], Fri Nov 18 03:34:13 2011 UTC (12 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: 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, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: jmcneill-usbmp
Changes since 1.81: +2 -2 lines
Diff to previous 1.81 (colored) to selected 1.1.1.3 (colored)

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

Revision 1.78.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:10:13 2011 UTC (12 years, 9 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.78: +4 -2 lines
Diff to previous 1.78 (colored) next main 1.79 (colored) to selected 1.1.1.3 (colored)

Sync with HEAD.

Revision 1.76.4.3 / (download) - annotate - [select for diffs], Tue May 31 03:05:12 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.76.4.2: +3 -1 lines
Diff to previous 1.76.4.2 (colored) to branchpoint 1.76 (colored) next main 1.77 (colored) to selected 1.1.1.3 (colored)

sync with head

Revision 1.81 / (download) - annotate - [select for diffs], Sat May 28 15:33:41 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.80: +2 -1 lines
Diff to previous 1.80 (colored) to selected 1.1.1.3 (colored)

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

Revision 1.80 / (download) - annotate - [select for diffs], Wed May 18 03:51:41 2011 UTC (12 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.79: +2 -1 lines
Diff to previous 1.79 (colored) to selected 1.1.1.3 (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.79 / (download) - annotate - [select for diffs], Wed Apr 27 00:38:37 2011 UTC (12 years, 11 months ago) by rmind
Branch: MAIN
Changes since 1.78: +2 -2 lines
Diff to previous 1.78 (colored) to selected 1.1.1.3 (colored)

Make stopsigmask static, sprinkle __cacheline_aligned and __read_mostly.

Revision 1.76.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:56:25 2011 UTC (13 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.76.4.1: +2 -2 lines
Diff to previous 1.76.4.1 (colored) to branchpoint 1.76 (colored) to selected 1.1.1.3 (colored)

sync with head

Revision 1.78 / (download) - annotate - [select for diffs], Fri Jan 14 02:06:34 2011 UTC (13 years, 2 months ago) by rmind
Branch: MAIN
CVS Tags: uebayasi-xip-base7, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.77: +2 -2 lines
Diff to previous 1.77 (colored) to selected 1.1.1.3 (colored)

Retire struct user, remove sys/user.h inclusions.  Note sys/user.h header
as obsolete.  Remove USER_TO_UAREA/UAREA_TO_USER macros.

Various #include fixes and review by matt@.

Revision 1.76.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:48:08 2010 UTC (13 years, 7 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.76: +1 -3 lines
Diff to previous 1.76 (colored) next main 1.77 (colored) to selected 1.1.1.3 (colored)

Sync with HEAD.

Revision 1.73.12.3 / (download) - annotate - [select for diffs], Wed Aug 11 22:55:11 2010 UTC (13 years, 7 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.73.12.2: +1 -3 lines
Diff to previous 1.73.12.2 (colored) to branchpoint 1.73 (colored) next main 1.74 (colored) to selected 1.1.1.3 (colored)

sync with head.

Revision 1.76.4.1 / (download) - annotate - [select for diffs], Sun May 30 05:18:08 2010 UTC (13 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.76: +1 -3 lines
Diff to previous 1.76 (colored) to selected 1.1.1.3 (colored)

sync with head

Revision 1.77 / (download) - annotate - [select for diffs], Thu Apr 29 15:24:07 2010 UTC (13 years, 11 months ago) by jruoho
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, matt-mips64-premerge-20101231
Changes since 1.76: +1 -3 lines
Diff to previous 1.76 (colored) to selected 1.1.1.3 (colored)

Remove gsignal() and kgsignal() that do not prototype anything any more.

Revision 1.73.12.2 / (download) - annotate - [select for diffs], Thu Mar 11 15:04:43 2010 UTC (14 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.73.12.1: +3 -3 lines
Diff to previous 1.73.12.1 (colored) to branchpoint 1.73 (colored) to selected 1.1.1.3 (colored)

sync with head

Revision 1.76 / (download) - annotate - [select for diffs], Tue Jan 19 22:28:31 2010 UTC (14 years, 2 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.75: +3 -3 lines
Diff to previous 1.75 (colored) to selected 1.1.1.3 (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.73.12.1 / (download) - annotate - [select for diffs], Mon May 4 08:14:36 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.73: +14 -6 lines
Diff to previous 1.73 (colored) to selected 1.1.1.3 (colored)

sync with head.

Revision 1.73.20.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:20:30 2009 UTC (15 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.73: +14 -6 lines
Diff to previous 1.73 (colored) next main 1.74 (colored) to selected 1.1.1.3 (colored)

Sync with HEAD.

Revision 1.73.6.1 / (download) - annotate - [select for diffs], Sat Jan 17 13:29:41 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.73: +13 -5 lines
Diff to previous 1.73 (colored) next main 1.74 (colored) to selected 1.1.1.3 (colored)

Sync with HEAD.

Revision 1.75 / (download) - annotate - [select for diffs], Sun Jan 11 02:45:55 2009 UTC (15 years, 2 months 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-base2, nick-hppapmap-base, mjf-devfs2-base, matt-premerge-20091211, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend
Changes since 1.74: +4 -4 lines
Diff to previous 1.74 (colored) to selected 1.1.1.3 (colored)

merge christos-time_t

Revision 1.73.18.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:15:35 2008 UTC (15 years, 3 months ago) by haad
Branch: haad-dm
Changes since 1.73: +11 -3 lines
Diff to previous 1.73 (colored) next main 1.74 (colored) to selected 1.1.1.3 (colored)

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

Revision 1.73.8.2 / (download) - annotate - [select for diffs], Thu Nov 20 20:45:39 2008 UTC (15 years, 4 months ago) by christos
Branch: christos-time_t
Changes since 1.73.8.1: +11 -3 lines
Diff to previous 1.73.8.1 (colored) to branchpoint 1.73 (colored) next main 1.74 (colored) to selected 1.1.1.3 (colored)

merge with head.

Revision 1.74 / (download) - annotate - [select for diffs], Wed Nov 19 18:36:10 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.73: +11 -3 lines
Diff to previous 1.73 (colored) to selected 1.1.1.3 (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.73.8.1 / (download) - annotate - [select for diffs], Sat Mar 29 20:47:03 2008 UTC (16 years ago) by christos
Branch: christos-time_t
Changes since 1.73: +4 -4 lines
Diff to previous 1.73 (colored) to selected 1.1.1.3 (colored)

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

Revision 1.69.20.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:05:11 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.69.20.1: +4 -17 lines
Diff to previous 1.69.20.1 (colored) to branchpoint 1.69 (colored) next main 1.70 (colored) to selected 1.1.1.3 (colored)

sync with HEAD

Revision 1.56.2.5 / (download) - annotate - [select for diffs], Wed Feb 27 08:37:05 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.56.2.4: +4 -17 lines
Diff to previous 1.56.2.4 (colored) next main 1.57 (colored) to selected 1.1.1.3 (colored)

sync with head.

Revision 1.73 / (download) - annotate - [select for diffs], Tue Feb 19 12:24:34 2008 UTC (16 years, 1 month ago) by yamt
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-net80211-sync-base, nick-net80211-sync, 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, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-nbase, hpcarm-cleanup-base, haad-dm-base1, ad-socklock-base1
Branch point for: yamt-nfs-mp, nick-hppapmap, mjf-devfs2, haad-dm, christos-time_t
Changes since 1.72: +3 -3 lines
Diff to previous 1.72 (colored) to selected 1.1.1.3 (colored)

constify

Revision 1.72 / (download) - annotate - [select for diffs], Tue Feb 19 12:21:14 2008 UTC (16 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.71: +1 -14 lines
Diff to previous 1.71 (colored) to selected 1.1.1.3 (colored)

g/c CLRSIG

Revision 1.69.26.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:07:23 2008 UTC (16 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.69: +1 -2 lines
Diff to previous 1.69 (colored) next main 1.70 (colored) to selected 1.1.1.3 (colored)

Sync with HEAD.

Revision 1.56.2.4 / (download) - annotate - [select for diffs], Mon Jan 21 09:47:58 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.56.2.3: +3 -3 lines
Diff to previous 1.56.2.3 (colored) to selected 1.1.1.3 (colored)

sync with head

Revision 1.69.20.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:58:17 2008 UTC (16 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.69: +3 -3 lines
Diff to previous 1.69 (colored) to selected 1.1.1.3 (colored)

sync with HEAD

Revision 1.69.32.2 / (download) - annotate - [select for diffs], Tue Jan 8 22:11:58 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.69.32.1: +0 -1 lines
Diff to previous 1.69.32.1 (colored) to branchpoint 1.69 (colored) next main 1.70 (colored) to selected 1.1.1.3 (colored)

Sync with HEAD

Revision 1.71 / (download) - annotate - [select for diffs], Fri Jan 4 21:18:18 2008 UTC (16 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: mjf-devfs-base, matt-armv6-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.70: +1 -2 lines
Diff to previous 1.70 (colored) to selected 1.1.1.3 (colored)

Start detangling lock.h from intr.h. This is likely to cause short term
breakage, but the mess of dependencies has been regularly breaking the
build recently anyhow.

Revision 1.69.32.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:58:08 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.69: +3 -2 lines
Diff to previous 1.69 (colored) to selected 1.1.1.3 (colored)

Sync with HEAD

Revision 1.69.28.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:57:58 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.69: +3 -2 lines
Diff to previous 1.69 (colored) next main 1.70 (colored) to selected 1.1.1.3 (colored)

Sync with head.

Revision 1.70 / (download) - annotate - [select for diffs], Thu Dec 20 23:03:14 2007 UTC (16 years, 3 months ago) by dsl
Branch: MAIN
CVS Tags: vmlocking2-base3
Changes since 1.69: +3 -2 lines
Diff to previous 1.69 (colored) to selected 1.1.1.3 (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.56.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:12:14 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.56.2.2: +185 -128 lines
Diff to previous 1.56.2.2 (colored) to selected 1.1.1.3 (colored)

sync with head.

Revision 1.69 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:37 2007 UTC (17 years, 1 month 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, yamt-idlelwp-base8, yamt-idlelwp, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, post-newlock2-merge, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, 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, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking2, mjf-devfs, matt-armv6, bouyer-xeni386
Changes since 1.68: +185 -128 lines
Diff to previous 1.68 (colored) to selected 1.1.1.3 (colored)

Merge newlock2 to head.

Revision 1.66.4.6 / (download) - annotate - [select for diffs], Mon Feb 5 13:16:48 2007 UTC (17 years, 1 month ago) by ad
Branch: newlock2
Changes since 1.66.4.5: +19 -3 lines
Diff to previous 1.66.4.5 (colored) to branchpoint 1.66 (colored) next main 1.67 (colored) to selected 1.1.1.3 (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.66.4.5 / (download) - annotate - [select for diffs], Wed Jan 31 19:56:38 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.66.4.4: +2 -2 lines
Diff to previous 1.66.4.4 (colored) to branchpoint 1.66 (colored) to selected 1.1.1.3 (colored)

- Have callers to mi_switch() drop the kernel lock.
- Fix a deadlock and some typos.
- Unbreak ptrace().

Revision 1.56.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:50:55 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.56.2.1: +5 -8 lines
Diff to previous 1.56.2.1 (colored) to selected 1.1.1.3 (colored)

sync with head.

Revision 1.66.4.4 / (download) - annotate - [select for diffs], Fri Dec 29 20:27:45 2006 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.66.4.3: +4 -6 lines
Diff to previous 1.66.4.3 (colored) to branchpoint 1.66 (colored) to selected 1.1.1.3 (colored)

Checkpoint work in progress.

Revision 1.66.6.1 / (download) - annotate - [select for diffs], Sun Dec 10 07:19:29 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.66: +4 -7 lines
Diff to previous 1.66 (colored) next main 1.67 (colored) to selected 1.1.1.3 (colored)

sync with head.

Revision 1.66.4.3 / (download) - annotate - [select for diffs], Fri Nov 17 16:34:40 2006 UTC (17 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.66.4.2: +6 -3 lines
Diff to previous 1.66.4.2 (colored) to branchpoint 1.66 (colored) to selected 1.1.1.3 (colored)

Checkpoint work in progress.

Revision 1.68 / (download) - annotate - [select for diffs], Wed Nov 1 09:46:14 2006 UTC (17 years, 5 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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
Changes since 1.67: +2 -3 lines
Diff to previous 1.67 (colored) to selected 1.1.1.3 (colored)

kill signal "dolock" hacks.

related to PR/32962 and PR/34895.  reviewed by matthew green.

Revision 1.67 / (download) - annotate - [select for diffs], Wed Nov 1 09:33:45 2006 UTC (17 years, 5 months ago) by yamt
Branch: MAIN
Changes since 1.66: +2 -4 lines
Diff to previous 1.66 (colored) to selected 1.1.1.3 (colored)

kill sched_psignal.
related to PR/32962 and PR/34895.  reviewed by matthew green.

Revision 1.66.4.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.66.4.1: +13 -2 lines
Diff to previous 1.66.4.1 (colored) to branchpoint 1.66 (colored) to selected 1.1.1.3 (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.66.4.1 / (download) - annotate - [select for diffs], Sat Oct 21 15:20:48 2006 UTC (17 years, 5 months ago) by ad
Branch: newlock2
Changes since 1.66: +158 -132 lines
Diff to previous 1.66 (colored) to selected 1.1.1.3 (colored)

Checkpoint work in progress on locking and per-LWP signals. Very much a
a work in progress and there is still a lot to do.

Revision 1.62.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:59:42 2006 UTC (17 years, 6 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.62: +10 -5 lines
Diff to previous 1.62 (colored) next main 1.63 (colored) to selected 1.1.1.3 (colored)

sync with head

Revision 1.63.2.3 / (download) - annotate - [select for diffs], Fri Aug 11 15:47:26 2006 UTC (17 years, 7 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.63.2.2: +2 -2 lines
Diff to previous 1.63.2.2 (colored) to branchpoint 1.63 (colored) next main 1.64 (colored) to selected 1.1.1.3 (colored)

sync with head

Revision 1.66 / (download) - annotate - [select for diffs], Sun Jul 23 22:06:14 2006 UTC (17 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, rpaulo-netinet-merge-pcb-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.65: +2 -2 lines
Diff to previous 1.65 (colored) to selected 1.1.1.3 (colored)

Use the LWP cached credentials where sane.

Revision 1.56.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:12:03 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.56: +16 -17 lines
Diff to previous 1.56 (colored) to selected 1.1.1.3 (colored)

sync with head.

Revision 1.62.6.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:39:27 2006 UTC (17 years, 10 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.62.6.1: +1 -2 lines
Diff to previous 1.62.6.1 (colored) to branchpoint 1.62 (colored) next main 1.63 (colored) to selected 1.1.1.3 (colored)

Sync with head.

Revision 1.63.6.1 / (download) - annotate - [select for diffs], Wed May 24 15:50:47 2006 UTC (17 years, 10 months ago) by tron
Branch: peter-altq
Changes since 1.63: +8 -4 lines
Diff to previous 1.63 (colored) next main 1.64 (colored) to selected 1.1.1.3 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.63.2.2 / (download) - annotate - [select for diffs], Wed May 24 10:59:21 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.63.2.1: +273 -0 lines
Diff to previous 1.63.2.1 (colored) to branchpoint 1.63 (colored) to selected 1.1.1.3 (colored)

sync with head.

Revision 1.65 / (download) - annotate - [select for diffs], Sun May 14 21:38:18 2006 UTC (17 years, 10 months ago) by elad
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, yamt-pdpolicy-base5, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, chap-midi
Changes since 1.64: +1 -2 lines
Diff to previous 1.64 (colored) to selected 1.1.1.3 (colored)

integrate kauth.

Revision 1.63.4.2 / (download) - annotate - [select for diffs], Sat May 6 23:32:33 2006 UTC (17 years, 10 months ago) by christos
Branch: elad-kernelauth
Changes since 1.63.4.1: +1 -2 lines
Diff to previous 1.63.4.1 (colored) to branchpoint 1.63 (colored) next main 1.64 (colored) to selected 1.1.1.3 (colored)

- Move kauth_cred_t declaration to <sys/types.h>
- Cleanup struct ucred; forward declarations that are unused.
- Don't include <sys/kauth.h> in any header, but include it in the c files
  that need it.

Approved by core.

Revision 1.62.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:40:19 2006 UTC (17 years, 11 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.62: +9 -3 lines
Diff to previous 1.62 (colored) to selected 1.1.1.3 (colored)

Sync with head.

Revision 1.63.4.1 / (download) - annotate - [select for diffs], Wed Apr 19 04:36:02 2006 UTC (17 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.63: +8 -3 lines
Diff to previous 1.63 (colored) to selected 1.1.1.3 (colored)

sync with head.

Revision 1.64 / (download) - annotate - [select for diffs], Sat Apr 15 01:16:40 2006 UTC (17 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: elad-kernelauth-base
Changes since 1.63: +8 -3 lines
Diff to previous 1.63 (colored) to selected 1.1.1.3 (colored)

From my posting of April 3 to tech-kern:

My understanding is that the CLRSIG() is supposed to clear the signal
that was sent to the syncer process to prevent it from being delivered
to the syncer process in case unmounting fails, so that the syncer process
does not die while the filesystem is still mounted. The typical scenario
is, the syncher process is tsleep()ing in the kernel, and waking up when
it needs to do work. If someone sends a signal to it, eg. kill -TERM
the mfs process, then the kernel will try to unmount the mfs filesystem
before delivering the signal to the process. If that unmount fails, then
we should not really kill the process because that will hang the mount.
So we call CLRSIG() to stop the signal from being delivered.

So the first call to issignal() will return the signal number that was
sent to the syncer process (unless someone malicious was able to send
a lower numbered signal between the time tsleep() returned and we called
issignal()... something that is not really easy to do). But you are
right, we should not be calling it many times as a side effect of this
macro.

Rewrite CLRSIG() clear all the signals and call issignal() the correct
number of times.

Revision 1.63.2.1, Sun Mar 5 07:21:38 2006 UTC (18 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.63: +0 -269 lines
FILE REMOVED

file signalvar.h was added on branch yamt-pdpolicy on 2006-05-24 10:59:21 +0000

Revision 1.63 / (download) - annotate - [select for diffs], Sun Mar 5 07:21:38 2006 UTC (18 years ago) by christos
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Changes since 1.62: +2 -1 lines
Diff to previous 1.62 (colored) to selected 1.1.1.3 (colored)

implement PT_SYSCALL

Revision 1.62 / (download) - annotate - [select for diffs], Sun Dec 11 12:25:21 2005 UTC (18 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace
Branch point for: simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.61: +1 -1 lines
Diff to previous 1.61 (colored) to selected 1.1.1.3 (colored)

merge ktrace-lwp.

Revision 1.39.2.6 / (download) - annotate - [select for diffs], Thu Nov 10 14:12:13 2005 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.39.2.5: +11 -23 lines
Diff to previous 1.39.2.5 (colored) next main 1.40 (colored) to selected 1.1.1.3 (colored)

Sync with HEAD. Here we go again...

Revision 1.59.2.1 / (download) - annotate - [select for diffs], Wed Oct 26 08:32:52 2005 UTC (18 years, 5 months ago) by yamt
Branch: yamt-vop
Changes since 1.59: +5 -3 lines
Diff to previous 1.59 (colored) next main 1.60 (colored) to selected 1.1.1.3 (colored)

sync with head

Revision 1.61 / (download) - annotate - [select for diffs], Sun Oct 23 11:41:08 2005 UTC (18 years, 5 months ago) by cube
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, 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.60: +3 -2 lines
Diff to previous 1.60 (colored) to selected 1.1.1.3 (colored)

Only include sys/systm.h under _KERNEL, otherwise it needlessly pollutes
namespace, as shown by libkvm failing to compile for shadowing one of the
variables listed in sys/systm.h.  Reported by xtraeme@.

Revision 1.60 / (download) - annotate - [select for diffs], Sun Oct 23 00:09:14 2005 UTC (18 years, 5 months ago) by cube
Branch: MAIN
Changes since 1.59: +4 -3 lines
Diff to previous 1.59 (colored) to selected 1.1.1.3 (colored)

Implement a few changes needed to properly resolve PR#30924, as
discussed in the PR.

- introduce sys/timevar.h to hold kernel-specific stuff relevant to
  sys/time.h.  Ideally, timevar.h would contain all (or almost) of the
  #ifdef _KERNEL part of time.h, but that's a pretty big and tedious
  change to make.  For now, it will contain only the prototypes I
  introduced when working on COMPAT_NETBSD32.

- split copyinout_t into copyin_t and copyout_t, it makes prototypes more
  explicit about the meaning of a given argument.  Suggested by yamt@.

- move copyinout_t definition in sys/time.h to systm.h as copyin_t and
  copyout_t

- make everything uses the new types and include the proper headers at
  the proper places.

Revision 1.54.4.1 / (download) - annotate - [select for diffs], Fri Oct 21 17:39:40 2005 UTC (18 years, 5 months ago) by riz
Branch: netbsd-3
CVS Tags: 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
Changes since 1.54: +3 -1 lines
Diff to previous 1.54 (colored) next main 1.55 (colored) to selected 1.1.1.3 (colored)

Pull up following revision(s) (requested by chs in ticket #901):
	sys/kern/kern_time.c: revision 1.94
	sys/sys/signalvar.h: revision 1.59
	sys/sys/savar.h: revision 1.16
	sys/kern/kern_sig.c: revision 1.209
	sys/kern/kern_sa.c: revision 1.66
	sys/kern/kern_synch.c: revision 1.150
avoid calling into the pool code while holding sched_lock
since both pool_get() and pool_put() can call wakeup().
instead, allocate the struct sadata_upcall before taking
sched_lock in mi_switch() and free it after releasing sched_lock.
clean up some modularity warts by adding a callback to
struct sadata_upcall for freeing sa_arg.

Revision 1.59 / (download) - annotate - [select for diffs], Sun Oct 2 17:51:27 2005 UTC (18 years, 5 months ago) by chs
Branch: MAIN
CVS Tags: yamt-vop-base
Branch point for: yamt-vop
Changes since 1.58: +3 -1 lines
Diff to previous 1.58 (colored) to selected 1.1.1.3 (colored)

avoid calling into the pool code while holding sched_lock
since both pool_get() and pool_put() can call wakeup().
instead, allocate the struct sadata_upcall before taking
sched_lock in mi_switch() and free it after releasing sched_lock.

clean up some modularity warts by adding a callback to
struct sadata_upcall for freeing sa_arg.

Revision 1.58 / (download) - annotate - [select for diffs], Tue Sep 13 01:42:51 2005 UTC (18 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.57: +1 -14 lines
Diff to previous 1.57 (colored) to selected 1.1.1.3 (colored)

compat code reorg.

Revision 1.57 / (download) - annotate - [select for diffs], Sat Jul 23 22:02:13 2005 UTC (18 years, 8 months ago) by cube
Branch: MAIN
Changes since 1.56: +4 -1 lines
Diff to previous 1.56 (colored) to selected 1.1.1.3 (colored)

Introduce __sigtimedwait1 which will help adding COMPAT_NETBSD32 support
for __sigtimedwait(2).

Revision 1.56 / (download) - annotate - [select for diffs], Sun Jun 19 23:10:03 2005 UTC (18 years, 9 months ago) by christos
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.55: +2 -2 lines
Diff to previous 1.55 (colored) to selected 1.1.1.3 (colored)

move misplaced endif.

Revision 1.55 / (download) - annotate - [select for diffs], Fri Jun 10 05:10:13 2005 UTC (18 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.54: +2 -8 lines
Diff to previous 1.54 (colored) to selected 1.1.1.3 (colored)

Rework the coredump code to have no explicit knownledge of how coredump
i/o is done.  Instead, pass an opaque cookie which is then passed to a
new routine, coredump_write, which does the actual i/o.  This allows the
method of doing i/o to change without affecting any future MD code.
Also, make netbsd32_core.c [re]use core_netbsd.c (in a similar manner that
core_elf64.c uses core_elf32.c) and eliminate that code duplication.
cpu_coredump{,32} is now called twice, first with a NULL iocookie to fill
the core structure and a second to actually write md parts of the coredump.
All i/o is nolonger random access and is suitable for shipping over a stream.

Revision 1.53.2.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:29:38 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.53: +51 -52 lines
Diff to previous 1.53 (colored) next main 1.54 (colored) to selected 1.1.1.3 (colored)

sync with -current

Revision 1.53.4.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:56 2005 UTC (19 years, 1 month ago) by yamt
Branch: yamt-km
Changes since 1.53: +51 -52 lines
Diff to previous 1.53 (colored) next main 1.54 (colored) to selected 1.1.1.3 (colored)

sync with head.

Revision 1.39.2.5 / (download) - annotate - [select for diffs], Fri Feb 4 11:48:06 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.39.2.4: +51 -52 lines
Diff to previous 1.39.2.4 (colored) to selected 1.1.1.3 (colored)

Sync with HEAD.

Revision 1.54 / (download) - annotate - [select for diffs], Thu Feb 3 19:20:02 2005 UTC (19 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, netbsd-3-base, kent-audio2-base
Branch point for: netbsd-3
Changes since 1.53: +51 -52 lines
Diff to previous 1.53 (colored) to selected 1.1.1.3 (colored)

de-__P

Revision 1.39.2.4 / (download) - annotate - [select for diffs], Mon Jan 17 19:33:10 2005 UTC (19 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.39.2.3: +2 -2 lines
Diff to previous 1.39.2.3 (colored) to selected 1.1.1.3 (colored)

Sync with HEAD.

Revision 1.53 / (download) - annotate - [select for diffs], Sun Jan 9 19:23:26 2005 UTC (19 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: yamt-km-base, kent-audio1-beforemerge
Branch point for: yamt-km, kent-audio2
Changes since 1.52: +2 -2 lines
Diff to previous 1.52 (colored) to selected 1.1.1.3 (colored)

now takes an optional filename.

Revision 1.39.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:38:50 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.39.2.2: +1 -1 lines
Diff to previous 1.39.2.2 (colored) to selected 1.1.1.3 (colored)

Fix the sync with head I botched.

Revision 1.39.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:56:30 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.39.2.1: +0 -0 lines
Diff to previous 1.39.2.1 (colored) to selected 1.1.1.3 (colored)

Sync with HEAD.

Revision 1.39.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:56:30 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.39: +45 -41 lines
Diff to previous 1.39 (colored) to selected 1.1.1.3 (colored)

Sync with HEAD

Revision 1.52 / (download) - annotate - [select for diffs], Tue May 4 21:25:47 2004 UTC (19 years, 10 months ago) by pk
Branch: MAIN
CVS Tags: kent-audio1-base, kent-audio1
Changes since 1.51: +2 -2 lines
Diff to previous 1.51 (colored) to selected 1.1.1.3 (colored)

Change sigactsfree() to take a `struct sigacts' pointer, to fit the needs
of exit1 (its only client).

Revision 1.51 / (download) - annotate - [select for diffs], Fri Mar 26 15:01:16 2004 UTC (20 years ago) by drochner
Branch: MAIN
CVS Tags: 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
Changes since 1.50: +1 -9 lines
Diff to previous 1.50 (colored) to selected 1.1.1.3 (colored)

all ports define __HAVE_SIGINFO now, so remove the CPP conditionals

Revision 1.50 / (download) - annotate - [select for diffs], Sat Oct 25 20:12:19 2003 UTC (20 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored) to selected 1.1.1.3 (colored)

Gah, ksiginfo_t isn't actually exported to userland, so use
"struct ksiginfo *" instead.

XXX This is necessary because of <sys/sysctl.h> needed <sys/proc.h>; we
XXX need to clean up these headers!

Revision 1.49 / (download) - annotate - [select for diffs], Sat Oct 25 19:49:13 2003 UTC (20 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.48: +3 -1 lines
Diff to previous 1.48 (colored) to selected 1.1.1.3 (colored)

Include <sys/siginfo.h> so we have the defn of ksiginfo_t.

Revision 1.48 / (download) - annotate - [select for diffs], Sat Oct 25 16:50:37 2003 UTC (20 years, 5 months ago) by jdolecek
Branch: MAIN
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored) to selected 1.1.1.3 (colored)

modify sigtimedwait(2) to return full siginfo if available, and pass the wait
set using a pointer, to save couple bytes in struct sigctx

also fix fallout from recent lwp_wakeup() change, where we failed to properly
detect if tsleep() returned as result of lwp_wakeup() or signal outside
our wait set; could have caused problems for threaded apps using sigwait(2)
et.al.

Revision 1.47 / (download) - annotate - [select for diffs], Sat Sep 27 00:57:45 2003 UTC (20 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored) to selected 1.1.1.3 (colored)

Deal with signal trampoline being const.

Revision 1.46 / (download) - annotate - [select for diffs], Fri Sep 26 12:02:57 2003 UTC (20 years, 6 months ago) by simonb
Branch: MAIN
Changes since 1.45: +2 -2 lines
Diff to previous 1.45 (colored) to selected 1.1.1.3 (colored)

Fix "constify sendsig/trapsignal" fallout for non-siginfo'd archs.  Test
compiled on most architectures.

Revision 1.45 / (download) - annotate - [select for diffs], Thu Sep 25 21:58:12 2003 UTC (20 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.44: +5 -4 lines
Diff to previous 1.44 (colored) to selected 1.1.1.3 (colored)

constify sendsig/trapsignal [suggested by gimpy]

Revision 1.44 / (download) - annotate - [select for diffs], Tue Sep 16 12:04:58 2003 UTC (20 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.43: +5 -2 lines
Diff to previous 1.43 (colored) to selected 1.1.1.3 (colored)

convert to use <queue.h> and add a lock for siginfo circleq.
XXX: could use STAILQ, but there is no way to remove an element without
rescanning the queue. We should really add a special iterator that can
do this.

Revision 1.43 / (download) - annotate - [select for diffs], Sun Sep 14 07:00:46 2003 UTC (20 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.42: +5 -3 lines
Diff to previous 1.42 (colored) to selected 1.1.1.3 (colored)

handle deferred signal delivery with siginfo. struct sigctx changed, so
bump to ZB.

Revision 1.42 / (download) - annotate - [select for diffs], Sat Sep 6 22:01:20 2003 UTC (20 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.41: +18 -7 lines
Diff to previous 1.41 (colored) to selected 1.1.1.3 (colored)

SA_SIGINFO changes. This is 1.5Z

Revision 1.41 / (download) - annotate - [select for diffs], Thu Aug 7 16:34:13 2003 UTC (20 years, 7 months ago) by agc
Branch: MAIN
Changes since 1.40: +2 -6 lines
Diff to previous 1.40 (colored) to selected 1.1.1.3 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.40 / (download) - annotate - [select for diffs], Tue Jul 8 06:18:00 2003 UTC (20 years, 8 months ago) by itojun
Branch: MAIN
Changes since 1.39: +23 -26 lines
Diff to previous 1.39 (colored) to selected 1.1.1.3 (colored)

prototype must not have variable name

Revision 1.39 / (download) - annotate - [select for diffs], Tue May 20 17:42:52 2003 UTC (20 years, 10 months ago) by nathanw
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.38: +2 -1 lines
Diff to previous 1.38 (colored) to selected 1.1.1.3 (colored)

Track the LWP ID of a synchronous (trap) signal, and report it in core dumps.

Revision 1.38 / (download) - annotate - [select for diffs], Sat Feb 15 20:54:38 2003 UTC (21 years, 1 month ago) by jdolecek
Branch: MAIN
Changes since 1.37: +3 -1 lines
Diff to previous 1.37 (colored) to selected 1.1.1.3 (colored)

add __sigtimedwait(2) - wait for specified set of signals, with optional
timeout
the semantics of 'timeout' parameter differ to POSIX for the syscall
(not const, may be modified by kernel if interrupted from the wait) -
libc will provide appropriate wrapper

since sigwaitinfo(2) will be implemented as wrapper around sigtimedwait()
too, remove it's reserved slot and move sigqueue slot 'up', freeing
slot #246

Revision 1.37 / (download) - annotate - [select for diffs], Sat Jan 18 09:53:20 2003 UTC (21 years, 2 months ago) by thorpej
Branch: MAIN
Changes since 1.36: +12 -9 lines
Diff to previous 1.36 (colored) to selected 1.1.1.3 (colored)

Merge the nathanw_sa branch.

Revision 1.28.2.9 / (download) - annotate - [select for diffs], Fri Jan 17 16:38:53 2003 UTC (21 years, 2 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.28.2.8: +1 -2 lines
Diff to previous 1.28.2.8 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored) to selected 1.1.1.3 (colored)

Sync with HEAD.

Revision 1.36 / (download) - annotate - [select for diffs], Wed Jan 15 22:48:21 2003 UTC (21 years, 2 months ago) by kleink
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base
Changes since 1.35: +1 -2 lines
Diff to previous 1.35 (colored) to selected 1.1.1.3 (colored)

Move SIG_HOLD from <sys/signalvar.h> to <sys/signal.h>, since POSIX-2001
wants that name to be exposed.

Revision 1.28.2.8 / (download) - annotate - [select for diffs], Wed Dec 11 06:50:08 2002 UTC (21 years, 3 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.28.2.7: +75 -70 lines
Diff to previous 1.28.2.7 (colored) to branchpoint 1.28 (colored) to selected 1.1.1.3 (colored)

Sync with HEAD.

Revision 1.35 / (download) - annotate - [select for diffs], Sun Dec 1 21:32:05 2002 UTC (21 years, 4 months ago) by matt
Branch: MAIN
CVS Tags: gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.34: +75 -70 lines
Diff to previous 1.34 (colored) to selected 1.1.1.3 (colored)

Move declartion of SIGPROP to outside of multiple inclusion protection.
If _KERNEL is defined and SIGPROP is not defined, define sigprop as an
extern.

Revision 1.28.2.7 / (download) - annotate - [select for diffs], Fri Sep 6 20:41:46 2002 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.28.2.6: +2 -2 lines
Diff to previous 1.28.2.6 (colored) to branchpoint 1.28 (colored) to selected 1.1.1.3 (colored)

Adapt to changed psendsig() signature.

Revision 1.30.2.3 / (download) - annotate - [select for diffs], Fri Sep 6 08:50:03 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.30.2.2: +12 -6 lines
Diff to previous 1.30.2.2 (colored) to branchpoint 1.30 (colored) next main 1.31 (colored) to selected 1.1.1.3 (colored)

sync kqueue branch with HEAD

Revision 1.32.4.2 / (download) - annotate - [select for diffs], Thu Aug 29 00:57:00 2002 UTC (21 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.32.4.1: +2 -1 lines
Diff to previous 1.32.4.1 (colored) to branchpoint 1.32 (colored) next main 1.33 (colored) to selected 1.1.1.3 (colored)

catch up with -current.

Revision 1.28.2.6 / (download) - annotate - [select for diffs], Thu Aug 1 02:46:59 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.28.2.5: +12 -6 lines
Diff to previous 1.28.2.5 (colored) to branchpoint 1.28 (colored) to selected 1.1.1.3 (colored)

Catch up to -current.

Revision 1.34 / (download) - annotate - [select for diffs], Sun Jul 28 22:18:51 2002 UTC (21 years, 8 months ago) by manu
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gehenna-devsw-base
Changes since 1.33: +2 -1 lines
Diff to previous 1.33 (colored) to selected 1.1.1.3 (colored)

Make killproc really public, and while we are there, constify.

Revision 1.32.4.1 / (download) - annotate - [select for diffs], Mon Jul 15 10:37:16 2002 UTC (21 years, 8 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.32: +11 -6 lines
Diff to previous 1.32 (colored) to selected 1.1.1.3 (colored)

catch up with -current.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Jul 4 23:32:15 2002 UTC (21 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.32: +11 -6 lines
Diff to previous 1.32 (colored) to selected 1.1.1.3 (colored)

Add kernel support for having userland provide the signal trampoline:

* struct sigacts gets a new sigact_sigdesc structure, which has the
  sigaction and the trampoline/version.  Version 0 means "legacy kernel
  provided trampoline".  Other versions are coordinated with machine-
  dependent code in libc.
* sigaction1() grows two more arguments -- the trampoline pointer and
  the trampoline version.
* A new __sigaction_sigtramp() system call is provided to register a
  trampoline along with a signal handler.
* The handler is no longer passed to sensig() functions.  Instead,
  sendsig() looks up the handler by peeking in the sigacts for the
  process getting the signal (since it has to look in there for the
  trampoline anyway).
* Native sendsig() functions now select the appropriate trampoline and
  its arguments based on the trampoline version in the sigacts.

Changes to libc to use the new facility will be checked in later.  Kernel
version not bumped; we will ride the 1.6C bump made recently.

Revision 1.30.2.2 / (download) - annotate - [select for diffs], Sun Jun 23 17:52:00 2002 UTC (21 years, 9 months ago) by jdolecek
Branch: kqueue
Changes since 1.30.2.1: +65 -34 lines
Diff to previous 1.30.2.1 (colored) to branchpoint 1.30 (colored) to selected 1.1.1.3 (colored)

catch up with -current on kqueue branch

Revision 1.28.2.5 / (download) - annotate - [select for diffs], Mon Apr 1 07:49:12 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.28.2.4: +65 -34 lines
Diff to previous 1.28.2.4 (colored) to branchpoint 1.28 (colored) to selected 1.1.1.3 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.32 / (download) - annotate - [select for diffs], Tue Mar 19 20:50:41 2002 UTC (22 years ago) by christos
Branch: MAIN
CVS Tags: netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, eeh-devprop-base, eeh-devprop
Branch point for: gehenna-devsw
Changes since 1.31: +65 -34 lines
Diff to previous 1.31 (colored) to selected 1.1.1.3 (colored)

- Define SIGRTMIN and SIGRTMAX iff _KERNEL.
- Bump the number of signals to 64, and define the default action for
  signals >= SIGRTMIN to be kill.

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Thu Jan 10 20:04:48 2002 UTC (22 years, 2 months ago) by thorpej
Branch: kqueue
Changes since 1.30: +4 -8 lines
Diff to previous 1.30 (colored) to selected 1.1.1.3 (colored)

Sync kqueue branch with -current.

Revision 1.28.2.4 / (download) - annotate - [select for diffs], Tue Jan 8 00:34:44 2002 UTC (22 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.28.2.3: +5 -9 lines
Diff to previous 1.28.2.3 (colored) to branchpoint 1.28 (colored) to selected 1.1.1.3 (colored)

Catch up to -current.

Revision 1.31 / (download) - annotate - [select for diffs], Sat Dec 8 00:35:33 2001 UTC (22 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base
Changes since 1.30: +4 -8 lines
Diff to previous 1.30 (colored) to selected 1.1.1.3 (colored)

Make the coredump routine exec-format/emulation specific.  Split
out traditional NetBSD coredump routines into core_netbsd.c and
netbsd32_core.c (for COMPAT_NETBSD32).

Revision 1.28.2.3 / (download) - annotate - [select for diffs], Sat Nov 17 01:49:18 2001 UTC (22 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.28.2.2: +3 -1 lines
Diff to previous 1.28.2.2 (colored) to branchpoint 1.28 (colored) to selected 1.1.1.3 (colored)

Add psendsignal().

Revision 1.28.2.2 / (download) - annotate - [select for diffs], Thu Jun 21 20:09:54 2001 UTC (22 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.28.2.1: +9 -2 lines
Diff to previous 1.28.2.1 (colored) to branchpoint 1.28 (colored) to selected 1.1.1.3 (colored)

Catch up to -current.

Revision 1.30 / (download) - annotate - [select for diffs], Wed Jun 6 21:46:59 2001 UTC (22 years, 9 months ago) by mrg
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: kqueue
Changes since 1.29: +8 -1 lines
Diff to previous 1.29 (colored) to selected 1.1.1.3 (colored)

add an extern for the coredump32 hook.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Apr 30 01:13:21 2001 UTC (22 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored) to selected 1.1.1.3 (colored)

remove some lint

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Mon Mar 5 22:50:03 2001 UTC (23 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.28: +9 -8 lines
Diff to previous 1.28 (colored) to selected 1.1.1.3 (colored)

Initial commit of scheduler activations and lightweight process support.

Revision 1.22.2.4 / (download) - annotate - [select for diffs], Thu Jan 18 09:24:02 2001 UTC (23 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.22.2.3: +9 -0 lines
Diff to previous 1.22.2.3 (colored) to branchpoint 1.22 (colored) next main 1.23 (colored) to selected 1.1.1.3 (colored)

Sync with head (for UBC+NFS fixes, mostly).

Revision 1.28 / (download) - annotate - [select for diffs], Sun Jan 14 22:32:01 2001 UTC (23 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa
Changes since 1.27: +10 -1 lines
Diff to previous 1.27 (colored) to selected 1.1.1.3 (colored)

Whenever ps_sigcheck is set to true, signotify() the process, and
wrap this all up in a CHECKSIGS() macro.  Also, in psignal1(),
signotify() SRUN and SIDL processes if __HAVE_AST_PERPROC is defined.

Per discussion w/ mycroft.

Revision 1.22.2.3 / (download) - annotate - [select for diffs], Fri Jan 5 17:36:59 2001 UTC (23 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.22.2.2: +25 -11 lines
Diff to previous 1.22.2.2 (colored) to branchpoint 1.22 (colored) to selected 1.1.1.3 (colored)

Sync with HEAD

Revision 1.27 / (download) - annotate - [select for diffs], Fri Dec 22 22:59:01 2000 UTC (23 years, 3 months ago) by jdolecek
Branch: MAIN
Changes since 1.26: +26 -12 lines
Diff to previous 1.26 (colored) to selected 1.1.1.3 (colored)

split off thread specific stuff from struct sigacts to struct sigctx, leaving
    only signal handler array sharable between threads
move other random signal stuff from struct proc to struct sigctx

This addresses kern/10981 by Matthew Orgass.

Revision 1.22.2.2 / (download) - annotate - [select for diffs], Wed Nov 22 16:06:41 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.22.2.1: +3 -1 lines
Diff to previous 1.22.2.1 (colored) to branchpoint 1.22 (colored) to selected 1.1.1.3 (colored)

Sync with HEAD.

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 18:11:35 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.22: +7 -2 lines
Diff to previous 1.22 (colored) to selected 1.1.1.3 (colored)

Update thorpej_scsipi to -current as of a month ago

Revision 1.26 / (download) - annotate - [select for diffs], Wed Nov 15 21:13:58 2000 UTC (23 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.25: +2 -1 lines
Diff to previous 1.25 (colored) to selected 1.1.1.3 (colored)

introduce SIGACTION_PS() macro - this is similar to SIGACTION(), but works
for (struct sigacts *) instead of (struct proc *)

Revision 1.25 / (download) - annotate - [select for diffs], Sun Nov 5 15:37:10 2000 UTC (23 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.24: +2 -1 lines
Diff to previous 1.24 (colored) to selected 1.1.1.3 (colored)

add new function sigismasked(), which checks whether passed signal
is ignored or masked by the process, and use it appropriately
instead of directly checking p->p_sigmask and p->p_sigignore

Revision 1.24 / (download) - annotate - [select for diffs], Sun Aug 20 21:50:12 2000 UTC (23 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.23: +4 -2 lines
Diff to previous 1.23 (colored) to selected 1.1.1.3 (colored)

Add a lock around the scheduler, and use it as necessary, including
in the non-MULTIPROCESSOR case (LOCKDEBUG requires it).  Scheduler
lock is held upon entry to mi_switch() and cpu_switch(), and
cpu_switch() releases the lock before returning.

Largely from Bill Sommerfeld, with some minor bug fixes and
machine-dependent code hacking from me.

Revision 1.23 / (download) - annotate - [select for diffs], Thu Dec 30 15:53:09 1999 UTC (24 years, 3 months ago) by eeh
Branch: MAIN
CVS Tags: netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl, chs-ubc2-newbase
Changes since 1.22: +4 -1 lines
Diff to previous 1.22 (colored) to selected 1.1.1.3 (colored)

Add prototype for cpu_coredump32()

Revision 1.21.8.1 / (download) - annotate - [select for diffs], Mon Jun 21 01:30:21 1999 UTC (24 years, 9 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.21: +9 -1 lines
Diff to previous 1.21 (colored) next main 1.22 (colored) to selected 1.1.1.3 (colored)

Sync w/ -current.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Apr 30 21:23:50 1999 UTC (24 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-base
Branch point for: thorpej_scsipi
Changes since 1.21: +9 -1 lines
Diff to previous 1.21 (colored) to selected 1.1.1.3 (colored)

Pull signal actions out of struct user, make them a separate proc
substructure, and allow them to be shared.

Required for clone(2).

Revision 1.21 / (download) - annotate - [select for diffs], Sat Oct 3 14:29:02 1998 UTC (25 years, 6 months ago) by drochner
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kenh-if-detach-base, kenh-if-detach, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, chs-ubc-base, chs-ubc
Branch point for: chs-ubc2
Changes since 1.20: +4 -3 lines
Diff to previous 1.20 (colored) to selected 1.1.1.3 (colored)

Make contsigmask, stopsigmask, sigcantmask kernel private.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Sep 13 01:41:16 1998 UTC (25 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.19: +15 -1 lines
Diff to previous 1.19 (colored) to selected 1.1.1.3 (colored)

Put the prototypes for native_sig*_to_sig*() in one place.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Sep 11 12:50:13 1998 UTC (25 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.18: +52 -55 lines
Diff to previous 1.18 (colored) to selected 1.1.1.3 (colored)

Substantial signal handling changes:
* Increase the size of sigset_t to accomodate 128 signals -- adding new
  versions of sys_setprocmask(), sys_sigaction(), sys_sigpending() and
  sys_sigsuspend() to handle the changed arguments.
* Abstract the guts of sys_sigaltstack(), sys_setprocmask(), sys_sigaction(),
  sys_sigpending() and sys_sigsuspend() into separate functions, and call them
  from all the emulations rather than hard-coding everything.  (Avoids uses
  the stackgap crap for these system calls.)
* Add a new flag (p_checksig) to indicate that a process may have signals
  pending and userret() needs to do the full (slow) check.
* Eliminate SAS_ALTSTACK; it's exactly the inverse of SS_DISABLE.
* Correct emulation bugs with restoring SS_ONSTACK.
* Make the signal mask in the sigcontext always use the emulated mask format.
* Store signals internally in sigaction structures, rather than maintaining a
  bunch of little sigsets for each SA_* bit.
* Keep track of where we put the signal trampoline, rather than figuring it out
  in *_sendsig().
* Issue a warning when a non-emulated sigaction bit is observed.
* Add missing emulated signals, and a native SIGPWR (currently not used).
* Implement the `not reset when caught' semantics for relevant signals.

Note: Only code touched by the i386 port has been modified.  Other ports and
emulations need to be updated.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Mar 1 02:24:14 1998 UTC (26 years, 1 month ago) by fvdl
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored) to selected 1.1.1.3 (colored)

Merge with Lite2 + local changes

Revision 1.1.1.3 / (download) - annotate - [selected] (vendor branch), Sun Mar 1 02:14:02 1998 UTC (26 years, 1 month ago) by fvdl
Branch: WFJ-920714, CSRG
CVS Tags: lite-2
Changes since 1.1.1.2: +9 -7 lines
Diff to previous 1.1.1.2 (colored)

Import 4.4BSD-Lite2

Revision 1.1.1.2 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 1 02:11:09 1998 UTC (26 years, 1 month ago) by fvdl
Branch: WFJ-920714, CSRG
CVS Tags: lite-1, date-03-may-96
Changes since 1.1.1.1: +33 -32 lines
Diff to previous 1.1.1.1 (colored) to selected 1.1.1.3 (colored)

Import 4.4BSD-Lite for reference

Revision 1.17.14.1 / (download) - annotate - [select for diffs], Mon Sep 8 23:13:28 1997 UTC (26 years, 6 months ago) by thorpej
Branch: thorpej-signal
Changes since 1.17: +68 -13 lines
Diff to previous 1.17 (colored) next main 1.18 (colored) to selected 1.1.1.3 (colored)

Significantly restructure the way signal state for a process is stored.
Rather than using bitmasks to redundantly store the information kept
in the process's sigacts (because the sigacts was kept in the u-area),
hang sigacts directly off the process, and access it directly.

Simplify signal setup code tremendously by storing information in
the sigacts as an array of struct sigactions, rather than in a different
format, since userspace uses sigactions.

Make sigacts sharable by adding reference counting.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Apr 22 01:23:31 1996 UTC (27 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-setroot, netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, netbsd-1-3, netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2, mrg-vm-swap, marc-pcmcia-bp, marc-pcmcia-base, marc-pcmcia, is-newarp-before-merge, is-newarp-base, is-newarp, bouyer-scsipi
Branch point for: thorpej-signal
Changes since 1.16: +6 -1 lines
Diff to previous 1.16 (colored) to selected 1.1.1.3 (colored)

add prototypes from <sys/cpu.h> to the appropriate places

Revision 1.16 / (download) - annotate - [select for diffs], Fri Feb 9 18:25:34 1996 UTC (28 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.15: +5 -5 lines
Diff to previous 1.15 (colored) to selected 1.1.1.3 (colored)

Filesystem prototype changes

Revision 1.15 / (download) - annotate - [select for diffs], Sun Feb 4 02:12:38 1996 UTC (28 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.14: +4 -1 lines
Diff to previous 1.14 (colored) to selected 1.1.1.3 (colored)

Fix some missing/wrong prototypes so that kern/* compiles again

Revision 1.14 / (download) - annotate - [select for diffs], Sun Aug 13 22:48:47 1995 UTC (28 years, 7 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored) to selected 1.1.1.3 (colored)

Add ps_sigreset, to to keep track of signals which are reset when caught.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Mar 26 20:24:44 1995 UTC (29 years ago) by jtc
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored) to selected 1.1.1.3 (colored)

KERNEL -> _KERNEL

Revision 1.12 / (download) - annotate - [select for diffs], Sun Oct 30 19:11:55 1994 UTC (29 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.11: +5 -5 lines
Diff to previous 1.11 (colored) to selected 1.1.1.3 (colored)

 code is an unsigned long, not an unsigned int.

Revision 1.11 / (download) - annotate - [select for diffs], Wed Jun 29 06:45:25 1994 UTC (29 years, 9 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored) to selected 1.1.1.3 (colored)

New RCS ID's, take two.  they're more aesthecially pleasant, and use 'NetBSD'

Revision 1.10 / (download) - annotate - [select for diffs], Mon Jun 27 19:32:02 1994 UTC (29 years, 9 months ago) by cgd
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored) to selected 1.1.1.3 (colored)

new standard, minimally intrusive ID format

Revision 1.9 / (download) - annotate - [select for diffs], Sat May 7 00:45:51 1994 UTC (29 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored) to selected 1.1.1.3 (colored)

one-liner struct name change

Revision 1.8 / (download) - annotate - [select for diffs], Thu May 5 05:40:18 1994 UTC (29 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.7: +35 -35 lines
Diff to previous 1.7 (colored) to selected 1.1.1.3 (colored)

lots of changes: prototype migration, move lots of variables, definitions,
and structure elements around.  kill some unnecessary type and macro
definitions.  standardize clock handling.  More changes than you'd want.

Revision 1.7 / (download) - annotate - [select for diffs], Wed May 4 03:42:35 1994 UTC (29 years, 11 months ago) by cgd
Branch: MAIN
Changes since 1.6: +3 -3 lines
Diff to previous 1.6 (colored) to selected 1.1.1.3 (colored)

Rename a lot of process flags.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jan 20 21:23:19 1994 UTC (30 years, 2 months ago) by ws
Branch: MAIN
CVS Tags: wnvm, nvm-base, nvm
Changes since 1.5: +2 -3 lines
Diff to previous 1.5 (colored) to selected 1.1.1.3 (colored)

Make procfs really work for debugging.
Implement not & notepg files in procfs.

Revision 1.5 / (download) - annotate - [select for diffs], Thu Oct 14 22:35:26 1993 UTC (30 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored) to selected 1.1.1.3 (colored)

comments need ... '/'s at the end of them!!!

Revision 1.3.4.1 / (download) - annotate - [select for diffs], Wed Oct 13 12:34:44 1993 UTC (30 years, 5 months ago) by deraadt
Branch: magnum
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored) next main 1.4 (colored) to selected 1.1.1.3 (colored)

from HEAD:
add ps_usertramp to to struct sigacts.
SunOS compatibility; libc sigtramp

Revision 1.4 / (download) - annotate - [select for diffs], Wed Oct 13 12:10:20 1993 UTC (30 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored) to selected 1.1.1.3 (colored)

add ps_usertramp to to struct sigacts.
SunOS compatibility; libc sigtramp

Revision 1.3 / (download) - annotate - [select for diffs], Thu May 20 16:23:07 1993 UTC (30 years, 10 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-0-9-patch-001, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9, magnum-base
Branch point for: magnum
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored) to selected 1.1.1.3 (colored)

add rcs ids as necessary, and also clean up headers

Revision 1.2 / (download) - annotate - [select for diffs], Mon Apr 19 01:23:11 1993 UTC (30 years, 11 months ago) by mycroft
Branch: MAIN
Changes since 1.1: +4 -3 lines
Diff to previous 1.1 (colored) to selected 1.1.1.3 (colored)

Add consistent multiple-inclusion protection.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (31 years ago) by cgd
Branch: WFJ-920714, CSRG
CVS Tags: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-8, WFJ-386bsd-01
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored) to selected 1.1.1.3 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (31 years ago) by cgd
Branch: MAIN
Diff to selected 1.1.1.3 (colored)

Initial revision

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>