Skip to content

refactor deny_new_usb syctl into usb core sysctl table registration #50

@anthraxx

Description

@anthraxx

It's discouraged to define sysctls in kernel/sysctl.c but as the usb subsystem can be totally isolated into a kernel module, there are no appropriate places to put it in a clean way. It would be better to register a sysctl table in the usb core and use deny_new_usb there, which will work no matter if usb is compiled in or used as a module.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestfeatureChanges related to a new feature

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions