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 #39 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, hjl/pr18822 has been updated
       via  cdd7907733b81a7cfb1800b5d4560e667f6e76e1 (commit)
       via  517dd8b6cb0d8b1bc6cc5b8e8bb2bf451dbfeb52 (commit)
       via  1c3f309b8083aba98b546c5c6df9ef361625e260 (commit)
      from  450faea0b7d7dff1d755cd0275fe41c5d7bb7913 (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=cdd7907733b81a7cfb1800b5d4560e667f6e76e1

commit cdd7907733b81a7cfb1800b5d4560e667f6e76e1
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Aug 22 06:42:46 2017 -0700

    Hide internal __setrlimit function [BZ #18822]

    Hide internal __setrlimit function to allow direct access within libc.so
    and libc.a without using GOT nor PLT.

        [BZ #18822]
        * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
        * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
        * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
        * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
        * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=517dd8b6cb0d8b1bc6cc5b8e8bb2bf451dbfeb52

commit 517dd8b6cb0d8b1bc6cc5b8e8bb2bf451dbfeb52
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Aug 22 06:41:49 2017 -0700

    Hide internal __vstrfmon_l function [BZ #18822]

    Hide internal __vstrfmon_l function to allow direct access within libc.so
    and libc.a without using GOT nor PLT.

        [BZ #18822]
        * include/monetary.h (__vstrfmon_l): Add attribute_hidden.

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=1c3f309b8083aba98b546c5c6df9ef361625e260

commit 1c3f309b8083aba98b546c5c6df9ef361625e260
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Aug 22 06:25:16 2017 -0700

    Hide internal __sched_setparam function [BZ #18822]

    Hide internal __sched_setparam function to allow direct access within
    libc.so and libc.a without using GOT nor PLT.

    __GI___sched_setparam is defined when sysdeps/unix/syscalls.list is
    used to generate sched_setparam.  Otherwise libc_hidden_def is needed
    explicitly.

        [BZ #18822]
        * include/sched.h (__sched_setparam): Add libc_hidden_proto.
        * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.

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

Summary of changes:
 include/monetary.h                    |    3 ++-
 include/sched.h                       |    1 +
 include/sys/resource.h                |    1 +
 posix/sched_setp.c                    |    1 +
 resource/setrlimit.c                  |    1 +
 sysdeps/mach/hurd/setrlimit.c         |    1 +
 sysdeps/unix/sysv/linux/setrlimit.c   |    1 +
 sysdeps/unix/sysv/linux/setrlimit64.c |    3 +++
 8 files changed, 11 insertions(+), 1 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]