summaryrefslogtreecommitdiff
path: root/hurd
AgeCommit message (Collapse)Author
2013-12-20Merge branch 'baseline' into refs/top-bases/tschwinge/Roger_WhittakerThomas Schwinge
2013-09-04Remove --disable-versioning.Joseph Myers
2013-09-01Merge branch 'baseline' into refs/top-bases/tschwinge/Roger_WhittakerThomas Schwinge
Conflicts: sysdeps/mach/hurd/i386/init-first.c sysdeps/unix/sysv/linux/ldsodefs.h
2013-06-08Use (void) in no-arguments function definitions.Joseph Myers
2013-06-07Avoid use of "register" as optimization hint.Joseph Myers
2013-06-06Fix leading whitespaces.Ondrej Bilka
2013-06-05Remove trailing whitespace.Joseph Myers
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-03-10Merge branch 't/nice' into refs/top-bases/tschwinge/Roger_WhittakerSamuel Thibault
2013-03-10Map nice levels 1-to-1 with Mach prio levelsSamuel Thibault
* hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE, NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to 45.
2013-03-01Merge branch 't/af_local_strlen' into refs/top-bases/tschwinge/Roger_WhittakerSamuel Thibault
2013-03-01Introduce a common helperSamuel Thibault
2013-02-28Merge branch 't/poll_errors_fixes' into refs/top-bases/tschwinge/Roger_WhittakerSamuel Thibault
2013-02-27Fix buildSamuel Thibault
2013-02-27Merge commit 'refs/top-bases/t/poll_errors_fixes' into t/poll_errors_fixesSamuel Thibault
2013-02-27Use struct timespec instead of time_data_tSamuel Thibault
2013-02-20Merge commit 'refs/top-bases/t/poll_errors_fixes' into t/poll_errors_fixesSamuel Thibault
2013-02-20Add comments and changelogSamuel Thibault
2013-02-19on EBADF error, also make timeout 0 so we return immediately the errorSamuel Thibault
2013-02-19fix buildSamuel Thibault
2013-02-19Fix poll and select POSIX compliancy details about errorsSamuel Thibault
This fixes the following: - Poll must not return immediately on error, including EBADF, and instead report POLLHUP/POLLERR/POLLNVAL - Select must report EBADF if some set contains an invalid FD. The idea is to move error management to after all select calls, in the poll/select final treatment. The error is instead recorded in a new `error' field, and a new SELECT_ERROR bit set. Thanks Svante Signell for the initial version of the patch. * hurd/hurdselect.c (SELECT_ERROR): New macro. (_hurd_select): - Add `error' field to `d' structures array. - If a poll descriptor is bogus, set EBADF, but continue. - Go through the whole fd_set, not only until _hurd_dtablesize. Return EBADF there is any bit set above _hurd_dtablesize. - Do not request io_select on bogus descriptors (SELECT_ERROR). - On io_select request error, record the error. - On io_select bogus reply, use EIO error code. - On io_select bogus or error reply, record the error. - Do not destroy reply port for bogus FDs. - On error, make poll set POLLHUP in the EPIPE case, POLLNVAL in the EBADF case, or else POLLERR. - On error, make select simulated readiness.
2013-02-19Use '[0].' instead of frownprone '->'Samuel Thibault
2013-02-19Rework _hurd_select to use the new io_select_timeout RPCRichard Braun
2013-02-13Merge branch 't/nfds-poll' into refs/top-bases/tschwinge/Roger_WhittakerSamuel Thibault
2013-02-13allow poll() array bigger than FD_SETSIZESamuel Thibault
* hurd/hurdselect.c (_hurd_select): In the poll case, do not return EINVAL when nfds is greater than FD_SETSIZE.
2013-02-11Merge branch 't/select-EINTR' into refs/top-bases/tschwinge/Roger_WhittakerSamuel Thibault
2013-02-11Let select be interrupted by signalsSamuel Thibault
We need to set MACH_RCV_INTERRUPT to avoid __mach_msg looping on signals, and then handle the interruption.
2013-02-11Merge branch 't/single-select-timeout' into ↵Samuel Thibault
refs/top-bases/tschwinge/Roger_Whittaker
2013-02-11Fix _hurd_select for single fd setsSamuel Thibault
The function attempts to optimize this case by performing one IPC system call with the timeout included among the parameters, but in the absence of a reply, it will call mach_msg again with the same timeout later, effectively doubling the total timeout of the select/poll call. Remove this optimization for the time being. * hurd/hurdselect.c (_hurd_select): Always call __io_select with no timeout.
2013-01-02Fix copyright notice corruption from update-copyright bug.Joseph Myers
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers
2013-01-01Add script to update copyright notices and reformat some to facilitate its use.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-11-01Merge commit 'refs/top-bases/t/hurdsig-global-dispositions' into ↵Thomas Schwinge
t/hurdsig-global-dispositions
2012-11-01Merge commit 'refs/top-bases/t/hurdsig-fixes' into t/hurdsig-fixesThomas Schwinge
2012-11-01Merge branch 'baseline' into refs/top-bases/tschwinge/Roger_WhittakerThomas Schwinge
2012-08-03Distinguish ELOOP diagnosis threshold from SYMLOOP_MAX.Roland McGrath
2012-07-22Merge commit 'refs/top-bases/t/hurdsig-global-dispositions' into ↵Thomas Schwinge
t/hurdsig-global-dispositions
2012-07-22Merge commit 'refs/top-bases/t/hurdsig-fixes' into t/hurdsig-fixesThomas Schwinge
2012-06-20Merge commit 'refs/top-bases/t/hurdsig-global-dispositions' into ↵Thomas Schwinge
t/hurdsig-global-dispositions
2012-06-20Merge commit 'refs/top-bases/t/hurdsig-fixes' into t/hurdsig-fixesThomas Schwinge
2012-06-20Merge branch 'baseline' into refs/top-bases/tschwinge/Roger_WhittakerThomas Schwinge
Conflicts: configure configure.in hurd/Makefile nptl/sysdeps/pthread/bits/libc-lock.h sysdeps/i386/configure sysdeps/powerpc/powerpc32/configure sysdeps/powerpc/powerpc64/configure sysdeps/unix/sysv/linux/configure sysdeps/unix/sysv/linux/configure.in
2012-05-11Merge branch 't/struct_stat' into refs/top-bases/tschwinge/Roger_WhittakerThomas Schwinge
Conflicts: hurd/hurdchdir.c hurd/hurdselect.c sysdeps/mach/hurd/bits/posix_opt.h sysdeps/mach/hurd/brk.c sysdeps/mach/hurd/chroot.c sysdeps/mach/hurd/mkdir.c sysdeps/mach/hurd/mkdirat.c sysdeps/mach/hurd/opendir.c sysdeps/mach/hurd/readlinkat.c sysdeps/mach/hurd/setresgid.c sysdeps/mach/hurd/setresuid.c
2012-05-11Merge branch 't/init-first.c' into refs/top-bases/tschwinge/Roger_WhittakerThomas Schwinge
Conflicts: bits/in.h hurd/catch-signal.c sysdeps/mach/hurd/accept.c sysdeps/mach/hurd/accept4.c sysdeps/mach/hurd/bits/socket.h sysdeps/mach/hurd/dl-sysdep.c sysdeps/mach/hurd/dup2.c sysdeps/mach/hurd/dup3.c sysdeps/mach/hurd/i386/____longjmp_chk.S sysdeps/mach/hurd/i386/init-first.c sysdeps/mach/hurd/kernel-features.h sysdeps/mach/hurd/opendir.c sysdeps/mach/hurd/symlink.c sysdeps/mach/hurd/symlinkat.c
2012-05-11Hurd: avoid PLT call to strtoulThomas Schwinge
(cherry picked from commit 10589b4adb212dfde20670aacfb76aa842f42b92) Conflicts: ChangeLog
2012-05-11Hurd: hurdsock: reject negative domainsPino Toscano
(cherry picked from commit 63643c85d4c47512decc16f35124160629c39a86) Conflicts: ChangeLog
2012-05-11Hurd: _hurd_select: check for invalid parameter valuesPino Toscano
(cherry picked from commit c6474b07e7b5f0cdc9089c1c4fcfc4fcaa2bcd92) Conflicts: ChangeLog
2012-05-11Hurd: empty file names fail with ENOENTSamuel Thibault
(cherry picked from commit edadcbd6247ca741756e234b6aa5f3db895bdd3d) Conflicts: ChangeLog
2012-05-11Hurd: Missing critical region locks.Samuel Thibault
(cherry picked from commit 802ca5a5efa5d11836b2ffd81c9f6fd42f938ac6) Conflicts: ChangeLog