Re: [RFC v1] USB: core: add USBDEVFS_REVOKE ioctl

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2022-04-26 at 12:27 +1000, Peter Hutterer wrote:
> The primary focus of all this are joystick devices (unless I missed
> some other
> grand plans Bastien had that I'm not aware of), that should put
> things in
> context a bit. 

It's for every USB device out there:
https://github.com/flatpak/xdg-desktop-portal/issues/227
https://github.com/flatpak/xdg-desktop-portal/pull/559
including support for Chrome's WebUSB:

https://wicg.github.io/webusb/

The end goal (with the portals and the revoke support) is sandboxed
applications being able to enumerate USB devices, access them, and
revoke access to them without full devices access, or overly broad user
access.

> I have a very simple hidraw tester here:
> https://github.com/whot/hidiocrevoke-test/blob/master/revoke.c
> Updating that to take usb devices can't be that hard :)

It just requires me finding the right device to test with ;)



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux