diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-10-01 15:57:00 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-10-01 15:57:21 -0700 |
commit | b5648377d923d790dd7e995d79d480066b25e6bb (patch) | |
tree | 68a01fd0c6ee4ecf44f4a252f8385e410134311f /debug/obprintf_chk.c | |
parent | 0389a6aaae6d07f69de5b42345293ec578337de2 (diff) | |
download | glibc-b5648377d923d790dd7e995d79d480066b25e6bb.tar.gz glibc-b5648377d923d790dd7e995d79d480066b25e6bb.tar.xz glibc-b5648377d923d790dd7e995d79d480066b25e6bb.zip |
Hide internal sysinfo functions [BZ #18822]
Hide internal sysinfo functions to allow direct access within libc.so and libc.a without using GOT nor PLT. [BZ #18822] * include/sys/sysinfo.h (__get_nprocs_conf): Add libc_hidden_proto. (__get_nprocs): Likewise. (__get_phys_pages): Likewise. (__get_avphys_pages): Likewise. (__get_child_max): Add attribute_hidden. * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def. (__get_nprocs): Likewise. (__get_phys_pages): Likewise. (__get_avphys_pages): Likewise. * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def. (__get_nprocs): Likewise. (__get_phys_pages): Likewise. (__get_avphys_pages): Likewise. * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add libc_hidden_def. (__get_nprocs_conf): Likewise. (__get_phys_pages): Likewise. (__get_avphys_pages): Likewise.
Diffstat (limited to 'debug/obprintf_chk.c')
0 files changed, 0 insertions, 0 deletions