summaryrefslogtreecommitdiff
path: root/hurd
AgeCommit message (Collapse)Author
2015-10-10Merge branch 'cvs/hurd_raise_signal' into ↵Samuel Thibault
refs/top-bases/tschwinge/Roger_Whittaker
2015-10-10Make _hurd_raise_signal directly return the errorSamuel Thibault
* hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by __msg_sig_post.
2015-10-10Merge branch 'cvs/hurd_raise_signal' into ↵Samuel Thibault
refs/top-bases/tschwinge/Roger_Whittaker
2015-10-10Merge branch 't/tls-threadvar' into refs/top-bases/tschwinge/Roger_WhittakerSamuel Thibault
2015-10-10Make _hurd_raise_signal return errorsSamuel Thibault
* hurd/hurd-raise.c (_hurd_raise_signal): Set errno to error returned by __msg_sig_post. * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
2015-10-09fix commentSamuel Thibault
2015-09-20Merge branch 't/sendmsg-SCM_CREDS' into refs/top-bases/tschwinge/Roger_WhittakerSamuel Thibault
2015-09-20hurd/Makefile (user-interfaces): Add auth_request and auth_replySamuel Thibault
2015-03-25Merge branch 't/af_local_strlen' into refs/top-bases/tschwinge/Roger_WhittakerSamuel Thibault
2015-03-25Merge branch 't/sysvshm' into refs/top-bases/tschwinge/Roger_WhittakerSamuel Thibault
2015-03-25Merge branch 't/extern_inline' into refs/top-bases/tschwinge/Roger_WhittakerSamuel Thibault
Conflicts: hurd/Versions
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-08Also expose external inlinesSamuel Thibault
2015-02-08Rework patchSamuel Thibault
2015-02-08Address commentsSamuel Thibault
2015-02-07Fix licence headerSamuel Thibault
2015-02-07Merge branch 't/signal_cplusplus' into refs/top-bases/t/tls-threadvarSamuel Thibault
2015-02-07Merge branch 't/extern_inline' into refs/top-bases/tschwinge/Roger_WhittakerSamuel Thibault
Conflicts: hurd/hurd/signal.h
2015-02-07Import git fixSamuel Thibault
2015-02-07Drop unrelated changesSamuel Thibault
2015-02-03Merge branch 't/af_local_strlen' into refs/top-bases/tschwinge/Roger_WhittakerSamuel Thibault
2015-02-03Merge branch 't/sysvshm' into refs/top-bases/tschwinge/Roger_WhittakerSamuel Thibault
2015-02-03Merge branch 't/socket_flags' into refs/top-bases/tschwinge/Roger_WhittakerSamuel Thibault
2015-02-03Update copyright yearsSamuel Thibault
2015-02-03Update copyright yearsSamuel Thibault
2015-02-03update copyright yearsSamuel Thibault
2015-01-23Merge commit 'refs/top-bases/t/sysvshm' into t/sysvshmThomas Schwinge
2015-01-23Merge commit 'refs/top-bases/t/fcntl-internal.h' into t/fcntl-internal.hThomas 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-22Missing merge fixSamuel Thibault
2015-01-21Merge remote-tracking branch 'refs/remotes/savannah/t/extern_inline' into HEADThomas Schwinge
2015-01-21Merge remote-tracking branch 'refs/remotes/savannah/t/tls-threadvar' into HEADThomas Schwinge
2015-01-21Merge remote-tracking branch ↵Thomas Schwinge
'refs/remotes/savannah/top-bases/t/tls-threadvar' into refs/top-bases/t/tls-threadvar
2015-01-21Merge remote-tracking branch ↵Thomas Schwinge
'refs/remotes/savannah/top-bases/tschwinge/Roger_Whittaker' into refs/top-bases/tschwinge/Roger_Whittaker Conflicts: Versions.def
2014-10-12Merge branch 't/poll_errors_fixes' into refs/top-bases/tschwinge/Roger_WhittakerSamuel Thibault
2014-10-12Fix incorrect ready counting.Samuel Thibault
Using SELECT_ALL would make the fd counting thrice, and not only once per presence in select masks.
2014-08-27Merge branch 't/thread-cancel' into refs/top-bases/tschwinge/Roger_WhittakerSamuel Thibault
2014-08-27remove two more bogus assertions, and add explanationsSamuel Thibault
2014-04-22Merge branch 't/tls-threadvar' into refs/top-bases/tschwinge/Roger_WhittakerSamuel Thibault
Conflicts: hurd/hurd/signal.h
2014-04-22Optimize _hurd_sigstate accessSamuel Thibault
2014-04-22Merge branch 't/tls-threadvar' into refs/top-bases/tschwinge/Roger_WhittakerSamuel Thibault
Conflicts: hurd/hurd/signal.h
2014-04-22Merge commit 'refs/top-bases/t/tls-threadvar' into t/tls-threadvarSamuel Thibault
Conflicts: hurd/hurd/threadvar.h
2014-04-22Merge branch 't/extern_inline' into refs/top-bases/t/tls-threadvarSamuel Thibault
2014-04-22Rather keep _hurd_sigstate in tcbhead_tSamuel Thibault
it avoids involving all the TLS stuff while handling signals...
2014-04-22Also avoid inlining when NOT_IN_libc is definedSamuel Thibault
2014-01-04Merge branch 't/select_deadcode' into refs/top-bases/tschwinge/Roger_WhittakerSamuel Thibault
Conflicts: hurd/hurdselect.c
2014-01-04hurdselect: remove dead code.Samuel Thibault
This removes code which actually never happens, and is already taken care of in the function. This is in the second part of select, when the __mach_msg() function over the portset has returned something else than MACH_MSG_SUCCESS. I guess in the past the value returned by __mach_msg() was stored in err, so this code was necessary to set back err to 0, but now it is stored in msgerr, so err is already still 0 by default. It can thus never contain MACH_RCV_TIMED_OUT, i.e. the code is dead. The first case mentioned in the comment is already handled: on time out with no message, err is already still the default 0. On time out due to poll, err would still be 0, unless some of the io_select RPCs has returned EINTR, in which case it contains EINTR. If any other io_select RPCs had returned a proper answer, got!=0, and thus err is set to 0 just below. The code is thus indeed not useful any more. * hurd/hurdselect.c (_hurd_select): Remove unreachable check for MACH_RCV_TIMED_OUT. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
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.