+4
−3
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Current implementation updates the permissions of sysfs nodes of a device upon the following actions: "add", "change" and "online". But certain sysfs nodes (ex: wakeup capabilities under power management) of devices are not present when the device is added, but these are generally dependent on the device driver and are added once the driver is bound. This is particularly common in USB host stack. If the bind action events are not parsed the ueventd will not update the permissions of these nodes. Hence, add the support for updating permissions on bind action as well. Bug: 174215510 Test: Verified permissions updated on bind action Change-Id: Ic1a147e3993ef78dd6c539bbae652e8107207b87