USB: core: add a way to revoke access to open USB devices
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 31 repliesIn review
Changes since v2 from the cover letter
- Changed the internal API to pass a struct usb_device
- Fixed potential busy loop in user-space when revoking access to a device
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | USB: core: add a way to revoke access to open USB devicesdrivers/ drivers/ | +77 | 13 replies | |
| 2/2 | usb: Implement usb_revoke() BPF functiondrivers/ | +51 | 14 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] USB: core: add a way to revoke access to open USB devices
BPF list, first CC: here, I hope the commit messages are clear enough to understand the purpose of the patchset. If not, your comments would be greatly appreciated so I can make the commit messages self-explanatory.
Eric, what would be the right identifier to use for a specific user namespace that userspace could find out? I know the PIDs of the bubblewrap processes that created those user namespaces, would those be good enough?
Changes since v2:
- Changed the internal API to pass a struct usb_device
- Fixed potential busy loop in user-space when revoking access to a device
Bastien Nocera (2):
USB: core: add a way to revoke access to open USB devices
usb: Implement usb_revoke() BPF function
drivers/usb/core/devio.c | 79 ++++++++++++++++++++++++++++++++++++++-- drivers/usb/core/usb.c | 51 ++++++++++++++++++++++++++ drivers/usb/core/usb.h | 2 + 3 files changed, 128 insertions(+), 4 deletions(-)
Signature · 1 line
2.37.1