Repair a verified behavior in apache/nuttx.
Repair a verified behavior in apache/nuttx.: a task in OriGent-RL-Data (Harbor dataset). NuttX's TUN device-file interface returns the wrong errno for nonblocking write backpressure. Open /dev/tun with O RDWR O NONBLOCK , attach a layer-3 interface with TUNSETIFF and IFF TUN , and configure the…
The task
NuttX's TUN device-file interface returns the wrong errno for nonblocking write backpressure. Open `/dev/tun` with `O_RDWR | O_NONBLOCK`, attach a layer-3 interface with `TUNSETIFF` and `IFF_TUN`, and configure the returned interface for IPv4, for example by assigning it address `10.0.0.2` with netmask…
Part of henryen/OriGent-RL-Data.