aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-10-01 17:46:39 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-10-01 17:46:54 -0700
commitdd3121df08d5ee44ba770d12365022aa802fb364 (patch)
tree679bb661f8835c1ba69229daad5b4f3b8c838e32 /ChangeLog
parentHide internal __vstrfmon_l function [BZ #18822] (diff)
downloadglibc-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--ChangeLog9
1 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 709f9836f8..86d30bedf2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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>