summary refs log tree commit diff
path: root/hurd
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 2008-07-01 Samuel Thibault <samuel.thibault@ens-lyon.org>Roland McGrath2008-07-021-0/+13
| | | | | | | | | | | | * 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
* * hurd/hurdsig.c (_hurd_internal_post_signal): When normal rules wouldRoland McGrath2008-03-081-1/+8
| | | | | | ignore a signal that came from a machine exception, treat it as a fatal core-dump signal instead. Reported by Samuel Thibault <samuel.thibault@ens-lyon.org>.
* 2008-01-20 Samuel Thibault <samuel.thibault@ens-lyon.org>Roland McGrath2008-01-211-1/+1
| | | | | | * hurd/hurdsock.c (_hurd_socket_server): Return the standard error EAFNOSUPPORT rather than non-standard EPFNOSUPPORT. * sunrpc/bindrsvprt.c (bindresvport): Likewise.
* [BZ #3665, BZ #4126, BZ #4178, BZ #4610]Roland McGrath2007-07-231-1/+2
| | | | | | | | | | * 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-2/+2
| | | | | * sysdeps/mach/hurd/bits/fcntl.h [__USE_GNU] (O_CLOEXEC): New macro. * hurd/port2fd.c (_hurd_port2fd): Implement O_CLOEXEC.
* * bits/types.h: Don't include stddef.h, don't define __need_size_t.Ulrich Drepper2007-07-191-0/+1
| | | | | | | | | | | | * signal/signal.h <__USE_BSD || __USE_XOPEN_EXTENDED>: Define __need_size_t and include stddef.h. * sysvipc/sys/msg.h: Likewise. * posix/sched.h: Likewise. * hurd/hurd/signal.h (__need_size_t): Define. * CONFORMANCE: ctype.h and wctype.h no longer define size_t, neither does signal.h in pedantic ISO C namespaces. stdio.h no longer defines wint_t or wchar_t.
* * configure.in (libc_cv_gnu89_inline): Test for -fgnu89-inline.Ulrich Drepper2007-03-176-12/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config.make.in (gnu89-inline-CFLAGS): New variable. * Makeconfig (CFLAGS): Use $(gnu89-inline-CFLAGS) together with -std=gnu99. * misc/sys/cdefs.h (__extern_inline, __extern_always_inline): Define. * argp/argp.h: Use it. * bits/mathinline.h: Likewise. * bits/sigset.h: Likewise. * bits/string.h: Likewise. * ctype/ctype.h: Likewise. * hurd/hurd.h: Likewise. * hurd/hurd/fd.h: Likewise. * hurd/hurd/port.h: Likewise. * hurd/hurd/signal.h: Likewise. * hurd/hurd/threadvar.h: Likewise. * hurd/hurd/userlink.h: Likewise. * io/sys/stat.h: Likewise. * libio/bits/stdio.h: Likewise. * libio/bits/stdio2.h: Likewise. * mach/lock-intern.h: Likewise. * mach/mach/mig_support.h: Likewise. * math/bits/cmathcalls.h: Likewise. * posix/bits/unistd.h: Likewise. * socket/bits/socket2.h: Likewise. * stdlib/bits/stdlib.h: Likewise. * stdlib/stdlib.h: Likewise. * string/argz.h: Likewise. * string/bits/string2.h: Likewise. * string/bits/string3.h: Likewise. * sysdeps/alpha/fpu/bits/mathinline.h: Likewise. * sysdeps/generic/inttypes.h: Likewise. * sysdeps/generic/machine-lock.h: Likewise. * sysdeps/generic/machine-sp.h: Likewise. * sysdeps/i386/fpu/bits/mathinline.h: Likewise. * sysdeps/i386/i486/bits/string.h: Likewise. * sysdeps/ia64/fpu/bits/mathinline.h: Likewise. * sysdeps/mach/alpha/machine-lock.h: Likewise. * sysdeps/mach/alpha/machine-sp.h: Likewise. * sysdeps/mach/i386/machine-lock.h: Likewise. * sysdeps/mach/powerpc/machine-lock.h: Likewise. * sysdeps/mach/powerpc/machine-sp.h: Likewise. * sysdeps/powerpc/fpu/bits/mathinline.h: Likewise. * sysdeps/s390/bits/string.h: Likewise. * sysdeps/s390/fpu/bits/mathinline.h: Likewise. * sysdeps/sparc/fpu/bits/mathinline.h: Likewise. * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Likewise. * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise. * sysdeps/unix/sysv/linux/bits/socket.h: Likewise. * sysdeps/unix/sysv/linux/sys/sysmacros.h: Likewise. * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise. * wcsmbs/bits/wchar2.h: Likewise. * wcsmbs/wchar.h: Likewise. * stdlib/gmp.h: Likewise. Include <features.h> to get __extern_inline definition. * locale/programs/ld-ctype.c (find_translit): Return NULL if ctype is NULL.
* 2006-08-02 Thomas Schwinge <tschwinge@gnu.org>Roland McGrath2006-08-031-2/+5
| | | | | * hurd/getdport.c (__detdport): Don't return EBADF; instead set errno to EBADF and return MACH_PORT_NULL.
* * sysdeps/mach/hurd/faccessat.c: New file.Roland McGrath2006-03-065-21/+159
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sysdeps/mach/hurd/fchmodat.c: New file. * sysdeps/mach/hurd/fchownat.c: New file. * sysdeps/mach/hurd/fxstatat.c: New file. * sysdeps/mach/hurd/fxstatat64.c: New file. * sysdeps/mach/hurd/linkat.c: New file. * sysdeps/mach/hurd/mkdirat.c: New file. * sysdeps/mach/hurd/openat.c: New file. * sysdeps/mach/hurd/openat64.c: New file. * sysdeps/mach/hurd/symlinkat.c: New file. * sysdeps/mach/hurd/unlinkat.c: New file. * sysdeps/mach/hurd/xmknod.c (__xmknod): Just call __xmknodat. Guts move to ... * sysdeps/mach/hurd/xmknodat.c: ... here, new file. * hurd/lookup-at.c: New file. * hurd/Makefile (routines): Add it. * hurd/hurd/fd.h: Declare __file_name_lookup_at, __file_name_split_at and __directory_name_split_at. * hurd/hurd/lookup.h: Declare {,__}hurd_directory_name_split. * hurd/hurdlookup.c (__hurd_directory_name_split): Use __memrchr unconditionally. * sysdeps/mach/hurd/open.c: Define {,__,__libc_,}open64 as aliases. * sysdeps/mach/hurd/open64.c: New file.
* * Makefile (subdir-target-args): New variable.Roland McGrath2006-02-281-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ($(all-subdirs-targets)): Use it in place of -C option. * Rules: Use $(..) instead of ../ if it's already defined. * Makeconfig (subdir-srcdirs): New variable. * csu/Makefile (all-Banner-files): Use it. * configure.in (--enable-add-ons): Set to "yes" by default. Handle absolute add-on directory names when looking for configure fragments. Also look for sysdeps/*/preconfigure fragments in add-ons. Require add-on configure to set $libc_add_on_canonical, use that in $add_ons_sfx. Substitute add_on_subdirs with computed list of subdir names each add-on configure set in libc_add_on_subdirs. * configure: Regenerated. * Makefile (%/preconfigure: %/preconfigure.in): New pattern rule. * config.make.in (add-on-subdirs): New substituted variable. * Makeconfig (all-subdirs): Include $(add-on-subdirs). Remove $(add-ons), $(sysdep-subdirs). Don't filter out $(sysdep-inhibit-subdirs). ($(common-objpfx)sysd-dirs): Target removed. Don't include it. ($(common-objpfx)sysd-sorted): Rewritten to feed Depend and Subdirs files together to gen-sorted.awk, and $(subdirs) via -v. (subdirs): Remove magic reordering for mach and hurd. * scripts/gen-sorted.awk: Use subdirs from command line. Process Subdirs and Depend files directly. Let Subdirs files use "first dir" and "inhibit dir". Always move elf to the end of the list. * hurd/Depend: New file. * sysdeps/mach/Subdirs: Use "first mach". * Makefile (dist-separate): Remove linuxthreads. (dist-separate-linuxthreads): Variable removed. (glibc-%.tar rule): Use $(sysdeps-add-ons). * Makerules ($(common-objpfx)Versions.v.i): Use $(subdirs), not $(all-subdirs). (sysdep-makefiles): Use $(sysdirs). (sysdirs): Remove export. ($(+sysdir_pfx)sysd-rules): Handle absolute directory names in $(config-sysdirs). (+sysdir_pfx): Variable removed. (sysd-rules): Use $(common-objpfx) in place of it. (sysdirs): Variable moved to ... * Makeconfig (sysdirs): ... here. Handle absolute directory names in $(config-sysdirs). (full_config_sysdirs): Variable removed. * csu/Makefile: Use $(sysdirs) in vpath directive. * math/Makefile (ulps-file): Use $(sysdirs). * sysdeps/gnu/Makefile (errlist-c): Likewise. ($(objpfx)errlist-compat.c): Likewise. * Makeconfig (all-Subdirs-files): Likewise. ($(common-objpfx)config.status): Likewise. * configure.in (sysnames): Handle absolute add-on directory names. (sysdeps_add_ons): New variable, AC_SUBST it. Compute which add-ons contributed sysdeps directories. * configure: Regenerated. * config.make.in (sysdeps-add-ons): New substituted variable. * Makerules (+sysdep_dirs, +sysdep-includes): Variables moved ... * Makeconfig: ... to here. (+sysdep_dirs): Append $(sysdeps-add-ons) here. (+includes): Remove $(objpfx) include, already in $(+sysdep_dirs). Remove $(includes). (sysdep-makeconfigs): Use $(+sysdep_dirs). ($(common-objpfx)shlib-versions.v.i): Likewise. * Makeconfig: Remove hair to set Makeconfig-add-on. * sysdeps/unix/Makefile (sysdirs): Remove export. (asm_CPP): Variable removed. ($(common-objpfx)sysd-syscalls): Pass them directly for the script. * sysdeps/posix/Makefile: New file. * Makerules (L_tmpnam, TMP_MAX, L_ctermid, L_cuserid): Set non-posix values here with ?=. * stdlib/gen-mpn-copy: File removed. * stdlib/Makefile (distribute): Remove it. * configure.in: Don't grok --with-gmp. * configure: Regenerated. * configure.in (libc_cv_idn): Don't check it; libidn/configure does it. * configure: Regenerated. * bare: Directory removed, saved in ports repository.
* * hurd/hurd/xattr.h: New file.Roland McGrath2006-02-203-2/+238
| | | | | | | | | | | | | | | * hurd/xattr.c: New file. * hurd/Makefile (routines): Add it. * sysdeps/mach/hurd/fgetxattr.c: New file. * sysdeps/mach/hurd/flistxattr.c: New file. * sysdeps/mach/hurd/fremovexattr.c: New file. * sysdeps/mach/hurd/fsetxattr.c: New file. * sysdeps/mach/hurd/getxattr.c: New file. * sysdeps/mach/hurd/lgetxattr.c: New file. * sysdeps/mach/hurd/listxattr.c: New file. * sysdeps/mach/hurd/lsetxattr.c: New file. * sysdeps/mach/hurd/removexattr.c: New file. * sysdeps/mach/hurd/setxattr.c: New file.
* 2006-01-10 Thomas Schwinge <tschwinge@gnu.org>Roland McGrath2006-01-101-2/+2
| | | | | * hurd/sigunwind.c: Include <jmpbuf-unwind.h> instead of <setjmp.h>. * sysdeps/mach/hurd/jmp-unwind.c: Likewise.
* * sysdeps/posix/libc_fatal.c (__libc_message): Add a const, a cast.Roland McGrath2005-12-292-3/+3
| | | | | | | * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Fix cast. * hurd/report-wait.c (_S_msg_report_wait): Likewise. * include/sys/xattr.h: New file.
* 2005-12-28 Roland McGrath <roland@redhat.com>Roland McGrath2005-12-281-0/+1
| | | | | * hurd/sigunwind.c: Include <stdint.h>. * sysdeps/mach/hurd/jmp-unwind.c: Likewise.
* * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.hRoland McGrath2005-12-281-1/+9
| | | | | | | | | | | | | | | | | | | | | | (PTR_MANGLE): Fix cast. * sysdeps/alpha/bits/setjmp.h (_JMPBUF_UNWINDS): Take third argument DEMANGLE, and pass SP value through it. * sysdeps/hppa/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. * sysdeps/i386/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. * sysdeps/m68k/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. * sysdeps/mips/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. * sysdeps/powerpc/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. * sysdeps/s390/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. * sysdeps/sh/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. * sysdeps/sparc/sparc32/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. * sysdeps/unix/sysv/linux/ia64/bits/setjmp.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h: Likewise. * sysdeps/x86_64/bits/setjmp.h (_JMPBUF_UNWINDS): Likewise. * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Pass inline demangler function to _JMPBUF_UNWINDS. * sysdeps/mach/hurd/jmp-unwind.c (demangle_ptr): New function. (_longjmp_unwind): Pass it to _JMPBUF_UNWINDS.
* * elf/cache.c: Use <> rather than "" #includes.Roland McGrath2005-12-214-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * elf/chroot_canon.c: Likewise. * elf/dl-lookup.c: Likewise. * elf/ldconfig.c: Likewise. * elf/readlib.c: Likewise. * elf/rtld.c: Likewise. * gmon/mcount.c: Likewise. * hurd/hurdfault.c: Likewise. * hurd/hurdsig.c: Likewise. * hurd/report-wait.c: Likewise. * hurd/sigunwind.c: Likewise. * mach/setup-thread.c: Likewise. * rt/aio_read64.c: Likewise. * rt/aio_sigqueue.c: Likewise. * rt/aio_write64.c: Likewise. * soft-fp/soft-fp.h: Likewise. * stdio-common/tmpfile64.c: Likewise. * sysdeps/mach/hurd/fork.c: Likewise. * sysdeps/mach/hurd/hppa/trampoline.c: Likewise. * sysdeps/mach/hurd/i386/trampoline.c: Likewise. * sysdeps/mach/hurd/mips/trampoline.c: Likewise. * sysdeps/mach/hurd/powerpc/trampoline.c: Likewise. * sysdeps/posix/sprofil.c: Likewise. * sysdeps/pthread/aio_cancel.c: Likewise. * sysdeps/pthread/aio_fsync.c: Likewise. * sysdeps/pthread/aio_read64.c: Likewise. * sysdeps/pthread/aio_read.c: Likewise. * sysdeps/pthread/aio_suspend.c: Likewise. * sysdeps/pthread/aio_write64.c: Likewise. * sysdeps/pthread/aio_write.c: Likewise. * sysdeps/pthread/lio_listio64.c: Likewise. * sysdeps/pthread/lio_listio.c: Likewise. * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise. * sysdeps/unix/sysv/tcflow.c: Likewise.
* Moved to csu/errno-loc.c.Ulrich Drepper2005-12-143-0/+140
|
* * hurd/hurdmalloc.c: Remove $ tag $ magic.Roland McGrath2005-12-061-57/+1
| | | | | | | | | | | | | | | * mach/err_kern.sub: Likewise. * mach/err_server.sub: Likewise. * mach/err_us.sub: Likewise. * mach/error_compat.c: Likewise. * mach/errorlib.h: Likewise. * mach/errstring.c: Likewise. * mach/mach/error.h: Likewise. * mach/mach_error.c: Likewise. * mach/mach_error.h: Likewise. * mach/msg-destroy.c: Likewise. * mach/msgserver.c: Likewise. * sysdeps/mach/sys/reboot.h: Likewise.
* copyright updateRoland McGrath2005-10-231-1/+2
|
* [BZ #1252]Roland McGrath2005-10-231-9/+10
| | | | | | | 2005-10-17 Thomas Schwinge <tschwinge@gnu.org> [BZ #1252] * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Don't use ?: as lvalue. * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
* * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Fix a typoRoland McGrath2005-01-191-2/+2
| | | | | | | in assert. * iconv/strtab.c (strtabfinalize): Likewise. * libio/iofopncook.c (_IO_cookie_seekoff): Add prototype.
* (CFLAGS-tst-align.c): Add -mpreferred-stack-boundary=4.Ulrich Drepper2004-12-2219-589/+107
|