about summary refs log tree commit diff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Make complete getcwd work in rtldUlrich Drepper2011-05-081-0/+4
|
* Fix Linux getcwd for long pathsUlrich Drepper2011-05-082-0/+4
| | | | | | | | | | 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).
* Optimize fdopendir a bit.Ulrich Drepper2011-05-081-1/+2
| | | | Don't call fcntl(F_SETFD) unnecessarily.
* Obsolete RPC implementation in libc.Ulrich Drepper2011-04-1614-143/+139
|
* Update comment about feature macros.Ulrich Drepper2011-04-021-0/+1
|
* Fix copy relocations handling of unique objects.Ulrich Drepper2011-03-101-1/+0
|
* Fix memory leak in dlopen with RTLD_NOLOAD.Andreas Schwab2011-02-251-1/+4
|
* 2.13 release glibc-2.13Ulrich Drepper2011-01-171-2/+3
|
* Clean up PLT use for getrlimit64.Ulrich Drepper2011-01-131-0/+1
|
* Fix PLT use due to __libc_alloca_cutoff.Ulrich Drepper2011-01-131-0/+1
|
* Fix typo in comment.Ulrich Drepper2010-12-091-1/+1
|
* Require suid bit on audit objects in privileged programsAndreas Schwab2010-10-241-0/+1
|
* Correct implementation of fmaf.Jakub Jelinek2010-10-111-0/+2
|
* Remove duplicate version of pmap_getport from NIS code.Ulrich Drepper2010-09-011-0/+5
|
* Prepare for release. glibc-2.12Ulrich Drepper2010-05-031-1/+1
|
* Fix handling of __need_mbstate_t and __need_wint_t.Ulrich Drepper2010-03-271-0/+5
| | | | | | Like the real header, the libc-internal wrapper for wchar.h needs to undefine the macros so that if the header was already included before the macros don't stay defined and cause problems later.
* Fix Linux getlogin{_r,} implementationUlrich Drepper2010-03-241-0/+3
| | | | | | | | | The old implementation uses fd 0 to determine the login TTY. This was needed because using /dev/tty it is not possible to deduce the login TTY. For some time now there is the pseudo-file /proc/self/loginuid which directly helps us to find the user. Prefer using this file. It also works if stdin is closed, redirected, or re-opened.
* Fix handling of STB_GNU_UNIQUE in LD_TRACE_PRELINKINGUlrich Drepper2010-03-241-1/+5
|
* Avoid PLT call to fegetenv on s390Andreas Schwab2010-02-091-0/+1
|
* Fix _XOPEN_SOURCE_EXTENDED handling.Ulrich Drepper2010-01-151-4/+2
|
* Fix up wchar.h for XPG7.Ulrich Drepper2010-01-111-0/+6
|
* Add support for XPG7 testing.Ulrich Drepper2010-01-091-2/+7
| | | | | The header conformance testing code needed extending for XPG7. This exposed a few bugs in the headers. There are more changes to come.
* Fix isomac test after recent header change.Ulrich Drepper2009-12-231-1/+5
|
* Avoid ELF lookup race.Ulrich Drepper2009-12-151-3/+5
| | | | | | On some architectures the update of the l_used field in the lookup functions races with setting the other bits in the bitfield. Simply avoid this and optimize use of l_used in general.
* Optimize grantpt.Ulrich Drepper2009-11-241-0/+3
| | | | | | grantpt was performing two consecutive calls to stat with the same file name. Avoid this by creating a special version of the ptsname function which allows to pass the stat result back to the caller.
* 2.11 release. glibc-2.11Ulrich Drepper2009-10-301-1/+1
|
* Implement mkstemps and mkstemps64.Ulrich Drepper2009-10-301-1/+2
|
* Correct errno handling in expm1.Andreas Schwab2009-10-191-0/+3
|
* Add hidden alias for fflush.Andreas Schwab2009-09-011-0/+1
|
* Prepare use if IFUNC functions outside libc.so.Ulrich Drepper2009-07-291-1/+12
| | | | | | We use a callback function into libc.so to get access to the data structure with the information and have special versions of the test macros which automatically use this function.
* Make include/unistd.h suitable for C++ test cases.Duncan Simpson2009-07-231-0/+4
|
* Use rel semantics of cas instead of acq semantics with full barrier before ↵Jakub Jelinek2009-07-161-11/+21
| | | | | | | | | | | it in _int_free The following patch fixes catomic_compare_and_exchange_*_rel definitions (which were never used and weren't correct) and uses catomic_compare_and_exchange_val_rel in _int_free. Comparing to the pre-2009-07-02 --enable-experimental-malloc state the generated code should be identical on all arches other than ppc/ppc64 and on ppc/ppc64 should use lwsync instead of isync barrier.
* Clean up code for hash table handling in ld.so.Ulrich Drepper2009-07-071-69/+3
|
* Preserve message printed before abort.Ulrich Drepper2009-06-151-0/+3
| | | | | | | The terminal output etc is not visible in a core file. The new libc-internal variable __abort_msg will point to a string with the message which has been printed before the abort in case abort is called from inside libc. BZ #10217
* Add missing __execvpe prototype.Ulrich Drepper2009-06-021-0/+2
| | | | Avoids warnings.
* Finish IFUNC support for x86 and x86-64.Ulrich Drepper2009-05-311-0/+17
| | | | Add support for the IRELAIVE relocation and IFUNC in static executables.
* Avoid double definition of catomic_compare_and_exchange_val_acq.Jakub Jelinek2009-05-151-9/+10
|
* Check for valid stack frame in longjmp.Ulrich Drepper2009-05-152-1/+3
| | | | | | | If longjmp restores the stack frame to an address which is beyond the stack frame at the time of the longjmp call it would install an uninitialized stack frame. If compiled with _FORTIFY_SOURCE defined, longjmp will now bail out in this situation.
* * version.h (VERSION): Bump for 2.10 release. cvs/fedora-glibc-20090509T1828Ulrich Drepper2009-05-091-1/+1
| | | | * include/features.h (__GLIBC_MINOR__): Bump to 10.
* * include/features.h: _POSIX_C_SOURCE >= 200112L implies C99.Ulrich Drepper2009-04-251-0/+2
|
* [BZ #9955]Ulrich Drepper2009-04-231-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-04-23 Ulrich Drepper <drepper@redhat.com> [BZ #9955] * gshadow/Makefile: New file. * gshadow/Versions: New file. * gshadow/fgetsgent.c: New file. * gshadow/fgetsgent_r.c: New file. * gshadow/getsgent.c: New file. * gshadow/getsgent_r.c: New file. * gshadow/getsgnam.c: New file. * gshadow/getsgnam_r.c: New file. * gshadow/gshadow.h: New file. * gshadow/putsgent.c: New file. * gshadow/sgetsgent.c: New file. * gshadow/sgetsgent_r.c: New file. * gshadow/tst-gshadow.c: New file. * include/gshadow.h: New file. * Makeconfig (all-subdirs): Add gshadow. * Makefile (installed-headers): Add gshadow/gshadow.h. * nss/Makefile (databases): Add sgrp. * nss/Versions: Add gshadow functions as private exports. * nss/nsswitch.conf: Add gshadow entry. * nss/sgrp-lookup.c: New file. * nss/nss_files/files-parse.c: Add STRING_LIST macro. Rewrite parse_list to handle STRING_LIST and TRAILING_LIST_PARSER. * nss/nss_files/files-sgrp.c: New file. * sysdeps/generic/paths.h: Add _PATH_GSHADOW. * sysdeps/unix/sysv/linux/paths.h: Likewise.
* Yet more changes to match sort function type change.Ulrich Drepper2009-03-171-3/+5
|
* * config.h.in (USE_MULTIARCH): Define.Ulrich Drepper2009-03-131-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Handle --enable-multi-arch. * elf/dl-runtime.c (_dl_fixup): Handle STT_GNU_IFUNC. (_dl_fixup_profile): Likewise. * elf/do-lookup.c (dl_lookup_x): Likewise. * sysdeps/x86_64/dl-machine.h: Handle STT_GNU_IFUNC. * elf/elf.h (STT_GNU_IFUNC): Define. * include/libc-symbols.h (libc_ifunc): Define. * sysdeps/x86_64/cacheinfo.c: If USE_MULTIARCH is defined, use the framework in init-arch.h to get CPUID values. * sysdeps/x86_64/multiarch/Makefile: New file. * sysdeps/x86_64/multiarch/init-arch.c: New file. * sysdeps/x86_64/multiarch/init-arch.h: New file. * sysdeps/x86_64/multiarch/sched_cpucount.c: New file. * config.make.in (experimental-malloc): Define. * configure.in: Handle --enable-experimental-malloc. * malloc/Makefile: Handle experimental-malloc flag. * malloc/malloc.c: Implement PER_THREAD and ATOMIC_FASTBINS features. * malloc/arena.c: Likewise. * malloc/hooks.c: Likewise. * malloc/malloc.h: Define M_ARENA_TEST and M_ARENA_MAX.
* * include/stdio.h (fmemopen): Add libc_hidden_proto.Ulrich Drepper2009-03-101-0/+1
| | | | | | * libio/fmemopen.c (fmemopen): Add libc_hidden_def. * elf/sprof.c: Avoid warning about multi-line comment.
* * include/features.h: Define macros for XPG7/POSIX 2008.Ulrich Drepper2009-02-261-4/+18
| | | | | | | | | | | | | | * sysdeps/unix/sysv/linux/bits/stat.h: Protect UTIME_NOW and UTIME_OMIT only with __USE_ATFILE. * sysdeps/unix/sysv/linux/ia64/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Likewise. * io/sys/stat.h: Move mknodat definition into same conditional as mknod. * time/sys/time.h: futimesat is not among the functions accepted into the POSIX standard.
* * include/features.h: If no feature selection given and we selectUlrich Drepper2009-02-261-1/+2
| | | | | | | | | | | | | | | | | | | | | by default a POSIX mode, also define __USE_POSIX_IMPLICITLY. * posix/Versions: Export __posix_getopt. * posix/getopt.c (_getopt_initialize): Take additional parameter. Use it to alternatively initialize __posixly_correct. (_getopt_internal_r): Take addition parameter. Pass on to _getopt_initialize. (_getopt_internal): Take addition parameter. Pass on to _getopt_internal_r. (getopt): Pass additional zero to _getopt_internal. (__posix_getopt): New function. * posix/getopt.h: Add redirection for getopt. * posix/getopt1.c (getopt_long): Pass additional zero to _getopt_internal. (getopt_long_only): Likewise. (_getopt_long_r): Pass additional zero to _getopt_internal_r. (_getopt_long_only_r): Likewise. * posix/getopt_int.h: Adjust declarations of _getopt_internal and _getopt_internal_r.
* * include/atomic.h: Define catomic_and if not already defined.Ulrich Drepper2009-02-081-1/+17
| | | | | * sysdeps/x86_64/bits/atomic.h: Define catomic_and. * sysdeps/i386/i486/bits/atomic.h: Likewise.
* * malloc/malloc.c (_int_free): Second argument is now mchunkptr.Ulrich Drepper2009-02-071-13/+0
| | | | | | | | | | Change all callers. (_int_realloc): Likewise. All _int_* functions are now static. * malloc/hooks.c: Change all callers to _int_free and _int_realloc. * malloc/arena.c: Likewise. * include/malloc.h: Remove now unnecessary declarations of the _int_* functions.
* * include/rpc/auth.h: Use libc_hidden_proto for _null_auth.Ulrich Drepper2009-02-061-0/+2
| | | | | * sunrpc/rpc_common.c: Add libc_hidden_def for _null_auth. Also move _null_auth to .rodata.
* * sysdeps/i386/stackinfo.h (stackinfo_get_sp): Define.Ulrich Drepper2009-01-291-2/+2
| | | | (stackinfo_sub_sp): Define.