Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/libexec/ld.elf_so



Module Name:    src
Committed By:   christos
Date:           Mon May  6 19:59:30 UTC 2013

Modified Files:
        src/libexec/ld.elf_so: headers.c load.c map_object.c rtld.c rtld.h
            symver.c

Log Message:
Fixed handling of DT_SONAME:

        - add function to add name aliases for shared libraries loaded
          XXX[1]: we don't add a name during load time, only when DT_SONAME
          is present.
        - search already loaded objects in load_by_name for an already
          loaded object that matches our name and return it.
        - add missing initialization and cleanup for obj->names
          XXX[2]: should we make them SIMPLEQ?
        - Add XXX in rtld.c about getting the name of an object.

NB: This makes the jdk work again without resorting to a hack of putting
    the build path of libjvm.so into the run path (which is a security
    problem).
XXX: Pullup-6?


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 src/libexec/ld.elf_so/headers.c
cvs rdiff -u -r1.43 -r1.44 src/libexec/ld.elf_so/load.c
cvs rdiff -u -r1.48 -r1.49 src/libexec/ld.elf_so/map_object.c
cvs rdiff -u -r1.165 -r1.166 src/libexec/ld.elf_so/rtld.c
cvs rdiff -u -r1.114 -r1.115 src/libexec/ld.elf_so/rtld.h
cvs rdiff -u -r1.1 -r1.2 src/libexec/ld.elf_so/symver.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index