INSUN PYO [Thu, 1 Dec 2016 02:11:03 +0000 (11:11 +0900)]
kdbus: fix g_dbus_connection_call_sync ("NameHasOwner") failure
The caller _dbus_daemon_synthetic_reply function uses the error for a special purpose.
So, _g_kdbus_NamehasOwner never makes error and only return FALSE even if an error occurs.
================ the call stck of failure =====================================
0 g_kdbus_NameHasOwner_internal (worker=worker@entry=0x42a40, name=name@entry=0x5df78 "org.not.existing.busname") at gkdbus.c:1190
1 0xb6f18a0c in _g_kdbus_NameHasOwner (worker=worker@entry=0x42a40, name=0x5df78 "org.not.existing.busname", error=error@entry=0xbefff6d0) at gkdbus.c:1314 ==> generate gdbus error
2 0xb6f1a526 in _dbus_daemon_synthetic_reply (worker=worker@entry=0x42a40, message=message@entry=0x57c60) at gkdbusfakedaemon.c:542 ==> This function only check error value rather than return value. So, after appling patch, this logic has been changed.
3 0xb6f19a9c in _g_kdbus_worker_send_message_sync (worker=0x42a40, message=message@entry=0x57c60, out_reply=out_reply@entry=0xbefff768, timeout_msec=timeout_msec@entry=-1, cancellable=cancellable@entry=0x0, error=error@entry=0xbefff7ac) at gkdbus.c:3888
4 0xb6f3fe78 in g_dbus_connection_send_message_with_reply_sync (connection=connection@entry=0x421e0, message=message@entry=0x57c60, flags=G_DBUS_SEND_MESSAGE_FLAGS_NONE, timeout_msec=timeout_msec@entry=-1, out_serial=0xbefff76c, out_serial@entry=0x0, cancellable=0x0, error=error@entry=0xbefff7ac) at gdbusconnection.c:3019
5 0xb6f4013e in g_dbus_connection_call_sync_internal (connection=0x421e0, bus_name=<optimized out>, object_path=0x24058 "/org/freedesktop/DBus", interface_name=0x24040 "org.freedesktop.DBus", method_name=method_name@entry=0x24030 "NameHasOwner", parameters=parameters@entry=0x3d6a8, reply_type=reply_type@entry=0x24130, flags=flags@entry=G_DBUS_CALL_FLAGS_NONE, timeout_msec=timeout_msec@entry=-1, fd_list=fd_list@entry=0x0, out_fd_list=out_fd_list@entry=0x0, cancellable=cancellable@entry=0x0, error=error@entry=0xbefff83c) at gdbusconnection.c:6641
6 0xb6f4187a in g_dbus_connection_call_sync (connection=<optimized out>, bus_name=<optimized out>, object_path=<optimized out>, interface_name=<optimized out>, method_name=0x24030 "NameHasOwner", parameters=0x3d6a8, reply_type=0x24130, flags=G_DBUS_CALL_FLAGS_NONE, timeout_msec=-1, cancellable=0x0, error=0xbefff83c) at gdbusconnection.c:6868
==============================================================================
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I4959eaeeaad79de641f6b0c1ce10020ae9fe3760
MyungJoo Ham [Thu, 1 Dec 2016 05:16:24 +0000 (14:16 +0900)]
Remove Profile Build Dependency
Apply Tizen-TV profile optimization for ALL Tizen profiles
because it would not have side effects on the correctness.
(simply ref/unref a Tizen-wide "dbus")
Change-Id: I209f9bf798b02f674a95dfc38142b4a44e194883
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
sanghyeok.oh [Wed, 30 Nov 2016 09:43:21 +0000 (18:43 +0900)]
gdbus:add null check for error variable
Change-Id: Ib51dd62ebc066b9393ae7c59f2f63d3330a16518
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
(cherry picked from commit
22aff71838c2aafc27196886fff317d146f749e1)
Hyotaek Shim [Fri, 25 Nov 2016 10:04:10 +0000 (19:04 +0900)]
Kdbus: Fix for handling EPERM errors
Change-Id: I63b35469d0fe660a33880ac02b9dcb405ceeafac
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
INSUN PYO [Thu, 24 Nov 2016 09:01:34 +0000 (18:01 +0900)]
kdbus: check return status of KDBUS_CMD_FREE iotcl
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I35ae1afffc01aaf1df54d6d2466cb0ecb3417c73
Lukasz Skalski [Wed, 23 Nov 2016 11:18:07 +0000 (12:18 +0100)]
kdbus: check return status of KDBUS_CMD_CONN_INFO iotcl
Change-Id: If6ea3c1825333aca2af4a2599b0187b1ff931b34
sanghyeok.oh [Tue, 22 Nov 2016 08:19:13 +0000 (17:19 +0900)]
gdbus: change timeout error code from 'gdbus error' to 'gio error'
sync/async call return different error code when timeout was occured
modify it to return G_IO_ERROR_TIMED_OUT
Change-Id: I7b9fb847240311ce40f59ab7d552aaa2efeecb45
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
(cherry picked from commit
7a6fcd470025060f220b51ed8a4ecd57cf2b84b7)
Lukasz Skalski [Mon, 31 Oct 2016 10:49:11 +0000 (11:49 +0100)]
kdbus: fix race-condition in GDBusNameWatching component
To avoid race-condition between GetNameOwner replay and
NameOwnerChanged signal in GDBusNameWatching component,
let's always use GetNameOwner sync call on kdbus bus.
Change-Id: Iebb780737d753d989a7d928f65d433d86d79284a
sanghyeok.oh [Tue, 11 Oct 2016 01:21:55 +0000 (10:21 +0900)]
coding style:errno must referenced right after calling standard function
Change-Id: I8eff8b174ecb621acbbe73734aa5c35cf5c60bfc
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
Hyotaek Shim [Wed, 28 Sep 2016 03:38:26 +0000 (12:38 +0900)]
Fix for missing g_source_unref(Gkdbus worker source)
Change-Id: Ia5fb338b8b69b76c52d2dee8f6ccbb39e101a1c7
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
sanghyeok.oh [Tue, 27 Sep 2016 09:28:51 +0000 (18:28 +0900)]
glib:remove self-join deadlock:change to g_thread_unref
Change-Id: I1b98bed183510ca79c3448da5e2bd2a4115de709
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
sanghyeok.oh [Tue, 27 Sep 2016 02:33:36 +0000 (11:33 +0900)]
glib:remove self-join deadlock
Change-Id: Ia9fffe62c90d596efe29929c50e835d4a93fac52
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
sanghyeok.oh [Mon, 26 Sep 2016 11:16:33 +0000 (20:16 +0900)]
fix double unref
Allocated memory by g_thread_new() is freed by g_thread_join() or g_thread_unref()
It is not needed to use both g_thread_join() and g_thread_unref().
Change-Id: Ic6d13ecfa9f6c8d265bf516f4438e7a83bbd0e9c
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
INSUN PYO [Tue, 13 Sep 2016 07:42:45 +0000 (16:42 +0900)]
kdbus: Add a null teminated string for GetConnectionCredentials (LinuxSecurityLabel) method.
The result of LinuxSecurityLabel item should end to null.
Dbus spec : https://dbus.freedesktop.org/doc/dbus-specification.html
Legacy dbus daemon : dbus/bus/driver.c. _dbus_asv_add_byte_array (&array_iter, "LinuxSecurityLabel", s, strlen (s) + 1))
libdbus kdbus : dbus-transport-kdbus.c. dbus_bool_t res = _dbus_asv_add_byte_array (&array_iter, "LinuxSecurityLabel", info.sec_label, strlen (info.sec_label)+1);
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: Idff013ca4c56d93a6207bcb7365b36da86f7c1c2
Jonghwa Lee [Thu, 8 Sep 2016 04:30:39 +0000 (13:30 +0900)]
gkdbus: Fix wrong return value of _g_kdbus_quit_loop()
_g_kdbus_quit_loop() which is used as a callback function in
g_main_context_invoke() always return 'TRUE'. This is not correct.
Returnning 'TRUE' means its functionality isn't completed. And it
results infinite loop time to time.
This patch fixes the function's return value correctly.
Change-Id: I08ea4c3a7c294774163c63983b48b458aa1d5c43
Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
Hyotaek Shim [Wed, 7 Sep 2016 05:20:29 +0000 (22:20 -0700)]
Merge "kdbus: fix for GetConnectionSELinuxSecurityContext method call" into tizen
INSUN PYO [Mon, 5 Sep 2016 09:32:46 +0000 (18:32 +0900)]
kdbus: fix build error for 64 bit architecture
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I25c8313c5cf8e22702fe61703445a7640fad9298
Lukasz Skalski [Mon, 5 Sep 2016 09:06:03 +0000 (11:06 +0200)]
kdbus: fix for GetConnectionSELinuxSecurityContext method call
To keep compatibility with dbus1, GetConnectionSELinuxSecurityContext
method call should always return SELinuxSecurityContextUnknown error
on systems without SELinux (even if other LSM systems, like for example
SMACK, are available on platform).
Change-Id: Iaff5afad798b06179c298e65955f90038882b54f
INSUN PYO [Mon, 5 Sep 2016 03:14:43 +0000 (12:14 +0900)]
kdbus: enable KDBUS_MEMORY_POOL_SIZE environment to support adjustable memory pool
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: Ic593bc76914ef0aba3b448924d40a52e276df529
INSUN PYO [Thu, 1 Sep 2016 03:28:52 +0000 (20:28 -0700)]
Merge "change KDBUS_INFINITE_TIMEOUT_NS to 0x3ff.. to avoid wraparound - will work for 144 years of uptime" into tizen
Hyotaek Shim [Thu, 1 Sep 2016 02:06:34 +0000 (19:06 -0700)]
Merge "kdbus: always use well-known names for proxy" into tizen
Konrad Lipinski [Wed, 31 Aug 2016 15:06:31 +0000 (17:06 +0200)]
change KDBUS_INFINITE_TIMEOUT_NS to 0x3ff.. to avoid wraparound - will work for 144 years of uptime
Change-Id: I597460ffb82d5551f221de0554c0f81746f5dee9
Hyotaek Shim [Wed, 31 Aug 2016 07:06:29 +0000 (16:06 +0900)]
Detailed error information on KDBUS_CMD_SEND failures
Change-Id: Ied09920c30f014bcbfe2b7160fb9b13cc8297f09
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Lukasz Skalski [Mon, 29 Aug 2016 14:17:54 +0000 (16:17 +0200)]
kdbus: always use well-known names for proxy
If proxy->priv->name is a well-known name (what just means that we
created proxy for well-known name) then proxy->priv->name_owner points
to current name owner (unique id or NULL if name currently doesn't have
any owner). If we have following scenario:
1) server termination
2) g_dbus_proxy_call() to server
2a) get_destination_for_call()
3) on_name_owner callback, which set proxy->priv->name_owner to NULL
then get_destination_for_call() function will return
proxy->priv->name_owner value (which is unique id of previous name
owner). To avoid above race condition it will be better if we 'always'
return well-known name (without checking name_owner value).
Change-Id: I31f7edb56d8434e26a15efe260c1b737486da93e
INSUN PYO [Tue, 23 Aug 2016 04:11:44 +0000 (13:11 +0900)]
kdbus:remove not necessary(dbuplicated) code - kdbus timeout
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: Ia5a027ed30ccda95c3fa034fc793a9d2d8023526
MyoungJune Park [Mon, 22 Aug 2016 11:52:14 +0000 (04:52 -0700)]
Merge "global construction for dbusconnection only on _TV_PROFILE" into tizen
INSUN PYO [Mon, 22 Aug 2016 03:34:17 +0000 (12:34 +0900)]
Revert (Build Error) : speed up incremental builds: %reconfigure instead of autogen
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I6933e2aa5fca4d23a5c9c63ceb9d915081f9dc5d
INSUN PYO [Mon, 22 Aug 2016 02:34:27 +0000 (11:34 +0900)]
kdbus: fixed(build error) memory leak in hello command - #2
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I62a2b60968ba08409790b61bd670be9804334cbe
Konrad Lipinski [Tue, 16 Aug 2016 15:35:33 +0000 (17:35 +0200)]
gkdbus reply timeout changes
- drop userspace timeouts on unix/kdbus (rely on kdbus instead)
- propagate user-provided timeouts to kdbus
- translate infinite timeouts (G_MAXINT) into 0x7fffffffffffffff ns
(292 years)
Change-Id: Id769802925522cf82c26354dae9d8ee29fcb972d
Hyotaek Shim [Wed, 17 Aug 2016 05:14:26 +0000 (22:14 -0700)]
Merge "modify signal subscription rule" into tizen
sanghyeok.oh [Tue, 16 Aug 2016 11:28:26 +0000 (20:28 +0900)]
modify signal subscription rule
Change-Id: I8ab485f0a59e041ef735ff8cc74909cf9b7db91f
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
INSUN PYO [Wed, 17 Aug 2016 02:33:10 +0000 (19:33 -0700)]
Merge "kdbus: fixed memory leak in "hello" command." into tizen
Konrad Lipinski [Thu, 11 Aug 2016 12:27:41 +0000 (14:27 +0200)]
speed up incremental builds: %reconfigure instead of autogen
Change-Id: I90aa6c14568fbefc981650c7c1beb56f26c66747
Hyotaek Shim [Tue, 16 Aug 2016 09:43:46 +0000 (02:43 -0700)]
Merge "modify signal subscribtion rule" into tizen
Adrian Szyndela [Tue, 16 Aug 2016 09:39:58 +0000 (11:39 +0200)]
kdbus: fixed memory leak in "hello" command.
Change-Id: I0e411bc9dbaf0b08bb622650596e1c491d85d3e5
sanghyeok.oh [Tue, 16 Aug 2016 08:18:57 +0000 (17:18 +0900)]
modify signal subscribtion rule
Change-Id: I77ca7dc2222077ea0253aed7179582149b320b65
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
Hyotaek Shim [Tue, 16 Aug 2016 08:13:19 +0000 (01:13 -0700)]
Merge "kdbus: policy: add more detailed errors desciriptions" into tizen
Hyotaek Shim [Tue, 16 Aug 2016 07:58:56 +0000 (00:58 -0700)]
Merge "Sync calls are now performed without lock held" into tizen
Adrian Szyndela [Thu, 11 Aug 2016 15:38:34 +0000 (17:38 +0200)]
Sync calls are now performed without lock held
Sync calls were performed by function _g_kdbus_worker_send_message_sync()
called under connection lock. It was not necessary to hold the lock,
and it had side effects: holding another threads that wanted to call
something synchronically.
First argument of the function is connection->kdbus_worker. It is safe
to access this member, because it is read-only and outer context must keep
a reference to the connection, anyway. Worker itself is in turn kept
by reference from the connection.
The function uses only worker's read-only members, which are initialized
once at the creation of worker or connection. The only exception is
'matches' field, which is also modified in 'AddMatch'/'RemoveMatch'
method calls handler.
To sum up: I moved call to _g_kdbus_worker_send_message_sync() out of
connection lock and I have added a dedicated mutex for 'matches'.
Change-Id: I5895e591a9f32f085958b5b422d8b81110bd6c4d
sanghyeok.oh [Wed, 10 Aug 2016 07:29:04 +0000 (16:29 +0900)]
modify signal subscribe rule to allow-none
modified to allow signal subscribe for NameOwnerChanged by 'allow-none' setting(sender, path, interface)
Change-Id: I94d57ad4ca5a7db0bc5f734275835d04fe99a540
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
Hyotaek Shim [Wed, 10 Aug 2016 02:55:25 +0000 (11:55 +0900)]
set KDBUS_DEFAULT_TIMEOUT_NS to 25 seconds
Change-Id: Ibff1b1c07d94a3b7679752d6c2fa1fe8fdd15d44
Lukasz Skalski [Wed, 3 Aug 2016 14:38:12 +0000 (16:38 +0200)]
kdbus: policy: add more detailed errors desciriptions
Change-Id: I2bb44b798e2456809665205baec82d8436e935cd
MyoungJune Park [Tue, 2 Aug 2016 05:29:18 +0000 (14:29 +0900)]
global construction for dbusconnection only on _TV_PROFILE
Change-Id: Ie2430ed9210984ea012b37fa455229fc13895cdb
Signed-off-by: MyoungJune Park <mj2004.park@samsung.com>
INSUN PYO [Tue, 19 Jul 2016 01:55:58 +0000 (10:55 +0900)]
Subject: [PATCH 1/2] kdbus: Fix the overflow for timeout calculation
The maximum value of unsigned long is
4294967295 which is too small
for storing nano second. It makes the overflow in calculation.
Use LLU instead of LU for timeout calculation.
======================================================================
Subject: [PATCH 2/2] kdbus: adjust the default value for timeout to 50 sec
This definition is used by the default value for timeout value.
But in the other places, 50 sec is used by default value for timeout,
instead of using it.
Let's align it with the others.
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I9fb9839a311daf0c5839c87cdde793c2a4118869
sanghyeok.oh [Wed, 6 Jul 2016 06:37:14 +0000 (15:37 +0900)]
svace:
[gio/gkdbus.c]
1. delete unreachable code
2. expand error check range
Change-Id: Ia36937b81d2e86111f9ce8a1f232ab0c842300e7
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
Hyotaek Shim [Tue, 28 Jun 2016 00:49:45 +0000 (17:49 -0700)]
Merge "kdbus: don't close the same memfd item twice" into tizen
Hyotaek Shim [Tue, 28 Jun 2016 00:49:31 +0000 (17:49 -0700)]
Merge "kdbus: fix sending memfd items" into tizen
Lukasz Skalski [Fri, 24 Jun 2016 11:46:35 +0000 (13:46 +0200)]
kdbus: don't close the same memfd item twice
Change-Id: I28e39b9dbbf58cb6fb16ba9721e5023208752777
INSUN PYO [Fri, 24 Jun 2016 06:40:22 +0000 (15:40 +0900)]
Bug fix for signal hash(bloom filter) operations in gdbus-transport-kdbus
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: Ic051ee89a2e7bfb3c105be289082ebc5b6a94e88
Lukasz Skalski [Wed, 1 Jun 2016 13:19:41 +0000 (15:19 +0200)]
kdbus: fix sending memfd items
Change-Id: Ibedc35ea0f3d443a8a3bde5151f145111a1eacf5
Lukasz Skalski [Wed, 27 Apr 2016 09:32:05 +0000 (11:32 +0200)]
kdbus: catch up with latest libdbuspolicy API changes
Change-Id: I6bfb75785c7e817ad7a063f989671ab6d4279dc2
Hyotaek Shim [Tue, 12 Apr 2016 05:10:05 +0000 (22:10 -0700)]
Merge "gdbus-codegen: avoid warnings when generated code is compiled with -Wunused-parameter" into tizen
Hyotaek Shim [Tue, 12 Apr 2016 01:42:47 +0000 (18:42 -0700)]
Merge "Revert "Temporarily removing BuildRequires to libdbuspolicy to check cyclic build dep."" into tizen
Hyotaek Shim [Tue, 12 Apr 2016 01:41:38 +0000 (18:41 -0700)]
Revert "Temporarily removing BuildRequires to libdbuspolicy to check cyclic build dep."
This reverts commit
af3acf0be463fad4d470dbbab4b61b825edce0cf.
Change-Id: I5db890ca0e86f78d10736ec50ab82e0ab2f95c1d
Lukasz Skalski [Mon, 11 Apr 2016 15:19:30 +0000 (17:19 +0200)]
gdbus-codegen: avoid warnings when generated code is compiled with -Wunused-parameter
Change-Id: Id62df4e7c7f7059a47ee7ee32aa054d91c6847a1
Lukasz Skalski [Mon, 11 Apr 2016 13:07:10 +0000 (15:07 +0200)]
kdbus: don't check 'out' policy for method return
Change-Id: I7ac8abb8eebbc51d2dd20f632f0bc5d798fe4eae
Lukasz Skalski [Fri, 8 Apr 2016 12:27:39 +0000 (14:27 +0200)]
kdbus: fix 'check in' policy
Change-Id: If3e39fc8fb9890c35f788a466346471785d578b8
Hyotaek Shim [Fri, 8 Apr 2016 05:32:17 +0000 (14:32 +0900)]
Temporarily removing BuildRequires to libdbuspolicy to check cyclic build dep.
Change-Id: Ic4bd089219fc91ba3b514879be1232a4bf2dddad
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Hyotaek Shim [Tue, 5 Apr 2016 01:59:59 +0000 (18:59 -0700)]
Merge "Add BuildRequires to the libdbuspolicy package" into tizen
Hyotaek Shim [Tue, 5 Apr 2016 01:58:44 +0000 (10:58 +0900)]
Add BuildRequires to the libdbuspolicy package
Change-Id: I2ff0b52b12b8ade8dcdf85427d23d2be2f26c027
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Lukasz Skalski [Mon, 4 Apr 2016 12:34:47 +0000 (14:34 +0200)]
kdbus: Fix memleak. Use proper kdbus device node path for session bus
Change-Id: Ic28fee3cf586d4f681ae35ec739fc95d023472c5
sanghyeok.oh [Fri, 25 Mar 2016 11:18:25 +0000 (20:18 +0900)]
glib2:svace for gkdbus
Change-Id: Ieb227a765f3fa3fa8c3ad858beaaeb45aa01628a
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
Hyotaek Shim [Wed, 23 Mar 2016 09:25:25 +0000 (18:25 +0900)]
Minor fixes for build problems
Change-Id: Ia998daae96c4bd9db2b65f26d977928b36f3fd2e
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Hyotaek Shim [Wed, 23 Mar 2016 05:51:57 +0000 (14:51 +0900)]
Fix for several memory leak cases when using _g_dbus_enum_to_string()
Change-Id: I11a9e08c79ffaf052e21cf0501c13bcc56f6cb13
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Hyotaek Shim [Wed, 23 Mar 2016 03:08:40 +0000 (12:08 +0900)]
Temporarily removed BuildRequires for libdbuspolicy
Change-Id: I6b9b21dbd036896a8f5b4d635836c84cd639212e
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
Lukasz Skalski [Tue, 23 Feb 2016 09:39:14 +0000 (10:39 +0100)]
Remove cynara-client from BuildRequires section
Change-Id: Ie9f9e1cf9900c24e1774e0ffde1892cbec52a39b
Karol Lewandowski [Thu, 28 Jan 2016 14:09:27 +0000 (06:09 -0800)]
Merge "kdbus: support for libdbuspolicy" into tizen
Adrian Szyndela [Fri, 15 Jan 2016 13:15:24 +0000 (14:15 +0100)]
fixed race condition between source and worker
Change-Id: I67cb04512aa971d60889aabf641fbbdd3383efdd
Lukasz Skalski [Wed, 2 Dec 2015 16:57:14 +0000 (17:57 +0100)]
kdbus: support for libdbuspolicy
Change-Id: I634ed6d0eeb7a27df504624577de5c22d2806a69
DongHun Kwak [Wed, 23 Dec 2015 08:30:03 +0000 (17:30 +0900)]
Fixed license declaration at spec file
Change-Id: I0ef9ac5f36d9d59af84313bc469e4be16a0c82d3
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Lukasz Skalski [Mon, 23 Nov 2015 15:42:58 +0000 (16:42 +0100)]
kdbus: bring back original gio semantic in d-bus name management
Since when we have 'dbus1 compatibility layer' we do not have to use
our new API, which offers only synchronous calls. Thanks of that we don't
have to modify gdbusnameowning.c and gdbusnamewatching.c files what causes
that GLib kdbus port is easier to maintain/rebase.
Change-Id: I76bf7b436e3dd82f6cd7e309b4a08b6b49363edd
Lukasz Skalski [Thu, 19 Nov 2015 12:33:23 +0000 (13:33 +0100)]
kdbus: fix bugs and defects found by Klocwork and CPP Test. Add more logs.
- fix memleak in g_kdbus_setup_bloom() function;
- add logs for synthetic method calls and replies;
- fix body signature check in gkdbusfakedaemon;
Change-Id: I33d5f645ad97cddff8a562400ec28d2b907449fa
Lukasz Skalski [Wed, 18 Nov 2015 13:13:45 +0000 (14:13 +0100)]
kdbus: properly attach KDBUS_ITEM_CANCEL_FD item
Change-Id: I0ca3220b08a3e988502cfc4e47687d0faeeecde8
Adrian Szyndela [Fri, 13 Nov 2015 11:31:11 +0000 (12:31 +0100)]
fixed memory-leak - loophole
Change-Id: I205462ee6164bd336fa284e8076b327f15daadba
Adrian Szyndela [Fri, 13 Nov 2015 11:31:35 +0000 (12:31 +0100)]
added newer kdbus return flags handling
Change-Id: I6ec98cc2ec82340d1f300a7d620e74a63b5b1640
Lukasz Skalski [Fri, 30 Oct 2015 09:11:50 +0000 (10:11 +0100)]
kdbus: fix 'GetConnectionCredentials' synthetic reply builder
Change-Id: I24d19b567093dc9cffbe6b8093f3dc717353bd03
Lukasz Skalski [Tue, 27 Oct 2015 12:57:07 +0000 (13:57 +0100)]
kdbus: Add support for GCanellable
Change-Id: Ie2caf15feb018690fbf9d5abffc85a4bfbd19a87
Signed-off-by: Lukasz Skalski <l.skalski@samsung.com>
Lukasz Skalski [Fri, 21 Aug 2015 15:42:53 +0000 (17:42 +0200)]
gdbus: integrate kdbus into GDBus core
Patch includes also changes made by Ryan Lortie <desrt@desrt.ca>
https://bugzilla.gnome.org/show_bug.cgi?id=721861
Change-Id: I6bab6fee34787816efeb42d8e3e60c4c551a8a2b
Lukasz Skalski [Fri, 21 Aug 2015 15:41:27 +0000 (17:41 +0200)]
gdbus: add kdbus core files
Patch includes also changes made by Ryan Lortie <desrt@desrt.ca>
and Adrian Szyndela <a.szyndela@samsung.com>
https://bugzilla.gnome.org/show_bug.cgi?id=721861
Change-Id: Ie90076a28c611320cd9b5ed6f2123d0ef85c6326
Lukasz Skalski [Fri, 21 Aug 2015 14:47:05 +0000 (16:47 +0200)]
gdbus: import kdbus interface header
kdbus.h taken from https://github.com/systemd/kdbus, commit
9c04b6b989c9.
Hosting of our own copy of the kdbus header is temporary solution.
In the future, we should include it from the system kernel headers.
https://bugzilla.gnome.org/show_bug.cgi?id=721861
Change-Id: I2a42c91648b10c7c14f4df9ce2755f7c60524903
Ryan Lortie [Fri, 21 Aug 2015 14:26:03 +0000 (16:26 +0200)]
gvariant: substantial rework for kdbus purposes
This patch is 'squashed' version of Ryan Lortie's patches from
wip/kdbus-junk branch [1].
Main changes:
- add GVariantVectors utility struct,
- support serialising/deserialising to/from GVariantVectors,
- support for single precision floats,
- GVariantVectors serialisation tests,
[1] https://git.gnome.org/browse/glib/log/?h=wip/kdbus-junk
https://bugzilla.gnome.org/show_bug.cgi?id=721861
Change-Id: If70bd22337b5a9cddac545dce45474eba542d0de
Ryan Lortie [Fri, 21 Aug 2015 14:15:25 +0000 (16:15 +0200)]
glib-unix: add new internal header glib-linux.h
This defines some constants and syscall wrappers for features which may
not yet have appeared in the libc.
https://bugzilla.gnome.org/show_bug.cgi?id=721861
Change-Id: I7e83dadf8be9121f91fa0743bb8c1c612f923e13
David King [Fri, 21 Aug 2015 14:10:59 +0000 (16:10 +0200)]
glib-unix: add function to ensure an fd is sealed
Add a function that checks if a fd is sealed and, if it's not, seals it.
On Linux this is more or less an operation on memfd. On other systems,
it currently always returns FALSE.
https://bugzilla.gnome.org/show_bug.cgi?id=721861
Change-Id: I021e40249c2cdd0f1137f6f9f3813f5d4e5083c5
Ryan Lortie [Fri, 21 Aug 2015 14:06:15 +0000 (16:06 +0200)]
gbytes: substantial rework for kdbus purposes
This patch is 'squashed' version of Ryan Lortie's patches from
wip/kdbus-junk branch [1].
Main changes:
- introduce a new type of GBytes: 'inline' - this allows us to
make a single allocation instead of two in the g_bytes_new() case,
- new g_bytes_take_zero_copy_fd() function - function takes a memfd,
seals it, and creates a GBytes based on it,
- add g_bytes_get_zero_copy_fd() function - add a way to get the
zero-copy fd back out of a GBytes that was created from one.
[1] https://git.gnome.org/browse/glib/log/?h=wip/kdbus-junk
https://bugzilla.gnome.org/show_bug.cgi?id=721861
Change-Id: I65c31e42c23346f3d7351f815ccbeda7461d3c01
Lukasz Skalski [Wed, 12 Aug 2015 15:09:22 +0000 (17:09 +0200)]
packaging: Bump to 2.44.1
Change-Id: I1eb90fc7dc9d717e16d30985a4458f2a2dba223c
Signed-off-by: Lukasz Skalski <l.skalski@samsung.com>
Philippe Coval [Wed, 26 Nov 2014 11:11:00 +0000 (12:11 +0100)]
packaging: Bump to 2.43.1
Change-Id: Id068a8288f85baef2ffada606d10bcb2dbf78cf4
Bug-Tizen: TC-2124
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
Philippe Coval [Wed, 26 Nov 2014 11:03:56 +0000 (12:03 +0100)]
packaging: Bump to 2.40.1
Change-Id: I23e399e680e58b26358c00e15cd4325c5eb08338
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
Philippe Coval [Tue, 1 Apr 2014 14:46:03 +0000 (16:46 +0200)]
packaging: Bump to 2.40.0
Change-Id: I6d64c12841cc6d0c536e27f1f3d69ec3a675d7d6
Bug-Tizen: PTREL-773
Bug-Tizen: TIVI-2898/part
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
Anas Nashif [Tue, 13 Aug 2013 15:21:17 +0000 (11:21 -0400)]
add .gbs.conf and update to 2.36.4
Change-Id: I0540f90b0b0ba28680cd5ae1d5186d07be078e61
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Alexandru Cornea [Fri, 28 Jun 2013 20:11:14 +0000 (23:11 +0300)]
resetting manifest requested domain to floor
Philippe Coval [Fri, 19 Jul 2013 13:00:32 +0000 (15:00 +0200)]
changes: Bug-Tizen: TZPC-3317 (... remove the fav apps icon ...)
Conflicts:
packaging/glib2.changes
Anas Nashif [Tue, 13 Aug 2013 15:18:01 +0000 (11:18 -0400)]
Remove empty docs package
Anas Nashif [Tue, 13 Aug 2013 14:06:17 +0000 (10:06 -0400)]
remove docs package
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Anas Nashif [Sat, 27 Apr 2013 12:37:34 +0000 (05:37 -0700)]
Update to 2.36.1
Anas Nashif [Wed, 27 Mar 2013 16:05:31 +0000 (09:05 -0700)]
Update to 2.36.0
Anas Nashif [Fri, 22 Mar 2013 18:22:23 +0000 (11:22 -0700)]
Update to 2.35.9
Anas Nashif [Tue, 5 Mar 2013 09:10:41 +0000 (01:10 -0800)]
Remove previous crash fix (TZPC-453)
Anas Nashif [Tue, 26 Feb 2013 14:36:06 +0000 (06:36 -0800)]
Update to 2.35.8
Anas Nashif [Tue, 26 Feb 2013 14:30:35 +0000 (06:30 -0800)]
Update to 2.35.8
Anas Nashif [Thu, 7 Feb 2013 20:18:02 +0000 (12:18 -0800)]
Update to 2.35.7