Date: Fri, 20 Oct 2017 10:01:21 +0000 (UTC) From: Hans Petter Selasky <hselasky@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org Subject: svn commit: r324798 - stable/10/sys/dev/usb Message-ID: <201710201001.v9KA1Lc7077127@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: hselasky Date: Fri Oct 20 10:01:21 2017 New Revision: 324798 URL: https://svnweb.freebsd.org/changeset/base/324798 Log: MFC r323916: Extend sysctl description for hw.usb.disable_enumeration . PR: 222505 Submitted by: Julian H. Stacey <jhs@berklix.com> Sponsored by: Mellanox Technologies Modified: stable/10/sys/dev/usb/usb_hub.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys/dev/usb/usb_hub.c ============================================================================== --- stable/10/sys/dev/usb/usb_hub.c Fri Oct 20 09:59:39 2017 (r324797) +++ stable/10/sys/dev/usb/usb_hub.c Fri Oct 20 10:01:21 2017 (r324798) @@ -101,7 +101,9 @@ SYSCTL_INT(_hw_usb, OID_AUTO, power_timeout, CTLFLAG_R #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."); TUNABLE_INT("hw.usb.disable_enumeration", &usb_disable_enumeration); static int usb_disable_port_power = 0;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710201001.v9KA1Lc7077127>