Commit Graph

29 Commits

Author SHA1 Message Date
riastradh 6cb10275d0 Merge riastradh-drm2 to HEAD. 2014-03-18 18:20:35 +00:00
wiz a5684d07dd Use Mt for email addresses. 2013-07-20 21:39:55 +00:00
njoly d0e00679ff Use Lk macro when dealing with URLs. While here update or remove some
dead URL links. Another part of PR/29238.
2012-03-15 22:35:02 +00:00
joerg d7b8dc5f76 Fix format string. Make sure it doesn't reappear by using __printf_like
as appropiate.
2012-03-01 22:38:31 +00:00
joerg bec77c5f43 Use __dead 2011-08-31 13:32:36 +00:00
joerg a6bdeabc26 Fix memset usage. 2011-07-01 03:07:21 +00:00
plunky 976f402dd7 use appropriate types for uid/gid 2011-06-25 09:28:45 +00:00
plunky b40385c1f1 move debug output before the loop, which possibly changes the value of fd 2010-10-18 20:43:23 +00:00
plunky 6f9cc4f169 add some LOG_DEBUG 2010-03-07 10:58:40 +00:00
plunky 9abf5ef727 actually exit on errors 2009-08-30 19:24:40 +00:00
wiz acf7ed853a New sentence, new line. 2009-08-20 15:59:57 +00:00
joerg 5050cfce50 Simplify. 2009-08-20 15:51:28 +00:00
drochner d2c5cda8f9 give up root's supplementary group memberships when switching
to _sdpd._sdpd privileges, approved by plunky
2009-08-13 17:50:41 +00:00
wiz 9793fd6bf2 Sort sections, fix section header. 2009-05-12 10:27:53 +00:00
plunky dfbf818a22 Add in the new Service Discovery Protocol API as announced previously in
http://mail-index.netbsd.org/tech-userlevel/2009/02/27/msg001764.html

  in lib/libbluetooth, add new SDP functions and bump minor version
  replace usr.sbin/sdpd with new version
  install sdp.h and sdp.3 from lib/libbluetooth

(Don't remove libsdp yet since some programs still refer to it)
2009-05-12 10:05:06 +00:00
lukem c2fdfea89a Fix -Wcast-qual and -Wsign-compare issues 2009-04-18 13:53:59 +00:00
plunky c2336815fa use msg_flags field to determine
a. if the PDU is truncated, close client fd
    b. if a control message is truncated, ignore it
2009-01-15 23:17:00 +00:00
lukem 9c1945664c Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
2008-07-21 13:36:57 +00:00
plunky e0f590bc15 add the knowledge to create service records for "Personal Area Networking"
profiles
	NAP	Network Access Point
	GN	Group Network
	PANU	Personal Area Networking User
2008-03-19 23:15:19 +00:00
perry 4d096031f0 replace instances of __attribute__((__packed__)) with __packed 2007-12-15 16:03:29 +00:00
wiz 9e3049e77d Sort options, SEE ALSO, sections. 2007-12-01 19:00:55 +00:00
plunky d6ed949b20 Fix ServiceSearchAttribute and ServiceSearch request handling
so that they match the whole list of UUIDs against a record,
as according to the spec

each profile now supplies a list of UUIDs instead of just a
service class.
2007-11-09 20:08:40 +00:00
tls 4147a3c54a Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry.  RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros.  Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default.  Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.
2007-05-28 12:06:17 +00:00
plunky c6f8856e3c For sdpd(8), change default user/group from nobody/nobody to _sdpd/_sdpd 2007-03-18 15:53:54 +00:00
plunky 5c5f46b32b Add an option to permit members of a specific group to register services, in
order to lower the barrier for users of bluetooth devices which may need to
query services on the local host.
2007-03-18 10:00:42 +00:00
plunky 7c710de82e use CMSG_LEN and SOCKCREDSIZE macros to validate length because when
there are zero extra groups, the size of the cmsg is smaller than
sizeof(struct sockcred). This fixes a problem with registering
services during rc.d

while here, validate the pdu header length before using the contents
2007-02-22 20:49:32 +00:00
plunky a097328fe5 Add service discovery support for the Handsfree profile 2006-08-17 20:13:31 +00:00
plunky 47a52241bf Replace static 'FreeBSD' string with operating system name gleaned
from uname(3)
2006-08-17 19:46:57 +00:00
gdamore a5c89047c0 Initial import of bluetooth stack on behalf of Iain Hibbert. (plunky@,
NetBSD Foundation Membership still pending.)  This stack was written by
Iain under sponsorship from Itronix Inc.

The stack includes support for rfcomm networking (networking via your
bluetooth enabled cell phone), hid devices (keyboards/mice), and headsets.

Drivers for both PCMCIA and USB bluetooth controllers are included.
2006-06-19 15:44:33 +00:00