about summary refs log tree commit diff
path: root/sysdeps/generic
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/master' into fedora/masterAndreas Schwab2011-05-172-12/+24
|\
| * Make stack canary value harder to read through read overflowUlrich Drepper2011-05-151-9/+21
| |
| * Fix typo in commentUlrich Drepper2011-05-141-1/+1
| |
| * Fix potential problem with out-of-scope bufferUlrich Drepper2011-05-141-2/+2
| |
* | Merge remote-tracking branch 'origin/master' into fedora/masterAndreas Schwab2011-05-041-2/+2
|\|
| * Remove doubled words.Jim Meyering2011-04-221-2/+2
| |
* | Merge remote branch 'origin/master' into fedora/masterAndreas Schwab2010-11-121-2/+5
|\|
| * Fix concurrency problem between dl_open and dl_iterate_phdrAndreas Krebbel2010-10-261-2/+5
| |
| * Require suid bit on audit objects in privileged programsAndreas Schwab2010-10-241-4/+2
| |
* | Require suid bit on audit objects in privileged programsAndreas Schwab2010-10-221-4/+2
| |
* | Merge remote branch 'origin/master' into fedora/masterAndreas Schwab2010-08-231-3/+2
|\|
| * Fix IPTOS_CLASS definition.Ulrich Drepper2010-08-111-3/+2
| |
* | Merge commit 'origin/master' into fedora/masterRoland McGrath2010-05-041-0/+4
|\|
| * Don't deadlock in __dl_iterate_phdr while (un)loading objects.Andreas Schwab2010-05-031-0/+4
| |
* | Merge remote branch 'origin/master' into fedora/masterAndreas Schwab2010-04-061-1/+1
|\|
| * Mark _dl_random attribute_relro in the header file.Richard Henderson2010-03-261-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>
* | Merge remote branch 'origin/master' into fedora/masterAndreas Schwab2010-01-201-2/+3
|\|
| * ld.so: Adjust the auxv if ld.so is directly invoked.Andreas Krebbel2010-01-151-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.
* | Merge remote branch 'origin/master' into fedora/masterAndreas Schwab2010-01-151-12/+31
|\|
| * Define IPTOS_CLASS_* macros according to RFC 2474.Philip Prindeville2010-01-141-12/+31
| |
* | Merge remote branch 'origin/master' into fedora/masterAndreas Schwab2009-11-122-1/+4
|\|
| * Make name of libgcc_s library configurableAndreas Schwab2009-11-032-1/+4
| |
* | Merge remote branch 'origin/master' into fedora/masterAndreas Schwab2009-10-302-1/+63
|\|
| * Uglify IFUNC tests for PPC.Alan Modra2009-10-301-0/+26
| |
| * Add macros for DSCP markings.Philip Prindeville2009-10-291-1/+37
| |
* | Merge commit 'origin/master' into fedora/masterAndreas Schwab2009-08-242-46/+83
|\| | | | | | | | | | | Conflicts: sysdeps/powerpc/powerpc64/____longjmp_chk.S sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
| * Improve backtrace_symbols{,_fd} output when missing symbols. roland/backtrace-symsRoland McGrath2009-08-202-46/+83
| |
* | Merge commit 'origin/master' into fedora/masterAndreas Schwab2009-07-231-1/+1
|\| | | | | | | | | Conflicts: ChangeLog
| * Handle unloading of DSO with a unique symbol definition.Ulrich Drepper2009-07-231-1/+1
| |
* | Merge commit 'origin/master' into fedora/masterAndreas Schwab2009-07-202-7/+55
|\|
| * Replace hand-coded unwind tables from x86-64 pthread_once.Ulrich Drepper2009-07-171-7/+36
| |
| * Remove warning and little optimization.Ulrich Drepper2009-07-161-0/+4
| | | | | | | | | | The prototype for _dl_higher_prime_number was missing. While at it, the function is now marked with internal_function.
| * Implement STB_GNU_UNIQUE handling.Ulrich Drepper2009-07-091-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.
* | Merge commit 'origin/master' into fedora/masterAndreas Schwab2009-06-261-2/+3
|\|
| * Extend pt_chown to drop privileges.Ulrich Drepper2009-06-161-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.
* | Merge commit 'origin/master' into fedora/masterAndreas Schwab2009-06-101-0/+23
|\| | | | | | | | | | | | | | | Conflicts: ChangeLog sysdeps/unix/sysv/linux/i386/sysconf.c sysdeps/x86_64/cacheinfo.c version.h
| * Finish IFUNC support for x86 and x86-64.Ulrich Drepper2009-05-311-0/+23
| | | | | | | | Add support for the IRELAIVE relocation and IFUNC in static executables.
| * for lgamma should set errno to ERANGE, not EDOM.Ulrich Drepper2009-04-251-1/+1
| |
| * * sysdeps/generic/stdint.h (WINT_MAX): Define as 2147483647 sinceUlrich Drepper2009-04-251-1/+1
| | | | | | | | this is the maximum UCS4 value.
| * [BZ #9955]Ulrich Drepper2009-04-231-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.
| * * elf/dl-open.c: Keep track of used name spaces and only iterate over cvs/fedora-glibc-20090401T0935Ulrich Drepper2009-04-011-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.
| * * elf/dl-load.c: Remove support for systems without MAP_ANON.Ulrich Drepper2009-03-311-5/+0
| | | | | | | | | | | | | | * elf/dl-minimal.c: Likewise. * elf/dl-misc.c: Likewise. * elf/rtld.c: Likewise. * sysdeps/generic/ldsodefs.h: Likewise.
| * [BZ #9733]Ulrich Drepper2009-03-161-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.
| * * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): UseUlrich Drepper2009-01-301-2/+21
| | | | | | | | | | memcpy instead of memcmp. (_dl_setup_pointer_guard): Likewise.
| * * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): TakeUlrich Drepper2009-01-112-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.
| * * sysdeps/unix/sysv/linux/dl-origin.c (_dl_get_origin): Undo allUlrich Drepper2008-08-141-5/+0
| | | | | | | | | | | | | | | | | | | | 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.
| * * elf/elf.h: Define AT_EXECFN.Ulrich Drepper2008-07-241-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
| * [BZ #5786]Ulrich Drepper2008-03-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | * elf/dl-sysdep.c: Undefine ROUND after use. * sysdeps/generic/ldsodefs.h [HAVE_DL_DISCOVER_OSVERSION] (struct rtld_global_ro): Add _dl_tls_get_addr_soft element. * elf/rtld.c (rtld_global_ro): Initialize _dl_discover_osversion. * sysdeps/unix/sysv/linux/dl-osinfo.h: Move _dl_discover_osversion to ... * sysdeps/unix/sysv/linux/dl-sysdep.c: ...here. * sysdeps/unix/sysv/linux/dl-sysdep.h: Declare _dl_discover_osversion if necessary. * sysdeps/unix/sysv/linux/sysconf.c: Handle _SC_ARG_MAX here.
| * * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): AddUlrich Drepper2008-03-081-2/+3
| | | | | | | | | | | | | | | | | | | | | | _dl_tls_get_addr_soft element. * elf/rtld.c (rtld_global_ro): Initialize _dl_tls_get_addr_soft. * elf/Versions (ld): Don't export _dl_tls_get_addr_soft. * dlfcn/dlinfo.c (dlinfo_doit): Access dl_tls_get_addr_soft through GLRO. * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise. * elf/dl-tls.c (_dl_tls_get_addr_soft): Use attribute_hidden instead of internal_function.
| * * sysdeps/generic/ldsodefs.h (struct dl_scope_free_list): Store cvs/fedora-glibc-20070929T1859Ulrich Drepper2007-09-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | void * pointers instead of struct link_map **. (_dl_scope_free): Change argument type to void *. * include/link.h (struct link_map): Change type of l_reldeps to struct link_map_reldeps, move l_reldepsact into that struct too. * elf/dl-deps.c: Include atomic.h. (_dl_map_object_deps): Only change l->l_initfini when it is fully populated, use _dl_scope_free for freeing it. Optimize removal of libs from reldeps by using l_reserved flag, when some removal is needed, allocate a new list instead of reallocating and free the old with _dl_scope_free. Adjust for l_reldeps and l_reldepsact changes. * elf/dl-lookup.c (add_dependency): Likewise. Reorganize to allow searching in l_initfini and l_reldeps without holding dl_load_lock. * elf/dl-fini.c (_dl_sort_fini): Adjust for l_reldeps and l_reldepsact changes. * elf/dl-close.c (_dl_close_worker): Likewise. * elf/dl-open.c (_dl_scope_free): Change argument type to void *.