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 libc/18822] Internal functions are called via PLT


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

--- Comment #61 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  0a587a8a98ca32c98e6b00f557e6af6c8eedc602 (commit)
      from  1650e19265e577d2b9e90929cf47895985f32b87 (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=0a587a8a98ca32c98e6b00f557e6af6c8eedc602

commit 0a587a8a98ca32c98e6b00f557e6af6c8eedc602
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Sep 4 13:38:36 2017 -0700

    Hide __chmod and __mkdir [BZ #18822]

    Hide internal __chmod and __mkdir functions to allow direct access
    within libc.so and libc.a without using GOT nor PLT.

        [BZ #18822]
        * include/sys/stat.h (__chmod): Add libc_hidden_proto.
        (__mkdir): Likewise.
        * io/chmod.c (__chmod): Add libc_hidden_def.
        * io/mkdir.c (__mkdir): Likewise.
        * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
        * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
        * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
        * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.

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

Summary of changes:
 ChangeLog                               |   12 ++++++++++++
 include/sys/stat.h                      |    2 ++
 io/chmod.c                              |    1 +
 io/mkdir.c                              |    1 +
 sysdeps/mach/hurd/chmod.c               |    1 +
 sysdeps/mach/hurd/mkdir.c               |    1 +
 sysdeps/unix/sysv/linux/generic/chmod.c |    2 ++
 sysdeps/unix/sysv/linux/generic/mkdir.c |    2 ++
 8 files changed, 22 insertions(+), 0 deletions(-)

-- 
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]