A signal is a mechanism for transferring control that is typically used to notify a process that an event has occurred. That process can then respond to that event accordingly. The C standard provides Standard provides functions for sending and handling signals within a C program.
...
POSIX recommends sigaction()
and deprecates signal()
. Unfortunately, sigaction()
is not defined in the C standard and Standard and is consequently not as portable a solution.
...
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
Related Guidelines
...
...
...
Insufficient synchronization |
...
ISO/IEC 2003 Section 5.2.3, "Signals and interrupts"
Bibliography
[Dowd 2006] | Chapter 13, "Synchronization and State" ("Signal |
...
Interruption and |
...
Repetition") | |
[ISO/IEC 2003] | Section 5.2.3, "Signals and Interrupts" |
[Open Group 2004] | longjmp |
[OpenBSD] | signal() Man Page |
[Zalewski 2001] |