Commit Graph

7 Commits

Author SHA1 Message Date
Rafael Ávila de Espíndola
e5bb5fa89c HACKING: Mention disabling SELinux
Running bluetoothd from the build directory I noticed that as soon as
a bluetooth audio device was connect, bluetoothd would be disconnected
from dbus and print

Disconnected from D-Bus. Exiting.

Luiz Augusto von Dentz suggested trying with SELinux disabled and that
solved the problem.

This patch just documents how to disable SELinux before running
bluetoothd from the build directory. I would love to say more about
why that is needed, but could not find anything on the audit log.
2020-05-19 10:54:53 -07:00
David Frey
feddc8249f Remove obsolete Debian notes from HACKING
The HACKING document says that Debian's automake version doesn't satisfy
the automake >= 1.10 requirement, but this is no longer true. The
automake version in Debian 8 (oldstable) is 1.14 and the version in
Debian 9 (stable) is 1.15.
2018-03-06 09:47:47 +02:00
Luiz Augusto von Dentz
4364085aad HACKING: Update instructions on how to run from source tree
Make use of -f option in the instruction of how to run bluetoothd from
the source tree since that doesn't require installing the main.conf
when testing new options.
2017-08-07 16:40:12 +03:00
Francois Beaufort
d73b25f76e HACKING: Fix nit in instructions 2016-04-22 15:05:03 +03:00
Luiz Augusto von Dentz
b48412960a HACKING: Add necessary commands to configure git send-email
This is convenient for people not involved with projects using email to
as review process.
2016-04-11 17:09:56 +03:00
Gowtham Anandha Babu
95049a1816 HACKING: Add suppression file in valgrind cmd
Without --suppressions=./tools/valgrind.supp in valgrind cmd,
bluetoothd throws following error:

==1237== Syscall param socketcall.bind(my_addr.rc_bdaddr) points to uninitialised byte(s)
==1237==    at 0x588B227: bind (syscall-template.S:81)
==1237==    by 0x451545: logging_open (log.c:76)
==1237==    by 0x451545: __btd_log_init (log.c:314)
==1237==    by 0x40B035: main (main.c:610)
==1237==  Address 0xfff0003b6 is on thread 1's stack
==1237==  in frame #1, created by __btd_log_init (log.c:306)
==1237==  Uninitialised value was created by a stack allocation
==1237==    at 0x451490: __btd_log_init (log.c:306)
==1237==
==1237== Syscall param socketcall.bind(my_addr.rc_channel) points to uninitialised byte(s)
==1237==    at 0x588B227: bind (syscall-template.S:81)
==1237==    by 0x451545: logging_open (log.c:76)
==1237==    by 0x451545: __btd_log_init (log.c:314)
==1237==    by 0x40B035: main (main.c:610)
==1237==  Address 0xfff0003b8 is on thread 1's stack
==1237==  in frame #1, created by __btd_log_init (log.c:306)
==1237==  Uninitialised value was created by a stack allocation
==1237==    at 0x451490: __btd_log_init (log.c:306)
2015-12-01 12:50:25 +02:00
Luiz Augusto von Dentz
cd736fa1b5 build: Add initial HACKING 2014-09-05 10:31:52 +03:00