diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2017-09-04 13:38:36 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2017-09-04 13:38:51 -0700 |
commit | 0a587a8a98ca32c98e6b00f557e6af6c8eedc602 (patch) | |
tree | e59c30b9b79ba979be469c5ce74450204c0ef0b3 /ChangeLog | |
parent | 1650e19265e577d2b9e90929cf47895985f32b87 (diff) | |
download | glibc-0a587a8a98ca32c98e6b00f557e6af6c8eedc602.tar.gz glibc-0a587a8a98ca32c98e6b00f557e6af6c8eedc602.tar.xz glibc-0a587a8a98ca32c98e6b00f557e6af6c8eedc602.zip |
Hide __chmod and __mkdir [BZ #18822]
Hide internal __chmod and __mkdir functions to allow direct access within libc.so and libc.a without using GOT nor PLT. [BZ #18822] * include/sys/stat.h (__chmod): Add libc_hidden_proto. (__mkdir): Likewise. * io/chmod.c (__chmod): Add libc_hidden_def. * io/mkdir.c (__mkdir): Likewise. * sysdeps/mach/hurd/chmod.c (__chmod): Likewise. * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise. * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise. * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index c4e175abc6..ead6d79223 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,15 @@ +2017-09-04 H.J. Lu <hongjiu.lu@intel.com> + + [BZ #18822] + * include/sys/stat.h (__chmod): Add libc_hidden_proto. + (__mkdir): Likewise. + * io/chmod.c (__chmod): Add libc_hidden_def. + * io/mkdir.c (__mkdir): Likewise. + * sysdeps/mach/hurd/chmod.c (__chmod): Likewise. + * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise. + * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise. + * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise. + 2017-09-04 Joseph Myers <joseph@codesourcery.com> * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel |