Go to file
Luiz Augusto von Dentz 6ae5bc7846 obexd/bluetooth: Fix memory leak
g_io_channel_unix_new creates a reference which is then passed to
obex_session_start which creates its on reference via g_io_channel_ref
leading to the following leak:

at 0x4A06409: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x3B03C4D89E: g_malloc (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x3B03C88224: g_io_channel_unix_new (in /usr/lib64/libglib-2.0.so.0.3600.3)
by 0x418967: profile_new_connection (bluetooth.c:148)
by 0x43D763: process_message.isra.5 (object.c:259)
2013-09-16 13:35:10 +03:00
attrib codingstyle: Change __FUNCTION__ to __func__ 2013-09-11 13:22:08 +03:00
btio btio: Add option for SCO voice setting 2013-08-01 12:36:25 +03:00
client client: prettify help table 2013-06-24 11:12:59 +03:00
doc doc: Remove Profile1.Cancel() method 2013-09-11 21:48:34 +03:00
emulator emulator: Add missing HCI commands to the supported commands response 2013-09-11 10:54:41 +03:00
gdbus gdbus/client: Use g_dbus_add_properties_watch to track properties 2013-09-12 13:54:56 +03:00
gobex codingstyle: Change __FUNCTION__ to __func__ 2013-09-11 13:22:08 +03:00
lib lib: Add definition for HCI_CHANNEL_USER 2013-09-02 11:17:05 -07:00
monitor monitor: Add missing include 2013-09-12 09:55:31 +03:00
obexd obexd/bluetooth: Fix memory leak 2013-09-16 13:35:10 +03:00
plugins neard: Make use of g_dbus_send_message_with_reply 2013-09-09 17:35:30 +03:00
profiles sap: Keep reference to btd_adapter in struct sap_server 2013-09-13 15:31:43 +03:00
src core: Remove legacy parsing of OUI database 2013-09-15 20:01:00 -07:00
test test/test-nap: Fix interface name 2013-08-21 15:10:38 +03:00
tools sco-tester: Update ECONNABORTED to EOPNOTSUPP 2013-09-09 11:25:19 +03:00
unit unit: Add gdbus/client_force_disconnect 2013-09-12 13:54:56 +03:00
.gitignore gitignore: Add tools/btinfo 2013-09-13 15:31:43 +03:00
.mailmap mailmap: Add Martin due to one commit with incomplete name 2013-07-20 23:33:02 +03:00
acinclude.m4 build: Check for clock_gettime with -lrt 2013-09-09 14:21:49 -07:00
AUTHORS AUTHORS: Mention Alex's contributions 2013-05-14 08:58:51 +02:00
bootstrap Add --automake option 2006-08-18 19:41:53 +00:00
bootstrap-configure doc: Remove left-overs from gtk-doc attempt 2012-12-12 12:07:25 +01:00
ChangeLog Release 5.8 2013-08-07 22:32:56 -07:00
configure.ac build: Check for clock_gettime with -lrt 2013-09-09 14:21:49 -07:00
COPYING Remove new page characters 2008-08-14 22:56:25 +02:00
COPYING.LIB Remove new page characters 2008-08-14 22:56:25 +02:00
INSTALL Big cleanup of CVS relics 2005-10-29 19:25:42 +00:00
Makefile.am build: Fix not rebuilding bluetoothd if gdbus changes 2013-09-09 17:35:29 +03:00
Makefile.obexd build-sys: Don't build gdbus several times 2013-07-18 07:31:50 -07:00
Makefile.plugins audio: Remove audio plugin 2013-07-24 15:45:18 -07:00
Makefile.tools tools: Add example utility to demonstrate user channel usage 2013-09-03 21:59:45 -07:00
NEWS Initial revision 2002-03-08 21:10:06 +00:00
README build: Remove all checks for USB library support 2013-08-28 14:15:22 -07:00
TODO TODO: Remove completed passive scanning entry 2013-01-31 13:44:41 -06:00

BlueZ - Bluetooth protocol stack for Linux
******************************************

Copyright (C) 2000-2001  Qualcomm Incorporated
Copyright (C) 2002-2003  Maxim Krasnyansky <maxk@qualcomm.com>
Copyright (C) 2002-2010  Marcel Holtmann <marcel@holtmann.org>


Compilation and installation
============================

In order to compile Bluetooth utilities you need following software packages:
	- GCC compiler
	- GLib library
	- D-Bus library
	- udev library (optional)
	- readline (command line clients)

To configure run:
	./configure --prefix=/usr --mandir=/usr/share/man \
				--sysconfdir=/etc --localstatedir=/var

Configure automatically searches for all required components and packages.

To compile and install run:
	make && make install


Configuration and options
=========================

For a working system, certain configuration options need to be enabled:

	--enable-library

		Enable installation of Bluetooth library

		By default the Bluetooth library is no longer installed.

		The user interfaces or command line utilities do not
		require an installed Bluetooth library anymore. This
		option is provided for legacy third party applications
		that still depend on the library.

		When the library installation is enabled, it is a good
		idea to use a separate bluez-library or libbluetooth
		package for it.

	--disable-tools

		Disable support for Bluetooth utilities

		By default the Bluetooth utilities are built and also
		installed. For production systems the tools are not
		needed and this option allows to disable them to save
		build time and disk space.

		When the tools are selected, it is a good idea to
		use a separate bluez-tools package for them.

	--disable-cups

		Disable support for CUPS printer backend

		By default the printer backend for CUPS is build and
		also installed. For systems that do not require printing
		over Bluetooth, this options allows to disable it.

		When the CUPS backend is selected, it is a good idea to
		use a separate bluez-cups package for it.

	--disable-monitor

		Disable support for the Bluetooth monitor utility

		By default the monitor utility is enabled. It provides
		support for HCI level tracing and debugging. For systems
		that don't require any kind of tracing or debugging
		capabilities, this options allows to disable it.

		The monitor utility should be placed in the main package
		along with the daemons. It is universally useful.

	--disable-client

		Disable support for the command line client

		By default the command line client is enabled and uses the
		readline library. For specific systems where BlueZ is
		configured by other means, the command line client can be
		disabled and the dependency on readline is removed.

		The client should be placed in the main package along
		with the daemons. It is universally useful.

	--disable-systemd

		Disable integration with systemd

		By default the integration with systemd is enabled and
		installed. This gives the best integration into all
		distributions based on systemd.

		This option is provided for distributions that do not
		support systemd. In that case all integration with the
		init system is up to the package.

	--enable-experimental

		Enable experimental plugins

		By default all plugins that are still in development
		are disabled. This option can be used to enable them.

		It is not recommended to enable this option for production
		systems. The APIs or behavior of the experimental plugins
		is unstable and might still change.


Information
===========

Mailing lists:
	linux-bluetooth@vger.kernel.org

For additional information about the project visit BlueZ web site:
	http://www.bluez.org