glibc/hurd
Richard Braun 5c06743c8a Hurd: make sigstates hold a reference on thread ports
This change is required in order to correctly release per-thread
resources. Directly reusing the threading library reference isn't
possible since the sigstate is also used early in the main thread,
before threading is initialized.

* hurd/hurd/signal.h (_hurd_self_sigstate): Drop thread reference after
calling _hurd_thread_sigstate.
(_hurd_critical_section_lock): Likewise.
* hurd/hurdsig.c (_hurd_thread_sigstate): Add a reference on the thread.
(_hurd_sigstate_delete): Drop thread reference.
2020-12-21 02:10:16 +01:00
..
hurd Hurd: make sigstates hold a reference on thread ports 2020-12-21 02:10:16 +01:00
alloc-fd.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
catch-exc.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
catch-signal.c Hurd: Use __sigmask in favor of deprecated sigmask 2020-05-28 11:40:13 +02:00
compat-20.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
ctty-input.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
ctty-output.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Depend * Makefile (subdir-target-args): New variable. 2006-02-28 07:11:04 +00:00
dtable.c hurd: Remove some remnants of cthreads 2020-11-15 13:16:03 +01:00
exc2signal.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
faultexc.defs Sun May 12 11:16:58 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu> 1996-05-12 16:38:08 +00:00
fchroot.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
fcntl-internal.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
fd-cleanup.c hurd: clean fd and port on thread cancel 2020-06-28 00:38:46 +00:00
fd-close.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
fd-read.c hurd: clean fd and port on thread cancel 2020-06-28 00:38:46 +00:00
fd-write.c hurd: clean fd and port on thread cancel 2020-06-28 00:38:46 +00:00
fopenport.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
get-host.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
getdport.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
geteuids.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
getumask.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
hurd-raise.c hurd: Fix hang in _hurd_raise_signal from pthread_kill 2020-06-07 01:57:26 +02:00
hurd.h hurd: Also turn KERN_INVALID_ADDRESS to EINVAL 2020-12-19 18:57:47 +01:00
hurdauth.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
hurdchdir.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
hurdexec.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
hurdfault.c hurd: implement SA_SIGINFO signal handlers. 2020-12-21 01:44:20 +01:00
hurdfault.h Hurd: Use __sigmask in favor of deprecated sigmask 2020-05-28 11:40:13 +02:00
hurdfchdir.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
hurdhost.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
hurdid.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
hurdinit.c hurd: implement SA_SIGINFO signal handlers. 2020-12-21 01:44:20 +01:00
hurdioctl.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
hurdkill.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
hurdlock.c hurd: Add __lll_abstimed_wait_intr 2020-12-16 01:58:33 +01:00
hurdlock.h hurd: Add __lll_abstimed_wait_intr 2020-12-16 01:58:33 +01:00
hurdlookup.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
hurdmalloc.c hurd: Remove some remnants of cthreads 2020-11-15 13:16:03 +01:00
hurdmalloc.h hurdmalloc: Run fork handler as late as possible [BZ #19431] 2016-09-22 01:45:48 +02:00
hurdmsg.c hurd: Fix _S_msg_get/set_env_variable prototype 2020-11-22 09:59:51 +00:00
hurdpid.c hurd: make lll_* take a variable instead of a ptr 2020-12-16 01:58:33 +01:00
hurdports.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
hurdprio.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
hurdrlimit.c hurd: Remove some remnants of cthreads 2020-11-15 13:16:03 +01:00
hurdselect.c hurd: Add remaining cancelation points 2020-06-28 22:46:21 +00:00
hurdsig.c Hurd: make sigstates hold a reference on thread ports 2020-12-21 02:10:16 +01:00
hurdsock.c hurd: Remove some remnants of cthreads 2020-11-15 13:16:03 +01:00
hurdsocket.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
hurdstartup.c hurd: Remove some remnants of cthreads 2020-11-15 13:16:03 +01:00
hurdstartup.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
intern-fd.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
intr-msg.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
intr-rpc.defs Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
intr-rpc.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
longjmp-ts.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
lookup-at.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
lookup-retry.c hurd: Fix strcpy calls 2020-11-22 23:15:36 +00:00
Makefile hurd: Add __lll_abstimed_wait_intr 2020-12-16 01:58:33 +01:00
msgportdemux.c hurd: Remove some remnants of cthreads 2020-11-15 13:16:03 +01:00
new-fd.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Notes initial import 1995-02-18 01:27:10 +00:00
openport.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
path-lookup.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
pid2task.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
port2fd.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
port-cleanup.c hurd: clean fd and port on thread cancel 2020-06-28 00:38:46 +00:00
ports-get.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
ports-set.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
preempt-sig.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
privports.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
report-wait.c hurd report-wait: Fix stpcpy usage 2020-11-23 00:31:41 +00:00
RPC_gsync_wait_intr.c hurd: Add __lll_abstimed_wait_intr 2020-12-16 01:58:33 +01:00
set-host.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
setauth.c hurd: Rename LLL_INITIALIZER to LLL_LOCK_INITIALIZER 2020-12-16 01:58:33 +01:00
seteuids.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
siginfo.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
sigunwind.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
stack_chk_fail_local.c hurd: fix build with -fstack-protector-strong 2017-08-27 22:10:17 +02:00
task2pid.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
thread-cancel.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
thread-self.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
trampoline.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Versions hurd: Add __libc_open and __libc_close 2020-12-16 01:58:33 +01:00
vpprintf.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
xattr.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00