Repair a verified behavior in apache/nuttx.
Repair a verified behavior in apache/nuttx.: a task in OriGent-RL-Data (Harbor dataset). fdcheck: protected descriptor values are not unique per open, so a stale fd silently closes a reopened file
The task
fdcheck: protected descriptor values are not unique per open, so a stale fd silently closes a reopened file
Part of henryen/OriGent-RL-Data.