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


Keyword substitution: kv
Default branch: MAIN


Revision 1.104: download - view: text, markup, annotated - select for diffs
Mon Nov 1 05:07:17 2021 UTC (3 years, 1 month ago) by thorpej
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, 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, HEAD
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +2 -3 lines
Use "stack_t" instead of "struct sigaltstack", as the former is the
newer standardized name.  NFC.

Revision 1.102.2.1: download - view: text, markup, annotated - select for diffs
Mon Dec 14 14:38:17 2020 UTC (3 years, 11 months ago) by thorpej
Branches: thorpej-futex
Diff to: previous 1.102: preferred, colored; next MAIN 1.103: preferred, colored
Changes since revision 1.102: +2 -1 lines
Sync w/ HEAD.

Revision 1.103: download - view: text, markup, annotated - select for diffs
Sun Nov 1 18:51:03 2020 UTC (4 years, 1 month ago) by pgoyette
Branches: 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
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +2 -1 lines
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 - view: text, markup, annotated - select for diffs
Thu May 14 13:32:15 2020 UTC (4 years, 6 months ago) by kamil
Branches: MAIN
Branch point for: thorpej-futex
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +2 -1 lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 13 08:05:20 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.91.2.1: preferred, colored; branchpoint 1.91: preferred, colored; next MAIN 1.92: preferred, colored
Changes since revision 1.91.2.1: +20 -11 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.101: download - view: text, markup, annotated - select for diffs
Sun Apr 5 20:53:17 2020 UTC (4 years, 8 months ago) by christos
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +2 -2 lines
- 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 - view: text, markup, annotated - select for diffs
Wed Nov 20 19:37:54 2019 UTC (5 years ago) by pgoyette
Branches: MAIN
CVS tags: is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +2 -1 lines
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 - view: text, markup, annotated - select for diffs
Mon Nov 11 17:11:07 2019 UTC (5 years ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Diff to: previous 1.93.2.3: preferred, colored; branchpoint 1.93: preferred, colored; next MAIN 1.94: preferred, colored
Changes since revision 1.93.2.3: +1 -8 lines
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 - view: text, markup, annotated - select for diffs
Sun Nov 10 14:20:50 2019 UTC (5 years, 1 month ago) by pgoyette
Branches: MAIN
CVS tags: phil-wifi-20191119
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +1 -6 lines
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 - view: text, markup, annotated - select for diffs
Sun Nov 10 13:28:06 2019 UTC (5 years, 1 month ago) by pgoyette
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +1 -3 lines
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 - view: text, markup, annotated - select for diffs
Mon Oct 21 20:13:09 2019 UTC (5 years, 1 month ago) by martin
Branches: netbsd-9
Diff to: previous 1.93.2.2: preferred, colored; branchpoint 1.93: preferred, colored
Changes since revision 1.93.2.2: +17 -1 lines
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 - view: text, markup, annotated - select for diffs
Tue Oct 15 19:23:09 2019 UTC (5 years, 1 month ago) by martin
Branches: netbsd-9
Diff to: previous 1.93.2.1: preferred, colored; branchpoint 1.93: preferred, colored
Changes since revision 1.93.2.1: +1 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Oct 15 18:32:13 2019 UTC (5 years, 1 month ago) by martin
Branches: netbsd-9
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sat Oct 12 19:57:09 2019 UTC (5 years, 1 month ago) by kamil
Branches: MAIN
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +1 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Sep 30 21:13:33 2019 UTC (5 years, 2 months ago) by kamil
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Sep 8 11:53:23 2019 UTC (5 years, 3 months ago) by mlelstv
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +5 -1 lines
Fix libkvm build.

Revision 1.94: download - view: text, markup, annotated - select for diffs
Sun Sep 8 07:00:20 2019 UTC (5 years, 3 months ago) by maxv
Branches: MAIN
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +13 -1 lines
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 - view: text, markup, annotated - select for diffs
Mon Jun 10 22:09:57 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +2 -1 lines
Sync with HEAD

Revision 1.93: download - view: text, markup, annotated - select for diffs
Fri May 3 22:34:21 2019 UTC (5 years, 7 months ago) by kamil
Branches: MAIN
CVS tags: phil-wifi-20190609, netbsd-9-base
Branch point for: netbsd-9
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed May 1 17:21:55 2019 UTC (5 years, 7 months ago) by kamil
Branches: MAIN
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +2 -1 lines
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 - view: text, markup, annotated - select for diffs
Mon May 21 04:36:17 2018 UTC (6 years, 6 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.88.14.2: preferred, colored; branchpoint 1.88: preferred, colored; next MAIN 1.89: preferred, colored
Changes since revision 1.88.14.2: +2 -2 lines
Sync with HEAD

Revision 1.91: download - view: text, markup, annotated - select for diffs
Sun May 20 04:00:35 2018 UTC (6 years, 6 months ago) by kamil
Branches: 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
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed May 2 07:20:24 2018 UTC (6 years, 7 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.88.14.1: preferred, colored; branchpoint 1.88: preferred, colored
Changes since revision 1.88.14.1: +3 -1 lines
Synch with HEAD

Revision 1.90: download - view: text, markup, annotated - select for diffs
Tue May 1 16:37:23 2018 UTC (6 years, 7 months ago) by kamil
Branches: MAIN
CVS tags: pgoyette-compat-0502
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +3 -1 lines
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 - view: text, markup, annotated - select for diffs
Sun Apr 22 07:20:29 2018 UTC (6 years, 7 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +4 -4 lines
Sync with HEAD

Revision 1.89: download - view: text, markup, annotated - select for diffs
Thu Apr 19 21:19:07 2018 UTC (6 years, 7 months ago) by christos
Branches: MAIN
CVS tags: pgoyette-compat-0422
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +4 -4 lines
s/static inline/static __inline/g for consistency with other include
headers.

Revision 1.83.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:39:21 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.83.2.1: preferred, colored; branchpoint 1.83: preferred, colored; next MAIN 1.84: preferred, colored
Changes since revision 1.83.2.1: +7 -6 lines
update from HEAD

Revision 1.86.4.2: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:41:01 2017 UTC (7 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.86.4.1: preferred, colored; branchpoint 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86.4.1: +7 -6 lines
Sync with HEAD

Revision 1.86.8.2: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:53 2017 UTC (7 years, 11 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.86.8.1: preferred, colored; branchpoint 1.86: preferred, colored; next MAIN 1.87: preferred, colored
Changes since revision 1.86.8.1: +7 -6 lines
Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.88: download - view: text, markup, annotated - select for diffs
Fri Jan 6 22:53:17 2017 UTC (7 years, 11 months ago) by kamil
Branches: 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-3-RELEASE, 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
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +7 -6 lines
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 - view: text, markup, annotated - select for diffs
Wed Oct 5 20:56:11 2016 UTC (8 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +2 -2 lines
Sync with HEAD

Revision 1.86.8.1: download - view: text, markup, annotated - select for diffs
Sat Aug 6 00:19:11 2016 UTC (8 years, 4 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +2 -2 lines
Sync with HEAD

Revision 1.87: download - view: text, markup, annotated - select for diffs
Thu Aug 4 06:43:43 2016 UTC (8 years, 4 months ago) by christos
Branches: MAIN
CVS tags: pgoyette-localcount-20161104, pgoyette-localcount-20160806, nick-nhusb-base-20161204, nick-nhusb-base-20161004, localcount-20160914
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +2 -2 lines
Realtime signal support from GSoC 2016, Charles Cui.

Revision 1.83.2.1: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:04:44 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +7 -6 lines
Rebase to HEAD as of a few days ago.

Revision 1.85.2.1: download - view: text, markup, annotated - select for diffs
Sun Aug 10 06:56:54 2014 UTC (10 years, 4 months ago) by tls
Branches: tls-earlyentropy
Diff to: previous 1.85: preferred, colored; next MAIN 1.86: preferred, colored
Changes since revision 1.85: +2 -2 lines
Rebase.

Revision 1.81.4.2: download - view: text, markup, annotated - select for diffs
Thu May 22 11:41:18 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.81.4.1: preferred, colored; branchpoint 1.81: preferred, colored; next MAIN 1.82: preferred, colored
Changes since revision 1.81.4.1: +6 -5 lines
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 - view: text, markup, annotated - select for diffs
Sun May 18 17:46:21 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.83: preferred, colored; next MAIN 1.84: preferred, colored
Changes since revision 1.83: +7 -6 lines
sync with head

Revision 1.86: download - view: text, markup, annotated - select for diffs
Thu May 15 07:11:30 2014 UTC (10 years, 6 months ago) by uebayasi
Branches: 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
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +2 -2 lines
sigexit() calls either exit1() or panic() and never returns.  Mark it as
__dead.

Revision 1.85: download - view: text, markup, annotated - select for diffs
Wed Jan 1 18:57:16 2014 UTC (10 years, 11 months ago) by dsl
Branches: 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
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +3 -2 lines
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 - view: text, markup, annotated - select for diffs
Fri Nov 22 21:04:11 2013 UTC (11 years ago) by christos
Branches: MAIN
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +4 -4 lines
convert vmem, signals, powerhooks from CIRCLEQ -> TAILQ.

Revision 1.81.4.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:08:53 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +2 -14 lines
sync with head

Revision 1.82.4.1: download - view: text, markup, annotated - select for diffs
Fri Feb 24 09:11:50 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.82: preferred, colored; next MAIN 1.83: preferred, colored
Changes since revision 1.82: +1 -13 lines
sync to -current.

Revision 1.83: download - view: text, markup, annotated - select for diffs
Sun Feb 19 21:07:00 2012 UTC (12 years, 9 months ago) by rmind
Branches: 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
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +1 -13 lines
Remove COMPAT_SA / KERN_SA.  Welcome to 6.99.3!
Approved by core@.

Revision 1.82: download - view: text, markup, annotated - select for diffs
Fri Nov 18 03:34:13 2011 UTC (13 years ago) by christos
Branches: 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
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +2 -2 lines
add a copyin function for sigset so that we can use sigtimedwait1 from
emulations.

Revision 1.78.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:10:13 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.78: preferred, colored; next MAIN 1.79: preferred, colored
Changes since revision 1.78: +4 -2 lines
Sync with HEAD.

Revision 1.76.4.3: download - view: text, markup, annotated - select for diffs
Tue May 31 03:05:12 2011 UTC (13 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.76.4.2: preferred, colored; branchpoint 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76.4.2: +3 -1 lines
sync with head

Revision 1.81: download - view: text, markup, annotated - select for diffs
Sat May 28 15:33:41 2011 UTC (13 years, 6 months ago) by christos
Branches: 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
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +2 -1 lines
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 - view: text, markup, annotated - select for diffs
Wed May 18 03:51:41 2011 UTC (13 years, 6 months ago) by christos
Branches: MAIN
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +2 -1 lines
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 - view: text, markup, annotated - select for diffs
Wed Apr 27 00:38:37 2011 UTC (13 years, 7 months ago) by rmind
Branches: MAIN
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +2 -2 lines
Make stopsigmask static, sprinkle __cacheline_aligned and __read_mostly.

Revision 1.76.4.2: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:56:25 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.76.4.1: preferred, colored; branchpoint 1.76: preferred, colored
Changes since revision 1.76.4.1: +2 -2 lines
sync with head

Revision 1.78: download - view: text, markup, annotated - select for diffs
Fri Jan 14 02:06:34 2011 UTC (13 years, 10 months ago) by rmind
Branches: MAIN
CVS tags: uebayasi-xip-base7, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Tue Aug 17 06:48:08 2010 UTC (14 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76: +1 -3 lines
Sync with HEAD.

Revision 1.73.12.3: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:55:11 2010 UTC (14 years, 4 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.73.12.2: preferred, colored; branchpoint 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73.12.2: +1 -3 lines
sync with head.

Revision 1.76.4.1: download - view: text, markup, annotated - select for diffs
Sun May 30 05:18:08 2010 UTC (14 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +1 -3 lines
sync with head

Revision 1.77: download - view: text, markup, annotated - select for diffs
Thu Apr 29 15:24:07 2010 UTC (14 years, 7 months ago) by jruoho
Branches: 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
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +1 -3 lines
Remove gsignal() and kgsignal() that do not prototype anything any more.

Revision 1.73.12.2: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:04:43 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.73.12.1: preferred, colored; branchpoint 1.73: preferred, colored
Changes since revision 1.73.12.1: +3 -3 lines
sync with head

Revision 1.76: download - view: text, markup, annotated - select for diffs
Tue Jan 19 22:28:31 2010 UTC (14 years, 10 months ago) by pooka
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, uebayasi-xip-base1, uebayasi-xip-base
Branch point for: uebayasi-xip, rmind-uvmplock
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Mon May 4 08:14:36 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +14 -6 lines
sync with head.

Revision 1.73.20.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:20:30 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73: +14 -6 lines
Sync with HEAD.

Revision 1.73.6.1: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:29:41 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73: +13 -5 lines
Sync with HEAD.

Revision 1.75: download - view: text, markup, annotated - select for diffs
Sun Jan 11 02:45:55 2009 UTC (15 years, 11 months ago) by christos
Branches: 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
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +4 -4 lines
merge christos-time_t

Revision 1.73.18.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:15:35 2008 UTC (16 years ago) by haad
Branches: haad-dm
Diff to: previous 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73: +11 -3 lines
Update haad-dm branch to haad-dm-base2.

Revision 1.73.8.2: download - view: text, markup, annotated - select for diffs
Thu Nov 20 20:45:39 2008 UTC (16 years ago) by christos
Branches: christos-time_t
Diff to: previous 1.73.8.1: preferred, colored; branchpoint 1.73: preferred, colored; next MAIN 1.74: preferred, colored
Changes since revision 1.73.8.1: +11 -3 lines
merge with head.

Revision 1.74: download - view: text, markup, annotated - select for diffs
Wed Nov 19 18:36:10 2008 UTC (16 years ago) by ad
Branches: MAIN
CVS tags: haad-nbase2, haad-dm-base2, haad-dm-base, christos-time_t-nbase, christos-time_t-base, ad-audiomp2-base, ad-audiomp2
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +11 -3 lines
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 - view: text, markup, annotated - select for diffs
Sat Mar 29 20:47:03 2008 UTC (16 years, 8 months ago) by christos
Branches: christos-time_t
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +4 -4 lines
Welcome to the time_t=long long dev_t=uint64_t branch.

Revision 1.69.20.2: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:05:11 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.69.20.1: preferred, colored; branchpoint 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69.20.1: +4 -17 lines
sync with HEAD

Revision 1.56.2.5: download - view: text, markup, annotated - select for diffs
Wed Feb 27 08:37:05 2008 UTC (16 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.56.2.4: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56.2.4: +4 -17 lines
sync with head.

Revision 1.73: download - view: text, markup, annotated - select for diffs
Tue Feb 19 12:24:34 2008 UTC (16 years, 9 months ago) by yamt
Branches: 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
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +3 -3 lines
constify

Revision 1.72: download - view: text, markup, annotated - select for diffs
Tue Feb 19 12:21:14 2008 UTC (16 years, 9 months ago) by yamt
Branches: MAIN
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +1 -14 lines
g/c CLRSIG

Revision 1.69.26.1: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:07:23 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +1 -2 lines
Sync with HEAD.

Revision 1.56.2.4: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:47:58 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.56.2.3: preferred, colored
Changes since revision 1.56.2.3: +3 -3 lines
sync with head

Revision 1.69.20.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:58:17 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +3 -3 lines
sync with HEAD

Revision 1.69.32.2: download - view: text, markup, annotated - select for diffs
Tue Jan 8 22:11:58 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.69.32.1: preferred, colored; branchpoint 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69.32.1: +0 -1 lines
Sync with HEAD

Revision 1.71: download - view: text, markup, annotated - select for diffs
Fri Jan 4 21:18:18 2008 UTC (16 years, 11 months ago) by ad
Branches: MAIN
CVS tags: mjf-devfs-base, matt-armv6-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +1 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed Jan 2 21:58:08 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +3 -2 lines
Sync with HEAD

Revision 1.69.28.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:57:58 2007 UTC (16 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.69: preferred, colored; next MAIN 1.70: preferred, colored
Changes since revision 1.69: +3 -2 lines
Sync with head.

Revision 1.70: download - view: text, markup, annotated - select for diffs
Thu Dec 20 23:03:14 2007 UTC (16 years, 11 months ago) by dsl
Branches: MAIN
CVS tags: vmlocking2-base3
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +3 -2 lines
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 - view: text, markup, annotated - select for diffs
Mon Feb 26 09:12:14 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.56.2.2: preferred, colored
Changes since revision 1.56.2.2: +185 -128 lines
sync with head.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:37 2007 UTC (17 years, 10 months ago) by ad
Branches: 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
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +185 -128 lines
Merge newlock2 to head.

Revision 1.66.4.6: download - view: text, markup, annotated - select for diffs
Mon Feb 5 13:16:48 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.66.4.5: preferred, colored; branchpoint 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66.4.5: +19 -3 lines
- 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 - view: text, markup, annotated - select for diffs
Wed Jan 31 19:56:38 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.66.4.4: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.4.4: +2 -2 lines
- Have callers to mi_switch() drop the kernel lock.
- Fix a deadlock and some typos.
- Unbreak ptrace().

Revision 1.56.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:50:55 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.56.2.1: preferred, colored
Changes since revision 1.56.2.1: +5 -8 lines
sync with head.

Revision 1.66.4.4: download - view: text, markup, annotated - select for diffs
Fri Dec 29 20:27:45 2006 UTC (17 years, 11 months ago) by ad
Branches: newlock2
Diff to: previous 1.66.4.3: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.4.3: +4 -6 lines
Checkpoint work in progress.

Revision 1.66.6.1: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:19:29 2006 UTC (18 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.66: preferred, colored; next MAIN 1.67: preferred, colored
Changes since revision 1.66: +4 -7 lines
sync with head.

Revision 1.66.4.3: download - view: text, markup, annotated - select for diffs
Fri Nov 17 16:34:40 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.66.4.2: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.4.2: +6 -3 lines
Checkpoint work in progress.

Revision 1.68: download - view: text, markup, annotated - select for diffs
Wed Nov 1 09:46:14 2006 UTC (18 years, 1 month ago) by yamt
Branches: 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
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +2 -3 lines
kill signal "dolock" hacks.

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

Revision 1.67: download - view: text, markup, annotated - select for diffs
Wed Nov 1 09:33:45 2006 UTC (18 years, 1 month ago) by yamt
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +2 -4 lines
kill sched_psignal.
related to PR/32962 and PR/34895.  reviewed by matthew green.

Revision 1.66.4.2: download - view: text, markup, annotated - select for diffs
Tue Oct 24 21:10:21 2006 UTC (18 years, 1 month ago) by ad
Branches: newlock2
Diff to: previous 1.66.4.1: preferred, colored; branchpoint 1.66: preferred, colored
Changes since revision 1.66.4.1: +13 -2 lines
- 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 - view: text, markup, annotated - select for diffs
Sat Oct 21 15:20:48 2006 UTC (18 years, 1 month ago) by ad
Branches: newlock2
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +158 -132 lines
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 - view: text, markup, annotated - select for diffs
Sat Sep 9 02:59:42 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62: +10 -5 lines
sync with head

Revision 1.63.2.3: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:47:26 2006 UTC (18 years, 4 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.63.2.2: preferred, colored; branchpoint 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63.2.2: +2 -2 lines
sync with head

Revision 1.66: download - view: text, markup, annotated - select for diffs
Sun Jul 23 22:06:14 2006 UTC (18 years, 4 months ago) by ad
Branches: 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
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +2 -2 lines
Use the LWP cached credentials where sane.

Revision 1.56.2.1: download - view: text, markup, annotated - select for diffs
Wed Jun 21 15:12:03 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +16 -17 lines
sync with head.

Revision 1.62.6.2: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:39:27 2006 UTC (18 years, 6 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.62.6.1: preferred, colored; branchpoint 1.62: preferred, colored; next MAIN 1.63: preferred, colored
Changes since revision 1.62.6.1: +1 -2 lines
Sync with head.

Revision 1.63.6.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:50:47 2006 UTC (18 years, 6 months ago) by tron
Branches: peter-altq
Diff to: previous 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63: +8 -4 lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.63.2.2: download - view: text, markup, annotated - select for diffs
Wed May 24 10:59:21 2006 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.63.2.1: preferred, colored; branchpoint 1.63: preferred, colored
Changes since revision 1.63.2.1: +273 -0 lines
sync with head.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Sun May 14 21:38:18 2006 UTC (18 years, 7 months ago) by elad
Branches: 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
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +1 -2 lines
integrate kauth.

Revision 1.63.4.2: download - view: text, markup, annotated - select for diffs
Sat May 6 23:32:33 2006 UTC (18 years, 7 months ago) by christos
Branches: elad-kernelauth
Diff to: previous 1.63.4.1: preferred, colored; branchpoint 1.63: preferred, colored; next MAIN 1.64: preferred, colored
Changes since revision 1.63.4.1: +1 -2 lines
- 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 - view: text, markup, annotated - select for diffs
Sat Apr 22 11:40:19 2006 UTC (18 years, 7 months ago) by simonb
Branches: simonb-timecounters
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +9 -3 lines
Sync with head.

Revision 1.63.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 19 04:36:02 2006 UTC (18 years, 7 months ago) by elad
Branches: elad-kernelauth
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +8 -3 lines
sync with head.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Sat Apr 15 01:16:40 2006 UTC (18 years, 8 months ago) by christos
Branches: MAIN
CVS tags: elad-kernelauth-base
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +8 -3 lines
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, 9 months ago) by yamt
Branches: yamt-pdpolicy
FILE REMOVED
Changes since revision 1.63: +0 -269 lines
file signalvar.h was added on branch yamt-pdpolicy on 2006-05-24 10:59:21 +0000

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sun Mar 5 07:21:38 2006 UTC (18 years, 9 months ago) by christos
Branches: 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
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +2 -1 lines
implement PT_SYSCALL

Revision 1.62: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:25:21 2005 UTC (19 years ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace
Branch point for: simonb-timecounters, rpaulo-netinet-merge-pcb
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +1 -1 lines
merge ktrace-lwp.

Revision 1.39.2.6: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:12:13 2005 UTC (19 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.39.2.5: preferred, colored; next MAIN 1.40: preferred, colored
Changes since revision 1.39.2.5: +11 -23 lines
Sync with HEAD. Here we go again...

Revision 1.59.2.1: download - view: text, markup, annotated - select for diffs
Wed Oct 26 08:32:52 2005 UTC (19 years, 1 month ago) by yamt
Branches: yamt-vop
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +5 -3 lines
sync with head

Revision 1.61: download - view: text, markup, annotated - select for diffs
Sun Oct 23 11:41:08 2005 UTC (19 years, 1 month ago) by cube
Branches: 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
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +3 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Oct 23 00:09:14 2005 UTC (19 years, 1 month ago) by cube
Branches: MAIN
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +4 -3 lines
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 - view: text, markup, annotated - select for diffs
Fri Oct 21 17:39:40 2005 UTC (19 years, 1 month ago) by riz
Branches: 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
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +3 -1 lines
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 - view: text, markup, annotated - select for diffs
Sun Oct 2 17:51:27 2005 UTC (19 years, 2 months ago) by chs
Branches: MAIN
CVS tags: yamt-vop-base
Branch point for: yamt-vop
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +3 -1 lines
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 - view: text, markup, annotated - select for diffs
Tue Sep 13 01:42:51 2005 UTC (19 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +1 -14 lines
compat code reorg.

Revision 1.57: download - view: text, markup, annotated - select for diffs
Sat Jul 23 22:02:13 2005 UTC (19 years, 4 months ago) by cube
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +4 -1 lines
Introduce __sigtimedwait1 which will help adding COMPAT_NETBSD32 support
for __sigtimedwait(2).

Revision 1.56: download - view: text, markup, annotated - select for diffs
Sun Jun 19 23:10:03 2005 UTC (19 years, 5 months ago) by christos
Branches: MAIN
Branch point for: yamt-lazymbuf
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +2 -2 lines
move misplaced endif.

Revision 1.55: download - view: text, markup, annotated - select for diffs
Fri Jun 10 05:10:13 2005 UTC (19 years, 6 months ago) by matt
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +2 -8 lines
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 - view: text, markup, annotated - select for diffs
Fri Apr 29 11:29:38 2005 UTC (19 years, 7 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +51 -52 lines
sync with -current

Revision 1.53.4.1: download - view: text, markup, annotated - select for diffs
Sat Feb 12 18:17:56 2005 UTC (19 years, 10 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +51 -52 lines
sync with head.

Revision 1.39.2.5: download - view: text, markup, annotated - select for diffs
Fri Feb 4 11:48:06 2005 UTC (19 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.39.2.4: preferred, colored
Changes since revision 1.39.2.4: +51 -52 lines
Sync with HEAD.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Thu Feb 3 19:20:02 2005 UTC (19 years, 10 months ago) by perry
Branches: MAIN
CVS tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, netbsd-3-base, kent-audio2-base
Branch point for: netbsd-3
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +51 -52 lines
de-__P

Revision 1.39.2.4: download - view: text, markup, annotated - select for diffs
Mon Jan 17 19:33:10 2005 UTC (19 years, 10 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.39.2.3: preferred, colored
Changes since revision 1.39.2.3: +2 -2 lines
Sync with HEAD.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Sun Jan 9 19:23:26 2005 UTC (19 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-km-base, kent-audio1-beforemerge
Branch point for: yamt-km, kent-audio2
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +2 -2 lines
now takes an optional filename.

Revision 1.39.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:38:50 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.39.2.2: preferred, colored
Changes since revision 1.39.2.2: +1 -1 lines
Fix the sync with head I botched.

Revision 1.39.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:56:30 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.39.2.1: preferred, colored
Changes since revision 1.39.2.1: +0 -0 lines
Sync with HEAD.

Revision 1.39.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:56:30 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +45 -41 lines
Sync with HEAD

Revision 1.52: download - view: text, markup, annotated - select for diffs
Tue May 4 21:25:47 2004 UTC (20 years, 7 months ago) by pk
Branches: MAIN
CVS tags: kent-audio1-base, kent-audio1
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +2 -2 lines
Change sigactsfree() to take a `struct sigacts' pointer, to fit the needs
of exit1 (its only client).

Revision 1.51: download - view: text, markup, annotated - select for diffs
Fri Mar 26 15:01:16 2004 UTC (20 years, 8 months ago) by drochner
Branches: 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
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +1 -9 lines
all ports define __HAVE_SIGINFO now, so remove the CPP conditionals

Revision 1.50: download - view: text, markup, annotated - select for diffs
Sat Oct 25 20:12:19 2003 UTC (21 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +2 -2 lines
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 - view: text, markup, annotated - select for diffs
Sat Oct 25 19:49:13 2003 UTC (21 years, 1 month ago) by thorpej
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +3 -1 lines
Include <sys/siginfo.h> so we have the defn of ksiginfo_t.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sat Oct 25 16:50:37 2003 UTC (21 years, 1 month ago) by jdolecek
Branches: MAIN
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -3 lines
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 - view: text, markup, annotated - select for diffs
Sat Sep 27 00:57:45 2003 UTC (21 years, 2 months ago) by matt
Branches: MAIN
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -3 lines
Deal with signal trampoline being const.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri Sep 26 12:02:57 2003 UTC (21 years, 2 months ago) by simonb
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +2 -2 lines
Fix "constify sendsig/trapsignal" fallout for non-siginfo'd archs.  Test
compiled on most architectures.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Thu Sep 25 21:58:12 2003 UTC (21 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +5 -4 lines
constify sendsig/trapsignal [suggested by gimpy]

Revision 1.44: download - view: text, markup, annotated - select for diffs
Tue Sep 16 12:04:58 2003 UTC (21 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +5 -2 lines
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 - view: text, markup, annotated - select for diffs
Sun Sep 14 07:00:46 2003 UTC (21 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +5 -3 lines
handle deferred signal delivery with siginfo. struct sigctx changed, so
bump to ZB.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Sat Sep 6 22:01:20 2003 UTC (21 years, 3 months ago) by christos
Branches: MAIN
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +18 -7 lines
SA_SIGINFO changes. This is 1.5Z

Revision 1.41: download - view: text, markup, annotated - select for diffs
Thu Aug 7 16:34:13 2003 UTC (21 years, 4 months ago) by agc
Branches: MAIN
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -6 lines
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 - view: text, markup, annotated - select for diffs
Tue Jul 8 06:18:00 2003 UTC (21 years, 5 months ago) by itojun
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +23 -26 lines
prototype must not have variable name

Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue May 20 17:42:52 2003 UTC (21 years, 6 months ago) by nathanw
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -1 lines
Track the LWP ID of a synchronous (trap) signal, and report it in core dumps.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sat Feb 15 20:54:38 2003 UTC (21 years, 9 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +3 -1 lines
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 - view: text, markup, annotated - select for diffs
Sat Jan 18 09:53:20 2003 UTC (21 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +12 -9 lines
Merge the nathanw_sa branch.

Revision 1.28.2.9: download - view: text, markup, annotated - select for diffs
Fri Jan 17 16:38:53 2003 UTC (21 years, 10 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.28.2.8: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.2.8: +1 -2 lines
Sync with HEAD.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Jan 15 22:48:21 2003 UTC (21 years, 10 months ago) by kleink
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +1 -2 lines
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 - view: text, markup, annotated - select for diffs
Wed Dec 11 06:50:08 2002 UTC (22 years ago) by thorpej
Branches: nathanw_sa
Diff to: previous 1.28.2.7: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.2.7: +75 -70 lines
Sync with HEAD.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun Dec 1 21:32:05 2002 UTC (22 years ago) by matt
Branches: MAIN
CVS tags: gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +75 -70 lines
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 - view: text, markup, annotated - select for diffs
Fri Sep 6 20:41:46 2002 UTC (22 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.28.2.6: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.2.6: +2 -2 lines
Adapt to changed psendsig() signature.

Revision 1.30.2.3: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:50:03 2002 UTC (22 years, 3 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.30.2.2: preferred, colored; branchpoint 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.2.2: +12 -6 lines
sync kqueue branch with HEAD

Revision 1.32.4.2: download - view: text, markup, annotated - select for diffs
Thu Aug 29 00:57:00 2002 UTC (22 years, 3 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.32.4.1: preferred, colored; branchpoint 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32.4.1: +2 -1 lines
catch up with -current.

Revision 1.28.2.6: download - view: text, markup, annotated - select for diffs
Thu Aug 1 02:46:59 2002 UTC (22 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.28.2.5: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.2.5: +12 -6 lines
Catch up to -current.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sun Jul 28 22:18:51 2002 UTC (22 years, 4 months ago) by manu
Branches: MAIN
CVS tags: kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gehenna-devsw-base
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +2 -1 lines
Make killproc really public, and while we are there, constify.

Revision 1.32.4.1: download - view: text, markup, annotated - select for diffs
Mon Jul 15 10:37:16 2002 UTC (22 years, 5 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +11 -6 lines
catch up with -current.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Thu Jul 4 23:32:15 2002 UTC (22 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +11 -6 lines
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 - view: text, markup, annotated - select for diffs
Sun Jun 23 17:52:00 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.30.2.1: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.2.1: +65 -34 lines
catch up with -current on kqueue branch

Revision 1.28.2.5: download - view: text, markup, annotated - select for diffs
Mon Apr 1 07:49:12 2002 UTC (22 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.28.2.4: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.2.4: +65 -34 lines
Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Mar 19 20:50:41 2002 UTC (22 years, 8 months ago) by christos
Branches: 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
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +65 -34 lines
- 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 - view: text, markup, annotated - select for diffs
Thu Jan 10 20:04:48 2002 UTC (22 years, 11 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +4 -8 lines
Sync kqueue branch with -current.

Revision 1.28.2.4: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:34:44 2002 UTC (22 years, 11 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.28.2.3: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.2.3: +5 -9 lines
Catch up to -current.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Sat Dec 8 00:35:33 2001 UTC (23 years ago) by thorpej
Branches: MAIN
CVS tags: newlock-base, newlock, ifpoll-base
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +4 -8 lines
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 - view: text, markup, annotated - select for diffs
Sat Nov 17 01:49:18 2001 UTC (23 years ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.28.2.2: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.2.2: +3 -1 lines
Add psendsignal().

Revision 1.28.2.2: download - view: text, markup, annotated - select for diffs
Thu Jun 21 20:09:54 2001 UTC (23 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.28.2.1: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.2.1: +9 -2 lines
Catch up to -current.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Wed Jun 6 21:46:59 2001 UTC (23 years, 6 months ago) by mrg
Branches: 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
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +8 -1 lines
add an extern for the coredump32 hook.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Mon Apr 30 01:13:21 2001 UTC (23 years, 7 months ago) by lukem
Branches: MAIN
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2 lines
remove some lint

Revision 1.28.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 5 22:50:03 2001 UTC (23 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +9 -8 lines
Initial commit of scheduler activations and lightweight process support.

Revision 1.22.2.4: download - view: text, markup, annotated - select for diffs
Thu Jan 18 09:24:02 2001 UTC (23 years, 10 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.22.2.3: preferred, colored; branchpoint 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22.2.3: +9 -0 lines
Sync with head (for UBC+NFS fixes, mostly).

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Jan 14 22:32:01 2001 UTC (23 years, 11 months ago) by thorpej
Branches: MAIN
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: nathanw_sa
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +10 -1 lines
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 - view: text, markup, annotated - select for diffs
Fri Jan 5 17:36:59 2001 UTC (23 years, 11 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.22.2.2: preferred, colored; branchpoint 1.22: preferred, colored
Changes since revision 1.22.2.2: +25 -11 lines
Sync with HEAD

Revision 1.27: download - view: text, markup, annotated - select for diffs
Fri Dec 22 22:59:01 2000 UTC (23 years, 11 months ago) by jdolecek
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +26 -12 lines
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 - view: text, markup, annotated - select for diffs
Wed Nov 22 16:06:41 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.22.2.1: preferred, colored; branchpoint 1.22: preferred, colored
Changes since revision 1.22.2.1: +3 -1 lines
Sync with HEAD.

Revision 1.22.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 18:11:35 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +7 -2 lines
Update thorpej_scsipi to -current as of a month ago

Revision 1.26: download - view: text, markup, annotated - select for diffs
Wed Nov 15 21:13:58 2000 UTC (24 years ago) by jdolecek
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -1 lines
introduce SIGACTION_PS() macro - this is similar to SIGACTION(), but works
for (struct sigacts *) instead of (struct proc *)

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Nov 5 15:37:10 2000 UTC (24 years, 1 month ago) by jdolecek
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +2 -1 lines
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 - view: text, markup, annotated - select for diffs
Sun Aug 20 21:50:12 2000 UTC (24 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +4 -2 lines
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 - view: text, markup, annotated - select for diffs
Thu Dec 30 15:53:09 1999 UTC (24 years, 11 months ago) by eeh
Branches: 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
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -1 lines
Add prototype for cpu_coredump32()

Revision 1.21.8.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 01:30:21 1999 UTC (25 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +9 -1 lines
Sync w/ -current.

Revision 1.22: download - view: text, markup, annotated - select for diffs
Fri Apr 30 21:23:50 1999 UTC (25 years, 7 months ago) by thorpej
Branches: 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
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +9 -1 lines
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 - view: text, markup, annotated - select for diffs
Sat Oct 3 14:29:02 1998 UTC (26 years, 2 months ago) by drochner
Branches: 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
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +4 -3 lines
Make contsigmask, stopsigmask, sigcantmask kernel private.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Sep 13 01:41:16 1998 UTC (26 years, 3 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +15 -1 lines
Put the prototypes for native_sig*_to_sig*() in one place.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri Sep 11 12:50:13 1998 UTC (26 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +52 -55 lines
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 - view: text, markup, annotated - select for diffs
Sun Mar 1 02:24:14 1998 UTC (26 years, 9 months ago) by fvdl
Branches: MAIN
CVS tags: eeh-paddr_t-base, eeh-paddr_t
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2 lines
Merge with Lite2 + local changes

Revision 1.1.1.3 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 1 02:14:02 1998 UTC (26 years, 9 months ago) by fvdl
Branches: WFJ-920714, CSRG
CVS tags: lite-2
Diff to: previous 1.1.1.2: preferred, colored
Changes since revision 1.1.1.2: +9 -7 lines
Import 4.4BSD-Lite2

Revision 1.1.1.2 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 1 02:11:09 1998 UTC (26 years, 9 months ago) by fvdl
Branches: WFJ-920714, CSRG
CVS tags: lite-1, date-03-may-96
Diff to: previous 1.1.1.1: preferred, colored
Changes since revision 1.1.1.1: +33 -32 lines
Import 4.4BSD-Lite for reference

Revision 1.17.14.1: download - view: text, markup, annotated - select for diffs
Mon Sep 8 23:13:28 1997 UTC (27 years, 3 months ago) by thorpej
Branches: thorpej-signal
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +68 -13 lines
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 - view: text, markup, annotated - select for diffs
Mon Apr 22 01:23:31 1996 UTC (28 years, 7 months ago) by christos
Branches: 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
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +6 -1 lines
add prototypes from <sys/cpu.h> to the appropriate places

Revision 1.16: download - view: text, markup, annotated - select for diffs
Fri Feb 9 18:25:34 1996 UTC (28 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +5 -5 lines
Filesystem prototype changes

Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Feb 4 02:12:38 1996 UTC (28 years, 10 months ago) by christos
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +4 -1 lines
Fix some missing/wrong prototypes so that kern/* compiles again

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sun Aug 13 22:48:47 1995 UTC (29 years, 4 months ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2 lines
Add ps_sigreset, to to keep track of signals which are reset when caught.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Mar 26 20:24:44 1995 UTC (29 years, 8 months ago) by jtc
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3 lines
KERNEL -> _KERNEL

Revision 1.12: download - view: text, markup, annotated - select for diffs
Sun Oct 30 19:11:55 1994 UTC (30 years, 1 month ago) by cgd
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +5 -5 lines
 code is an unsigned long, not an unsigned int.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Jun 29 06:45:25 1994 UTC (30 years, 5 months ago) by cgd
Branches: 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
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -1 lines
New RCS ID's, take two.  they're more aesthecially pleasant, and use 'NetBSD'

Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Jun 27 19:32:02 1994 UTC (30 years, 5 months ago) by cgd
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
new standard, minimally intrusive ID format

Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat May 7 00:45:51 1994 UTC (30 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +2 -2 lines
one-liner struct name change

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu May 5 05:40:18 1994 UTC (30 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +35 -35 lines
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 - view: text, markup, annotated - select for diffs
Wed May 4 03:42:35 1994 UTC (30 years, 7 months ago) by cgd
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -3 lines
Rename a lot of process flags.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Jan 20 21:23:19 1994 UTC (30 years, 10 months ago) by ws
Branches: MAIN
CVS tags: wnvm, nvm-base, nvm
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -3 lines
Make procfs really work for debugging.
Implement not & notepg files in procfs.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Oct 14 22:35:26 1993 UTC (31 years, 2 months ago) by cgd
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -2 lines
comments need ... '/'s at the end of them!!!

Revision 1.3.4.1: download - view: text, markup, annotated - select for diffs
Wed Oct 13 12:34:44 1993 UTC (31 years, 2 months ago) by deraadt
Branches: magnum
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +2 -1 lines
from HEAD:
add ps_usertramp to to struct sigacts.
SunOS compatibility; libc sigtramp

Revision 1.4: download - view: text, markup, annotated - select for diffs
Wed Oct 13 12:10:20 1993 UTC (31 years, 2 months ago) by deraadt
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -1 lines
add ps_usertramp to to struct sigacts.
SunOS compatibility; libc sigtramp

Revision 1.3: download - view: text, markup, annotated - select for diffs
Thu May 20 16:23:07 1993 UTC (31 years, 6 months ago) by cgd
Branches: 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
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -1 lines
add rcs ids as necessary, and also clean up headers

Revision 1.2: download - view: text, markup, annotated - select for diffs
Mon Apr 19 01:23:11 1993 UTC (31 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +4 -3 lines
Add consistent multiple-inclusion protection.

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (31 years, 8 months ago) by cgd
Branches: WFJ-920714, CSRG
CVS tags: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-8, WFJ-386bsd-01
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
initial import of 386bsd-0.1 sources

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (31 years, 8 months ago) by cgd
Branches: MAIN
Initial revision

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>