aboutsummaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2011-09-10Remove support for !USE___THREADUlrich Drepper4-49/+17
2011-09-10Cleanup of configuration optionsUlrich Drepper2-27/+8
Make several tool features mandatory and simplify the code.
2011-09-08Add range checking for FD_SET, FD_CLR, and FD_ISSETUlrich Drepper1-0/+1
2011-08-11Clean up PLT use for scandiratAndreas Schwab1-5/+2
2011-08-09Implement scandirat functionUlrich Drepper1-0/+14
2011-05-312.14 releaseglibc-2.14Ulrich Drepper1-1/+1
2011-05-20Don't unconditionally use alloca in gaih_inetUlrich Drepper1-5/+14
2011-05-15Fix a few problems in fopen and freopenUlrich Drepper1-0/+2
fopen should set the FD_CLOEXEC flag if requested evenif the kernel does not support an aotmic operation. freopen should reuse the file descriptor for the stream. This is especially important for calls to change the standard streams (stin, stdout, stderr).
2011-05-15Use mmap for allocation of buffers used for __abort_msgUlrich Drepper2-4/+15
2011-05-08Make complete getcwd work in rtldUlrich Drepper1-0/+4
2011-05-08Fix Linux getcwd for long pathsUlrich Drepper2-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).
2011-05-08Optimize fdopendir a bit.Ulrich Drepper1-1/+2
Don't call fcntl(F_SETFD) unnecessarily.
2011-04-16Obsolete RPC implementation in libc.Ulrich Drepper14-143/+139
2011-04-02Update comment about feature macros.Ulrich Drepper1-0/+1
2011-03-10Fix copy relocations handling of unique objects.Ulrich Drepper1-1/+0
2011-02-25Fix memory leak in dlopen with RTLD_NOLOAD.Andreas Schwab1-1/+4
2011-01-172.13 releaseglibc-2.13Ulrich Drepper1-2/+3
2011-01-13Clean up PLT use for getrlimit64.Ulrich Drepper1-0/+1
2011-01-13Fix PLT use due to __libc_alloca_cutoff.Ulrich Drepper1-0/+1
2010-12-09Fix typo in comment.Ulrich Drepper1-1/+1
2010-10-24Require suid bit on audit objects in privileged programsAndreas Schwab1-0/+1
2010-10-11Correct implementation of fmaf.Jakub Jelinek1-0/+2
2010-09-01Remove duplicate version of pmap_getport from NIS code.Ulrich Drepper1-0/+5
2010-05-03Prepare for release.glibc-2.12Ulrich Drepper1-1/+1
2010-03-27Fix handling of __need_mbstate_t and __need_wint_t.Ulrich Drepper1-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.
2010-03-24Fix Linux getlogin{_r,} implementationUlrich Drepper1-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.
2010-03-24Fix handling of STB_GNU_UNIQUE in LD_TRACE_PRELINKINGUlrich Drepper1-1/+5
2010-02-09Avoid PLT call to fegetenv on s390Andreas Schwab1-0/+1
2010-01-15Fix _XOPEN_SOURCE_EXTENDED handling.Ulrich Drepper1-4/+2
2010-01-11Fix up wchar.h for XPG7.Ulrich Drepper1-0/+6
2010-01-09Add support for XPG7 testing.Ulrich Drepper1-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.
2009-12-23Fix isomac test after recent header change.Ulrich Drepper1-1/+5
2009-12-15Avoid ELF lookup race.Ulrich Drepper1-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.
2009-11-24Optimize grantpt.Ulrich Drepper1-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.
2009-10-302.11 release.glibc-2.11Ulrich Drepper1-1/+1
2009-10-30Implement mkstemps and mkstemps64.Ulrich Drepper1-1/+2
2009-10-19Correct errno handling in expm1.Andreas Schwab1-0/+3
2009-09-01Add hidden alias for fflush.Andreas Schwab1-0/+1
2009-07-29Prepare use if IFUNC functions outside libc.so.Ulrich Drepper1-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.
2009-07-23Make include/unistd.h suitable for C++ test cases.Duncan Simpson1-0/+4
2009-07-16Use rel semantics of cas instead of acq semantics with full barrier before ↵Jakub Jelinek1-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.
2009-07-07Clean up code for hash table handling in ld.so.Ulrich Drepper1-69/+3
2009-06-15Preserve message printed before abort.Ulrich Drepper1-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
2009-06-02Add missing __execvpe prototype.Ulrich Drepper1-0/+2
Avoids warnings.
2009-05-31Finish IFUNC support for x86 and x86-64.Ulrich Drepper1-0/+17
Add support for the IRELAIVE relocation and IFUNC in static executables.
2009-05-15Avoid double definition of catomic_compare_and_exchange_val_acq.Jakub Jelinek1-9/+10
2009-05-15Check for valid stack frame in longjmp.Ulrich Drepper2-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.
2009-05-09* version.h (VERSION): Bump for 2.10 release.cvs/fedora-glibc-20090509T1828Ulrich Drepper1-1/+1
* include/features.h (__GLIBC_MINOR__): Bump to 10.
2009-04-25* include/features.h: _POSIX_C_SOURCE >= 200112L implies C99.Ulrich Drepper1-0/+2
2009-04-23[BZ #9955]Ulrich Drepper1-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.