aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic
AgeCommit message (Collapse)AuthorFilesLines
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 non-installed headers.Joseph Myers1-5/+1
2012-01-26Remove __STDC__ conditionals from installed headers.Joseph Myers1-5/+1
2012-01-08Optimize xmalloc, xcalloc, xrealloc, and xstrdupUlrich Drepper1-5/+8
Add alloc_size attribute and apply consistently the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
2012-01-08More fallout from supporting only ELFUlrich Drepper2-19/+5
2012-01-07Remove pre-ISO C supportUlrich Drepper3-28/+26
No more __const.
2012-01-07Remove Alpha support from ldsodefs.hUlrich Drepper1-10/+0
2012-01-07More IA-64 removalUlrich Drepper1-11/+1
2011-12-10Optimize generic ELF hash function a bit moreUlrich Drepper1-1/+4
2011-12-04Small optimization of generic ELF hash functionUlrich Drepper1-25/+22
2011-12-04Fix attreibute for _dl_elf_hashUlrich Drepper1-1/+1
2011-12-03Fix more warningsUlrich Drepper1-1/+2
2011-11-12Prepare dwarf2.h for multiple inclusionUlrich Drepper1-0/+5
2011-11-12Fix incomplete edit in last patchUlrich Drepper1-2/+0
2011-11-12Avoid redefinition of DWARF constantsUlrich Drepper2-76/+47
2011-08-16Improve printing of lookup scopesUlrich Drepper1-1/+1
The scope of a new object should be printed earlier and when the scope of an already loaded object is extended only the changes should be printed.
2011-08-14Warning patrol.Roland McGrath1-1/+1
2011-08-13Implement LD_DEBUG=scopesUlrich Drepper1-2/+6
2011-07-19_dl_sort_fini: Remove unused argumentMarek Polacek1-3/+3
2011-06-29Fix build with multiarch disabled.Aurelien Jarno1-1/+8
2011-05-15Make stack canary value harder to read through read overflowUlrich Drepper1-9/+21
2011-05-14Fix typo in commentUlrich Drepper1-1/+1
2011-05-14Fix potential problem with out-of-scope bufferUlrich Drepper1-2/+2
2011-04-22Remove doubled words.Jim Meyering1-2/+2
2010-10-26Fix concurrency problem between dl_open and dl_iterate_phdrAndreas Krebbel1-2/+5
2010-10-24Require suid bit on audit objects in privileged programsAndreas Schwab1-4/+2
2010-08-11Fix IPTOS_CLASS definition.Ulrich Drepper1-3/+2
2010-05-03Don't deadlock in __dl_iterate_phdr while (un)loading objects.Andreas Schwab1-0/+4
2010-03-26Mark _dl_random attribute_relro in the header file.Richard Henderson1-1/+1
It's already so marked in dl-sysdep.c. Failure to so mark in the header file leads the compiler to believe that the variable should be addressable via the .sdata section. Signed-off-by: Richard Henderson <rth@twiddle.net>
2010-01-15ld.so: Adjust the auxv if ld.so is directly invoked.Andreas Krebbel1-2/+3
If a binary gets invoked by passing it as argument to ld.so the stack still holds the auxiliary vector of ld.so when entering the _start routine of the executable. So the invocation via ld.so is not fully transparent to the executable. This causes problems if the executable wants to scan the auxv itself.
2010-01-14Define IPTOS_CLASS_* macros according to RFC 2474.Philip Prindeville1-12/+31
2009-11-03Make name of libgcc_s library configurableAndreas Schwab2-1/+4
2009-10-30Uglify IFUNC tests for PPC.Alan Modra1-0/+26
2009-10-29Add macros for DSCP markings.Philip Prindeville1-1/+37
2009-08-20Improve backtrace_symbols{,_fd} output when missing symbols.roland/backtrace-symsRoland McGrath2-46/+83
2009-07-23Handle unloading of DSO with a unique symbol definition.Ulrich Drepper1-1/+1
2009-07-17Replace hand-coded unwind tables from x86-64 pthread_once.Ulrich Drepper1-7/+36
2009-07-16Remove warning and little optimization.Ulrich Drepper1-0/+4
The prototype for _dl_higher_prime_number was missing. While at it, the function is now marked with internal_function.
2009-07-09Implement STB_GNU_UNIQUE handling.Ulrich Drepper1-0/+15
Some symbols have to be identified process-wide by their name. This is particularly important for some C++ features (e.g., class local static data and static variables in inline functions). This cannot completely be implemented with ELF functionality so far. The STB_GNU_UNIQUE binding helps by ensuring the dynamic linker will always use the same definition for all symbols with the same name and this binding.
2009-06-16Extend pt_chown to drop privileges.Ulrich Drepper1-2/+3
If libcap is available, use it to drop privileges in pt_chown before starting the work to change the permissions and ownership of the slave device.
2009-05-31Finish IFUNC support for x86 and x86-64.Ulrich Drepper1-0/+23
Add support for the IRELAIVE relocation and IFUNC in static executables.
2009-04-25for lgamma should set errno to ERANGE, not EDOM.Ulrich Drepper1-1/+1
2009-04-25* sysdeps/generic/stdint.h (WINT_MAX): Define as 2147483647 sinceUlrich Drepper1-1/+1
this is the maximum UCS4 value.
2009-04-23[BZ #9955]Ulrich Drepper1-0/+1
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.
2009-04-01* elf/dl-open.c: Keep track of used name spaces and only iterate overcvs/fedora-glibc-20090401T0935Ulrich Drepper1-0/+2
those which are used. * elf/dl-addr.c: Likewise. * elf/dl-caller.c: Likewise. * elf/dl-fini.c: Likewise. * elf/dl-iteratephdr.c: Likewise. * elf/dl-libc.c: Likewise. * elf/dl-load.c: Likewise. * elf/dl-support.c: Likewise. * elf/dl-sym.c: Likewise. * elf/rtld.c: Likewise. * sysdeps/generic/ldsodefs.h: Likewise.
2009-03-31* elf/dl-load.c: Remove support for systems without MAP_ANON.Ulrich Drepper1-5/+0
* elf/dl-minimal.c: Likewise. * elf/dl-misc.c: Likewise. * elf/rtld.c: Likewise. * sysdeps/generic/ldsodefs.h: Likewise.
2009-03-16[BZ #9733]Ulrich Drepper1-2/+2
* elf/dl-load.c (_dl_map_object_from_fd): Only call audit hooks if we are not loading a new audit library. * elf/dl-reloc (_dl_relocate_object): Third parameter is now a bitmask. Only use profiling trampoline for auditing if we are not relocating an audit library. * elf/dl-open.c (dl_open_worker): Adjust _dl_relocate_object call. * elf/rtld.c: Likewise. * sysdeps/generic/ldsodefs.h: Adjust _dl_relocate_object prototype.
2009-01-30* sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): UseUlrich Drepper1-2/+21
memcpy instead of memcmp. (_dl_setup_pointer_guard): Likewise.
2009-01-11* sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): TakeUlrich Drepper2-7/+27
one parameter. If non-NULL use it to initialize return value. (_dl_setup_pointer_guard): New function. * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise. * sysdeps/generic/ldsodefs.h: Declare _dl_random. * elf/rtld.c (security_init): Pass _dl_random to _dl_setup_stack_chk_guard. Call _dl_setup_pointer_guard to initialize pointer_chk_guard. * elf/dl-sysdep.c (_dl_random): New variable. (_dl_sysdep_start): Handle AT_RANDOM. (_dl_show_auxv): Likewise. * elf/dl-support.c (_dl_random): New variable. (_dl_aux_init): Handle AT_RANDOM. * csu/libc-start.c [!SHARED] (libc_start_main): Pass _dl_random to _dl_setup_stack_chk_guard. * elf/elf.h (AT_RANDOM): Define AT_BASE_PLATFORM and AT_RANDOM.