summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
wu zheng [Wed, 3 Dec 2014 09:45:34 +0000 (17:45 +0800)]
obexd/client: Fix crash while disconnecting
In case the transport is disconnected while disconnect command is pending
the session is freed on disconnect_complete but disconnect callback is
still valid causing the following crash:
Invalid read of size 4
at 0x42682A: obc_session_ref (session.c:132)
by 0x42797B: obc_session_shutdown (session.c:580)
by 0x4139DA: incoming_data (gobex.c:1406)
by 0x59712A5: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x5971627: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x5971A39: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x40D78C: main (main.c:320)
Address 0x728d814 is 4 bytes inside a block of size 120 free'd
at 0x4C28577: free (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
by 0x5976F7E: g_free (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x4134B9: handle_response (gobex.c:1129)
by 0x4139BD: incoming_data (gobex.c:1403)
by 0x59712A5: g_main_context_dispatch (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x5971627: ??? (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x5971A39: g_main_loop_run (in /usr/lib64/libglib-2.0.so.0.3800.2)
by 0x40D78C: main (main.c:320)
The patch comes from upstream:
commit ID
765fc36308c8d806a597bb9eae13bdff82e081d8
Change-Id: Id2abc28533d6312c791ec8b9880a4073db529e31
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
wu zheng [Mon, 24 Nov 2014 11:37:46 +0000 (03:37 -0800)]
Merge "Fix Security Static Code Analysis Bug-Tizen: TC-2072" into tizen
Gu Chaojie [Tue, 1 Jul 2014 02:51:59 +0000 (10:51 +0800)]
Add param fd into authorize service
Change-Id: I138b1a9f1e8fca2530d443d461d961a13727bafa
Signed-off-by: Gu Chaojie <chao.jie.gu@intel.com>
Gu Chaojie [Sat, 22 Nov 2014 01:12:51 +0000 (09:12 +0800)]
Fix Security Static Code Analysis
Bug-Tizen: TC-2072
Change-Id: I7e92d05aca928992f185e402d6b3fffd0419584c
Signed-off-by: Gu Chaojie <chao.jie.gu@intel.com>
wu zheng [Thu, 6 Nov 2014 09:54:26 +0000 (17:54 +0800)]
Fix bluetoothd core dumped if disable bt tethering.
If the remote device connected with the current device
and the connection is tethering,
disable bt tethering in the current device,
it results in bluetoothd core dumped.
The related values aren't protected, it results in it.
The patch fixed the issue of TC-1988.
Change-Id: I7ae5d80712c4d9626602e011f9f66ccb992629b4
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
Mikko Ylinen [Tue, 23 Sep 2014 18:53:12 +0000 (21:53 +0300)]
Enable GENIVI service plugin API
A separate service API is needed by GENIVI compliance. This patch
enables it. However, install it to a separate plugins library.
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
Luiz Augusto von Dentz [Sat, 8 Feb 2014 12:46:18 +0000 (14:46 +0200)]
plugins/service: Add Blocked property
Luiz Augusto von Dentz [Fri, 7 Feb 2014 14:56:41 +0000 (16:56 +0200)]
plugins/service: Add AutoConnect property
Luiz Augusto von Dentz [Fri, 7 Feb 2014 14:04:32 +0000 (16:04 +0200)]
plugins/service: Add Version property
Luiz Augusto von Dentz [Tue, 28 Jan 2014 17:43:53 +0000 (09:43 -0800)]
plugins/service: Add Device property
Luiz Augusto von Dentz [Mon, 6 Jan 2014 15:11:43 +0000 (17:11 +0200)]
plugins/service: Add implemention of .Disconnect method
Luiz Augusto von Dentz [Mon, 6 Jan 2014 14:59:36 +0000 (16:59 +0200)]
plugins/service: Add implemention of .Connect method
Luiz Augusto von Dentz [Mon, 6 Jan 2014 14:19:39 +0000 (16:19 +0200)]
plugins/service: Add LocalUUID property
Luiz Augusto von Dentz [Mon, 6 Jan 2014 14:13:49 +0000 (16:13 +0200)]
plugins/service: Add RemoteUUID property
Luiz Augusto von Dentz [Mon, 6 Jan 2014 14:02:27 +0000 (16:02 +0200)]
plugins/service: Add State property
Luiz Augusto von Dentz [Sun, 5 Jan 2014 17:08:29 +0000 (19:08 +0200)]
plugins/service: Add initial code
Add initial code that creates service objects data.
Luiz Augusto von Dentz [Sun, 5 Jan 2014 16:02:56 +0000 (18:02 +0200)]
plugins: Add initial code for service plugin
This plugin will be used to control services individually.
Luiz Augusto von Dentz [Sat, 8 Feb 2014 12:39:35 +0000 (14:39 +0200)]
core/adapter: Check if service is blocked before authorizing
This add a call to device_is_service_blocked before authorizing a
connection.
Luiz Augusto von Dentz [Sat, 8 Feb 2014 12:37:20 +0000 (14:37 +0200)]
core/device: Add device_is_service_blocked
This adds device_is_service_blocked which can be used to check if a
service is currently blocked.
Luiz Augusto von Dentz [Sat, 8 Feb 2014 12:15:33 +0000 (14:15 +0200)]
core/profile: Add authorization UUID information to btd_profile
This is necessary since some profiles may use different UUID for
authorization.
Luiz Augusto von Dentz [Sat, 8 Feb 2014 11:52:45 +0000 (13:52 +0200)]
core/service: Add btd_service_is_blocked
Luiz Augusto von Dentz [Sat, 8 Feb 2014 11:49:50 +0000 (13:49 +0200)]
core/service: Add btd_service_set_blocked
Luiz Augusto von Dentz [Fri, 7 Feb 2014 13:56:22 +0000 (15:56 +0200)]
profiles: Add missing local_uuid
Luiz Augusto von Dentz [Fri, 7 Feb 2014 14:28:36 +0000 (16:28 +0200)]
core/device: Use service auto_connect flag
This make use of service auto_connect flag to determine if the service
should be included in the list to be connected.
Luiz Augusto von Dentz [Fri, 7 Feb 2014 14:28:08 +0000 (16:28 +0200)]
core/service: Add btd_service_get_auto_connect
Luiz Augusto von Dentz [Fri, 7 Feb 2014 14:24:53 +0000 (16:24 +0200)]
core/service: Add btd_service_set_auto_connect
Luiz Augusto von Dentz [Fri, 7 Feb 2014 13:42:51 +0000 (15:42 +0200)]
core/service: Return required version in btd_service_get_version
This makes btd_service_get_version check both local and remote version
and return the required version that the service should operate.
Luiz Augusto von Dentz [Fri, 7 Feb 2014 13:40:06 +0000 (15:40 +0200)]
core/profile: Add version information to btd_profile
Luiz Augusto von Dentz [Fri, 7 Feb 2014 13:23:52 +0000 (15:23 +0200)]
core/service: Add btd_service_get_version
This adds btd_service_get_version which can be use to query service
version.
Luiz Augusto von Dentz [Mon, 6 Jan 2014 09:38:37 +0000 (11:38 +0200)]
core: Make device_get_path public
This renames device_get_path to btd_device_get_path so external plugin
can use of it as well.
tony [Tue, 19 Aug 2014 09:01:52 +0000 (17:01 +0800)]
fix obex systemd service to support multiuser
This created obex root directory before runing obexd
if the directory does not exist.
Adding a shell script to handle this.
Bug-Tizen: TC-1436
Change-Id: I84d678b738c1ebca8966f4bbe123004a4d38e9bb
Signed-off-by: chunqiangx <chunqiangx.tang@intel.com>
Corentin Lecouvey [Tue, 5 Aug 2014 14:46:44 +0000 (16:46 +0200)]
fix obex systemd service to support multiuser
This allows to run an obexd daemon per user and set obex root directory
according to home user directory.
Bug-Tizen: TC-1436
Change-Id: I3c7c1da11269bd3d7ab2502e49a370e24588de3a
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
Gu Chaojie [Thu, 19 Jun 2014 02:02:53 +0000 (10:02 +0800)]
add NAP network disconnect signal
Change-Id: Ib869d38a192d9848581940538c91e8ede881d135
Signed-off-by: Gu Chaojie <chao.jie.gu@intel.com>
Gu Chaojie [Wed, 11 Jun 2014 08:13:44 +0000 (16:13 +0800)]
add input connect signal
Change-Id: Ife36b2531a588ff458f39fdffcdead52e745109a
Signed-off-by: Gu Chaojie <chao.jie.gu@intel.com>
wu zheng [Tue, 10 Jun 2014 07:58:10 +0000 (03:58 -0400)]
Add NAP network signal
The patch exists in the bluez-5.12 tizen version.
Bluetooth-Frwk need the signal to notify the upper app.
Change-Id: I584a80c7d3970e6e85f3f143a861ae2ca559057f
Signed-off-by: Wu Zheng <wu.zheng@intel.com>
Gu Chaojie [Mon, 9 Jun 2014 06:26:29 +0000 (14:26 +0800)]
add property connected for input device
Change-Id: I2bf22547f81e9a832861e31435d32297e87d4f89
Signed-off-by: Gu Chaojie <chao.jie.gu@intel.com>
Andrzej Kaczmarek [Wed, 4 Jun 2014 15:14:45 +0000 (17:14 +0200)]
profiles/audio: Fix propagation of EHOSTDOWN error
EHOSTDOWN error is now overwritten by EIO and once it's passed to
device_profile_connected it triggers connection of another profiles
while it should actually stop connecting them.
Change-Id: I2a2f802c582214170f7a2c8d89a550c72d07efab
Signed-off-by: Sebastian Chlad <sebastianx.chlad@intel.com>
Andrzej Kaczmarek [Wed, 4 Jun 2014 15:14:44 +0000 (17:14 +0200)]
core: Fix cleaning pending services when ACL connection failed
In case ACL connection failed to establish, all pending services shall
be always removed. At the moment it's only done in case there's pending
Connect message which does not take into account reconnect scenario,
i.e. service connection was triggered by reconnection timeout and there
is no pending message.
In such case, when reconnection failed there will be some services on
pending list and subsequent reconnect attempts will fail with EBUSY
immediately.
Change-Id: I785bd791c8623a4452310d410e3dbb524e9976ec
Signed-off-by: Sebastian Chlad <sebastianx.chlad@intel.com>
Sebastian Chlad [Thu, 5 Jun 2014 14:08:35 +0000 (16:08 +0200)]
packaging: Add gatttool to bluez-test
Change-Id: Ibb1714c7b774e106deaffcc3d08e3ccdda9f8493
Signed-off-by: Sebastian Chlad <sebastianx.chlad@intel.com>
Sebastian Chlad [Tue, 27 May 2014 12:22:08 +0000 (14:22 +0200)]
packaging: Add bluemoon to bluez.spec
Sebastian Chlad [Tue, 27 May 2014 10:06:14 +0000 (12:06 +0200)]
Update BlueZ version to 5.19
seungku kim [Fri, 28 Mar 2014 06:17:11 +0000 (15:17 +0900)]
[Bluez] enable bluez for mobile environment
1. BROADCOM patchs are applied.
2. hciconfig, hciattach, hcitool, hcidump are changed.
Change-Id: Ia8944ec576830308212b6d7a637152042a9be931
Signed-off-by: seungku kim <seungku.kim@samsung.com>
Kévin THIERRY [Tue, 14 Jan 2014 09:40:18 +0000 (10:40 +0100)]
Multi-user compliance
Also update Group Tags and clean spec file.
Bug-Tizen: PTREL-391
Change-Id: Ibe889ab85cde4ecd3be7bb11f348d84df0b8ad81
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
Sebastian Chlad [Mon, 20 Jan 2014 11:18:18 +0000 (13:18 +0200)]
bluetooth player: check CT for searchable value
Temporary patch as this should be upstreamed. Simple check for searchable
value of the CT side (AVRCP profile)
Change-Id: Ida1ce01cec3c97e46cc7e6817a70b7fce5f6c3d6
Signed-off-by: Sebastian Chlad <sebastianx.chlad@intel.com>
Sebastian Chlad [Mon, 20 Jan 2014 09:03:15 +0000 (11:03 +0200)]
bluetooth player: add searchable value to show cmd
Temporary patch as this should be upstreamed. Allows simple check
of the search function for the client of the bluetooth-player
Change-Id: I7cfd678c012721ddc793bfd993241d7cdf66e492
Signed-off-by: Sebastian Chlad <sebastianx.chlad@intel.com>
Michael Demeter [Tue, 14 Jan 2014 19:07:35 +0000 (11:07 -0800)]
Add the SmackExecLabel=User to allow rw for userspace apps
Change manifest to reflect the User label
Change-Id: Ifa16c42fec7da3702c0b9201545df803d463400e
Signed-off-by: Michael Demeter <michael.demeter@intel.com>
Sebastian Chlad [Fri, 10 Jan 2014 13:08:51 +0000 (15:08 +0200)]
packaging: add scotest to bluez-test package
Change-Id: I56c46c6a9302eb5c61eda92c16f382f6a5249632
Signed-off-by: Sebastian Chlad <sebastianx.chlad@intel.com>
Sebastian Chlad [Wed, 8 Jan 2014 13:53:41 +0000 (15:53 +0200)]
packaging: add btmgmt to bluez-test package
Change-Id: Ibf51bcb005a1bc15bbeb420e1708d8151401c37e
Signed-off-by: Sebastian Chlad <sebastianx.chlad@intel.com>
Corentin Lecouvey [Wed, 18 Dec 2013 15:57:19 +0000 (16:57 +0100)]
change dbus policy to allow app user retrieves BT adapter
According to bluetooth-frwk, app user needs permission to connect to org.bluez
and access to org.freedesktop.DBus.ObjectManager interface in order to retrieve
bluetooth adapter.
relates to TIVI-2064
Change-Id: Ia72bb55794b97b69b5a32acfb69d6d3b48aeab57
Signed-off-by: Corentin Lecouvey <corentin.lecouvey@open.eurogiciel.org>
Sebastian Chlad [Tue, 17 Dec 2013 08:52:28 +0000 (10:52 +0200)]
Setting System label on systemfile object
SMACK requires explicite System label being assigned to:
/var/lib/bluetooth
Change-Id: I0a3077086447e6021e40c205bfeb1ab617051525
Signed-off-by: Sebastian Chlad <sebastianx.chlad@intel.com>
Wu Zheng [Thu, 12 Dec 2013 09:54:45 +0000 (04:54 -0500)]
Upgrade bluez to 5.12
Sebastian [Tue, 10 Dec 2013 10:06:27 +0000 (12:06 +0200)]
Removing unused interfaces from config
BlueZ 5.x make use of ObjectManager thus config should adhere to
this approach
Change-Id: If3c600a8b301990f11b4a60ea71c59e9c5e1864e
Signed-off-by: Sebastian Chlad <sebastianx.chlad@intel.com>
Wu Zheng [Tue, 3 Dec 2013 02:29:38 +0000 (21:29 -0500)]
Enable experimental interfaces to active AVRCP
Only after Enable experimental interfaces,
AVRCP interfaces can be used.
For fixing TIVI-2242, TIVI-869 TIVI-868 TIVI-867 TIVI-866,
experimental interfaces will be enabled in Bluez.
Change-Id: I506217775db538e27b19d9a4abfba136cf4634ae
Philippe Coval [Wed, 27 Nov 2013 14:56:39 +0000 (15:56 +0100)]
spec: install new tool obexctl
Change-Id: Ieb25b93a40ba12879a158f16c97bcee758aba3dc
Signed-off-by: Philippe Coval <philippe.coval@eurogiciel.fr>
Wu Zheng [Wed, 27 Nov 2013 06:28:28 +0000 (01:28 -0500)]
Add the AVRCP and BTIO Bluez test program
Change-Id: I6962c90daa4aecc07bdd349ef1f7662893cff132
Sebastian [Wed, 27 Nov 2013 09:24:22 +0000 (11:24 +0200)]
TIVI-2158: setting-up proper obex serivce
Required for starting obexd on demand
Change-Id: Icbf146a5534e71c701a124ecf53334be346950b7
Signed-off-by: Sebastian Chlad <sebastianx.chlad@intel.com>
Wu Zheng [Wed, 27 Nov 2013 02:46:26 +0000 (21:46 -0500)]
Modify Bluez version to 5.11 in bluez.spec
Change-Id: Ida624ac67a7c7f13678f08f5a10438f8c61f2bda
Jean-Benoit MARTIN [Fri, 15 Nov 2013 13:14:17 +0000 (14:14 +0100)]
PTREL-402: Fix build for x64 arch : Remove harcoded path
Change-Id: Ie87d2eb3b52c293011102d495b7d6c0f4cfd3596
Signed-off-by: Jean-Benoit MARTIN <jean-benoit.martin@eurogiciel.fr>
Wu zheng [Wed, 23 Oct 2013 03:21:09 +0000 (11:21 +0800)]
Add TIZEN obexd config packaging files
Change-Id: I728cba544250f713c1b45968cc4a5732b14d35c2
Wu zheng [Wed, 23 Oct 2013 03:19:30 +0000 (11:19 +0800)]
Add the Tizen2.2 related PBAP patches
Change-Id: I75959b997d3c6f02cadb3a3a9581955c9012ce0b
Wu zheng [Wed, 23 Oct 2013 03:18:32 +0000 (11:18 +0800)]
Add the map related patches to Bluez5.X
MAP need to be supported in Bluez5.X of Tizen.
Bluez4.X MAP idea is following in Bluez5.X.
Therefore, add the all map related patches
Change-Id: I9065230891df24441bf06d535bdaa566d7813263
Wu zheng [Wed, 23 Oct 2013 03:16:12 +0000 (11:16 +0800)]
Add extended obex transfer properties
Change-Id: I03fd1af2c96f4c4554b3b5a2d449ac1bad2fe44c
Wu zheng [Wed, 23 Oct 2013 03:15:31 +0000 (11:15 +0800)]
Stop and clear the pending transfers in a session if a transfer fails
Change-Id: If693de59dada292deffee2dc19019dbbf802ab48
Wu zheng [Wed, 23 Oct 2013 03:14:52 +0000 (11:14 +0800)]
TIZEN DBUS configure file
Change-Id: I19cd4c19dcbe14d3f022378da1a40e7668b70d35
Wu zheng [Wed, 23 Oct 2013 03:14:09 +0000 (11:14 +0800)]
Using TIZEN driver to get/put phonebook in pbap
Change-Id: I68fa59d0f497a7f0897b34ab390a9a9ad9aea605
Wu zheng [Wed, 23 Oct 2013 03:13:22 +0000 (11:13 +0800)]
Add new functions to phonebook TIZEN driver to control phonebook
Change-Id: I68e83b4642a2484b79688a68b2eb65f156843311
Wu zheng [Wed, 23 Oct 2013 03:12:41 +0000 (11:12 +0800)]
Add phonebook TIZEN driver
Change-Id: Ica8125ccf9def4ae26fe322488bdf100e64ba4d8
Wu zheng [Wed, 23 Oct 2013 03:12:04 +0000 (11:12 +0800)]
Add set root folder function
Change-Id: Ib3e179d7b8a7b602ea9560e036c77495da9e9d34
Wu zheng [Wed, 23 Oct 2013 03:11:11 +0000 (11:11 +0800)]
Using TIZEN driver to control messages
Change-Id: Ie9c581243d31315137002a3ea767bfdfd4906046
Wu zheng [Wed, 23 Oct 2013 03:10:20 +0000 (11:10 +0800)]
Add messages TIZEN driver
Change-Id: I9404203308571f1d03527afd345d0112d6e973be
Wu zheng [Wed, 23 Oct 2013 03:07:48 +0000 (11:07 +0800)]
Modify the dbus rules to access the bluetoothd
Author: DoHyun Pyun <dh79.pyun@samsung.com>
We should allow to access only about the permitted user or interface
Change-Id: I826f25c466962325721f6734a4d4d7706ba3a651
Wu zheng [Wed, 23 Oct 2013 03:04:53 +0000 (11:04 +0800)]
Modify package files to match bluez-5.X
Change-Id: I13138e26e509538454da3eb8ba08c02d6e707f63
Anas Nashif [Mon, 18 Mar 2013 20:00:19 +0000 (13:00 -0700)]
Fixed package groups
William Douglas [Wed, 6 Mar 2013 22:07:56 +0000 (14:07 -0800)]
add changelog
Signed-off-by: William Douglas <william.douglas@intel.com>
William Douglas [Wed, 13 Feb 2013 01:45:51 +0000 (17:45 -0800)]
Correct the dbus service file's systemd unit name for bluez.
Even though dbus-org.bluez.service is set as an alias for the
bluetooth.service systemd unit file, systemd will not be able to load
the bluetooth daemon without the daemon being enabled (and the
dbus-org.bluez.service file linked to bluetooth.service). This patch
allows the daemon to be loaded by other services on demand.
Change-Id: Iae06636b8595b78978ba3d4a7f070da8f7b11e65
Signed-off-by: William Douglas <william.douglas@intel.com>
Anas Nashif [Fri, 16 Nov 2012 23:53:11 +0000 (15:53 -0800)]
Fixed requirement on python-gobject
Anas Nashif [Tue, 30 Oct 2012 19:54:53 +0000 (12:54 -0700)]
add packaging
Sebastian Chlad [Tue, 27 May 2014 09:21:58 +0000 (11:21 +0200)]
Imported Upstream version 5.19
Wu Zheng [Thu, 12 Dec 2013 09:50:37 +0000 (04:50 -0500)]
Imported Upstream version 5.12
Wu Zheng [Wed, 27 Nov 2013 02:36:00 +0000 (21:36 -0500)]
Imported Upstream version 5.11
Wu zheng [Wed, 23 Oct 2013 02:59:15 +0000 (10:59 +0800)]
Imported Upstream version 5.10
Anas Nashif [Tue, 30 Oct 2012 19:51:59 +0000 (12:51 -0700)]
Imported Upstream version 4.101