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/mach/hurd/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/mach/hurd/dl-sysdep.h')
-rw-r--r-- | sysdeps/mach/hurd/dl-sysdep.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/dl-sysdep.h b/sysdeps/mach/hurd/dl-sysdep.h index 52563b0ca0..0e7cac4ab0 100644 --- a/sysdeps/mach/hurd/dl-sysdep.h +++ b/sysdeps/mach/hurd/dl-sysdep.h @@ -29,3 +29,10 @@ # define DL_ARGV_NOT_RELRO 1 # define LIBC_STACK_END_NOT_RELRO 1 #endif + +#include <signal.h> +inline void _dl_mask_all_signals (sigset_t *) internal_function; +inline void _dl_mask_all_signals (sigset_t *) { } + +inline void _dl_unmask_all_signals (sigset_t *) internal_function; +inline void _dl_unmask_all_signals (sigset_t *) { } |