Bug 19702 - Provide a flag indicating whether a thread is in a signal handler
Summary: Provide a flag indicating whether a thread is in a signal handler
Status: NEW
Alias: None
Product: glibc
Classification: Unclassified
Component: libc (show other bugs)
Version: 2.24
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on: 19701
Blocks: 19703
  Show dependency treegraph
 
Reported: 2016-02-22 13:03 UTC by Florian Weimer
Modified: 2018-10-25 18:39 UTC (History)
4 users (show)

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 Florian Weimer 2016-02-22 13:03:21 UTC
The errno save/restore code added for bug 19701 could maintain this flag, too.
Comment 1 Adhemerval Zanella 2018-10-25 18:39:15 UTC
What about adding a bridge function on all installed signal handlers that set/reset a per thread flag?