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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to