JianyuWang0623 opened a new pull request, #16927:
URL: https://github.com/apache/nuttx/pull/16927

   ## Summary
   Old signal action need save `sa_user`.
   For example, set sigaction after create signalfd, the `sa_sigaction` was 
restored but `sa_user` not, causing `signalfd_action()` get the wild private 
data.
   ```
   # create signalfd,
   xxxx_main -> signalfd -> nxsig_action
   
   # set sigaction
   nsh_telnetstart -> nsh_parse -> nsh_parse_command -> nsh_execute -> 
nsh_builtin -> sigaction -> nxsig_action
   ```
   ## Impact
   - sched/signal
   
   ## Testing
   1. Selftest with signalfd OK.
   2. CI
   
   
   


-- 
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-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to