summaryrefslogtreecommitdiff
path: root/hurd/hurdsig.c
AgeCommit message (Collapse)Author
2016-10-09Merge branch 't/tls' into refs/top-bases/tschwinge/Roger_WhittakerSamuel Thibault
2016-10-09Merge commit 'refs/top-bases/t/tls' into t/tlsSamuel Thibault
2016-09-20Merge branch 't/hurdsig-fixes' into refs/top-bases/tschwinge/Roger_WhittakerSamuel Thibault
2016-09-20Fix uninitialized valueSamuel Thibault
2016-09-20Merge branch 't/hurdsig-SA_SIGINFO' into ↵Samuel Thibault
refs/top-bases/tschwinge/Roger_Whittaker
2016-09-20Fix HURD_PREEMPT_SIGNAL_P call, detail->code doesn't contain the faulting ↵Samuel Thibault
address any more
2016-08-23Merge branch 't/gsync-libc' into refs/top-bases/tschwinge/Roger_WhittakerSamuel Thibault
2016-08-23Introduce gsync-based locks to glibc.Samuel Thibault
From: Agustina Arzille <avarzille@riseup.net> * hurd/Makefile: Add hurdlock. * hurd/Versions: Added new entry to export the above interface. * hurd/hurdlock.c: New file. * hurd/hurdlock.h: New file. * hurd/hurdpid.c: Include <lowlevellock.h> (_S_msg_proc_newids): Use lll_wait to synchronize. * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock. * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization. * hurd/sysvshm.c: Include <hurdlock.h>, use integer for synchronization. * mach/Makefile: Remove unneeded file * mach/lock-intern.h: Use lll to implement spinlocks. * mach/lowlevellock.h: New file * mach/mutex-init.c: Rewrite mutex initialization. * sysdeps/mach/Makefile: Add libmachuser as dependencies for some libs. * sysdeps/mach/bits/libc-lock.h: Reimplemented libc internal locks with lll, cleanup routines now use gcc's cleanup attribute * sysdeps/mach/hurd/bits/errno.h: New errno values. * sysdeps/mach/hurd/bits/libc-lock.h: Removed file. * sysdeps/mach/hurd/malloc-machine.h: Reimplemented malloc locks. * sysdeps/mach/hurd/setpgid.c: (setpgid): Use gsync for synchronization. * sysdeps/mach/hurd/setsid.c: (setsid): Likewise.
2016-08-20Merge branch 't/eintr' into refs/top-bases/tschwinge/Roger_WhittakerSamuel Thibault
2016-08-20drop spurious changeSamuel Thibault
2016-08-20Merge branch 'baseline' into refs/top-bases/tschwinge/Roger_WhittakerSamuel Thibault
2016-08-20Merge commit 'refs/top-bases/t/tls' into t/tlsSamuel Thibault
2016-08-20Merge commit 'refs/top-bases/t/hurdsig-global-dispositions' into ↵Samuel Thibault
t/hurdsig-global-dispositions
2016-08-20Merge commit 'refs/top-bases/t/hurdsig-fixes' into t/hurdsig-fixesSamuel Thibault
2016-08-20Merge commit 'refs/top-bases/t/eintr' into t/eintrSamuel Thibault
2016-08-20Merge commit 'refs/top-bases/t/tls-threadvar' into t/tls-threadvarSamuel Thibault
2016-08-20Merge branch 'baseline' into refs/top-bases/t/tls-threadvarSamuel Thibault
2016-06-09Merge branch 't/eintr' into refs/top-bases/tschwinge/Roger_WhittakerSamuel Thibault
2016-06-09note other potential FIXMEsSamuel Thibault
2016-01-04Update copyright dates with scripts/update-copyrights.Joseph Myers
2015-10-10Merge branch 't/tls-threadvar' into refs/top-bases/tschwinge/Roger_WhittakerSamuel Thibault
2015-10-09fix commentSamuel Thibault
2015-03-25Merge commit 'refs/top-bases/t/tls-threadvar' into t/tls-threadvarSamuel Thibault
Conflicts: sysdeps/mach/hurd/bits/libc-tsd.h
2015-02-07Merge branch 't/signal_cplusplus' into refs/top-bases/t/tls-threadvarSamuel Thibault
2015-01-23Merge commit 'refs/top-bases/t/hurdsig-global-dispositions' into ↵Thomas Schwinge
t/hurdsig-global-dispositions
2015-01-23Merge commit 'refs/top-bases/t/hurdsig-fixes' into t/hurdsig-fixesThomas Schwinge
2015-01-23Merge branch 'baseline' into refs/top-bases/tschwinge/Roger_WhittakerThomas Schwinge
Conflicts: hurd/hurdsocket.h sysdeps/mach/hurd/errno-loc.c
2015-01-02Update copyright dates with scripts/update-copyrights.Joseph Myers
2014-04-22Merge branch 't/tls-threadvar' into refs/top-bases/tschwinge/Roger_WhittakerSamuel Thibault
Conflicts: hurd/hurd/signal.h
2014-04-22Rather keep _hurd_sigstate in tcbhead_tSamuel Thibault
it avoids involving all the TLS stuff while handling signals...
2014-01-01Update copyright notices with scripts/update-copyrightsAllan McRae
2013-12-23Merge branch 't/sigstate_thread_reference' into ↵Richard Braun
refs/top-bases/tschwinge/Roger_Whittaker Conflicts: hurd/hurd/signal.h
2013-12-23Hurd: make sigstates hold a reference on thread portsRichard Braun
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.
2013-10-25Merge branch 't/tls-threadvar' into refs/top-bases/tschwinge/Roger_WhittakerSamuel Thibault
Conflicts: hurd/hurd/signal.h sysdeps/mach/hurd/i386/init-first.c
2013-10-25Drop threadvars entirelySamuel Thibault
2013-10-20Merge branch 't/tls-threadvar' into refs/top-bases/tschwinge/Roger_WhittakerSamuel Thibault
Conflicts: hurd/hurd/signal.h
2013-10-20Convert sigstate to TLSSamuel Thibault
2013-10-14Merge branch 't/tls-threadvar' into refs/top-bases/tschwinge/Roger_WhittakerSamuel Thibault
2013-10-14Replace mig_reply_port threadvar with a TLS variableSamuel Thibault
2013-05-21Merge commit 'refs/top-bases/t/hurdsig-global-dispositions' into ↵Thomas Schwinge
t/hurdsig-global-dispositions Conflicts: hurd/ctty-input.c hurd/ctty-output.c hurd/hurd/signal.h hurd/hurdexec.c hurd/hurdmsg.c sysdeps/mach/hurd/i386/sigreturn.c sysdeps/mach/hurd/i386/trampoline.c sysdeps/mach/hurd/sigaction.c sysdeps/mach/hurd/sigpending.c sysdeps/mach/hurd/sigprocmask.c sysdeps/mach/hurd/sigsuspend.c sysdeps/mach/hurd/sigwait.c
2013-05-21Merge commit 'refs/top-bases/t/hurdsig-fixes' into t/hurdsig-fixesThomas Schwinge
Conflicts: hurd/hurdsig.c
2013-05-20Merge commit 'refs/top-bases/t/tls-threadvar' into t/tls-threadvarThomas Schwinge
Conflicts: sysdeps/mach/hurd/bits/libc-tsd.h
2013-05-20Merge commit 'refs/top-bases/t/tls' into t/tlsThomas Schwinge
Conflicts: sysdeps/mach/hurd/tls.h
2013-05-20Merge branch 'baseline' into refs/top-bases/tschwinge/Roger_WhittakerThomas Schwinge
Conflicts: configure configure.in hurd/ctty-input.c hurd/ctty-output.c hurd/hurd/signal.h hurd/hurdexec.c hurd/hurdmsg.c hurd/hurdsig.c hurd/hurdsocket.h socket/recvmmsg.c socket/sendmmsg.c sysdeps/mach/hurd/i386/sigreturn.c sysdeps/mach/hurd/i386/trampoline.c sysdeps/mach/hurd/pipe.c sysdeps/mach/hurd/recvmsg.c sysdeps/mach/hurd/sendmsg.c sysdeps/mach/hurd/sigaction.c sysdeps/mach/hurd/sigpending.c sysdeps/mach/hurd/sigprocmask.c sysdeps/mach/hurd/sigsuspend.c sysdeps/mach/hurd/sigwait.c sysdeps/mach/hurd/socketpair.c sysdeps/mach/hurd/tls.h sysdeps/unix/sysv/linux/recvmmsg.c sysdeps/unix/sysv/linux/sendmmsg.c
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers
2012-11-27Merge branch 't/hurdsig-boot-fix' into refs/top-bases/tschwinge/Roger_WhittakerSamuel Thibault
2012-11-27fix sigstate_is_global_rcv at bootRichard Braun
* hurd/hurdsig.c (sigstate_is_global_rcv): Do not return true if _HURD_GLOBAL_SIGSTATE is null.
2012-05-10Move Hurd threadvar removal bits from t/tls.Thomas Schwinge
2012-05-10Move Hurd threadvar removal bits to t/tls-threadvar.Thomas Schwinge
2012-04-05Merge commit 'refs/top-bases/t/hurdsig-global-dispositions' into ↵Thomas Schwinge
t/hurdsig-global-dispositions