about summary refs log tree commit diff
path: root/hurd
Commit message (Collapse)AuthorAgeFilesLines
* Fix warningsSamuel Thibault2015-03-211-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on libc-modules.h * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove unused declaration of _hurd_intr_rpc_msg_in_trap. * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is defined instead of whether it is non-zero. * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m" input constraint instead of both input and output constraint. Use ecx clobber instead of %ecx. * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock, mutex_unlock): Use a statement expression instead of an expression list. * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set type to vm_size_t instead of vm_address_t. * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is defined instead of whether it is non-zero. * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration. * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>. * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for comparisons with mapaddr. * nscd/nscd-client.h: Include <time.h>. * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy 9th parameter to __vm_region instead of int.
* add hurd/hurdsocket.h file missing from a5eb23dSamuel Thibault2015-02-081-0/+30
|
* hurd: fix compilation of signal.h in C++Samuel Thibault2015-02-071-2/+2
|
* hurd: fix compilation of signal.h in C++Samuel Thibault2015-02-071-1/+1
|
* hurdselect: remove dead code.Samuel Thibault2015-02-071-7/+0
| | | | | | | | | | | | | | | | | | 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: fix sigstate lockingSamuel Thibault2015-02-071-2/+1
| | | | | | | | | It looks like _hurd_thread_sigstate used to return with the sigstate lock held long ago, but since that's no longer the case, don't unlock something that isn't locked. Note that it's unlikely this change fixes anything in practice since its current implementation (on i386) makes this call a nop.
* hurdselect: Let select get interrupted by signalsSamuel Thibault2015-02-071-1/+4
| | | | | We need to set MACH_RCV_INTERRUPT to avoid __mach_msg just looping on signals, and then we can handle the interruption.
* hurd: map nice levels 1-to-1 with Mach prio levelsSamuel Thibault2015-02-071-2/+2
|
* hurd: allow poll() array bigger than FD_SETSIZESamuel Thibault2015-02-071-1/+1
|
* Update copyright dates with scripts/update-copyrights.Joseph Myers2015-01-0283-83/+83
|
* Consistently include Makeconfig after defining subdir.Joseph Myers2014-02-261-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In <https://sourceware.org/ml/libc-alpha/2014-01/msg00196.html> I noted it was necessary to add includes of Makeconfig early in various subdirectory makefiles for the tests-special variable settings added by that patch to be conditional on configuration information. No-one commented on the general question there of whether Makeconfig should always be included immediately after the definition of subdir. This patch implements that early inclusion of Makeconfig in each directory (which is a lot easier than consistent placement of includes of Rules). Includes are added if needed, or moved up if already present. Subdirectory "all:" targets are removed, since Makeconfig provides one. There is potential for further cleanups I haven't done. Rules and Makerules have code such as ifneq "$(findstring env,$(origin headers))" "" headers := endif to override to empty any value of various variables that came from the environment. I think there is a case for Makeconfig setting all the subdirectory variables (other than subdir) to empty to ensure no outside value is going to take effect if a subdirectory fails to define a variable. (A list of such variables, possibly out of date and incomplete, is in manual/maint.texi.) Rules and Makerules would give errors if Makeconfig hadn't already been included, instead of including it themselves. The special code to override values coming from the environment would then be obsolete and could be removed. Tested x86_64, including that installed binaries are identical before and after the patch. * argp/Makefile: Include Makeconfig immediately after defining subdir. * assert/Makefile: Likewise. * benchtests/Makefile: Likewise. * catgets/Makefile: Likewise. * conform/Makefile: Likewise. * crypt/Makefile: Likewise. * csu/Makefile: Likewise. (all): Remove target. * ctype/Makefile: Include Makeconfig immediately after defining subdir. * debug/Makefile: Likewise. * dirent/Makefile: Likewise. * dlfcn/Makefile: Likewise. * gmon/Makefile: Likewise. * gnulib/Makefile: Likewise. * grp/Makefile: Likewise. * gshadow/Makefile: Likewise. * hesiod/Makefile: Likewise. * hurd/Makefile: Likewise. (all): Remove target. * iconvdata/Makefile: Include Makeconfig immediately after defining subdir. * inet/Makefile: Likewise. * intl/Makefile: Likewise. * io/Makefile: Likewise. * libio/Makefile: Likewise. (all): Remove target. * locale/Makefile: Include Makeconfig immediately after defining subdir. * login/Makefile: Likewise. * mach/Makefile: Likewise. (all): Remove target. * malloc/Makefile: Include Makeconfig immediately after defining subdir. (all): Remove target. * manual/Makefile: Include Makeconfig immediately after defining subdir. * math/Makefile: Likewise. * misc/Makefile: Likewise. * nis/Makefile: Likewise. * nss/Makefile: Likewise. * po/Makefile: Likewise. (all): Remove target. * posix/Makefile: Include Makeconfig immediately after defining subdir. * pwd/Makefile: Likewise. * resolv/Makefile: Likewise. * resource/Makefile: Likewise. * rt/Makefile: Likewise. * setjmp/Makefile: Likewise. * shadow/Makefile: Likewise. * signal/Makefile: Likewise. * socket/Makefile: Likewise. * soft-fp/Makefile: Likewise. * stdio-common/Makefile: Likewise. * stdlib/Makefile: Likewise. * streams/Makefile: Likewise. * string/Makefile: Likewise. * sunrpc/Makefile: Likewise. (all): Remove target. * sysvipc/Makefile: Include Makeconfig immediately after defining subdir. * termios/Makefile: Likewise. * time/Makefile: Likewise. * timezone/Makefile: Likewise. (all): Remove target. * wcsmbs/Makefile: Include Makeconfig immediately after defining subdir. * wctype/Makefile: Likewise. libidn/ChangeLog: * Makefile: Include Makeconfig immediately after defining subdir. localedata/ChangeLog: * Makefile: Include Makeconfig immediately after defining subdir. (all): Remove target. nptl/ChangeLog: * Makefile: Include Makeconfig immediately after defining subdir. nptl_db/ChangeLog: * Makefile: Include Makeconfig immediately after defining subdir.
* Remove obsolete SHLIB_COMPAT conditionalization in Versions files.Roland McGrath2014-02-221-29/+0
|
* Use glibc_likely instead __builtin_expect.Ondřej Bílka2014-02-101-1/+1
|
* Update copyright notices with scripts/update-copyrightsAllan McRae2014-01-0183-83/+83
|
* Remove --disable-versioning.Joseph Myers2013-09-042-2/+2
|
* Use (void) in no-arguments function definitions.Joseph Myers2013-06-081-1/+1
|
* Avoid use of "register" as optimization hint.Joseph Myers2013-06-071-20/+20
|
* Fix leading whitespaces.Ondrej Bilka2013-06-063-7/+7
|
* Remove trailing whitespace.Joseph Myers2013-06-053-3/+3
|
* Fix copyright notice corruption from update-copyright bug.Joseph Myers2013-01-026-6/+6
|
* Update copyright notices with scripts/update-copyrights.Joseph Myers2013-01-0283-88/+83
|
* Add script to update copyright notices and reformat some to facilitate its use.Joseph Myers2013-01-016-12/+6
|
* Distinguish ELOOP diagnosis threshold from SYMLOOP_MAX.Roland McGrath2012-08-031-2/+3
|
* Hurd: avoid PLT call to strtoulThomas Schwinge2012-05-101-5/+4
|
* Hurd: hurdsock: reject negative domainsPino Toscano2012-05-101-1/+7
|
* Hurd: _hurd_select: check for invalid parameter valuesPino Toscano2012-05-101-7/+21
|
* Hurd: empty file names fail with ENOENTSamuel Thibault2012-05-101-1/+4
|
* Hurd: Missing critical region locks.Samuel Thibault2012-05-101-0/+2
|
* Hurd: Fix signal-catching functions.Samuel Thibault2012-05-101-5/+8
|
* Hurd: O_CLOEXEC in rtldThomas Schwinge2012-05-103-7/+7
|
* Move stdio-common/_itoa.h to sysdeps/genericH.J. Lu2012-03-202-2/+2
|
* Remove distribute variable from MakefilesUlrich Drepper2012-03-071-5/+2
|
* Replace FSF snail mail address with URLs.Paul Eggert2012-02-0983-249/+166
|
* Cleanup of configuration optionsUlrich Drepper2011-09-102-34/+3
| | | | Make several tool features mandatory and simplify the code.
* Hurd: fix timeout rounding in selectSamuel Thibault2010-08-021-1/+1
|
* Hurd: Fix linkat symlink handling.Emilio Pozuelo Monfort2010-06-022-2/+9
|
* Hurd: Fix file_name_lookup_at error case return value.Emilio Pozuelo Monfort2010-04-261-2/+2
|
* Fix Hurd tiocsctty change.Carl Fredrik Hammar2010-02-191-1/+1
|
* Clean up Hurd TIOCSCTTY.Carl Fredrik Hammar2010-02-171-19/+25
|
* Use ioctl_handler_t typedef in Hurd ioctl macros.Carl Fredrik Hammar2010-02-171-1/+1
|
* Hurd: Fix possibly uninitialized variable in _hurd_locked_install_cttyid.Samuel Thibault2009-12-221-14/+10
|
* Remove redundant .gitignore files.Andreas Schwab2009-05-161-6/+0
|
* rename each .cvsignore file to .gitignoreJim Meyering2009-05-151-0/+0
|
* * sysdeps/mach/hurd/Makefile (sysdep_headers) [subdir=socket]:Roland McGrath2009-01-071-0/+1
| | | | | | | | | | | Add net/ethernet.h net/if_arp.h net/if_ether.h net/if_ppp.h net/route.h. * hurd/report-wait.c (describe_number): Use __stpcpy to prepend flavor to description only when flavor is not NULL. * hurd/hurdsig.c (signal_allowed): Unlock _hurd_dtable_lock mutex after SIGIO/SIGURG lookup loop.
* 2009-01-07 Samuel Thibault <samuel.thibault@ens-lyon.org>Roland McGrath2009-01-071-2/+2
| | | | | * hurd/report-wait.c (describe_number): Use __stpcpy to prepend flavor to description only when flavor is not NULL.
* 2008-08-26 Aurelien Jarno <aurelien@aurel32.net>Roland McGrath2008-08-261-1/+1
| | | | * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Fix a typo.
* 2008-08-12 Roland McGrath <roland@frob.com>Roland McGrath2008-08-131-3/+6
| | | | | | * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Avoid -Wparenthesis triggers, in case used outside of libc. Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>
* * hurd/fd-read.c (_hurd_fd_read): Fix last change.Roland McGrath2008-07-221-1/+4
|
* 2008-07-21 Roland McGrath <roland@frob.com>Roland McGrath2008-07-211-1/+3
| | | | | * hurd/fd-read.c (_hurd_fd_read): Return EGRATUITOUS if the server returned too much data out of line.
* * sysdeps/mach/hurd/recv.c (__recv): Initialize NPORTS. cvs/fedora-glibc-20080703T1203Roland McGrath2008-07-022-0/+2
| | | | | | | | * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise. * sysdeps/mach/hurd/recvmsg.c (__recvmsg): Likewise. * hurd/fd-read.c (_hurd_fd_read): Initialize NREAD. * hurd/get-host.c (_hurd_get_host_config): Likewise. * sysdeps/mach/hurd/dl-sysdep.c (__libc_read): Likewise.