aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-10-01 15:51:44 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-10-01 15:51:56 -0700
commit59c04e67631d370738b80923d42d4d1539d8f95f (patch)
treef89921d970aa995215b7ae4740832f4b4f1702c4 /ChangeLog
parent4587a421c54a8912b3e24913c7e1501293042b40 (diff)
downloadglibc-59c04e67631d370738b80923d42d4d1539d8f95f.zip
glibc-59c04e67631d370738b80923d42d4d1539d8f95f.tar.gz
glibc-59c04e67631d370738b80923d42d4d1539d8f95f.tar.bz2
Mark internal utmp functions with attribute_hidden [BZ #18822]
Mark internal utmp functions with attribute_hidden to allow direct access within libc.so and libc.a without using GOT nor PLT. [BZ #18822] * include/utmp.h (__updwtmp): Add libc_hidden_proto. (__getutent): Likewise. (__getutid): Likewise. (__getutline): Likewise. (__pututline): Likewise. (__getutent_r): Likewise. (__getutid_r): Likewise. (__getutline_r): Likewise. (__utmpname): Add attribute_hidden. (__setutent): Likewise. (__endutent): Likewise. * login/getutent.c (__getutent): Add libc_hidden_def. * login/getutent_r.c (__getutent_r): Likewise. (__pututline): Likewise. * login/getutid.c (__getutid): Likewise. * login/getutid_r.c (__getutid_r): Likewise. * login/getutline.c (__getutline): Likewise. * login/getutline_r.c (__getutline_r): Likewise. * login/updwtmp.c (__updwtmp): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog23
1 files changed, 23 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 628b114..4ee5740 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,29 @@
2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
[BZ #18822]
+ * include/utmp.h (__updwtmp): Add libc_hidden_proto.
+ (__getutent): Likewise.
+ (__getutid): Likewise.
+ (__getutline): Likewise.
+ (__pututline): Likewise.
+ (__getutent_r): Likewise.
+ (__getutid_r): Likewise.
+ (__getutline_r): Likewise.
+ (__utmpname): Add attribute_hidden.
+ (__setutent): Likewise.
+ (__endutent): Likewise.
+ * login/getutent.c (__getutent): Add libc_hidden_def.
+ * login/getutent_r.c (__getutent_r): Likewise.
+ (__pututline): Likewise.
+ * login/getutid.c (__getutid): Likewise.
+ * login/getutid_r.c (__getutid_r): Likewise.
+ * login/getutline.c (__getutline): Likewise.
+ * login/getutline_r.c (__getutline_r): Likewise.
+ * login/updwtmp.c (__updwtmp): Likewise.
+
+2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
+
+ [BZ #18822]
* include/dirent.h (__opendir): Always add attribute_hidden.
(__fdopendir): Likewise.
(__closedir): Likewise.