This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug dynamic-link/18251] SONAME missing when audit modules provides path


https://sourceware.org/bugzilla/show_bug.cgi?id=18251

--- Comment #3 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  a1b85ae88b1a664e93ca0182c82f7763dd5a1754 (commit)
      from  37d13b179cd726bb6d61bfe2f31a1206bc1d9703 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=a1b85ae88b1a664e93ca0182c82f7763dd5a1754

commit a1b85ae88b1a664e93ca0182c82f7763dd5a1754
Author: Florian Weimer <fweimer@redhat.com>
Date:   Mon Nov 9 16:52:31 2015 +0100

    ld.so: Add original DSO name if overridden by audit module [BZ #18251]

        * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
        for original name of the DSO.  Add it to the name list of the DSO
        if it is actually given.
        (_dl_map_object): Keep track of whether an audit module rewrote
        the file name.  If yes, pass the original name to
        _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
        debugging is enabled, log the change of the file name.
        * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
        _dl_map_object_from_fd.
        * elf/Makefile: Build and run tst-audit11 and tst-audit12.
        * elf/tst-audit11.c: New file
        * elf/tst-auditmod11.c: New file.
        * elf/tst-audit11mod1.c: New file.
        * elf/tst-audit11mod2.c: New file.
        * elf/tst-audit11mod2.map: New file.
        * elf/tst-audit12.c: New file
        * elf/tst-auditmod12.c: New file.
        * elf/tst-audit12mod1.c: New file.
        * elf/tst-audit12mod2.c: New file.
        * elf/tst-audit12mod2.map: New file.
        * elf/tst-audit12mod3.c: New file.

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                     |   24 ++++++++++++++++++++
 elf/Makefile                  |   18 +++++++++++++-
 elf/dl-load.c                 |   33 +++++++++++++++++++++++----
 elf/tst-audit11.c             |   36 ++++++++++++++++++++++++++++++
 elf/tst-audit11mod1.c         |   24 ++++++++++++++++++++
 elf/tst-audit11mod2.c         |   23 +++++++++++++++++++
 elf/tst-audit11mod2.map       |   22 ++++++++++++++++++
 elf/tst-audit12.c             |   49 +++++++++++++++++++++++++++++++++++++++++
 elf/tst-audit12mod1.c         |   24 ++++++++++++++++++++
 elf/tst-audit12mod2.c         |   23 +++++++++++++++++++
 elf/tst-audit12mod2.map       |   22 ++++++++++++++++++
 elf/tst-audit12mod3.c         |   23 +++++++++++++++++++
 elf/tst-auditmod11.c          |   39 ++++++++++++++++++++++++++++++++
 elf/tst-auditmod12.c          |   43 ++++++++++++++++++++++++++++++++++++
 sysdeps/mach/hurd/dl-sysdep.c |    2 +-
 15 files changed, 397 insertions(+), 8 deletions(-)
 create mode 100644 elf/tst-audit11.c
 create mode 100644 elf/tst-audit11mod1.c
 create mode 100644 elf/tst-audit11mod2.c
 create mode 100644 elf/tst-audit11mod2.map
 create mode 100644 elf/tst-audit12.c
 create mode 100644 elf/tst-audit12mod1.c
 create mode 100644 elf/tst-audit12mod2.c
 create mode 100644 elf/tst-audit12mod2.map
 create mode 100644 elf/tst-audit12mod3.c
 create mode 100644 elf/tst-auditmod11.c
 create mode 100644 elf/tst-auditmod12.c

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]