summaryrefslogtreecommitdiff
path: root/sys/netbt
AgeCommit message (Collapse)Author
2009-11-21User triggerable KASSERT()s and NULL dereferences in netbt setsockopt()s,Philip Guenthe
found by Clement LECIGNE, localhost DoS everywhere. Also, don't leak the mbuf when the wrong level is used. ok claudio@, "just commit" deraadt@
2009-01-14Accoring to the C standard uint16_t can't be the type of the ``last'' argumentAlexander Yurchenko
of va_start() since it's not compatible with the type that results after application of the default argument promotion. So change it to uint32_t. ok miod@
2008-11-25unbreak build on sgi (thanks jasper)Uwe Stuehler
2008-11-24hopefully that unbreaks macppc; reported by todd and mkUwe Stuehler
2008-11-22Stop a possible race in hci_enable()Uwe Stuehler
2008-11-22Sync bluetooth with NetBSDUwe Stuehler
2008-09-10Convert timeout_add() calls using multiples of hz to timeout_add_sec()Bret Lambert
Really just the low-hanging fruit of (hopefully) forthcoming timeout conversions. ok art@, krw@
2008-06-08timeout_del() removes the triggered flag so check if the timeout triggeredClaudio Jeker
before doing the timeout_del() -- which is actually not needed as triggered timeouts are already removed. While there fix a obvious use after free issue. with mk@ OK canacar@
2008-05-27bring netbt's usrreqs up to speed on the usrreq changes.Thordur I. Bjornsson
allows it too compile again. pointed out by mk@ and deraadt@
2008-02-24Handle "QOS" L2CAP configuration request option, enabling L2CAPUwe Stuehler
connections to Sony Ericsson W880i mobile phones
2008-02-24Sync sys/netbt with NetBSDUwe Stuehler
ok deraadt@
2007-10-01Last of the really easy bzero() -> M_ZERO. Use 'p = malloc(sizeof(*p) ...'Kenneth R Westerback
where obvious.
2007-09-17Only the most obvious bzero() -> M_ZERO changes. No cast changes, noKenneth R Westerback
MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an immediately adjacent bzero().
2007-07-22spacing, chop some of the more obscenely long lines.Gordon Willem Klok
2007-06-26Fix "the the"s. ok miod@.Tom Cosgrove
2007-06-24Remove some unused leftover code; original request from jasper@Uwe Stuehler
2007-06-19Abort all pending ACL connections when we get an HCI command parameterUwe Stuehler
error in response to a HCI_CMD_CREATE_CON command instead of waiting that the user aborts due to boredom. Unfortunately, the command status event does not include a hint to tells us which connection failed.
2007-06-06No need to call hci_enable() when we can do "btconfig <dev> up"; ok gwkUwe Stuehler
2007-06-06Do not dereference a garbage pointer in hci_acl_send()Uwe Stuehler
testing ckuethe
2007-06-02Set a flag in hci_usrreq() to allow priviledged operationsUwe Stuehler
2007-06-01Set BTF_UP before hci_enable() to make hci_unit_lookup() work; ok gwkUwe Stuehler
2007-06-01workq_add_task() flags argument position changedUwe Stuehler
2007-06-01set debug level to 0Uwe Stuehler
2007-06-01complete the sys/netbt import and adopt some more code to our interfacesUwe Stuehler
2007-05-31Enable packet flow between HCI driver and controllerUwe Stuehler
- not all platforms have generic sofintr support, use schednetisr() - enable HCI driver at attach time (for development, since we have no userland tools yet)
2007-05-30Unbreak the tree for gwkUwe Stuehler
2007-05-30Import parts of the NetBSD bluetooth stack; ok gwk, and grange on removalUwe Stuehler
of the existing code
2007-05-26one extern seems to be better than 20 for ifqmaxlen; ok krwJason Wright
2006-12-01spelling: queue, not qeueueCamiel Dobbelaar
2006-03-04With the exception of two other small uncommited diffs this movesBrad Smith
the remainder of the network stack from splimp to splnet. ok miod@
2005-07-15From FreeBSD netgraph/bluetooth/include/ng_hci.h rev. 1.5:Alexander Yurchenko
Rename 'class' field to 'uclass' in the ng_hci_inquiry_response structure. class is a reserved word in C++ Submitted by: Markus Brueffer < markus AT brueffer DOT de >
2005-01-17cleanup rcsidsMichael Shalayeff
2005-01-14Restrict AF_BLUETOOTH sockets to root for now. Discussed with theo andAlexander Yurchenko
markus.
2005-01-14First step in Bluetooth protocol stack support.Alexander Yurchenko
The code is adopted from the FreeBSD netgraph-based Bluetooth implementation by Maksim Yevmenkin <m_evmenkin@yahoo.com> but all netgraph glue was replaced with usual BSD network stack hooks. This is a work in progress. Only HCI layer works for now, L2CAP and RFCOMM are on the way. Help in testing from many, ok markus@.