aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic
AgeCommit message (Collapse)Author
2012-01-26Remove __STDC__ conditionals from non-installed headers.Joseph Myers
2012-01-26Remove __STDC__ conditionals from installed headers.Joseph Myers
2012-01-08Optimize xmalloc, xcalloc, xrealloc, and xstrdupUlrich Drepper
Add alloc_size attribute and apply consistently the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
2012-01-08More fallout from supporting only ELFUlrich Drepper
2012-01-07Remove pre-ISO C supportUlrich Drepper
No more __const.
2012-01-07Remove Alpha support from ldsodefs.hUlrich Drepper
2012-01-07More IA-64 removalUlrich Drepper
2011-12-10Optimize generic ELF hash function a bit moreUlrich Drepper
2011-12-04Small optimization of generic ELF hash functionUlrich Drepper
2011-12-04Fix attreibute for _dl_elf_hashUlrich Drepper
2011-12-03Fix more warningsUlrich Drepper
2011-11-12Prepare dwarf2.h for multiple inclusionUlrich Drepper
2011-11-12Fix incomplete edit in last patchUlrich Drepper
2011-11-12Avoid redefinition of DWARF constantsUlrich Drepper
2011-08-16Improve printing of lookup scopesUlrich Drepper
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 McGrath
2011-08-13Implement LD_DEBUG=scopesUlrich Drepper
2011-07-19_dl_sort_fini: Remove unused argumentMarek Polacek
2011-06-29Fix build with multiarch disabled.Aurelien Jarno
2011-05-15Make stack canary value harder to read through read overflowUlrich Drepper
2011-05-14Fix typo in commentUlrich Drepper
2011-05-14Fix potential problem with out-of-scope bufferUlrich Drepper
2011-04-22Remove doubled words.Jim Meyering
2010-10-26Fix concurrency problem between dl_open and dl_iterate_phdrAndreas Krebbel
2010-10-24Require suid bit on audit objects in privileged programsAndreas Schwab
2010-08-11Fix IPTOS_CLASS definition.Ulrich Drepper
2010-05-03Don't deadlock in __dl_iterate_phdr while (un)loading objects.Andreas Schwab
2010-03-26Mark _dl_random attribute_relro in the header file.Richard Henderson
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 Krebbel
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 Prindeville
2009-11-03Make name of libgcc_s library configurableAndreas Schwab
2009-10-30Uglify IFUNC tests for PPC.Alan Modra
2009-10-29Add macros for DSCP markings.Philip Prindeville
2009-08-20Improve backtrace_symbols{,_fd} output when missing symbols.roland/backtrace-symsRoland McGrath
2009-07-23Handle unloading of DSO with a unique symbol definition.Ulrich Drepper
2009-07-17Replace hand-coded unwind tables from x86-64 pthread_once.Ulrich Drepper
2009-07-16Remove warning and little optimization.Ulrich Drepper
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 Drepper
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 Drepper
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 Drepper
Add support for the IRELAIVE relocation and IFUNC in static executables.
2009-04-25for lgamma should set errno to ERANGE, not EDOM.Ulrich Drepper
2009-04-25* sysdeps/generic/stdint.h (WINT_MAX): Define as 2147483647 sinceUlrich Drepper
this is the maximum UCS4 value.
2009-04-23[BZ #9955]Ulrich Drepper
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 Drepper
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 Drepper
* 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 Drepper
* 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 Drepper
memcpy instead of memcmp. (_dl_setup_pointer_guard): Likewise.
2009-01-11* sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): TakeUlrich Drepper
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.
2008-08-14* sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): Undo allUlrich Drepper
change related to AT_EXECFN. We cannot use that string. * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove _dl_execfn member. * elf/dl-support.c: Remove _dl_execfn variable. (_dl_aux_init): Remove handling of AT_EXECFN. * elf/dl-sysdep.c (_dl_sysdep_start): Remove handling of AT_EXECFN. * elf/rtld.c (process_envvars): Remove use of __ASSUME_AT_EXECFN.
2008-07-24* elf/elf.h: Define AT_EXECFN.Ulrich Drepper
* elf/rtld.c [!__ASSUME_AT_EXECFN] (process_envvars): Don't handle LD_ORIGIN_PATH. * elf/dl-sysdep.c (_dl_sysdep_start): Handle AT_EXECFN. * elf/dl-support.c: Define _dl_execfn. Don't define _dl_origin_path if __ASSUME_AT_EXECFN is defined. (_dl_aux_init): Handle AT_EXECFN. * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_AT_EXECFN for 2.6.27 and up. * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_execfn. Don't define _dl_origin_path if __ASSUME_AT_EXECFN is defined. * sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): Use _dl_execfn if available and avoid compatibility code if __ASSUME_AT_EXECFN is defined.