aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/bluetooth
Commit message (Collapse)AuthorAgeFilesLines
* Remove residual blank line at start of MakefileWarner Losh2024-07-151-1/+0
| | | | | | | This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
* Remove $FreeBSD$: one-line nroff patternWarner Losh2023-08-163-3/+0
| | | | Remove /^\.\\"\s*\$FreeBSD\$$\n/
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-168-8/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Remove $FreeBSD$: one-line .h patternWarner Losh2023-08-164-4/+0
| | | | Remove /^\s*\*+\s*\$FreeBSD\$.*$\n/
* spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh2023-05-124-4/+4
| | | | | | | | | 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-193-4/+0
|
* pkgbase: Add a FreeBSD-bluetooth packageEmmanuel Vadot2019-07-193-0/+4
| | | | | | | | | | | | | 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
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-274-3/+11
| | | | | | | | | | | | | | | | | 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-313-3/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* Hide struct socket and struct unpcb from the userland.Gleb Smirnoff2017-10-021-0/+1
| | | | | | | | | | | | | | | | | | | Violators may define _WANT_SOCKET and _WANT_UNPCB respectively and are not guaranteed for stability of the structures. The violators list is the the usual one: libprocstat(3) and netstat(1) internally and lsof in ports. In struct xunpcb remove the inclusion of kernel structure and add a bunch of spare fields. The xsocket already has socket not included, but add there spares as well. Embed xsockbuf into xsocket. Sort declarations in sys/socketvar.h to separate kernel only from userland available ones. PR: 221820 (exp-run) Notes: svn path=/head/; revision=324227
* Use SRCTOP to define .include with usr.bin/Makefile.incEnji Cooper2017-02-111-1/+1
| | | | | | | | MFC after: 1 week Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=313656
* Update dependencies after r291406 added libelf to libkvm.Bryan Drewery2015-12-011-0/+1
| | | | | | | | | | | Unfortunately filemon/meta mode tracks all indirect dependencies here since ld(1) is reading libelf when linking in libkvm. Churn would be reduced if this was able to be limited to direct dependencies. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291558
* Drop group privileges after opening the kvm descriptor, otherwise, the codeXin LI2015-09-011-10/+4
| | | | | | | | | | | | would not drop privileges as expected. While there also add checks for the drop and bail out immediately if we failed. MFC after: 3 days Notes: svn path=/head/; revision=287345
* Add META_MODE support.Simon J. Gerraty2015-06-133-0/+60
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 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-083-6/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge sync of headSimon J. Gerraty2015-05-277-16/+15
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=283595
| * Updated/new dependenciesSimon J. Gerraty2014-11-191-0/+1
| | | | | | | | Notes: svn path=/projects/bmake/; revision=274694
| * Merge from head@274682Simon J. Gerraty2014-11-193-89/+44
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=274683
| * \ Merge head from 7/28Simon J. Gerraty2014-08-193-3/+3
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=270164
| * | | Updated dependenciesSimon J. Gerraty2014-05-163-3/+0
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * | | Updated dependenciesSimon J. Gerraty2014-05-103-0/+6
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * | | Updated dependenciesSimon J. Gerraty2013-03-113-0/+3
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * | | Updated dependenciesSimon J. Gerraty2013-02-163-6/+0
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-223-0/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-074-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This will fix build. Notes: svn path=/head/; revision=281210
* | | | Stop including if_var.h from userland.Gleb Smirnoff2015-04-061-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Sponsored by: Nginx, Inc. Notes: svn path=/head/; revision=281143
* | | | Merge from projects/sendfile:Gleb Smirnoff2014-11-301-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o Introduce a notion of "not ready" mbufs in socket buffers. These mbufs are now being populated by some I/O in background and are referenced outside. This forces following implications: - An mbuf which is "not ready" can't be taken out of the buffer. - An mbuf that is behind a "not ready" in the queue neither. - If sockbet buffer is flushed, then "not ready" mbufs shouln't be freed. o In struct sockbuf the sb_cc field is split into sb_ccc and sb_acc. The sb_ccc stands for ""claimed character count", or "committed character count". And the sb_acc is "available character count". Consumers of socket buffer API shouldn't already access them directly, but use sbused() and sbavail() respectively. o Not ready mbufs are marked with M_NOTREADY, and ready but blocked ones with M_BLOCKED. o New field sb_fnrdy points to the first not ready mbuf, to avoid linear search. o New function sbready() is provided to activate certain amount of mbufs in a socket buffer. A special note on SCTP: SCTP has its own sockbufs. Unfortunately, FreeBSD stack doesn't yet allow protocol specific sockbufs. Thus, SCTP does some hacks to make itself compatible with FreeBSD: it manages sockbufs on its own, but keeps sb_cc updated to inform the stack of amount of data in them. The new notion of "not ready" data isn't supported by SCTP. Instead, only a mechanical substitute is done: s/sb_cc/sb_ccc/. A proper solution would be to take away struct sockbuf from struct socket and allow protocols to implement their own socket buffers, like SCTP already does. This was discussed with rrs@. Sponsored by: Netflix Sponsored by: Nginx, Inc. Notes: svn path=/head/; revision=275326
* | | | Convert to usr.bin/ to LIBADDBaptiste Daroussin2014-11-253-6/+3
| |_|/ |/| | | | | | | | | | | | | | | | | Reduce overlinking Notes: svn path=/head/; revision=275042
* | | Change the code to use the openpty(3) API which uses the pts(4) driverMaksim Yevmenkin2014-10-233-89/+44
| |/ |/| | | | | | | | | | | | | | | | | | | instead of the pty(4) driver. PR: 184597 Submitted by: tobias.rehbein MFC after: 2 weeks Notes: svn path=/head/; revision=273548
* | use .Mt to mark up email addresses consistently (part3)Baptiste Daroussin2014-06-233-3/+3
|/ | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco at lastsummer.de> Notes: svn path=/head/; revision=267773
* Build usr.bin/ with WARNS=6 by default.Ed Schouten2010-01-021-1/+0
| | | | | | | Also add some missing $FreeBSD$ to keep svn happy. Notes: svn path=/head/; revision=201386
* Clenup code a bit and do not call fork(2) before dameon(3) where not needed.Maksim Yevmenkin2009-02-041-16/+2
| | | | | | | MFC after: 1 month Notes: svn path=/head/; revision=188130
* Fix buildMaksim Yevmenkin2008-07-291-0/+1
| | | | Notes: svn path=/head/; revision=180964
* Make -t <tty> optional in server mode. If not specified use stdin/stdout.Maksim Yevmenkin2008-05-142-24/+34
| | | | | | | | | | | | | | Document this. Do not require channel number in server mode. If not specified - bind to ''wildcard'' channel zero. Real channel number will be obtained automatically and registered with local sdpd(8). While I'm here fix serial port service registration. Submitted by: luigi Tested by: Helge Oldach <freebsd-bluetooth at oldach dot net> MFC after: 3 days Notes: svn path=/head/; revision=178992
* Check return value of listen().Kevin Lo2007-09-111-1/+2
| | | | | | | | Reviewed by: emax Approved by: re (kensmith) Notes: svn path=/head/; revision=172142
* Add "server mode" to rfcomm_sppd(1).Maksim Yevmenkin2007-01-252-38/+151
| | | | | | | | Submitted by: Dave Eckhardt, bms Tested by: Dave Eckhardt, Eric Anderson, bms Notes: svn path=/head/; revision=166233
* Teach rfcomm_sppd(8) to recognize "lan" (for LAN Access Using PPP) serviceMaksim Yevmenkin2005-12-072-1/+7
| | | | | | | | | name in '-c' (RFCOMM channel) option. MFC after: 3 days Notes: svn path=/head/; revision=153209
* Teach rfcomm_sppd(1) about service names, so it is possible to specifyMaksim Yevmenkin2005-11-232-8/+39
| | | | | | | | | | service name instead of channel number with -c command option. Supported service names are: DUN (Dial-Up Networking), FAX (Fax) and SP (Serial Port). MFC after: 1 week Notes: svn path=/head/; revision=152704
* Let bsd.prog.mk set SRCS and MAN to their default values.Ruslan Ermilov2005-01-283-5/+0
| | | | Notes: svn path=/head/; revision=140941
* Sort sections.Ruslan Ermilov2005-01-182-14/+14
| | | | Notes: svn path=/head/; revision=140420
* Added the EXIT STATUS section where appropriate.Ruslan Ermilov2005-01-173-3/+3
| | | | Notes: svn path=/head/; revision=140368
* Make -t <tty> optional. If not specified use stdin/stdout.Maksim Yevmenkin2004-09-302-14/+35
| | | | | | | | | | | | | | Document this. These changes make it possible to write something like set device "!/usr/bin/rfcomm_sppd -a BD_ADDR" inside the /etc/ppp/ppp.conf file. Very convenient for the users :) Submitted by: Konstantin Stepanenkov <kstepanenkov AT oilspace DOT com> MFC after: 3 days Notes: svn path=/head/; revision=135993
* - One can use both BD_ADDR or name to specify address of the Bluetooth device.Maksim Yevmenkin2004-08-052-7/+13
| | | | | | | | | | | Update man pages to document this fact. - Update usage messages - Change u_intXXX to uintXXX Notes: svn path=/head/; revision=133178
* Clean up language and markup.Ruslan Ermilov2004-05-191-37/+41
| | | | Notes: svn path=/head/; revision=129437
* Bumped document date.Ruslan Ermilov2004-05-191-2/+3
| | | | | | | Removed hard sentence break. Notes: svn path=/head/; revision=129425
* Use uint instead of u_intMaksim Yevmenkin2004-04-091-10/+10
| | | | Notes: svn path=/head/; revision=128077
* Make sure Bluetooth stuff can be compiled on amd64Maksim Yevmenkin2004-04-091-16/+16
| | | | | | | Submitted by: ps Notes: svn path=/head/; revision=128076
* Fix a couple of stylistic issuesMaksim Yevmenkin2003-12-221-2/+2
| | | | | | | | Reviewed by: imp (mentor), ru Approved by: imp (mentor) Notes: svn path=/head/; revision=123734
* Fix uncontrolled access to the buffer in rfcomm_sppd(1).Maksim Yevmenkin2003-12-191-4/+21
| | | | | | | | | | | Fix typo in hcsecd(8) man page. Submitted by: Guido Falsi <mad@madpilot.net> Reviewed by: imp (mentor) Approved by: imp (mentor) Notes: svn path=/head/; revision=123676
* Include <nlist.h> for nlist-related declarations instead of depending onBruce Evans2003-10-131-0/+1
| | | | | | | namespace pollution in <kvm.h>. Notes: svn path=/head/; revision=121064