glibc/sysdeps/generic
Paul Pluzhnikov 1f33d36a8a Patch 2/4 of the effort to make TLS access async-signal-safe.
Add a signal-safe malloc replacement.

2013-12-18  Andrew Hunter  <ahh@google.com>

	* sysdeps/generic/ldsodefs.h (__signal_safe_memalign): New prototype.
	(__signal_safe_malloc, __signal_safe_free): Likewise.
	(__signal_safe_realloc, __signal_safe_calloc): Likewise.
	* elf/dl-misc.c (__signal_safe_allocator_header): New struct.
	(__signal_safe_memalign, __signal_safe_malloc): New function.
	(__signal_safe_free, __signal_safe_realloc): Likewise.
	(__signal_safe_calloc): Likewise.
	* elf/dl-tls.c (allocate_dtv, _dl_clear_dtv): Call signal-safe
	functions.
	(_dl_deallocate_tls, _dl_update_slotinfo): Likewise.
2013-12-18 16:46:18 -08:00
..
bits Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
net Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
netinet Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
nfs Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sys Adjust generic swapon prototype to match Linux version. 2013-11-21 15:44:26 -08:00
_G_config.h Remove _G_OPEN64, _G_LSEEK64, _G_MMAP64, _G_FSTAT64 from _G_config.h. 2012-10-18 18:50:43 +00:00
_itoa.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
a.out.h update from main archive 961203 1996-12-04 01:41:39 +00:00
abort-instr.h update from main archive 961220 1996-12-21 04:13:58 +00:00
aio_misc.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
allocalim.h Update. 2002-10-09 09:42:48 +00:00
asm-syntax.h Update. 1997-10-15 05:34:02 +00:00
confstr.h Update. 1997-10-15 05:34:02 +00:00
device-nrs.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dirstream.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-cache.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-dtprocnum.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-fptr.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-hash.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-irel.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-librecon.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-lookupcfg.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-machine.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-osinfo.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-procinfo.c Dummy dl-procinfo.c file for platforms which don't have one. 2002-02-01 18:25:44 +00:00
dl-procinfo.h Add GLRO(dl_hwcap2) for new AT_HWCAP2 auxv_t a_type. 2013-06-28 16:50:48 -05:00
dl-sysdep.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
dl-tls.h Update. 2002-02-07 04:08:19 +00:00
dwarf2.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
eloop-threshold.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
entry.h Update. 2002-03-15 03:16:52 +00:00
errqueue.h Update. 2001-01-10 23:47:39 +00:00
fd_to_filename.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
fips-private.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
fork.h Update. 2002-10-01 00:05:23 +00:00
fpu_control.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
frame.h Remove __ptrvalue, __bounded and __unbounded. 2013-02-13 23:30:40 +00:00
framestate.c Fix leading whitespaces. 2013-06-06 20:36:07 +02:00
gccframe.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
get-rounding-mode.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
gmp-mparam.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
hp-timing.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
ifreq.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
ifunc-sel.h Move sysdeps/generic/elf/* to sysdeps/generic 2012-03-19 21:04:21 +01:00
intr-msg.h Update. 1997-10-15 05:34:02 +00:00
inttypes.h Get rid of __STDC_FORMAT_MACROS, __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROS 2013-04-25 11:08:31 -07:00
ldconfig.h MIPS: IEEE 754-2008 NaN encoding support 2013-09-18 21:33:50 +01:00
ldsodefs.h Patch 2/4 of the effort to make TLS access async-signal-safe. 2013-12-18 16:46:18 -08:00
libc-mmap.h [BZ #10283] localedef: align fixed maps to SHMLBA 2013-06-24 20:26:58 -04:00
libcidn.abilist Add missed zero length files in previous abilist commit. 2012-04-28 15:38:24 -04:00
libm-test-ulps Update. 1999-10-19 06:29:27 +00:00
libnss_compat.abilist Add missed zero length files in previous abilist commit. 2012-04-28 15:38:24 -04:00
libnss_db.abilist Add missed zero length files in previous abilist commit. 2012-04-28 15:38:24 -04:00
libnss_dns.abilist Add missed zero length files in previous abilist commit. 2012-04-28 15:38:24 -04:00
libnss_files.abilist Add missed zero length files in previous abilist commit. 2012-04-28 15:38:24 -04:00
libnss_hesiod.abilist Add missed zero length files in previous abilist commit. 2012-04-28 15:38:24 -04:00
libnss_nis.abilist Add missed zero length files in previous abilist commit. 2012-04-28 15:38:24 -04:00
libnss_nisplus.abilist Add missed zero length files in previous abilist commit. 2012-04-28 15:38:24 -04:00
local-setxid.h * sysdeps/posix/spawni.c (__spawni): Use local_seteuid and 2006-06-04 22:17:06 +00:00
localplt.data Move localplt baselines to sysdeps directories. 2012-07-20 19:20:34 +00:00
machine-gmon.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
machine-lock.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
machine-sp.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
Makefile Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
malloc-machine.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
malloc-sysdep.h Add missing includes to sysdeps/generic/malloc-sysdep.h. 2013-02-05 11:34:06 -08:00
math_ldbl_opt.h * math/math.h [__NO_LONG_DOUBLE_MATH] (__nldbl_nexttowardf): New 2006-01-14 12:10:44 +00:00
math_ldbl.h Update. 1999-08-02 19:56:07 +00:00
math_private.h Consolidate multiple precision sin/cos functions 2013-10-08 11:50:17 +05:30
math-tests.h Add exception information to math-tests.h and use it in libm-test.inc. 2013-06-11 15:44:31 +00:00
memcopy.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
memusage.h Add #include <stdint.h> for uint[32|64]_t usage (except installed headers). 2013-05-16 11:32:54 -05:00
not-cancel.h Flesh out stub not-cancel.h file. 2013-05-06 16:03:35 -07:00
nscd-types.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
pagecopy.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
paths.h generic paths.h: remove old paths from _PATH_STDPATH 2012-11-04 10:11:39 +01:00
profil-counter.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
pty-private.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
register-dump.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
rtld-lowlevel.h Jakub Jelinek <jakub@redhat.com> 2006-10-10 00:51:29 +00:00
sigcontextinfo.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
siglist.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
sigset-cvt-mask.h Avoid use of "register" as optimization hint. 2013-06-07 22:24:35 +00:00
stackguard-macros.h BZ #15754: Fix test case for ARM. 2013-09-23 01:44:38 -04:00
stackinfo.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
stdint.h Get rid of __STDC_FORMAT_MACROS, __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROS 2013-04-25 11:08:31 -07:00
symbol-hacks.h Fix unsafe compiler optimization 2013-06-12 10:21:22 -05:00
sysdep-cancel.h * elf/dl-sym.c (do_sym): Use RTLD_SINGLE_THREAD_P. 2006-10-29 21:46:32 +00:00
sysdep.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
testrtsig.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
thread_state.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
tininess.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
tls-macros.h * elf/tls-macros.h: #include_next <tls-macros.h> to get a sysdeps 2005-03-13 09:09:05 +00:00
tls.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
tst-audit.h Move testsuite audit definitions to sysdeps tst-audit.h files. 2012-07-26 11:29:07 +00:00
tst-stack-align.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
unsecvars.h * malloc/malloc.c (_int_malloc): Remove unused any_larger variable. 2006-10-11 16:29:13 +00:00
unwind-dw2-fde-glibc.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
unwind-dw2-fde.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
unwind-dw2-fde.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
unwind-dw2.c Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
unwind-pe.c Update. 2004-03-10 10:04:19 +00:00
unwind-pe.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
unwind.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
utmp-equal.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00