Swatantra-66 commented on code in PR #21140: URL: https://github.com/apache/nuttx/pull/21140#discussion_r4431767214
########## arch/arm/include/syscall.h: ########## @@ -122,7 +122,11 @@ * void signal_handler_return(void); */ -#define SYS_signal_handler_return (7) +#ifdef __ASSEMBLY__ +# define SYS_signal_handler_return CONFIG_SYS_RESERVED +#else +void signal_handler_return(void); Review Comment: Reverted syscall.h. SYS_signal_handler_return remains at its original reserved slot (7). Instead of renumbering, we follow the ARM64 / RISC-V pattern using USER_SIGRETURN(tcb, cmd) to allow only valid dispatched signal returns from user mode -- 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]
