glibc/signal
H.J. Lu 6a088436d4 Hide internal signal functions [BZ #18822]
Hide internal signal functions to allow direct access within libc.so and
libc.a without using GOT nor PLT.

__GI___kill and __GI___sigaltstack are defined when syscalls.list is
used to generate them.  Otherwise libc_hidden_def is needed explicitly.

	[BZ #18822]
	* include/signal.h (__kill): Add libc_hidden_proto.
	(__sigblock): Likewise.
	(__sigprocmask): Likewise.
	(__sigaltstack): Likewise.
	* signal/kill.c (__kill): Add libc_hidden_def.
	* signal/sigblock.c (__sigblock): Likewise.
	* signal/sigprocmask.c (__sigprocmask): Likewise.
	* sysdeps/mach/hurd/kill.c (__kill): Likewise.
	* sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
	* sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
	* sysdeps/posix/sigblock.c (__sigblock): Likewise.
	* sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
	Likewise.
	* sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
	Likewise.
	* sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
	(__sigprocmask): Likewise.
	* sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
	Likewise.
	* /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
	(__sigprocmask): Likewise.
	* sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
	Likewise.
2017-10-01 16:04:41 -07:00
..
bits/types Fix sigval namespace (bug 21944). 2017-08-16 20:33:59 +00:00
sys
allocrtsig.c
kill.c Hide internal signal functions [BZ #18822] 2017-10-01 16:04:41 -07:00
killpg.c
Makefile Fix sigval namespace (bug 21944). 2017-08-16 20:33:59 +00:00
raise.c
sigaction.c
sigaddset.c
sigaltstack.c
sigandset.c
sigblock.c Hide internal signal functions [BZ #18822] 2017-10-01 16:04:41 -07:00
sigdelset.c
sigempty.c
sigfillset.c
siggetmask.c
sighold.c
sigignore.c
sigintr.c
sigisempty.c
sigismem.c
signal.c
signal.h Fix sigval namespace (bug 21944). 2017-08-16 20:33:59 +00:00
sigorset.c
sigpause.c
sigpending.c
sigprocmask.c Hide internal signal functions [BZ #18822] 2017-10-01 16:04:41 -07:00
sigqueue.c
sigrelse.c
sigreturn.c
sigset.c
sigsetmask.c
sigsetops.c
sigstack.c
sigsuspend.c
sigtimedwait.c
sigvec.c
sigwait.c Update copyright dates with scripts/update-copyrights. 2017-01-01 00:14:16 +00:00
sigwaitinfo.c
sysv_signal.c
tst-raise.c
tst-signal.c
tst-sigset2.c
tst-sigset.c
tst-sigsimple.c
Versions Remove __need macros from signal.h. 2017-05-20 19:04:43 -04:00