Re: [PATCH 03/11] Creation of "usb_device_auth" LSM hook

From: Salvatore Mesoraca
Date: Tue Jun 13 2017 - 03:50:12 EST


2017-06-12 21:38 GMT+02:00 Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>:
> No, like Krzysztof said, you can already do this today, just fine, from
> userspace. I think that support has been there for over a decade now,
> why are you not taking advantage of this already?
> No need to add extra stuff to the kernel at all to do this

Honesty, now that you mention it, I agree with you.
This feature can be implemented in userspace and I'm the first one to
think that what can be implemented in userspace should stay in
userspace.

> sorry you
> implemented all of this for no reason :(

Don't worry, usb filtering is just a small part of this patchset.
Let's hope the rest will end up being more useful. :)

Thank you very much for taking the time to answer me.