Repair a verified behavior in RT-Thread/rt-thread.
Repair a verified behavior in RT-Thread/rt-thread.: a task in OriGent-RL-Data (Harbor dataset). RT-Thread Smart's Linux-compatible LWP syscall support mishandles thread and process termination for MMU-enabled user processes. The kernel entry for exit(2) is void sys exit(int status) , but it…
The task
RT-Thread Smart's Linux-compatible LWP syscall support mishandles thread and process termination for MMU-enabled user processes. The kernel entry for `_exit(2)` is `void sys_exit(int status)`, but it currently follows the whole-process termination path even when a non-main user thread invokes it. Consequently, one…
Part of henryen/OriGent-RL-Data.