Don't use INTUSE with __adjtimex (bug 14132)

Siddhesh Poyarekar siddhesh@redhat.com
Wed Oct 8 15:23:00 GMT 2014


On Wed, Oct 08, 2014 at 03:12:39PM +0000, Joseph S. Myers wrote:
> Bug 14132 is removal of the old INTDEF/INTUSE system of *_internal
> aliases as obsoleted by the hidden_proto / hidden_def system.  Various
> cases were cleaned up in 2012, but some remain.  This patch removes
> the use of this mechanism for __adjtimex.
> 
> Tested for x86_64 that stripped installed shared libraries are
> unchanged by the patch.
> 
> 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
> 
> 	[BZ #14132]
> 	* sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
> 	* sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
> 	use INTUSE.
> 	[!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
> 	* sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
> 	Remove alias.
> 	(__adjtimex): Define using libc_hidden_ver.
> 	* sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
> 	Remove declaration.
> 	(ntp_gettime): Call __adjtimex directly.
> 	* sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
> 	Remove declaration.
> 	(ntp_gettimex): Call __adjtimex directly.
> 	* sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
> 	__adjtimex_internal alias.
> 

Looks OK to me.

Siddhesh
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20141008/fd5a541b/attachment.sig>


More information about the Libc-alpha mailing list