| History log of /src/lib/libusbhid |
| Revision | Date | Author | Comments |
| 1.1 | 28-Dec-2001 |
augustss | Update for uhidev(4) changes. Also rename libusb to libusbhid (which is a much better name).
|
| 1.1 | 03-Apr-2013 |
agc | branches: 1.1.2; file Version.map was initially added on branch agc-symver.
|
| 1.1.2.1 | 03-Apr-2013 |
agc | Add symbol versioning information for the following libraries:
libbluetooth libbsdmalloc libexecinfo libform libintl libipsec libkvm liblwres libnpf libp2k libpci libperfuse libppath libprop libpuffs librefuse librpcsvc librt librumpclient librumphijack librumpuser libukfs libusbhid libwrap
|
| 1.9 | 04-Apr-2020 |
fox | lib/libusbhid: Fix possible left shift changes signedness bit.
This bug was reported by UBSan runs.
lib/libusbhid/data.c:58:25 lib/libusbhid/data.c:91:7 lib/libusbhid/data.c:92:7
Can result in left shift changes signedness bit as a side effect positive number can go negative, cast it to unsigned for the operation and silence the issue.
Reviewed by: kamil@
|
| 1.8 | 07-Jan-2016 |
jakllsch | branches: 1.8.16; Fix buffer-overrun/off-by-one in hid_set_data(3).
(The tests only detected this as a problem on ARMv7, not i386.)
|
| 1.7 | 01-Jan-2016 |
jakllsch | Fix hid_get_data() for negative or 32-bit report data.
|
| 1.6 | 12-May-2010 |
plunky | hid_get_data() will read an extra byte if the data being read ends on a byte boundary. This byte is subsequently discarded, but it could be a byte from memory after the end of the report being parsed.
Fix this by rounding up and ending the loop one earlier.
|
| 1.5 | 14-Dec-2005 |
wiz | branches: 1.5.4; 1.5.26; Fix sign extension broken by previous. dillo hacked here too.
|
| 1.4 | 05-Dec-2005 |
christos | fix non-portable right shifts.
|
| 1.3 | 26-Jul-2003 |
salo | netbsd.org->NetBSD.org
|
| 1.2 | 08-Mar-2003 |
lukem | add RCSID
|
| 1.1 | 28-Dec-2001 |
augustss | Update for uhidev(4) changes. Also rename libusb to libusbhid (which is a much better name).
|
| 1.5.26.1 | 21-Nov-2010 |
riz | Pull up following revision(s) (requested by plunky in ticket #1398): lib/libusbhid/data.c: revision 1.6 hid_get_data() will read an extra byte if the data being read ends on a byte boundary. This byte is subsequently discarded, but it could be a byte from memory after the end of the report being parsed. Fix this by rounding up and ending the loop one earlier.
|
| 1.5.4.1 | 13-Jun-2010 |
riz | Pull up following revision(s) (requested by plunky in ticket #1394): lib/libusbhid/data.c: revision 1.6 hid_get_data() will read an extra byte if the data being read ends on a byte boundary. This byte is subsequently discarded, but it could be a byte from memory after the end of the report being parsed. Fix this by rounding up and ending the loop one earlier.
|
| 1.8.16.1 | 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
| 1.6 | 31-Dec-2015 |
jakllsch | compare pointer against NULL instead of 0
|
| 1.5 | 11-Apr-2007 |
plunky | add const to the data for hid_use_report_desc() since it does not modify the memory.
|
| 1.4 | 26-Jul-2003 |
salo | branches: 1.4.16; 1.4.18; netbsd.org->NetBSD.org
|
| 1.3 | 08-Mar-2003 |
lukem | add RCSID
|
| 1.2 | 20-Feb-2002 |
christos | Prefix structure members to protect them against clashes with eg. c++ keywords. Suggested by Alfred Perlstein, from FreeBSD, ok'd by augustss
|
| 1.1 | 28-Dec-2001 |
augustss | Update for uhidev(4) changes. Also rename libusb to libusbhid (which is a much better name).
|
| 1.4.18.1 | 03-Sep-2007 |
wrstuden | Sync w/ NetBSD-4-RC_1
|
| 1.4.16.1 | 19-Jul-2007 |
liamjfoy | Pull up following revision(s) (requested by plunky in ticket #744): sys/netbt/l2cap_lower.c: revision 1.6 sys/dev/bluetooth/btdev.h: revision 1.6 sys/netbt/sco_socket.c: revision 1.9 sys/netbt/rfcomm_upper.c: revision 1.3 sys/netbt/l2cap_socket.c: revision 1.7 sys/netbt/rfcomm_upper.c: revision 1.5 lib/libusbhid/usbhid.h: revision 1.5 sys/netbt/rfcomm_upper.c: revision 1.6 usr.sbin/btdevctl/btdevctl.c: revision 1.4 usr.sbin/btdevctl/btdevctl.h: revision 1.3 usr.sbin/btdevctl/btdevctl.8: revision 1.4 sys/netbt/rfcomm_session.c: revision 1.5 sys/netbt/hci.h: revision 1.10 usr.bin/rfcomm_sppd/rfcomm_sppd.c: revision 1.6 sys/netbt/hci_link.c: revision 1.11 usr.bin/rfcomm_sppd/rfcomm_sppd.c: revision 1.7 usr.bin/rfcomm_sppd/rfcomm_sppd.c: revision 1.8 sys/dev/bluetooth/btsco.c: revision 1.14 sys/netbt/rfcomm_session.c: revision 1.9 usr.sbin/btdevctl/sdp.c: revision 1.2 share/man/man9/bluetooth.9: revision 1.2 usr.sbin/btdevctl/sdp.c: revision 1.3 sys/dev/bluetooth/bthidev.c: revision 1.8 sys/netbt/l2cap.h: revision 1.4 sys/netbt/rfcomm.h: revision 1.3 sys/netbt/l2cap.h: revision 1.5 sys/netbt/l2cap_misc.c: revision 1.3 share/man/man4/bluetooth.4: revision 1.5 lib/libusbhid/usbhid.3: revision 1.11 sys/netbt/bluetooth.h: revision 1.5 share/man/man4/bthidev.4: revision 1.8 sys/netbt/rfcomm_dlc.c: revision 1.3 usr.sbin/btdevctl/print.c: revision 1.8 sys/netbt/rfcomm_socket.c: revision 1.7 sys/netbt/l2cap_signal.c: revision 1.4 sys/netbt/l2cap_signal.c: revision 1.5 sys/netbt/l2cap_signal.c: revision 1.7 sys/netbt/hci_event.c: revision 1.6 usr.bin/rfcomm_sppd/rfcomm_sppd.1: revision 1.5 sys/netbt/l2cap_upper.c: revision 1.3 sys/netbt/l2cap_lower.c: revision 1.2 usr.sbin/btdevctl/db.c: revision 1.3 sys/netbt/l2cap_upper.c: revision 1.6 lib/libusbhid/descr.c: revision 1.5 sys/netbt/l2cap_upper.c: revision 1.7 sys/netbt/l2cap_lower.c: revision 1.4 Add 'service level' security for L2CAP and RFCOMM connections, following the Linux (BlueZ) API. - L2CAP or RFCOMM connections can require the baseband radio link mode be any of: authenticated (devices are paired) encrypted (implies authentication) secured (encryption, plus generate new link key) - for sockets, the mode is set using setsockopt(2) and the socket connection will be aborted if the mode change fails. - mode settings will be applied during connection establishment, and for safety, we enter a wait state and will only proceed when the mode settings are successfuly set. - It is possible to change the mode on already open connections, but not possible to guarantee that data already queued (from either end) will not be delivered. (this is a feature, not a bug) - bthidev(4) and rfcomm_sppd(1) support "auth", "encrypt" and "secure" options - btdevctl(8) by default enables "auth" for HIDs, and "encrypt" for keyboards (which are required to support it) - ALSO INCLUDES OTHER MINOR FIXES
|
| 1.11 | 04-Apr-2020 |
fox | lib/libusbhid: Fix possible left shift changes signedness bit.
This bug was reported by UBSan runs.
lib/libusbhid/parse.c:246:20
Can result in left shift changes signedness bit as a side effect positive number can go negative, cast it to unsigned for the operation and silence the issue.
Reviewed by: kamil@
|
| 1.10 | 10-Dec-2017 |
bouyer | branches: 1.10.4; Fix fallout from hid factorisation: - need to install sys/dev/hid/hid.h for userland - include it where needed - most of the time in place if usb/usbhid.h
|
| 1.9 | 07-Jan-2016 |
jakllsch | Don't crash when the device's HID Report Descriptor Pops from an empty stack.
|
| 1.8 | 23-May-2011 |
joerg | Remove pointless self-assignment
|
| 1.7 | 13-Aug-2010 |
jakllsch | Improve usbhid(3) descriptor/report parsing: Handle signed Physical Minimums Handle signed Unit Exponents
|
| 1.6 | 05-Jan-2010 |
jakllsch | Fix copy-paste-o. Per the HID spec, Global Item Tag 0b001101nn is Physical Minimum, not a alias for Physical Maximum.
|
| 1.5 | 05-Jan-2004 |
augustss | The report size is not a local item, so don't clear it when clearing local items.
|
| 1.4 | 26-Jul-2003 |
salo | netbsd.org->NetBSD.org
|
| 1.3 | 08-Mar-2003 |
lukem | add RCSID
|
| 1.2 | 29-Dec-2001 |
augustss | Fix a size calculation bug.
|
| 1.1 | 28-Dec-2001 |
augustss | Update for uhidev(4) changes. Also rename libusb to libusbhid (which is a much better name).
|
| 1.10.4.1 | 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
| 1.1 | 28-Dec-2001 |
augustss | Update for uhidev(4) changes. Also rename libusb to libusbhid (which is a much better name).
|
| 1.12 | 03-Nov-2021 |
nia | usbhid(3): use reallocarr
|
| 1.11 | 04-Apr-2020 |
fox | lib/libusbhid: Fix possible left shift changes signedness bit.
This bug was reported by UBSan runs.
lib/libusbhid/usage.c:247:27 lib/libusbhid/usage.c:244:28 lib/libusbhid/usage.c:235:13
Can result in left shift changes signedness bit as a side effect positive number can go negative, cast it to unsigned for the operation and silence the issue.
Reviewed by: kamil@
|
| 1.10 | 02-Jan-2016 |
christos | branches: 1.10.16; minor type fixes.
|
| 1.9 | 02-Jan-2016 |
jakllsch | Teach hid_parse_usage_in_page() how to understand hex literals, in addition to the usual table lookup.
|
| 1.8 | 02-Jan-2016 |
jakllsch | Fix round-trip of hid_usage_in_page(hid_parse_usage_in_page()) when the usage is a catch-all format string.
This should allow usbhidctl(1) to understand an item argument of "Button:Button_65535".
|
| 1.7 | 09-Apr-2006 |
christos | fix debug build.
|
| 1.6 | 28-Oct-2004 |
dsl | Use (unsigned char) cast to sanitise arguments to ctype functions.
|
| 1.5 | 27-Oct-2004 |
dsl | Fix a load of international alphabet problems with isxxx() and toupper() Change isspace(*char_ptr) to isspace(*char_ptr & 0xff) so that the correct piece of memory is looked at for the bit mask. gcc optimises out the '& 0xff' (on i386 at least). Fixes problems found by gcc when the splurious (int) cast is removed from the #defines in ctype.h
|
| 1.4 | 26-Jul-2003 |
salo | netbsd.org->NetBSD.org
|
| 1.3 | 08-Mar-2003 |
lukem | add RCSID
|
| 1.2 | 20-Jul-2002 |
grant | sweep of errx/warnx, remove unnecessary trailing \n
|
| 1.1 | 28-Dec-2001 |
augustss | Update for uhidev(4) changes. Also rename libusb to libusbhid (which is a much better name).
|
| 1.10.16.1 | 08-Apr-2020 |
martin | Merge changes from current as of 20200406
|
| 1.12 | 14-Mar-2024 |
jakllsch | Sync with OpenBSD
|
| 1.11 | 14-Mar-2024 |
jakllsch | Remove Reserved usages and ranges thereof
Helps align with future merge
|
| 1.10 | 14-Mar-2024 |
jakllsch | fix typos
|
| 1.9 | 10-Feb-2024 |
andvar | fix various typos in comments and log messages.
|
| 1.8 | 09-Feb-2024 |
andvar | fix spelling mistakes, mainly in comments and log messages.
|
| 1.7 | 01-Jan-2016 |
jakllsch | Alphanumeric is spelled Alphanumeric
|
| 1.6 | 09-May-2012 |
khorben | Extended usb_hid_usages, with help from the equivalent file from FreeBSD. Favored NetBSD upon conflicts, except for a typo and consistency.
ok riz@
|
| 1.5 | 17-Jan-2012 |
christos | branches: 1.5.2; PR/45850: Pierre Pronchery: USB multi-touch panels are not supported
|
| 1.4 | 10-Jul-2009 |
jakllsch | branches: 1.4.6; Add more Keypad usages in the Keyboard/Keypad page from USB HID Usage Tables document version 1.11.
Admitedly these are not going to be noticed when ukbd(4) is around.
While here, correct a typo (that's also in the HUT document), and normalize to ASCII a non-UTF-8 encoding of "moire".
"This may prove useful to some of you someday, perhaps in a somewhat bizarre set of circumstances." - Tom Lehrer
|
| 1.3 | 24-May-2007 |
plunky | branches: 1.3.18; add generic Device Controls usage page information
|
| 1.2 | 16-May-2004 |
lukem | Add entries for items found on the Microsoft Wireless MultiMedia Keyboard 1.1. Spell "Microsoft" correctly.
|
| 1.1 | 28-Dec-2001 |
augustss | Update for uhidev(4) changes. Also rename libusb to libusbhid (which is a much better name).
|
| 1.3.18.1 | 28-Sep-2012 |
sborrill | Pull up the following revisions(s) (requested by liamjfoy in ticket #1797): lib/libusbhid/usb_hid_usages: revision 1.5 via patch share/man/man4/Makefile: revision 1.578 via patch share/man/man4/uts.4: revision 1.1 share/man/man4/wsmouse.4: revision 1.19 via patch sys/arch/amd64/conf/GENERIC: revision 1.346-1.347 via patch sys/arch/i386/conf/GENERIC: revision 1.1078 via patch sys/dev/usb/FILES: revision 1.12 via patch sys/dev/usb/usbdevices.config: revision 1.12 via patch sys/dev/usb/files.usb: revision 1.119-1.120 via patch sys/dev/usb/usbhid.h: revision 1.14 via patch sys/dev/usb/uts.c: revision 1.1 distrib/sets/lists/man/mi: revision 1.1370 via patch
Add uts(4) driver for USB touchscreens.
|
| 1.4.6.2 | 23-May-2012 |
yamt | sync with head.
|
| 1.4.6.1 | 17-Apr-2012 |
yamt | sync with head
|
| 1.5.2.1 | 17-May-2012 |
riz | Pull up following revision(s) (requested by khorben in ticket #249): lib/libusbhid/usb_hid_usages: revision 1.6 Extended usb_hid_usages, with help from the equivalent file from FreeBSD. Favored NetBSD upon conflicts, except for a typo and consistency. ok riz@
|
| 1.17 | 22-May-2022 |
charlotte | usbhid.3: hid_parse_usage_in_page() actually returns int
|
| 1.16 | 22-Oct-2017 |
abhinav | Add hid_parse_usage_page and hid_parse_usage_in_page to the NAME section
|
| 1.15 | 03-Jul-2017 |
wiz | Remove workaround for ancient HTML generation code.
|
| 1.14 | 15-Mar-2012 |
njoly | Use Lk macro when dealing with URLs. Another part of PR/29238.
|
| 1.13 | 12-May-2010 |
plunky | branches: 1.13.6; note const from actual API
|
| 1.12 | 22-Mar-2010 |
joerg | Use .In instead of .Ar Pa for header files.
|
| 1.11 | 11-Apr-2007 |
plunky | add const to the data for hid_use_report_desc() since it does not modify the memory.
|
| 1.10 | 10-Jun-2004 |
uebayasi | branches: 1.10.10; 1.10.12; Minor fix in SEE ALSO; put xref first; .Pp before a sentence.
|
| 1.9 | 06-Jun-2003 |
wiz | Grammar, spelling, markup fixes from jmc@openbsd.
|
| 1.8 | 16-Apr-2003 |
wiz | Use .In header.h instead of .Fd #include \*[Lt]header.h\*[Gt] Much easier to read and write, and supported by groff for ages. Okayed by ross.
|
| 1.7 | 14-Feb-2003 |
grant | 'NetBSD.org' and some mdoc fixes.
|
| 1.6 | 01-Oct-2002 |
wiz | New sentence, new line. From Robert Elz.
|
| 1.5 | 07-Feb-2002 |
ross | Generate <>& symbolically.
|
| 1.4 | 19-Jan-2002 |
wiz | Fix typo in URL, reported by Peter Valchev in private mail.
|
| 1.3 | 12-Jan-2002 |
kristerw | Corrected typo: hid(4) -> uhid(4)
|
| 1.2 | 28-Dec-2001 |
wiz | Update for rename from usb to usbhid.
|
| 1.1 | 28-Dec-2001 |
augustss | Update for uhidev(4) changes. Also rename libusb to libusbhid (which is a much better name).
|
| 1.10.12.1 | 03-Sep-2007 |
wrstuden | Sync w/ NetBSD-4-RC_1
|
| 1.10.10.1 | 19-Jul-2007 |
liamjfoy | Pull up following revision(s) (requested by plunky in ticket #744): sys/netbt/l2cap_lower.c: revision 1.6 sys/dev/bluetooth/btdev.h: revision 1.6 sys/netbt/sco_socket.c: revision 1.9 sys/netbt/rfcomm_upper.c: revision 1.3 sys/netbt/l2cap_socket.c: revision 1.7 sys/netbt/rfcomm_upper.c: revision 1.5 lib/libusbhid/usbhid.h: revision 1.5 sys/netbt/rfcomm_upper.c: revision 1.6 usr.sbin/btdevctl/btdevctl.c: revision 1.4 usr.sbin/btdevctl/btdevctl.h: revision 1.3 usr.sbin/btdevctl/btdevctl.8: revision 1.4 sys/netbt/rfcomm_session.c: revision 1.5 sys/netbt/hci.h: revision 1.10 usr.bin/rfcomm_sppd/rfcomm_sppd.c: revision 1.6 sys/netbt/hci_link.c: revision 1.11 usr.bin/rfcomm_sppd/rfcomm_sppd.c: revision 1.7 usr.bin/rfcomm_sppd/rfcomm_sppd.c: revision 1.8 sys/dev/bluetooth/btsco.c: revision 1.14 sys/netbt/rfcomm_session.c: revision 1.9 usr.sbin/btdevctl/sdp.c: revision 1.2 share/man/man9/bluetooth.9: revision 1.2 usr.sbin/btdevctl/sdp.c: revision 1.3 sys/dev/bluetooth/bthidev.c: revision 1.8 sys/netbt/l2cap.h: revision 1.4 sys/netbt/rfcomm.h: revision 1.3 sys/netbt/l2cap.h: revision 1.5 sys/netbt/l2cap_misc.c: revision 1.3 share/man/man4/bluetooth.4: revision 1.5 lib/libusbhid/usbhid.3: revision 1.11 sys/netbt/bluetooth.h: revision 1.5 share/man/man4/bthidev.4: revision 1.8 sys/netbt/rfcomm_dlc.c: revision 1.3 usr.sbin/btdevctl/print.c: revision 1.8 sys/netbt/rfcomm_socket.c: revision 1.7 sys/netbt/l2cap_signal.c: revision 1.4 sys/netbt/l2cap_signal.c: revision 1.5 sys/netbt/l2cap_signal.c: revision 1.7 sys/netbt/hci_event.c: revision 1.6 usr.bin/rfcomm_sppd/rfcomm_sppd.1: revision 1.5 sys/netbt/l2cap_upper.c: revision 1.3 sys/netbt/l2cap_lower.c: revision 1.2 usr.sbin/btdevctl/db.c: revision 1.3 sys/netbt/l2cap_upper.c: revision 1.6 lib/libusbhid/descr.c: revision 1.5 sys/netbt/l2cap_upper.c: revision 1.7 sys/netbt/l2cap_lower.c: revision 1.4 Add 'service level' security for L2CAP and RFCOMM connections, following the Linux (BlueZ) API. - L2CAP or RFCOMM connections can require the baseband radio link mode be any of: authenticated (devices are paired) encrypted (implies authentication) secured (encryption, plus generate new link key) - for sockets, the mode is set using setsockopt(2) and the socket connection will be aborted if the mode change fails. - mode settings will be applied during connection establishment, and for safety, we enter a wait state and will only proceed when the mode settings are successfuly set. - It is possible to change the mode on already open connections, but not possible to guarantee that data already queued (from either end) will not be delivered. (this is a feature, not a bug) - bthidev(4) and rfcomm_sppd(1) support "auth", "encrypt" and "secure" options - btdevctl(8) by default enables "auth" for HIDs, and "encrypt" for keyboards (which are required to support it) - ALSO INCLUDES OTHER MINOR FIXES
|
| 1.13.6.1 | 17-Apr-2012 |
yamt | sync with head
|
| 1.1 | 21-Nov-2024 |
riastradh | branches: 1.1.4; libusbhid: Add expected symbols list.
PR lib/58838: shared libraries in base should all have expsym lists
|
| 1.1.4.2 | 02-Aug-2025 |
perseant | Sync with HEAD
|
| 1.1.4.1 | 21-Nov-2024 |
perseant | file usbhid.expsym was added on branch perseant-exfatfs on 2025-08-02 05:54:59 +0000
|
| 1.6 | 22-Jan-2016 |
dholland | Uses __BEGIN_DECLS so needs sys/cdefs.h; also needs stdint.h. And, while here, add missing include guard.
|
| 1.5 | 11-Apr-2007 |
plunky | add const to the data for hid_use_report_desc() since it does not modify the memory.
|
| 1.4 | 23-Mar-2007 |
drochner | add __BEGIN_DECLS/__END_DECLS so that this can be used from c++ libs (there is code out there -plib/flightgear- which tries this)
|
| 1.3 | 19-May-2006 |
christos | branches: 1.3.4; 1.3.6; cast shift argument in macro.
|
| 1.2 | 26-Jul-2003 |
salo | netbsd.org->NetBSD.org
|
| 1.1 | 28-Dec-2001 |
augustss | Update for uhidev(4) changes. Also rename libusb to libusbhid (which is a much better name).
|
| 1.3.6.1 | 03-Sep-2007 |
wrstuden | Sync w/ NetBSD-4-RC_1
|
| 1.3.4.1 | 19-Jul-2007 |
liamjfoy | Pull up following revision(s) (requested by plunky in ticket #744): sys/netbt/l2cap_lower.c: revision 1.6 sys/dev/bluetooth/btdev.h: revision 1.6 sys/netbt/sco_socket.c: revision 1.9 sys/netbt/rfcomm_upper.c: revision 1.3 sys/netbt/l2cap_socket.c: revision 1.7 sys/netbt/rfcomm_upper.c: revision 1.5 lib/libusbhid/usbhid.h: revision 1.5 sys/netbt/rfcomm_upper.c: revision 1.6 usr.sbin/btdevctl/btdevctl.c: revision 1.4 usr.sbin/btdevctl/btdevctl.h: revision 1.3 usr.sbin/btdevctl/btdevctl.8: revision 1.4 sys/netbt/rfcomm_session.c: revision 1.5 sys/netbt/hci.h: revision 1.10 usr.bin/rfcomm_sppd/rfcomm_sppd.c: revision 1.6 sys/netbt/hci_link.c: revision 1.11 usr.bin/rfcomm_sppd/rfcomm_sppd.c: revision 1.7 usr.bin/rfcomm_sppd/rfcomm_sppd.c: revision 1.8 sys/dev/bluetooth/btsco.c: revision 1.14 sys/netbt/rfcomm_session.c: revision 1.9 usr.sbin/btdevctl/sdp.c: revision 1.2 share/man/man9/bluetooth.9: revision 1.2 usr.sbin/btdevctl/sdp.c: revision 1.3 sys/dev/bluetooth/bthidev.c: revision 1.8 sys/netbt/l2cap.h: revision 1.4 sys/netbt/rfcomm.h: revision 1.3 sys/netbt/l2cap.h: revision 1.5 sys/netbt/l2cap_misc.c: revision 1.3 share/man/man4/bluetooth.4: revision 1.5 lib/libusbhid/usbhid.3: revision 1.11 sys/netbt/bluetooth.h: revision 1.5 share/man/man4/bthidev.4: revision 1.8 sys/netbt/rfcomm_dlc.c: revision 1.3 usr.sbin/btdevctl/print.c: revision 1.8 sys/netbt/rfcomm_socket.c: revision 1.7 sys/netbt/l2cap_signal.c: revision 1.4 sys/netbt/l2cap_signal.c: revision 1.5 sys/netbt/l2cap_signal.c: revision 1.7 sys/netbt/hci_event.c: revision 1.6 usr.bin/rfcomm_sppd/rfcomm_sppd.1: revision 1.5 sys/netbt/l2cap_upper.c: revision 1.3 sys/netbt/l2cap_lower.c: revision 1.2 usr.sbin/btdevctl/db.c: revision 1.3 sys/netbt/l2cap_upper.c: revision 1.6 lib/libusbhid/descr.c: revision 1.5 sys/netbt/l2cap_upper.c: revision 1.7 sys/netbt/l2cap_lower.c: revision 1.4 Add 'service level' security for L2CAP and RFCOMM connections, following the Linux (BlueZ) API. - L2CAP or RFCOMM connections can require the baseband radio link mode be any of: authenticated (devices are paired) encrypted (implies authentication) secured (encryption, plus generate new link key) - for sockets, the mode is set using setsockopt(2) and the socket connection will be aborted if the mode change fails. - mode settings will be applied during connection establishment, and for safety, we enter a wait state and will only proceed when the mode settings are successfuly set. - It is possible to change the mode on already open connections, but not possible to guarantee that data already queued (from either end) will not be delivered. (this is a feature, not a bug) - bthidev(4) and rfcomm_sppd(1) support "auth", "encrypt" and "secure" options - btdevctl(8) by default enables "auth" for HIDs, and "encrypt" for keyboards (which are required to support it) - ALSO INCLUDES OTHER MINOR FIXES
|
| 1.2 | 26-Jul-2003 |
salo | netbsd.org->NetBSD.org
|
| 1.1 | 28-Dec-2001 |
augustss | Update for uhidev(4) changes. Also rename libusb to libusbhid (which is a much better name).
|