about summary refs log tree commit diff
path: root/sysdeps/mach
Commit message (Collapse)AuthorAgeFilesLines
* Remove --wth-tls option, TLS support is requiredUlrich Drepper2011-09-112-14/+12
|
* Remove support for automatic cvs check-insUlrich Drepper2011-09-081-5/+1
| | | | CVS use for glibc is long gone.
* sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.Samuel Thibault2011-09-081-1/+5
|
* Hurd: fix use of uninitialized value in fork port copying.Roland McGrath2011-09-081-2/+2
|
* Try shell in posix_spawn* only in compat modeUlrich Drepper2011-09-051-5/+5
|
* Fix Linux getcwd for long pathsUlrich Drepper2011-05-081-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).
* Remove doubled words.Jim Meyering2011-04-223-6/+6
|
* Fix __if_freereq crash: Unlike the generic version which uses free, Hurd ↵Samuel Thibault2011-02-211-0/+45
| | | | needs munmap.
* Add multiple inclusion protection to some Mach/i386 internal headers.Samuel Thibault2011-02-162-0/+10
|
* Change XPG-compliant strerror_r function to return error code.Ulrich Drepper2010-12-251-13/+4
|
* Remove `.ctors' and `.dtors' output sectionsH.J. Lu2010-12-242-2/+2
|
* Hurd: fix ttyname{,_r} errno result for non-ttysSamuel Thibault2010-08-032-3/+11
|
* Hurd: fix sendmsg memory leak in error pathsEmilio Pozuelo Monfort2010-07-201-2/+10
|
* Hurd: Fix linkat symlink handling.Emilio Pozuelo Monfort2010-06-021-2/+4
|
* BZ #11537: Hurd: Fix ttyname_r error return value.Bruno Haible2010-04-261-3/+3
|
* Fix typos from last patch.Ulrich Drepper2010-03-291-2/+2
|
* Handle platforms without aux vectorThomas Schwinge2010-03-291-3/+4
|
* Give Hurd weak aliases for getsysstats get_* functions.Samuel Thibault2010-01-261-0/+4
|
* Define __rtld_lock_recursive_* for Hurd.Samuel Thibault2010-01-181-0/+3
|
* Fix double-inclusion problem of bits/stat.h.Ulrich Drepper2010-01-111-1/+6
|
* Add support for XPG7 testing.Ulrich Drepper2010-01-091-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.
* Hurd: Fix spurious mach_port_deallocate in getcwd.Samuel Thibault2009-12-221-2/+2
|
* Fix Hurd mkdirat.Samuel Thibault2009-09-281-1/+2
|
* configure tweaks, support $libc_add_on_config_subdirsRoland McGrath2009-09-152-272/+395
|
* remove subsumed .gitignore entries and filesJim Meyering2009-05-161-4/+0
|
* remove COPYING* from .gitignore filesJim Meyering2009-05-161-1/+1
|
* rename each .cvsignore file to .gitignoreJim Meyering2009-05-151-0/+0
|
* * wctype/wctype.h: The *_l functions are in POSIX 2008.Ulrich Drepper2009-02-261-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.
* * sysdeps/mach/hurd/Makefile (sysdep_headers) [subdir=socket]:Roland McGrath2009-01-071-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.
* * sysdeps/mach/strerror_l.c: New file.Roland McGrath2008-11-261-0/+102
|
* Moved alpha to ports repository.Roland McGrath2008-11-2614-1409/+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.
* * bits/libc-tsd.h (__libc_tsd_define, __libc_tsd_address, Jakub Jelinek2008-11-072-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-08-11 Aurelien Jarno <aurel32@debian.org>Roland McGrath2008-08-121-2/+2
| | | | | * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock): Fix asm constraints.
* 2008-08-02 Roland McGrath <roland@frob.com>Roland McGrath2008-08-021-3/+5
| | | | | * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock): Add memory clobbers.
* 2008-07-14 Samuel Thibault <samuel.thibault@ens-lyon.org>Roland McGrath2008-07-141-0/+2
| | | | * sysdeps/mach/hurd/bits/fcntl.h: Include <sys/types.h>.
* 2008-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>Roland McGrath2008-07-072-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.
* * sysdeps/mach/hurd/recv.c (__recv): Initialize NPORTS. cvs/fedora-glibc-20080703T1203Roland McGrath2008-07-024-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.
* * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Define MSG_NOSIGNAL.Roland McGrath2008-07-021-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-01 Samuel Thibault <samuel.thibault@ens-lyon.org>Roland McGrath2008-07-025-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
* * sysdeps/mach/hurd/bits/ioctls.h (NL0, NL1, TAB0, TAB1, TAB2, CR0,Roland McGrath2008-05-061-11/+45
| | | | | CR1, CR2, CR3, FF0, FF1, BS0, BS1): Undefine these at start if they are already defined to avoid collision with termios.h.
* Remove useless "if" before "free".Ulrich Drepper2008-03-191-2/+1
|
* 2008-03-08 Roland McGrath <roland@frob.com>Roland McGrath2008-03-081-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-18 Roland McGrath <roland@frob.com>Roland McGrath2007-11-181-1/+3
| | | | * sysdeps/mach/hurd/bits/fcntl.h (O_CLOEXEC): Fix value.
* Hurd-specific kernel-features.h.Ulrich Drepper2007-11-131-0/+31
|
* 2007-10-17 Roland McGrath <roland@frob.com>Roland McGrath2007-10-172-3/+14
| | | | | * sysdeps/mach/hurd/bits/fcntl.h [__USE_GNU__] (F_DUPFD_CLOEXEC): New. * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Implement it.
* * sysdeps/mach/hurd/bits/ioctls.h (TAB3): New macro.Roland McGrath2007-09-071-0/+1
|
* 2007-08-10 Roland McGrath <roland@frob.com>Roland McGrath2007-08-101-6/+11
| | | | | | | * sysdeps/mach/hurd/bits/ioctls.h (NLDLY, TABDLY, BSDLY, VTDLY): New macros. (NLDELAY, CRDELAY, TBDELAY, BSDELAY, VTDELAY): Define to those. Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>.
* * iconv/gconv_int.h (__GCONV_NULCONV): New internal only error code.Ulrich Drepper2007-07-281-11/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * iconv/gconv_cache.c (__gconv_lookup_cache): Return __GCONV_NULCONV if from and to charsets are the same. * iconv/gconv_db.c (__gconv_find_transform): Likewise. * intl/dcigettext.c (_nl_find_msg): Return NULL even if __gconv_open returns __GCONV_NOCONV, but not for __GCONV_NULCONV. 2007-07-17 Jakub Jelinek <jakub@redhat.com> * wcsmbs/wchar.h: Only define wint_t if __need_wint_t. Don't define wint_t when __need_mbstate_t unless it is necessary. (__mbstate_t): Use __WINT_TYPE__ rather than wint_t in the typedef if possible. * wctype/wctype.h (wint_t): Define by including wchar.h with __need_wint_t instead of including stddef.h with __need_wint_t and as fallback definining it ourselves. * iconv/gconv.h (__need_wint_t): Define before including wchar.h. * sysdeps/gnu/_G_config.h: Don't include gconv.h if not _LIBC or _GLIBCPP_USE_WCHAR_T. (__need_wchar_t): Don't define if not _LIBC or _GLIBCPP_USE_WCHAR_T. (__need_wint_t): Don't define before including stddef.h, define before including wchar.h only if _LIBC or _GLIBCPP_USE_WCHAR_T. (_G_iconv_t): Don't define if not _LIBC or _GLIBCPP_USE_WCHAR_T. * sysdeps/mach/hurd/_G_config.h: Likewise. * sysdeps/generic/_G_config.h: Likewise. * libio/libio.h (__wunderflow, __wuflow, __woverflow): Only prototype if _LIBC or _GLIBCPP_USE_WCHAR_T. (_IO_getwc_unlocked, _IO_putwc_unlocked): Only define if _LIBC or _GLIBCPP_USE_WCHAR_T.
* [BZ #3665, BZ #4126, BZ #4178, BZ #4610]Roland McGrath2007-07-235-5/+11
| | | | | | | | | | * hurd/getdport.c: Add missing copyright year update. [BZ #3665] [BZ #4610] [BZ #4178] [BZ #4126] * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Define alias to __sigsuspend.
* 2007-07-22 Roland McGrath <roland@frob.com>Roland McGrath2007-07-221-1/+3
| | | | | * sysdeps/mach/hurd/bits/fcntl.h [__USE_GNU] (O_CLOEXEC): New macro. * hurd/port2fd.c (_hurd_port2fd): Implement O_CLOEXEC.