[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS: cvs.openbsd.org: src
- To: source-changes_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org
- Subject: CVS: cvs.openbsd.org: src
- From: Philip Guenther <guenther_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org>
- Date: Tue, 16 Dec 2008 00:57:28 -0700 (MST)
CVSROOT: /cvs
Module name: src
Changes by: guenther_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org 2008/12/16 00:57:28
Modified files:
sys/sys : proc.h signalvar.h
sys/kern : kern_exit.c kern_prot.c kern_sig.c
sys_generic.c uipc_syscalls.c
Log message:
Move the functionality of psignal() to a new function ptsignal()
that takes an additional argument "type" that indicates whether the
signal is for the process, just a particular thread, or propagated
to a thread because it's not caught or blocked. psignal() becomes
a wrapper that does the first of those.
So that sys_kill() can tell apart signals for the process and signals
for the process's original thread, the tid of the original thread
is defined as its pid + THREAD_PID_OFFSET.
ok tedu@ art@ andreas@ kurt@ "better early than late" deraadt@
Visit your host, monkey.org