Bug 16134 - Failure to allocate TLS should be signalled on dlopen() or pthread_create()
Summary: Failure to allocate TLS should be signalled on dlopen() or pthread_create()
Status: NEW
Alias: None
Product: glibc
Classification: Unclassified
Component: dynamic-link (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-07 01:00 UTC by Paul Pluzhnikov
Modified: 2014-06-13 12:24 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Pluzhnikov 2013-11-07 01:00:49 UTC
Excerpt from http://www.sourceware.org/ml/libc-alpha/2013-09/msg00664.html

---
However, since there are two separate but related problems (AS-safe access 
to TLS variables, and ensuring allocation failure is reliably indicated by 
pthread_create or dlopen failure, rather than happening on access to a TLS 
variable when there is no good way to return a failure status), 
considering how the design for fixing one problem relates to the other 
problem (e.g. whether it introduces new code that would need to be removed 
again when fixing the other problem) is certainly relevant.
---

The AS-safe part is PR16133