diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-10-01 17:46:39 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-10-01 17:46:54 -0700 |
commit | dd3121df08d5ee44ba770d12365022aa802fb364 (patch) | |
tree | 679bb661f8835c1ba69229daad5b4f3b8c838e32 /ChangeLog | |
parent | Hide internal __vstrfmon_l function [BZ #18822] (diff) | |
download | glibc-dd3121df08d5ee44ba770d12365022aa802fb364.tar.gz glibc-dd3121df08d5ee44ba770d12365022aa802fb364.tar.bz2 glibc-dd3121df08d5ee44ba770d12365022aa802fb364.zip |
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.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,6 +1,15 @@ 2017-10-01 H.J. Lu <hongjiu.lu@intel.com> [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. + +2017-10-01 H.J. Lu <hongjiu.lu@intel.com> + + [BZ #18822] * include/monetary.h (__vstrfmon_l): Add attribute_hidden. 2017-10-01 H.J. Lu <hongjiu.lu@intel.com> |