mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 09:41:03 -04:00
Extend sysctl description for hw.usb.disable_enumeration .
PR: 222505 Submitted by: Julian H. Stacey <jhs@berklix.com> MFC after: 1 week Sponsored by: Mellanox Technologies
This commit is contained in:
parent
1c6ea90df5
commit
d384b1673f
1 changed files with 3 additions and 1 deletions
|
|
@ -100,7 +100,9 @@ SYSCTL_INT(_hw_usb, OID_AUTO, power_timeout, CTLFLAG_RWTUN,
|
|||
#if USB_HAVE_DISABLE_ENUM
|
||||
static int usb_disable_enumeration = 0;
|
||||
SYSCTL_INT(_hw_usb, OID_AUTO, disable_enumeration, CTLFLAG_RWTUN,
|
||||
&usb_disable_enumeration, 0, "Set to disable all USB device enumeration.");
|
||||
&usb_disable_enumeration, 0, "Set to disable all USB device enumeration. "
|
||||
"This can secure against USB devices turning evil, "
|
||||
"for example a USB memory stick becoming a USB keyboard.");
|
||||
|
||||
static int usb_disable_port_power = 0;
|
||||
SYSCTL_INT(_hw_usb, OID_AUTO, disable_port_power, CTLFLAG_RWTUN,
|
||||
|
|
|
|||
Loading…
Reference in a new issue