I need usbguard::Device to expose std::shared ptr<usbguard::Rule getDeviceRule(bool with port = true…
I need usbguard::Device to expose std::shared ptr<usbguard::Rule getDeviceRule(bool with port = true…: a task in MiMo-V2.6-Code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). For a device with rule ID 7, target Rule::Target::Allow , USB ID 1234:abcd , serial S123 , name Example Keyboard , connect…
The task
For a device with rule ID 7, target `Rule::Target::Allow`, USB ID `1234:abcd`, serial `S123`, name `Example Keyboard`, connect type `hotplug`, port `1-2`, interface types `03:01:01` and `03:00:00`, finalized hash `deviceHash`, and explicit parent hash `parentHash`, `device.getDeviceRule(true, true, false)` should…
Part of openmodelai/MiMo-V2.6-Code.