aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/bluetooth/sdpd
Commit message (Collapse)AuthorAgeFilesLines
* bluetooth: sdpd: switch to getpeereid() instead of LOCAL_PEERCREDKyle Evans2025-07-241-7/+5
| | | | | | | | | sdpd's usage was mostly fine, though it debatably should have been checking the xucred version to avoid mishaps. Switch it to getpeereid() anyways to avoid embedding xucred layout details in more program. Reviewed by: emax Differential Revision: https://reviews.freebsd.org/D51152
* bluetooth: Use nitems(foo) instead of sizeof(foo)/sizeof(foo[0])Elyes Haouas2024-04-294-5/+9
| | | | | Pull Request: https://github.com/freebsd/freebsd-src/pull/888 Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
* Remove $FreeBSD$: one-line nroff patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\.\\"\s*\$FreeBSD\$$\n/
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-162-2/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Remove $FreeBSD$: one-line .h patternWarner Losh2023-08-1629-29/+0
| | | | Remove /^\s*\*+\s*\$FreeBSD\$.*$\n/
* Remove $FreeBSD$: two-line .h patternWarner Losh2023-08-162-4/+0
| | | | Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-1231-31/+31
| | | | | | | | | The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch up to that fact and revert to their recommended match of BSD-2-Clause. Discussed with: pfg MFC After: 3 days Sponsored by: Netflix
* Update/fix Makefile.depend for userlandSimon J. Gerraty2023-04-191-1/+0
|
* bluetooth: Fix a mandoc related issuesGordon Bergling2020-12-191-10/+10
| | | | | | | | | | | | | | - new sentence, new line - sections out of conventional order: Sh FILES - unusual Xr order: bthost(1) after bthidd(8) - no blank before trailing delimiter - whitespace at end of input line - sections out of conventional order: Sh EXIT STATUS MFC after: 1 week Notes: svn path=/head/; revision=368813
* pkgbase: Add a FreeBSD-bluetooth packageEmmanuel Vadot2019-07-191-0/+1
| | | | | | | | | | | | | Move the bluetooth related files from FreeBSD-runtime to a new package named FreeBSD-bluetooth The FreeBSD runtime is only intended to have everything for a working FreeBSD installation and bluetooth isn't needed for that. Reviewed by: bapt, gjb Differential Revision: https://reviews.freebsd.org/D20959 Notes: svn path=/head/; revision=350132
* Improve Bluetooth device discovery support for Android and Microsoft devices.Hans Petter Selasky2019-02-081-1/+127
| | | | | | | | | | | | Tested using the virtual_bt_speaker(8) tool from the virtual_oss(8) project at github.com. PR: 210089 MFC after: 1 week Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=343905
* Add support for Audio Sink and Audio Source profiles to sdpd(8).Hans Petter Selasky2019-01-304-1/+382
| | | | | | | | | | | This allows user-space programs like virtual_oss(8) to act as a Bluetooth speaker device. MFC after: 1 week Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=343572
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-2729-24/+82
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. No functional change intended. Notes: svn path=/head/; revision=326276
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+21
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge sync of headSimon J. Gerraty2015-05-2723-2/+23
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=283595
| * Merge head from 7/28Simon J. Gerraty2014-08-191-1/+1
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=270164
| * | Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * | Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * | Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * | Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+22
| | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | Check l2cap socket initialisation and define L2CAP_SOCKET_CHECKEDTakanori Watanabe2015-04-0723-2/+23
| |/ |/| | | | | | | | | | | This will fix build. Notes: svn path=/head/; revision=281210
* | use .Mt to mark up email addresses consistently (part2)Baptiste Daroussin2014-06-201-1/+1
|/ | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de> Notes: svn path=/head/; revision=267668
* Touch up some more small typos missed in the previous round.Ulrich Spörlein2012-01-051-1/+1
| | | | | | | Reported by: Ben Kaduk <minimarmot@gmail.com> et al. Notes: svn path=/head/; revision=229655
* Spelling fixes for usr.sbin/Ulrich Spörlein2011-12-301-1/+1
| | | | Notes: svn path=/head/; revision=228990
* In usr.sbin/bluetooth/sdpd/server.c, don't use the size of a pointer asDimitry Andric2011-12-171-1/+1
| | | | | | | | | the length argument to memset, but the size of the object pointed to. MFC after: 1 week Notes: svn path=/head/; revision=228655
* Straighten out those pesky SDP records for the BluetoothMaksim Yevmenkin2008-11-251-10/+26
| | | | | | | | | | Service Discovery Application Profile. Discussed with: Iain Hibbert of NetBSD plunky at rya dash online dot net MFC after: 3 weeks Notes: svn path=/head/; revision=185320
* Add mandatory "security description" SDP parameter to the PANU profileMaksim Yevmenkin2008-03-191-0/+15
| | | | | | | | Pointed-out by: Iain Hibbert < plunky at rya-online dot net > MFC after: 3 days Notes: svn path=/head/; revision=177364
* Add PSM and Load Factor SDP parameters to the BNEP based profilesMaksim Yevmenkin2008-03-186-15/+110
| | | | | | | | | | | | | | (NAP, GN and PANU). No reason to not to support them. Separate SDP parameters data structures for the BNEP based profiles. Generalize Service Availability SDP parameter creation. Requested by: Iain Hibbert < plunky at rya-online dot net > MFC after: 3 days Notes: svn path=/head/; revision=177358
* Add support for the NAP, GN and PANU profiles to the sdpd(8).Maksim Yevmenkin2008-03-116-6/+562
| | | | | | | | | | It should be mentioned that a somewhat similar patch was submitted by Rako < rako29 at gmail dot com > MFC after: 1 week Notes: svn path=/head/; revision=177059
* Check that the length of the received message is at least as big as a PDUMaksim Yevmenkin2007-02-231-1/+2
| | | | | | | | | | before we use pdu->len. Submitted by: Iain Hibbert MFC after: 3 days Notes: svn path=/head/; revision=166915
* Use socklen_t instead of int32_t where appropriate to pacify new GCC4Maksim Yevmenkin2006-09-211-2/+4
| | | | | | | | | | warnings. Submitted by: kan MFC after: 1 week Notes: svn path=/head/; revision=162494
* Fix formatting. Add missing break;Maksim Yevmenkin2006-05-141-2/+3
| | | | | | | | Submitted by: Iain Hibbert MFC after: 3 days Notes: svn path=/head/; revision=158579
* Properly convert L2CAP PSM values in sockaddr_l2cap to LE16 byte order.Maksim Yevmenkin2006-03-161-1/+1
| | | | | | | | Noticed by: Iain Hibbert < plunky at rya-online dot net > MFC after: 3 days Notes: svn path=/head/; revision=156784
* Teach sdpd(8) to check peer's credentials before accepting request toMaksim Yevmenkin2005-12-066-9/+55
| | | | | | | | | | | register, remove or change services in the local database. For now only accept the request if the peer has effective user ID the same as 'root' user ID. MFC after: 1 week Notes: svn path=/head/; revision=153176
* Fix all the spelling mistakes I could find in the man pages for wordsGiorgos Keramidas2005-07-311-2/+2
| | | | | | | | | | | that have at least 3 characters. MFC after: 1 week Thanks to: Music band ``Chingon'' for keeping me company while searching for these. Notes: svn path=/head/; revision=148580
* Sort sections.Ruslan Ermilov2005-01-181-3/+3
| | | | Notes: svn path=/head/; revision=140442
* Teach sdpd(8) about 32-bit and 128-bit uuid's.Maksim Yevmenkin2005-01-055-13/+162
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=139721
* Avoid casts as lvalues.Alexander Kabaev2004-07-281-3/+6
| | | | Notes: svn path=/head/; revision=132790
* Assorted markup, grammar, and spelling fixes.Ruslan Ermilov2004-06-131-10/+10
| | | | Notes: svn path=/head/; revision=130420
* Add extra sanity check for SDP packets in libsdp(3)Maksim Yevmenkin2004-02-261-1/+3
| | | | | | | Fix yet another endianess bug in sdpd(8) Notes: svn path=/head/; revision=126297
* Fix endianes bugMaksim Yevmenkin2004-02-251-0/+3
| | | | Notes: svn path=/head/; revision=126245
* Cleanup CFLAGS in libsdp(3) MakefileMaksim Yevmenkin2004-01-251-0/+13
| | | | | | | | | Connect sdpd(8) to the build Reviewed by: ru, imp (mentor) Notes: svn path=/head/; revision=124986
* Import sdpd(8) sources. This is Bluetooth Service Discovery Protocol daemon.Maksim Yevmenkin2004-01-2025-0/+4283
Extend libsdp(3) API to allow service registration and removal. Fix uninitialized variable bug in sdpcontrol(8). Reviewed by: imp (mentor) No objection: ru Notes: svn path=/head/; revision=124758