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 #72 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  397286ea93ad30c24a5dad7928d0056c7b7d603d (commit)
       via  d0a4512bd437c8caebc0e6ce295e4e0a5079e6b3 (commit)
       via  c0769f7031b8293e7dc2762bff98d75691fe6a0d (commit)
       via  0e7d5b6e241b3e367b806f65f6df1e7469af68fa (commit)
       via  bde06c87b7de97b5cd4721414b11af6e0d09187e (commit)
       via  fa4265909edaa5118f7860f452e2fb9da48d0f6e (commit)
       via  2f8a05d826f554210eb2bec8dd6344c9615e00d7 (commit)
       via  7bfd08ac5be538a2beaa48f029944e01fb3b5d7a (commit)
       via  0e1fd06cde496eb4f3cefdbee44e794ab5d52cb7 (commit)
       via  36e7ae1e9d3b6a434e119aab4d10176aaaddf0c3 (commit)
       via  87078544f24cfbd355bf2f7e63a0d01ff7c96cca (commit)
       via  dd3121df08d5ee44ba770d12365022aa802fb364 (commit)
       via  047d1a81fd82db4cd7458fec37230f3b31b414e9 (commit)
       via  fd331b1179df7fef8016273fb26f5f054793875a (commit)
       via  57f859bdb7be1acb7eea48aba8edf0c6b5900191 (commit)
       via  d19033298f832f5b3e10da6f07e7959f0483df74 (commit)
       via  b4744101f36021bf2dde713682abbd0cc6935168 (commit)
       via  43b7dfd1b6cfd1b603e96270dc6a0b1758f81a13 (commit)
       via  2c0cd8f81fee4d9dc8e34254f4f6ed56d5bb6f59 (commit)
      from  8369d216dcc0e192e0e1243d9dad443e68f13f06 (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=397286ea93ad30c24a5dad7928d0056c7b7d603d

commit 397286ea93ad30c24a5dad7928d0056c7b7d603d
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sun Oct 1 18:05:52 2017 -0700

    Hide internal fadvise64/fallocate64 functions [BZ #18822]

    Hide internal fadvise64/fallocate64 functions to allow direct access
    within libc.so and libc.a without using GOT nor PLT.

        [BZ #18822]
        * sysdeps/unix/sysv/linux/posix_fadvise64.c
        (__posix_fadvise64_l64): Add Add libc_hidden_proto and
        libc_hidden_def.
        * sysdeps/unix/sysv/linux/posix_fallocate64.c
        (__posix_fallocate64_l64): Likewise.

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

commit d0a4512bd437c8caebc0e6ce295e4e0a5079e6b3
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sun Oct 1 18:03:46 2017 -0700

    Hide internal __sched_setaffinity_new function [BZ #18822]

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

        [BZ #18822]
        * sysdeps/unix/sysv/linux/sched_setaffinity.c
        (__sched_setaffinity_new): Add libc_hidden_proto and
        libc_hidden_def.

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

commit c0769f7031b8293e7dc2762bff98d75691fe6a0d
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sun Oct 1 18:01:54 2017 -0700

    Hide internal __glob64 function [BZ #18822]

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

        [BZ #18822]
        * include/glob.h (__glob64): Add libc_hidden_proto.
        * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
        libc_hidden_def.

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=0e7d5b6e241b3e367b806f65f6df1e7469af68fa

commit 0e7d5b6e241b3e367b806f65f6df1e7469af68fa
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sun Oct 1 17:59:51 2017 -0700

    Hide internal __new_getrlimit function [BZ #18822]

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

        [BZ #18822]
        * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
        attribute_hidden.

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

commit bde06c87b7de97b5cd4721414b11af6e0d09187e
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sun Oct 1 17:58:08 2017 -0700

    Hide internal __new_exitfn function [BZ #18822]

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

        [BZ #18822]
        * stdlib/exit.h (__new_exitfn): Add attribute_hidden.

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

commit fa4265909edaa5118f7860f452e2fb9da48d0f6e
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sun Oct 1 17:56:46 2017 -0700

    Hide internal __moncontrol function [BZ #18822]

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

        [BZ #18822]
        * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
        libc_hidden_def.

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=2f8a05d826f554210eb2bec8dd6344c9615e00d7

commit 2f8a05d826f554210eb2bec8dd6344c9615e00d7
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sun Oct 1 17:55:11 2017 -0700

    Hide internal __libc_print_version function [BZ #18822]

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

        [BZ #18822]
        * csu/version.c (__libc_print_version): Add attribute_hidden.

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=7bfd08ac5be538a2beaa48f029944e01fb3b5d7a

commit 7bfd08ac5be538a2beaa48f029944e01fb3b5d7a
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sun Oct 1 17:53:31 2017 -0700

    Hide internal __init_misc function [BZ #18822]

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

        [BZ #18822]
        * include/libc-internal.h (__init_misc): Add attribute_hidden.

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=0e1fd06cde496eb4f3cefdbee44e794ab5d52cb7

commit 0e1fd06cde496eb4f3cefdbee44e794ab5d52cb7
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sun Oct 1 17:52:15 2017 -0700

    Hide internal __setfpucw function [BZ #18822]

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

        [BZ #18822]
        * include/fpu_control.h (__setfpucw): Add attribute_hidden.

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=36e7ae1e9d3b6a434e119aab4d10176aaaddf0c3

commit 36e7ae1e9d3b6a434e119aab4d10176aaaddf0c3
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sun Oct 1 17:49:47 2017 -0700

    Hide internal __nis_hash function [BZ #18822]

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

        [BZ #18822]
        * nscd/nscd_helper.c (__nis_hash): New prototype.

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=87078544f24cfbd355bf2f7e63a0d01ff7c96cca

commit 87078544f24cfbd355bf2f7e63a0d01ff7c96cca
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sun Oct 1 17:48:11 2017 -0700

    Hide internal __tcgetattr function [BZ #18822]

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

        [BZ #18822]
        * include/termios.h (__tcgetattr): Add libc_hidden_proto.
        * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
        libc_hidden_def.
        * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
        * termios/tcgetattr.c (__tcgetattr): Likewise.

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

commit dd3121df08d5ee44ba770d12365022aa802fb364
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sun Oct 1 17:46:39 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=047d1a81fd82db4cd7458fec37230f3b31b414e9

commit 047d1a81fd82db4cd7458fec37230f3b31b414e9
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sun Oct 1 17:44:52 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=fd331b1179df7fef8016273fb26f5f054793875a

commit fd331b1179df7fef8016273fb26f5f054793875a
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sun Oct 1 17:43:13 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.

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=57f859bdb7be1acb7eea48aba8edf0c6b5900191

commit 57f859bdb7be1acb7eea48aba8edf0c6b5900191
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sun Oct 1 17:41:20 2017 -0700

    Hide internal __hash_string function [BZ #18822]

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

        [BZ #18822]
        * intl/hash-string.h (__hash_string): Add attribute_hidden.

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

commit d19033298f832f5b3e10da6f07e7959f0483df74
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sun Oct 1 17:37:27 2017 -0700

    Hide internal __hasmntopt function [BZ #18822]

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

        [BZ #18822]
        * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
        * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.

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

commit b4744101f36021bf2dde713682abbd0cc6935168
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sun Oct 1 17:35:26 2017 -0700

    Hide internal __ifreq function [BZ #18822]

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

        [BZ #18822]
        * include/ifreq.h: New file.
        * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
        (__ifreq): Likewise.
        * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
        (__ifreq): Likewise.

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=43b7dfd1b6cfd1b603e96270dc6a0b1758f81a13

commit 43b7dfd1b6cfd1b603e96270dc6a0b1758f81a13
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sun Oct 1 17:33:08 2017 -0700

    Hide internal idna functions [BZ #18822]

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

        [BZ #18822]
        * include/idna.h: New file.
        * inet/getnameinfo.c: Include <idna.h> instead of
        <libidn/idna.h>.
        (__idna_to_unicode_lzlz): Removed.
        * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
        <libidn/idna.h>.
        (__idna_to_ascii_lz): Removed.
        (__idna_to_unicode_lzlz): Likewise.

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=2c0cd8f81fee4d9dc8e34254f4f6ed56d5bb6f59

commit 2c0cd8f81fee4d9dc8e34254f4f6ed56d5bb6f59
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sun Oct 1 17:30:49 2017 -0700

    Hide internal __gettextparse function [BZ #18822]

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

        [BZ #18822]
        * include/plural-exp.h: New file.
        * intl/plural-exp.c: Include <plural-exp.h> instead of
        "plural-exp.h".

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

Summary of changes:
 ChangeLog                                   |  128 +++++++++++++++++++++++++++
 csu/version.c                               |    2 +-
 gmon/gmon.c                                 |    2 +
 include/fpu_control.h                       |    2 +-
 include/glob.h                              |    1 +
 include/idna.h                              |    8 ++
 include/ifreq.h                             |   14 +++
 include/libc-internal.h                     |    2 +-
 include/mntent.h                            |    1 +
 include/monetary.h                          |    3 +-
 include/plural-exp.h                        |    8 ++
 include/sched.h                             |    1 +
 include/sys/resource.h                      |    1 +
 include/termios.h                           |    1 +
 inet/getnameinfo.c                          |    4 +-
 intl/hash-string.h                          |    3 +-
 intl/plural-exp.c                           |    2 +-
 misc/mntent_r.c                             |    1 +
 nscd/nscd_helper.c                          |    5 +
 posix/sched_setp.c                          |    1 +
 resource/setrlimit.c                        |    1 +
 stdlib/exit.h                               |    4 +-
 sysdeps/generic/ifreq.h                     |   12 ---
 sysdeps/mach/hurd/ifreq.h                   |   12 ---
 sysdeps/mach/hurd/setrlimit.c               |    1 +
 sysdeps/posix/getaddrinfo.c                 |    5 +-
 sysdeps/unix/bsd/tcgetattr.c                |    1 +
 sysdeps/unix/sysv/linux/getrlimit64.c       |    3 +-
 sysdeps/unix/sysv/linux/glob64.c            |    1 +
 sysdeps/unix/sysv/linux/posix_fadvise64.c   |    2 +
 sysdeps/unix/sysv/linux/posix_fallocate64.c |    2 +
 sysdeps/unix/sysv/linux/sched_setaffinity.c |    4 +
 sysdeps/unix/sysv/linux/setrlimit.c         |    1 +
 sysdeps/unix/sysv/linux/setrlimit64.c       |    3 +
 sysdeps/unix/sysv/linux/tcgetattr.c         |    1 +
 termios/tcgetattr.c                         |    1 +
 36 files changed, 204 insertions(+), 40 deletions(-)
 create mode 100644 include/idna.h
 create mode 100644 include/ifreq.h
 create mode 100644 include/plural-exp.h

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