mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
sched/signal: Add logic and an interface to determin if a signal can be caught or ignored. sigaction now correctly returns EINVAL on any attempt to catch or ignore such signals (only SIGKILL for now and only if CONFIG_SIG_DEFAULT=y).
This commit is contained in:
@@ -141,10 +141,10 @@ config TTY_SIGINT
|
||||
devices. May be enabled for other serial devices using the ISIG bit
|
||||
in the Termios c_lflag.
|
||||
|
||||
REVISIT: This implementation is non-standard. The c_lflag ISIG bit
|
||||
normally enables/disables INTR, QUIT, SUSP, and DSUSP character
|
||||
processing. The relationship between these names, standard signals,
|
||||
and typical key presses are as follows:
|
||||
REVISIT: This implementation is compliant but incomplete. The
|
||||
c_lflag ISIG bit normally enables/disables INTR, QUIT, SUSP, and
|
||||
DSUSP character processing. The relationship between these names,
|
||||
standard signals, and typical key presses are as follows:
|
||||
|
||||
INTR SIGINT Ctrl-C ETX(0x03) Interrupt
|
||||
KILL SIGKILL Ctrl-U NAK(0x15) Kill
|
||||
|
||||
Reference in New Issue
Block a user