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
abort-instr.h
aio_misc.h Update copyright notices with scripts/update-copyrights. 2013-01-02 19:05:09 +00:00
allocalim.h
asm-syntax.h
confstr.h
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
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
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
errqueue.h
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
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
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
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
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_ldbl.h
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
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
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
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
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
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