Add sysctl hw.ucomnames to list 'fixed' paths to USB serial
authorkrw <krw@openbsd.org>
Sun, 1 Oct 2023 15:58:11 +0000 (15:58 +0000)
committerkrw <krw@openbsd.org>
Sun, 1 Oct 2023 15:58:11 +0000 (15:58 +0000)
commit36bb8c29181ecb600c921487fecd40f16c75f9fe
tree331769be538e5514b6bfe8d3a8dff080d08a5178
parent67b1f7ba85f96212e2de5cbf2eb02e5721c841b3
Add sysctl hw.ucomnames to list 'fixed' paths to USB serial
ports.

Suggested by deraadt@, USB route idea from kettenis@. Feedback
from anton@, man page improvements from deraadt@, jmc@,
schwarze@.

ok deraadt@ kettenis@
lib/libc/sys/sysctl.2
sys/dev/usb/ucom.c
sys/dev/usb/ucomvar.h
sys/dev/usb/usb_subr.c
sys/dev/usb/usbdi.h
sys/kern/kern_sysctl.c
sys/sys/sysctl.h