casaroli opened a new pull request, #4181:
URL: https://github.com/apache/nuttx-apps/pull/4181

   ## Summary
   
   `wakeup_action()` in `testing/ostest/sighand.c` checks that the signal mask 
in the handler is the full set (`sigfillset()`), SIGKILL and SIGSTOP included. 
POSIX says that SIGKILL and SIGSTOP cannot be blocked, so they are not part of 
the mask of a handler.
   
   This PR:
   
   - adds the blank line after a declaration in `waiter_main()` that nxstyle 
asks for (no code change; the CI checks the whole file).
   - leaves SIGKILL and SIGSTOP out of both sets before the compare. The case 
then checks the mask of a handler as POSIX defines it.
   
   ## Impact
   
   Test only. The other signals are compared as before.
   
   ## Testing
   
   Host: macOS arm64 (Arm GNU 13.2.Rel1, QEMU 11.1 TCG, cortex-a53). NuttX 
master 0c45a2fc48b, nuttx-apps master c621be657. Builds with `-Werror`.
   
   ostest on qemu-armv8a:nsh (flat) and qemu-armv8a:knsh (kernel, ostest from 
/system/bin), before and after this PR: `ostest_main: Exiting with status 0`, 
no assertion.
   
   Builds with `-Werror` in the CI image: rv-virt:nsh64 and rv-virt:knsh64 with 
ostest, qemu-armv8a:nsh. 0 warnings (rv-virt has the RWX segment linker warning 
of master).
   
   `tools/checkpatch.sh -c -u -m -g`: pass.
   


-- 
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