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 Remove __need macros from signal.h. 2017-05-20 19:04:43 -04:00
sigaltstack.c Fix struct sigaltstack namespace (bug 21517). 2017-06-05 10:17:46 +00:00
sigandset.c Remove __need macros from signal.h. 2017-05-20 19:04:43 -04:00
sigblock.c Hide internal signal functions [BZ #18822] 2017-10-01 16:04:41 -07:00
sigdelset.c Remove __need macros from signal.h. 2017-05-20 19:04:43 -04:00
sigempty.c
sigfillset.c
siggetmask.c
sighold.c
sigignore.c
sigintr.c
sigisempty.c Remove __need macros from signal.h. 2017-05-20 19:04:43 -04:00
sigismem.c Remove __need macros from signal.h. 2017-05-20 19:04:43 -04:00
signal.c
signal.h Fix sigval namespace (bug 21944). 2017-08-16 20:33:59 +00:00
sigorset.c Remove __need macros from signal.h. 2017-05-20 19:04:43 -04:00
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 Remove __need macros from signal.h. 2017-05-20 19:04:43 -04:00
sigstack.c
sigsuspend.c
sigtimedwait.c
sigvec.c
sigwait.c
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