diff options
author | Paul Pluzhnikov <ppluzhnikov@google.com> | 2013-12-18 15:07:11 -0800 |
---|---|---|
committer | Paul Pluzhnikov <ppluzhnikov@google.com> | 2013-12-18 15:07:11 -0800 |
commit | 69a17d9d245dc3551792e95e1823cc2d877592f3 (patch) | |
tree | 719f3789f573b05c6c168f3720048acd42420ea4 /sysdeps/unix/sysv/linux/dl-sysdep.h | |
parent | a588438951a271ca10623fb8c7e25693c7ebea67 (diff) | |
download | glibc-69a17d9d245dc3551792e95e1823cc2d877592f3.tar.gz glibc-69a17d9d245dc3551792e95e1823cc2d877592f3.tar.xz glibc-69a17d9d245dc3551792e95e1823cc2d877592f3.zip |
Patch [1/4] async-signal safe TLS.
2013-12-18 Andrew Hunter <ahh@google.com> * sysdeps/generic/ldsodefs.h (_dl_mask_all_signals): New prototype. (_dl_unmask_signals): Likewise. * sysdeps/mach/hurd/dl-sysdep.h (_dl_mask_all_signals): New stub. (_dl_unmask_all_signals): Likewise. * sysdeps/unix/sysv/linux/dl-sysdep.h (_dl_mask_all_signals): New prototype. (_dl_unmask_all_signals): Likewise. * sysdeps/unix/sysv/linux/dl-sysdep.c (_dl_mask_all_signals): New function. (_dl_unmask_signals): Likewise.
Diffstat (limited to 'sysdeps/unix/sysv/linux/dl-sysdep.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/dl-sysdep.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/dl-sysdep.h b/sysdeps/unix/sysv/linux/dl-sysdep.h index e1eab09025..0fe1e1c3d0 100644 --- a/sysdeps/unix/sysv/linux/dl-sysdep.h +++ b/sysdeps/unix/sysv/linux/dl-sysdep.h @@ -30,4 +30,8 @@ /* Get version of the OS. */ extern int _dl_discover_osversion (void) attribute_hidden; # define HAVE_DL_DISCOVER_OSVERSION 1 + +#include <signal.h> +void _dl_mask_all_signals (sigset_t *) internal_function; +void _dl_unmask_all_signals (sigset_t *) internal_function; #endif |