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). In the rt-smart kernel, LWP syscall handlers in components/lwp (e.g. the stat handler sys stat in components/lwp/lwp syscall.c) report failures to user space by returning a negative errno derived from…
The task
In the rt-smart kernel, LWP syscall handlers in components/lwp (e.g. the stat handler `sys_stat` in components/lwp/lwp_syscall.c) report failures to user space by returning a negative errno derived from the current thread errno. That errno is currently read only at the moment the handler returns. Between the call…
Part of henryen/OriGent-RL-Data.