Swatantra-66 commented on code in PR #21140: URL: https://github.com/apache/nuttx/pull/21140#discussion_r4432464258
########## arch/arm/src/armv7-r/arm_syscall.c: ########## @@ -42,6 +43,22 @@ #include "sched/sched.h" #include "signal/signal.h" +/**************************************************************************** + * Pre-processor Definitions + ****************************************************************************/ + +/* From user mode, the only reserved system call that is allowed is the + * return from a signal handler that the kernel dispatched. Without full + * signal support the kernel dispatches no handler, so none is allowed. + */ + +#if defined(CONFIG_ENABLE_ALL_SIGNALS) && defined(CONFIG_BUILD_PROTECTED) +# define USER_SIGRETURN(tcb, cmd) \ Review Comment: Switched back to the lookup approach without USER_SIGRETURN. _exit is no longer duplicated in syscall_lookup.h, syscall.csv is untouched (no unneeded proxy), no C prototype in syscall.h, and armv8-r is untouched -- 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]
