You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "extinguish (via GitHub)" <gi...@apache.org> on 2026/01/13 09:39:21 UTC
[PR] signal: add default sigaction for SIGURG [nuttx]
extinguish opened a new pull request, #17861:
URL: https://github.com/apache/nuttx/pull/17861
## Summary
Add POSIX‑compliant default signal handling for SIGURG:
1. Introduce CONFIG_SIG_SIGURG_ACTION Kconfig option to enable default SIGURG behavior.
2. Register nxsig_null_action (ignore) as the default action for SIGURG when the option is selected, aligning with the POSIX requirement that SIGURG be ignored by default.
## Impact
1. Makes NuttX signal behavior conform to the POSIX standard for SIGURG.
2. Fixes the failing test case /tset/ANSI.os/signal/signal_X/T.signal_X which expects SIGURG to be ignored by default.
3. Maintains backward compatibility: existing applications that explicitly handle SIGURG are unaffected, and the feature is optional (default n).
## Testing
Verified that the /tset/ANSI.os/signal/signal_X/T.signal_X test case now passes.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] signal: add default sigaction for SIGURG [nuttx]
Posted by "anchao (via GitHub)" <gi...@apache.org>.
anchao merged PR #17861:
URL: https://github.com/apache/nuttx/pull/17861
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org