summaryrefslogtreecommitdiff
path: root/sysdeps/mach/hurd
AgeCommit message (Collapse)AuthorFilesLines
2012-03-20Move stdio-common/_itoa.h to sysdeps/genericH.J. Lu3-3/+3
2012-02-17Hurd: #define away madvise for malloc code, fix previous commit.Thomas Schwinge1-1/+4
2012-02-15Hurd: #define away madvise for malloc code.Roland McGrath1-1/+5
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert251-753/+502
2012-02-09Remove _G_HAVE_SYS_CDEFS.Marek Polacek1-1/+0
2012-02-07Remove _G_ARGS macros.Marek Polacek1-3/+0
2012-01-26Remove __STDC__ conditionals from installed headers.Joseph Myers1-5/+1
2012-01-23Hurd: Try to respect mmap address hint for non-MAP_FIXED.Samuel Thibault1-15/+31
2012-01-23Hurd: socket uses EAFNOSUPPORT rather than EPFNOSUPPORT.Pino Toscano1-2/+2
2012-01-08Add checking versions of poll and ppollUlrich Drepper1-1/+2
2012-01-08Static linking is always neededUlrich Drepper1-12/+1
2011-09-11Remove --wth-tls option, TLS support is requiredUlrich Drepper2-14/+12
2011-09-08Remove support for automatic cvs check-insUlrich Drepper1-5/+1
CVS use for glibc is long gone.
2011-09-08sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.Samuel Thibault1-1/+5
2011-09-08Hurd: fix use of uninitialized value in fork port copying.Roland McGrath1-2/+2
2011-09-05Try shell in posix_spawn* only in compat modeUlrich Drepper1-5/+5
2011-05-08Fix Linux getcwd for long pathsUlrich Drepper1-2/+2
The getcwd syscall (so far?) can only handle path up to one page in size. There is no limit about directory hierarchy depth, though, and the POSIX getcwd is supposed to handle this. In that case fall back to the generic getcwd. Additionally, optimize the generic getcwd to use openat when possible to change the asymptotic performance from O(N^2) to O(n).
2011-04-22Remove doubled words.Jim Meyering3-6/+6
2011-02-21Fix __if_freereq crash: Unlike the generic version which uses free, Hurd ↵Samuel Thibault1-0/+45
needs munmap.
2010-12-24Remove `.ctors' and `.dtors' output sectionsH.J. Lu2-2/+2
2010-08-03Hurd: fix ttyname{,_r} errno result for non-ttysSamuel Thibault2-3/+11
2010-07-20Hurd: fix sendmsg memory leak in error pathsEmilio Pozuelo Monfort1-2/+10
2010-06-02Hurd: Fix linkat symlink handling.Emilio Pozuelo Monfort1-2/+4
2010-04-26BZ #11537: Hurd: Fix ttyname_r error return value.Bruno Haible1-3/+3
2010-03-29Fix typos from last patch.Ulrich Drepper1-2/+2
2010-03-29Handle platforms without aux vectorThomas Schwinge1-3/+4
2010-01-18Define __rtld_lock_recursive_* for Hurd.Samuel Thibault1-0/+3
2010-01-11Fix double-inclusion problem of bits/stat.h.Ulrich Drepper1-1/+6
2010-01-09Add support for XPG7 testing.Ulrich Drepper1-2/+3
The header conformance testing code needed extending for XPG7. This exposed a few bugs in the headers. There are more changes to come.
2009-12-22Hurd: Fix spurious mach_port_deallocate in getcwd.Samuel Thibault1-2/+2
2009-09-28Fix Hurd mkdirat.Samuel Thibault1-1/+2
2009-09-15configure tweaks, support $libc_add_on_config_subdirsRoland McGrath1-29/+26
2009-05-16remove subsumed .gitignore entries and filesJim Meyering1-4/+0
2009-05-16remove COPYING* from .gitignore filesJim Meyering1-1/+1
2009-05-15rename each .cvsignore file to .gitignoreJim Meyering1-0/+0
2009-02-26* wctype/wctype.h: The *_l functions are in POSIX 2008.Ulrich Drepper1-11/+11
* wcsmbs/wchar.h: mbsnrtowcs, open_wmemstream, wcpcpy, wcpncpy, wcscasecmp, wcsdup, wcsncasecmp, wcsnlen, wcsnrtombs, wcscasecmp_l, wcsncasecmp_l, wcscoll_l, and wcsxfrm_l. * sysdeps/mach/hurd/bits/posix_opt.h: Reset value of macros from 200112L to 200809L. * sysdeps/unix/sysv/linux/bits/posix_opt.h: Likewise. * posix/getconf.c (vars): Add _SC_THREAD_ROBUST_PRIO_INHERIT and _SC_THREAD_ROBUST_PRIO_PROTECT entries. * bits/confname.h: Add _SC_THREAD_ROBUST_PRIO_INHERIT and _SC_THREAD_ROBUST_PRIO_PROTECT. * posix/unistd.h: fexecve is in POSIX 2008. * time/time.h: strftime_l is in POSIX 2008. * io/sys/stat.h: futimens is in POSIX 2008. * string/strings.h: strcasecmp_l and strncasecmp_l are in POSIX 2008. * string/string.h: stpcpy, stpncpy, strndup, strnlen, strsignal, strcoll_l, strerror_l, and strxfrm_l are in POSIX 2008. * stdlib/stdlib.h: mkdtemp is in POSIX 2008.
2009-01-07* sysdeps/mach/hurd/Makefile (sysdep_headers) [subdir=socket]:Roland McGrath1-1/+6
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.
2008-11-26Moved alpha to ports repository.Roland McGrath8-1089/+0
2008-11-25 Roland McGrath <roland@redhat.com> * sysdeps/alpha, sysdeps/unix/bsd/osf/alpha, sysdeps/unix/bsd/Attic/osf1/alpha, sysdeps/unix/sysv/linux/alpha, sysdeps/unix/sysv/linux/alpha/alpha, sysdeps/unix/alpha, sysdeps/mach/alpha, sysdeps/mach/hurd/alpha: Subdirectories moved to ports repository. * configure.in (base_machine): Remove alpha case.
2008-11-07* bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, Jakub Jelinek2-11/+12
__libc_tsd_get, __libc_tsd_set): Add TYPE argument, use it as the type of the thread variable instead of void *. * sysdeps/mach/hurd/bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, __libc_tsd_get, __libc_tsd_set): Likewise. * include/ctype.h (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust __libc_tsd_define arguments. (__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): Adjust __libc_tsd_address arguments. Remove union hack. * include/rpc/rpc.h (RPC_VARS): Adjust __libc_tsd_define arguments. * sunrpc/rpc_thread.c (RPC_VARS): Likewise. (__rpc_thread_destroy, rpc_thread_multi, __rpc_thread_variables): Adjust __libc_tsd_{set,get} arguments. * ctype/ctype-info.c (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust __libc_tsd_define arguments. * locale/uselocale.c (__uselocale): Adjust __libc_tsd_{set,get} arguments. * locale/lc-ctype.c (_nl_postload_ctype): Likewise. * locale/global-locale.c (__libc_tsd_LOCALE): Adjust type. (LOCALE): Adjust __libc_tsd_define arguments. * locale/localeinfo.h (_NL_CURRENT_LOCALE): Adjust __libc_tsd_get arguments. (LOCALE): Adjust __libc_tsd_define arguments. * sysdeps/mach/hurd/malloc-machine.h (MALLOC): Adjust __libc_tsd_define arguments. (tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get} arguments. nptl/ * sysdeps/pthread/malloc-machine.h (MALLOC): Adjust __libc_tsd_define arguments. (tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get} arguments. 2008-11-07 Jakub Jelinek <jakub@redhat.com> * bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, __libc_tsd_get, __libc_tsd_set): Add TYPE argument, use it as the type of the thread variable instead of void *. * sysdeps/mach/hurd/bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, __libc_tsd_get, __libc_tsd_set): Likewise. * include/ctype.h (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust __libc_tsd_define arguments. (__ctype_b_loc, __ctype_toupper_loc, __ctype_tolower_loc): Adjust __libc_tsd_address arguments. Remove union hack. * include/rpc/rpc.h (RPC_VARS): Adjust __libc_tsd_define arguments. * sunrpc/rpc_thread.c (RPC_VARS): Likewise. (__rpc_thread_destroy, rpc_thread_multi, __rpc_thread_variables): Adjust __libc_tsd_{set,get} arguments. * ctype/ctype-info.c (CTYPE_B, CTYPE_TOUPPER, CTYPE_TOLOWER): Adjust __libc_tsd_define arguments. * locale/uselocale.c (__uselocale): Adjust __libc_tsd_{set,get} arguments. * locale/lc-ctype.c (_nl_postload_ctype): Likewise. * locale/global-locale.c (__libc_tsd_LOCALE): Adjust type. (LOCALE): Adjust __libc_tsd_define arguments. * locale/localeinfo.h (_NL_CURRENT_LOCALE): Adjust __libc_tsd_get arguments. (LOCALE): Adjust __libc_tsd_define arguments. * sysdeps/mach/hurd/malloc-machine.h (MALLOC): Adjust __libc_tsd_define arguments. (tsd_setspecific, tsd_getspecific): Adjust __libc_tsd_{set,get} arguments.
2008-07-142008-07-14 Samuel Thibault <samuel.thibault@ens-lyon.org>Roland McGrath1-0/+2
* sysdeps/mach/hurd/bits/fcntl.h: Include <sys/types.h>.
2008-07-072008-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>Roland McGrath2-0/+27
* sysdeps/mach/hurd/open.c: Include <stdio.h>. (__open_2): New function. (__open64_2): New alias to __open_2. * sysdeps/mach/hurd/openat.c: Include <stdio.h>. (__openat_2): New function. (__openat64_2): New alias to __openat_2.
2008-07-02* sysdeps/mach/hurd/recv.c (__recv): Initialize NPORTS.Roland McGrath4-3/+4
* 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.
2008-07-02* sysdeps/unix/bsd/bsd4.4/bits/socket.h: Define MSG_NOSIGNAL.Roland McGrath1-1/+1
* hurd/hurd/fd.h (__hurd_sockfail): Add extern inline function. * sysdeps/mach/hurd/recv.c (__recv): Use __hurd_sockfail instead of __hurd_dfail. * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise. * sysdeps/mach/hurd/recvmsg.c (__recvmsg): Likewise. * sysdeps/mach/hurd/send.c (__send): Likewise. * sysdeps/mach/hurd/sendto.c (__sendfrom): Likewise. * sysdeps/mach/hurd/sendmsg.c (__sendmsg): Likewise.
2008-07-022008-07-01 Samuel Thibault <samuel.thibault@ens-lyon.org>Roland McGrath5-7/+7
* sysdeps/unix/bsd/bsd4.4/bits/socket.h: Define MSG_NOSIGNAL. * hurd/hurd/fd.h (__hurd_sockfail): Add extern inline function. * sysdeps/mach/hurd/recv.c (__recv): Use __hurd_sockfail instead of __hurd_dfail. * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise * sysdeps/mach/hurd/recvmsg.c (__recvmsg): Likewise * sysdeps/mach/hurd/send.c (__send): Likewise * sysdeps/mach/hurd/sendfrom.c (__sendfrom): Likewise * sysdeps/mach/hurd/sendmsg.c (__sendmsg): Likewise
2008-05-06* sysdeps/mach/hurd/bits/ioctls.h (NL0, NL1, TAB0, TAB1, TAB2, CR0,Roland McGrath1-11/+45
CR1, CR2, CR3, FF0, FF1, BS0, BS1): Undefine these at start if they are already defined to avoid collision with termios.h.
2008-03-19Remove useless "if" before "free".Ulrich Drepper1-2/+1
2008-03-082008-03-08 Roland McGrath <roland@frob.com>Roland McGrath1-1/+5
* sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Clear DF bit in thread state's eflags. Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>.
2007-11-182007-11-18 Roland McGrath <roland@frob.com>Roland McGrath1-1/+3
* sysdeps/mach/hurd/bits/fcntl.h (O_CLOEXEC): Fix value.
2007-11-13Hurd-specific kernel-features.h.Ulrich Drepper1-0/+31
2007-10-172007-10-17 Roland McGrath <roland@frob.com>Roland McGrath2-3/+14
* sysdeps/mach/hurd/bits/fcntl.h [__USE_GNU__] (F_DUPFD_CLOEXEC): New. * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Implement it.