HF RL Explorer

Repair a verified behavior in modm-io/modm.

Repair a verified behavior in modm-io/modm.: a task in OriGent-SFT-Data (Harbor dataset). The Linux modm::platform::SocketCan adapter incorrectly reports a successful open when the named network interface does not exist. SocketCan::open(std::string deviceName) acquires a raw PF CAN / SOCK RAW /…

The task

The Linux `modm::platform::SocketCan` adapter incorrectly reports a successful open when the named network interface does not exist. `SocketCan::open(std::string deviceName)` acquires a raw `PF_CAN`/`SOCK_RAW`/`CAN_RAW` socket and asks for the interface index with `SIOCGIFINDEX`, but it does not check that lookup…

Part of henryen/OriGent-SFT-Data.