sdk/target/sdbd.git
5 years agomodifying null check in plugin app install 90/185290/1 accepted/tizen/unified/20180730.142014 submit/tizen/20180727.083824
manish.r [Fri, 27 Jul 2018 08:09:50 +0000 (13:39 +0530)]
modifying null check in plugin app install

Change-Id: I6c6c41c8733865537f0a863adda8aa154f4ccb15
Signed-off-by: manish.r <manish.r@samsung.com>
5 years agoFix Wformat build error 74/184574/1 accepted/tizen/unified/20180720.060804 submit/tizen/20180720.032739
yhji [Thu, 19 Jul 2018 02:52:42 +0000 (11:52 +0900)]
Fix Wformat build error

Change-Id: Ib384b91aa5b83e4792fa64de745195586b25d058

5 years agoRemove sending TCLS to server 79/184079/1
adhavan.m [Fri, 13 Jul 2018 09:57:41 +0000 (15:27 +0530)]
Remove sending TCLS to server

Change-Id: I7e286dccf71532009a6136105f2bff9b7800f7dc
Signed-off-by: adhavan.m <adhavan.m@samsung.com>
5 years agoFinish output thread properly 39/183839/2
Paweł Szewczyk [Wed, 11 Jul 2018 13:50:41 +0000 (15:50 +0200)]
Finish output thread properly

The output thread needs to clean up and kick transport even when it's
ended without an error.

Change-Id: I3f03581ed5dc9c1c67de1dc8a6acace9f3f5125b
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
5 years agoRemove unnecessary debug logs 30/183130/1
Paweł Szewczyk [Wed, 20 Jun 2018 14:59:02 +0000 (16:59 +0200)]
Remove unnecessary debug logs

Some logs are too verbose even for debugging. After changing debug to
dlog it seems reasonable to remove some of these messages.

Change-Id: I4c2b71285d0b6f27eafaca4ec1a61575dd3e7218
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
5 years agoGiven root privileges for executing the predescribed root commands 18/183118/2 accepted/tizen/unified/20180703.062110 submit/tizen/20180702.095348
adhavan.m [Mon, 2 Jul 2018 09:46:27 +0000 (15:16 +0530)]
Given root privileges for executing the predescribed root commands

Change-Id: I7fd56d8037c07ad4387151a2e6247d6ab39b1398
Signed-off-by: adhavan.m <adhavan.m@samsung.com>
5 years agoAdded capability netcoredbg_support 34/182234/2 accepted/tizen/unified/20180625.141512 submit/tizen/20180622.064840
Gourav Mittal [Thu, 21 Jun 2018 12:00:30 +0000 (17:30 +0530)]
Added capability netcoredbg_support

Change-Id: Ie72b3603e78cd1942c4be51663cf2382af842d47
Signed-off-by: Gourav Mittal <gourav.m@samsung.com>
5 years agoPrevent fixes 40/178540/6 accepted/tizen/unified/20180611.015524 submit/tizen/20180605.140738 submit/tizen/20180607.070011
alkasethi [Thu, 10 May 2018 09:30:41 +0000 (15:00 +0530)]
Prevent fixes

Change-Id: If7fa8884f605c1cd951822540035529dafe4db90
Signed-off-by: alkasethi <alka.sethi@samsung.com>
5 years agoNotify server in case of read failure before closing the connection 37/180237/1
adhavan.m [Fri, 25 May 2018 14:08:36 +0000 (19:38 +0530)]
Notify server in case of read failure before closing the connection

Change-Id: Ia182b530759e81a6fee703222aa067e2ae8e347e
Signed-off-by: adhavan.m <adhavan.m@samsung.com>
5 years agoChanged logging to dlog 71/179971/4 submit/tizen/20180530.134804
adhavan.m [Wed, 23 May 2018 14:27:23 +0000 (19:57 +0530)]
Changed logging to dlog

Change-Id: Id3a17d07c9658cf0e7fd195c5ef4973aacdb475f
Signed-off-by: adhavan.m <adhavan.m@samsung.com>
5 years agoRevert "Remove usage of /run/tizen-system-env file""" 15/180215/2
Manish Rathod [Fri, 25 May 2018 10:51:20 +0000 (10:51 +0000)]
Revert "Remove usage of /run/tizen-system-env file"""

This reverts commit 0958109ed8d6741a497aaca9c635eee7faf65fb6.

Change-Id: Ice610553f004b0013f50452d7597d3692c8bc480

5 years ago[RFC] Handle ipv6 connections 23/178723/3
Paweł Szewczyk [Fri, 11 May 2018 11:27:55 +0000 (13:27 +0200)]
[RFC] Handle ipv6 connections

It was assumed that connection to sdbd over tcp uses ipv4. Now it is
possible to receive ipv6 connection as well (not only IPv4-mapped, but a
real one). This requires ipv6 address validation in plugin API.

This commit adds such API, with default implementation to block all ipv6
addresses. It should be implemented according to security policy on
given platform.

Change-Id: I056c63485e2d6e23269091822a231d7b9b817048
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
5 years agoPrepend backslash to all characters in appcmd arguments 95/178695/1
adhavan.m [Fri, 11 May 2018 09:32:28 +0000 (15:02 +0530)]
Prepend backslash to all characters in appcmd arguments

Change-Id: I4e03d9fe753237ae1ac2a188d5b06424c4dea288
Signed-off-by: adhavan.m <adhavan.m@samsung.com>
5 years agoHandle IPv4-mapped adresses 86/178586/1 accepted/tizen/unified/20180511.073957 submit/tizen/20180510.142044
Paweł Szewczyk [Thu, 10 May 2018 12:08:50 +0000 (14:08 +0200)]
Handle IPv4-mapped adresses

With systemd socket activation we may get IPv6 socket. Here it is
assumed that it has IPv4-mapped address, which is passed to verification
function.

Change-Id: I7d508db49f2ec437c9937fe81579fb44cb267dd0
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
6 years agoRevert "Revert "Remove usage of /run/tizen-system-env file"" 53/177953/2 submit/tizen/20180504.114430
Adhavan M [Fri, 4 May 2018 11:37:13 +0000 (11:37 +0000)]
Revert "Revert "Remove usage of /run/tizen-system-env file""

This reverts commit 1376e40eaf97bd9c5586d5ef77e4bbb9e0683c3f.

Change-Id: Ib48298d29cc3fa06ed0d9f0b4cccfa7cc21f028a

6 years agoRevert "Revert "usb_funcfs: Check descriptors received from systemd"" 52/177952/2
Adhavan M [Fri, 4 May 2018 11:36:36 +0000 (11:36 +0000)]
Revert "Revert "usb_funcfs: Check descriptors received from systemd""

This reverts commit 54f43e108db2665341d553573f002f296e012987.

Change-Id: I3d16fc11babb78d852bc7caf55539329e49f4ff6

6 years agoRevert "Revert "sdb: Use systemd startup notification"" 51/177951/2
Adhavan M [Fri, 4 May 2018 11:36:15 +0000 (11:36 +0000)]
Revert "Revert "sdb: Use systemd startup notification""

This reverts commit 95ba741bb4fc70acf13d4ef68d3a15031025aa6f.

Change-Id: I5a16217f284f9e43132cd078ef1fff45dfaa5c8a

6 years agoRevert "Revert "service: Reimplement per-profile configuration using snippets"" 50/177950/2
Adhavan M [Fri, 4 May 2018 11:35:51 +0000 (11:35 +0000)]
Revert "Revert "service: Reimplement per-profile configuration using snippets""

This reverts commit 5aa4d053853caf9d74eba1bbcdb6c7dcfef10b32.

Change-Id: Ied7a11835070c98719c07d49032408a1fa7fb897

6 years agoRevert "Revert "Enable systemd activation for TCP ports"" 49/177949/2
Adhavan M [Fri, 4 May 2018 11:35:31 +0000 (11:35 +0000)]
Revert "Revert "Enable systemd activation for TCP ports""

This reverts commit 4e194560ee8b9b4d099021ac98c6369334b729af.

Change-Id: Ia8b6533410e3ca4f42d5b1b014153a93562f8560

6 years agoRevert "Revert "service: Remove DISPLAY=:0 from all services"" 48/177948/2
Adhavan M [Fri, 4 May 2018 11:35:10 +0000 (11:35 +0000)]
Revert "Revert "service: Remove DISPLAY=:0 from all services""

This reverts commit d9aadf4e5bad0ae2584921bd7bddd321bcdc8b9e.

Change-Id: I35a0b723b21c8d94f1a2547b1a800d0a61ed62ea

6 years agoRevert "Revert "service: Move common options to sdbd.service"" 47/177947/2
Adhavan M [Fri, 4 May 2018 11:34:52 +0000 (11:34 +0000)]
Revert "Revert "service: Move common options to sdbd.service""

This reverts commit 6ad6a2da4ee65dfaacd41f2742da2d5ed4d868c6.

Change-Id: I8c316d7575c9dafadab90889c35508b7f4e865de

6 years agoRevert "Revert "Don't start sdbd on system boot"" 46/177946/2
Adhavan M [Fri, 4 May 2018 11:34:34 +0000 (11:34 +0000)]
Revert "Revert "Don't start sdbd on system boot""

This reverts commit 3025967f84b97489d32067daa3368dbfe69abce0.

Change-Id: I1f2710eb315749582ea2f70bb893586351af9ddf

6 years agoRevert "Revert "Change default ffs path to match system policy"" 45/177945/2
Adhavan M [Fri, 4 May 2018 11:34:11 +0000 (11:34 +0000)]
Revert "Revert "Change default ffs path to match system policy""

This reverts commit a2f21a7ccaab14768d02dd891ca96c3a0e6aff7e.

Change-Id: I96e449da8e6fa9a6c16d4f4c249fb431ea2952e7

6 years agoRevert "Revert "Remove daemonization"" 44/177944/2
Adhavan M [Fri, 4 May 2018 11:33:38 +0000 (11:33 +0000)]
Revert "Revert "Remove daemonization""

This reverts commit bdb8cb69e466755acb7750cd6a467261c80c53ae.

Change-Id: I728b34d508421136f292bdff535b7bbe79bc235f

6 years agoRevert "Revert "Add socket for ffs socket activation"" 43/177943/2
Adhavan M [Fri, 4 May 2018 11:33:19 +0000 (11:33 +0000)]
Revert "Revert "Add socket for ffs socket activation""

This reverts commit 097830315da13ffac8b1bab7ffdc0ec53b08e158.

Change-Id: I743ce5d815aa78ef8e48a9331e4dd224b5a6b572

6 years agoRevert "Revert "Use endpoints provided by socket activation"" 42/177942/2
Adhavan M [Fri, 4 May 2018 11:33:02 +0000 (11:33 +0000)]
Revert "Revert "Use endpoints provided by socket activation""

This reverts commit 5c68bcb8110ee5bbf1be97144589c27c5590e9e2.

Change-Id: I5404515bd698661367643e2e85536e7a4dbd6950

6 years agoRevert "Revert "Extract descriptors and strings to binary files during compilation"" 41/177941/2
Adhavan M [Fri, 4 May 2018 11:32:39 +0000 (11:32 +0000)]
Revert "Revert "Extract descriptors and strings to binary files during compilation""

This reverts commit 7ada79938c7f386326c48b40f393d9ce2a3dfdc7.

Change-Id: I0227dfbe9a46f9149869d9a6bda72555d536c38d

6 years agoRevert "Revert "Change default ffs path"" 40/177940/1
Adhavan M [Fri, 4 May 2018 11:31:42 +0000 (11:31 +0000)]
Revert "Revert "Change default ffs path""

This reverts commit e7cfdce2cecafa1bd53be5e3a445ba300c57c060.

Change-Id: Ifdd11244a4a5e563a4ace0df601a427bada7ed61

6 years agoRevert "Change default ffs path" 31/177931/2 submit/tizen/20180504.104640
Adhavan M [Fri, 4 May 2018 10:37:06 +0000 (10:37 +0000)]
Revert "Change default ffs path"

This reverts commit 82218f4edaa1424e9274964b13b1ba826aed316f.

Change-Id: If45146cc32da2666787693ff05f7d763f9ad69c7

6 years agoRevert "Extract descriptors and strings to binary files during compilation" 30/177930/2
Adhavan M [Fri, 4 May 2018 10:36:45 +0000 (10:36 +0000)]
Revert "Extract descriptors and strings to binary files during compilation"

This reverts commit fdfe62c3c3d634427a8b983418cdc9aef07f5bfa.

Change-Id: Ic346eae1081f3872f454f45ddc921414a2c00caf

6 years agoRevert "Use endpoints provided by socket activation" 29/177929/2
Adhavan M [Fri, 4 May 2018 10:36:17 +0000 (10:36 +0000)]
Revert "Use endpoints provided by socket activation"

This reverts commit 6d7244165d3c13ca69d199934ed8ffa01b8c87a0.

Change-Id: I880b2a5f7e547b9239fc2c9cb00b241d51b98c3f

6 years agoRevert "Add socket for ffs socket activation" 28/177928/2
Adhavan M [Fri, 4 May 2018 10:35:57 +0000 (10:35 +0000)]
Revert "Add socket for ffs socket activation"

This reverts commit cbfe04927443d0f91a28615890594460f89fe07f.

Change-Id: I00e4ba798f5ffa0c7119a3c54f4f26b42e10b701

6 years agoRevert "Remove daemonization" 27/177927/2
Adhavan M [Fri, 4 May 2018 10:35:36 +0000 (10:35 +0000)]
Revert "Remove daemonization"

This reverts commit 94a707f6ecd68a9ef1c4e4ecbf519849fedad6b7.

Change-Id: I9544755f829daa11b8ab0d697fc3ebed3de6caa0

6 years agoRevert "Change default ffs path to match system policy" 25/177925/2
Adhavan M [Fri, 4 May 2018 10:34:45 +0000 (10:34 +0000)]
Revert "Change default ffs path to match system policy"

This reverts commit 114ada7aa444ca588b1546f4bb6439d24f15c6ef.

Change-Id: Iab74a34a89bb0e52aac9de545a23249bf2828997

6 years agoRevert "Don't start sdbd on system boot" 24/177924/2
Adhavan M [Fri, 4 May 2018 10:32:52 +0000 (10:32 +0000)]
Revert "Don't start sdbd on system boot"

This reverts commit 691cc0ef8d5c9d4862c2f3c23719218c1e3f2b47.

Change-Id: Id54c36775a4feee5750d3bd94a9021d7991d37d6

6 years agoMerge "Revert "service: Move common options to sdbd.service"" into tizen
Manish Rathod [Fri, 4 May 2018 10:30:14 +0000 (10:30 +0000)]
Merge "Revert "service: Move common options to sdbd.service"" into tizen

6 years agoRevert "service: Move common options to sdbd.service" 23/177923/1
Adhavan M [Fri, 4 May 2018 10:30:00 +0000 (10:30 +0000)]
Revert "service: Move common options to sdbd.service"

This reverts commit 5d2df4af01380736a240b652472f217f9766aebb.

Change-Id: Idabbc67cad254d9ae0bb615aaac0779177dd92fb

6 years agoMerge "Revert "service: Remove DISPLAY=:0 from all services"" into tizen
Manish Rathod [Fri, 4 May 2018 10:29:34 +0000 (10:29 +0000)]
Merge "Revert "service: Remove DISPLAY=:0 from all services"" into tizen

6 years agoRevert "service: Remove DISPLAY=:0 from all services" 22/177922/1
Adhavan M [Fri, 4 May 2018 10:29:20 +0000 (10:29 +0000)]
Revert "service: Remove DISPLAY=:0 from all services"

This reverts commit 1699dc9ae3c9bf2d8fae27b7611272ad2f2aa5f9.

Change-Id: Ia4fbb68f0bbe844511225ae6e5c5790b3f4dab57

6 years agoMerge "Revert "Enable systemd activation for TCP ports"" into tizen
Manish Rathod [Fri, 4 May 2018 10:28:49 +0000 (10:28 +0000)]
Merge "Revert "Enable systemd activation for TCP ports"" into tizen

6 years agoRevert "Enable systemd activation for TCP ports" 21/177921/1
Adhavan M [Fri, 4 May 2018 10:28:23 +0000 (10:28 +0000)]
Revert "Enable systemd activation for TCP ports"

This reverts commit 8c8b42c7a78a0604172001e2ce430cab1f95cba7.

Change-Id: I62b5f16f2dfb095a984071ffefceadc08be11c31

6 years agoMerge "Revert "service: Reimplement per-profile configuration using snippets"" into...
Manish Rathod [Fri, 4 May 2018 10:25:49 +0000 (10:25 +0000)]
Merge "Revert "service: Reimplement per-profile configuration using snippets"" into tizen

6 years agoRevert "service: Reimplement per-profile configuration using snippets" 20/177920/1
Manish Rathod [Fri, 4 May 2018 10:25:35 +0000 (10:25 +0000)]
Revert "service: Reimplement per-profile configuration using snippets"

This reverts commit 2ebe44c56750e7be5de2494bba1223d8e970df4f.

Change-Id: I82d9da6d12e9e4f1e6900963a1de09ddd213a3c4

6 years agoMerge "Revert "sdb: Use systemd startup notification"" into tizen
Manish Rathod [Fri, 4 May 2018 10:10:32 +0000 (10:10 +0000)]
Merge "Revert "sdb: Use systemd startup notification"" into tizen

6 years agoRevert "sdb: Use systemd startup notification" 17/177917/1
Manish Rathod [Fri, 4 May 2018 10:10:23 +0000 (10:10 +0000)]
Revert "sdb: Use systemd startup notification"

This reverts commit 5c0ef2844b81a5855f0828195c3d90f883d14dc6.

Change-Id: I9cf43c66bcd3bfbe1d50c9df14f8de4a67e55a0a

6 years agoMerge "Revert "usb_funcfs: Check descriptors received from systemd"" into tizen
Manish Rathod [Fri, 4 May 2018 10:10:07 +0000 (10:10 +0000)]
Merge "Revert "usb_funcfs: Check descriptors received from systemd"" into tizen

6 years agoRevert "usb_funcfs: Check descriptors received from systemd" 16/177916/1
Manish Rathod [Fri, 4 May 2018 10:09:57 +0000 (10:09 +0000)]
Revert "usb_funcfs: Check descriptors received from systemd"

This reverts commit 0b0721f4e65c7626045256473f43488edf67798b.

Change-Id: Ib532b431a8ab4fe847121ac362c595fb6b20fcbc

6 years agoRevert "Remove usage of /run/tizen-system-env file" 15/177915/1
Manish Rathod [Fri, 4 May 2018 10:07:42 +0000 (10:07 +0000)]
Revert "Remove usage of /run/tizen-system-env file"

This reverts commit 146a580de79a7e9ff75e9a525fb6c70be7f98f48.

Change-Id: I59ea36a928dd7d780d9be48c9d2fba61402dbd83

6 years agoRemove usage of /run/tizen-system-env file 57/177257/1
Paweł Szewczyk [Thu, 26 Apr 2018 11:57:47 +0000 (13:57 +0200)]
Remove usage of /run/tizen-system-env file

This file is created by tizen-system-env.service, which is no longer
a dependency.

Change-Id: Ie1000550b106f407c338b607878c6e38577046b2
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
6 years agousb_funcfs: Check descriptors received from systemd 47/176347/2 accepted/tizen/unified/20180426.145755 submit/tizen/20180426.060340
Paweł Szewczyk [Wed, 18 Apr 2018 13:09:51 +0000 (15:09 +0200)]
usb_funcfs: Check descriptors received from systemd

Change-Id: I178e04a49f4691923455066572f1e26396c65af4
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
6 years agosdb: Use systemd startup notification 33/176333/2
Karol Lewandowski [Wed, 18 Apr 2018 11:07:31 +0000 (13:07 +0200)]
sdb: Use systemd startup notification

Change-Id: I8ec201a68be921861f0fb05b74f1d862a4c90e5f
Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com>
6 years agoservice: Reimplement per-profile configuration using snippets 85/176185/4
Karol Lewandowski [Tue, 17 Apr 2018 08:41:47 +0000 (10:41 +0200)]
service: Reimplement per-profile configuration using snippets

This commit removes file manipulation from %post, making it
possible to install/remove package without side effects.

Change-Id: I45103c134a7bb55da435146ff123a686e5cf4e56

6 years agoEnable systemd activation for TCP ports 14/175814/10
Karol Lewandowski [Mon, 16 Apr 2018 10:45:15 +0000 (12:45 +0200)]
Enable systemd activation for TCP ports

Change-Id: Id7d67ba3cd2a749362f6cfd91f139fc4d40a97b4
Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com>
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agoservice: Remove DISPLAY=:0 from all services 84/176184/2
Karol Lewandowski [Tue, 17 Apr 2018 07:25:40 +0000 (09:25 +0200)]
service: Remove DISPLAY=:0 from all services

This environment variable is always set in source code,
init_sdk_requirements() function.

Change-Id: I459c72161fb24e5a430afb0efb499b5da5b6df52

6 years agoservice: Move common options to sdbd.service 83/176183/2
Karol Lewandowski [Tue, 17 Apr 2018 08:33:07 +0000 (10:33 +0200)]
service: Move common options to sdbd.service

 - Security options
 - Ensure tmp is mounted for PIDFile=/tmp/... to work

Change-Id: I40deac3492674ae70d249292d7ae3af95aad72f0

6 years agoMerge "Don't start sdbd on system boot" into tizen
Manish Rathod [Thu, 26 Apr 2018 05:44:39 +0000 (05:44 +0000)]
Merge "Don't start sdbd on system boot" into tizen

6 years agoMerge "Change default ffs path to match system policy" into tizen
Manish Rathod [Thu, 26 Apr 2018 05:44:27 +0000 (05:44 +0000)]
Merge "Change default ffs path to match system policy" into tizen

6 years agoMerge "Remove daemonization" into tizen
Manish Rathod [Thu, 26 Apr 2018 05:44:16 +0000 (05:44 +0000)]
Merge "Remove daemonization" into tizen

6 years agoMerge "Add socket for ffs socket activation" into tizen
Manish Rathod [Thu, 26 Apr 2018 05:44:02 +0000 (05:44 +0000)]
Merge "Add socket for ffs socket activation" into tizen

6 years agoMerge "Use endpoints provided by socket activation" into tizen
Manish Rathod [Thu, 26 Apr 2018 05:43:48 +0000 (05:43 +0000)]
Merge "Use endpoints provided by socket activation" into tizen

6 years agoMerge "Extract descriptors and strings to binary files during compilation" into tizen
Manish Rathod [Thu, 26 Apr 2018 05:43:37 +0000 (05:43 +0000)]
Merge "Extract descriptors and strings to binary files during compilation" into tizen

6 years agoMerge "Change default ffs path" into tizen
Manish Rathod [Thu, 26 Apr 2018 05:43:20 +0000 (05:43 +0000)]
Merge "Change default ffs path" into tizen

6 years agoMerge "Fix for svace issues" into tizen
Changseok Oh [Wed, 11 Apr 2018 10:49:03 +0000 (10:49 +0000)]
Merge "Fix for svace issues" into tizen

6 years agoPackage: Update version (3.0.48) 55/175655/1 accepted/tizen/unified/20180423.130950 submit/tizen/20180417.050245
adhavan.m [Wed, 11 Apr 2018 09:55:03 +0000 (15:25 +0530)]
Package: Update version (3.0.48)

Change-Id: If328c6cf5005264310a1c6216a70101a0b7b4561
Signed-off-by: adhavan.m <adhavan.m@samsung.com>
6 years agoAdded appcmd arguments parsing 74/175474/5
adhavan.m [Tue, 10 Apr 2018 12:16:05 +0000 (17:46 +0530)]
Added appcmd arguments parsing

Change-Id: Ifb7c03e2659eac06d9f26740900e2d08d356893a
Signed-off-by: adhavan.m <adhavan.m@samsung.com>
6 years agoFix for svace issues 39/175039/2
shikha.ta [Fri, 6 Apr 2018 06:22:45 +0000 (11:52 +0530)]
Fix for svace issues

Change-Id: I9a97f784358be1d7c9f36aa58944b413c22f2e86
Signed-off-by: shikha.ta <shikha.ta@samsung.com>
6 years agoPackage: Update version (3.0.47) 51/174951/1
adhavan.m [Thu, 5 Apr 2018 10:02:42 +0000 (15:32 +0530)]
Package: Update version (3.0.47)

Change-Id: Icb026b148604632205500d60a8303f88ef036fde
Signed-off-by: adhavan.m <adhavan.m@samsung.com>
6 years agoFix for sdbd security issues 50/174150/2
adhavan.m [Wed, 28 Mar 2018 12:52:46 +0000 (18:22 +0530)]
Fix for sdbd security issues

Change-Id: Ideaab3d8fb75eb21973ec12856cc5c82e58f90a8
Signed-off-by: adhavan.m <adhavan.m@samsung.com>
6 years agoDon't start sdbd on system boot 54/171854/1
Krzysztof Opasiak [Wed, 7 Mar 2018 19:14:46 +0000 (20:14 +0100)]
Don't start sdbd on system boot

sdbd can be activated in using socket or service
depending on USB HAL version but in both cases there
is external entity responsible for starting it so there
is no need to do this on system boot.

Change-Id: I407a23b70caecea1e24203d1b9888a5cba0da866
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
6 years agoChange default ffs path to match system policy 53/171853/1
Krzysztof Opasiak [Wed, 7 Mar 2018 19:12:02 +0000 (20:12 +0100)]
Change default ffs path to match system policy

Change-Id: Ifdabe7cfb883af6c9d773748cb61e658829c4503
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
6 years agoRemove daemonization 53/171553/2
Paweł Szewczyk [Mon, 5 Mar 2018 11:59:54 +0000 (12:59 +0100)]
Remove daemonization

It's not necessary to fork the daemon manually, we have systemd for
managing that. The forking also may affect the sd_listen_ api.

Change-Id: Ia067e64a31787ee87f1b150959765aff40e9d007
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
6 years agoAdd socket for ffs socket activation 16/63016/6
Krzysztof Opasiak [Wed, 7 Mar 2018 19:17:01 +0000 (20:17 +0100)]
Add socket for ffs socket activation

Adapt the sdbd service to support ffs socket activation via sockets
with ListenUSBFunction option. Add a socket unit for socket activation.

Change-Id: Iefd15fb318230c2bf10b39680ef495bb78c49864
Signed-off-by: Georgia Brikis <g.brikis@samsung.com>
[Rebased for Tizen 5.0]
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
6 years agoUse endpoints provided by socket activation 93/62993/7
Georgia Brikis [Wed, 2 Mar 2016 14:44:47 +0000 (15:44 +0100)]
Use endpoints provided by socket activation

Enable sdbd to receive preinitialized sockets from systemd. And enable
sdbd to use the endpoints passed by the systemd for opening a usb
thread (old functionality remains if socket activation is not used).

Change-Id: I0c08a82ad200aa042e095e1abf08d8e48de9c62d
Signed-off-by: Georgia Brikis <g.brikis@samsung.com>
[Rebased for Tizen 5.0]
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
6 years agoExtract descriptors and strings to binary files during compilation 89/60689/7
Georgia Brikis [Thu, 25 Feb 2016 10:51:13 +0000 (11:51 +0100)]
Extract descriptors and strings to binary files during compilation

For socket activation FunctionFs descriptors and strings have to be
provided as binary files. This commit adds support for extracting FFs
strings and descriptors during compilation and installing them.

Change-Id: I8a063e9d6c49d6703cc751e55fe4b86dafaa9e0d
Signed-off-by: Georgia Brikis <g.brikis@samsung.com>
[Rebased for Tizen 5.0]
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
6 years agoChange default ffs path 13/53013/2
Krzysztof Opasiak [Wed, 3 Dec 2014 10:44:37 +0000 (11:44 +0100)]
Change default ffs path

Change-Id: I3c3e235bfb4b921a068f814ea2df8d01f8797d15
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
[Rebased for tizen 5.0]
Signed-off-by: Paweł Szewczyk <p.szewczyk@samsung.com>
6 years agoplugin: add verify_path to check valid path for push 73/162473/3 accepted/tizen/unified/20180129.073430 submit/tizen/20171227.092455 submit/tizen/20180124.035009
jounsun.beak [Fri, 1 Dec 2017 12:35:29 +0000 (21:35 +0900)]
plugin: add verify_path to check valid path for push

Change-Id: I0ae896d25fc4fb9c8bbf89fee16f3f04b3f70160
Signed-off-by: jounsun.beak <jounsun.beak@samsung.com>
6 years agoappcmd: modify runapp command 76/164076/4
jihye424.kim [Fri, 15 Dec 2017 06:41:27 +0000 (15:41 +0900)]
appcmd: modify runapp command

-- check type of application is widget or not before to run application

Change-Id: I0d791cf802ab937a0273df9335e6d91774887d92
Signed-off-by: jihye424.kim <jihye424.kim@samsung.com>
6 years agopackage: update version (3.0.46) 86/162986/2 submit/tizen/20171207.085311
Sooyoung Ha [Wed, 6 Dec 2017 16:23:25 +0000 (01:23 +0900)]
package: update version (3.0.46)

Change-Id: I3fd3e5cc10291c64daf083e525716f126fd36c57
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
6 years agoinstall: apply install -g option 85/162985/2
Sooyoung Ha [Wed, 6 Dec 2017 16:22:36 +0000 (01:22 +0900)]
install: apply install -g option

Change-Id: Ib84bb299caa8c43aa5e49116b31db5b76fb9f4d6
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
6 years agocapability: add device_name capability 84/162984/1
Sooyoung Ha [Wed, 29 Nov 2017 07:11:13 +0000 (16:11 +0900)]
capability: add device_name capability

The device_name is the value of VCONFKEY_SETAPPL_DEVICE_NAME_STR
vconf key.

Change-Id: Ic0204387a2e9362e5d095e1191170218a291b90a
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
6 years agopackage: update version (3.0.45) 96/161896/2 accepted/tizen/unified/20171130.063220 submit/tizen/20171128.085232
Sooyoung Ha [Tue, 28 Nov 2017 06:07:31 +0000 (15:07 +0900)]
package: update version (3.0.45)

Change-Id: I5027cfea49cbbf4024eccd20ff5cce0d25d3671f
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
6 years agofopen: add realpath before fopen 95/161895/2
Sooyoung Ha [Tue, 28 Nov 2017 06:04:48 +0000 (15:04 +0900)]
fopen: add realpath before fopen

To prevent path-modification attack using symbolic link.

Change-Id: Id5133df718b1e14a22849920082ff1717bc417e6
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
6 years agopackage: update version (3.0.44) 10/156310/1 accepted/tizen/unified/20171018.165234 submit/tizen/20171018.044949
Sooyoung Ha [Wed, 18 Oct 2017 03:10:47 +0000 (12:10 +0900)]
package: update version (3.0.44)

Change-Id: I68231790d5e787f4a170240867e2aff12720e762
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
6 years agoplugin: do not null assign saveptr of strtok_r 09/156309/1
Sooyoung Ha [Wed, 18 Oct 2017 03:09:29 +0000 (12:09 +0900)]
plugin: do not null assign saveptr of strtok_r

Change-Id: I49b9f386f45cab131be0f22e9c53cffbf40161ed
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
6 years agopackage: update version (3.0.43) 99/155799/1
Sooyoung Ha [Mon, 16 Oct 2017 07:20:38 +0000 (16:20 +0900)]
package: update version (3.0.43)

Change-Id: Ic67edc88fa0ac9fc377e912b1ef4e4ddff48d3f3
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
6 years agosource: remove unused function 98/155798/1
Sooyoung Ha [Mon, 16 Oct 2017 07:19:57 +0000 (16:19 +0900)]
source: remove unused function

Change-Id: I8df28769edca2a8028ddcf984c630c28f5f04d5b
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
6 years agopackage: update version (3.0.42) 23/154723/3 accepted/tizen/unified/20171012.191841 submit/tizen/20171012.092830
Jinhyung Jo [Wed, 11 Oct 2017 06:50:02 +0000 (15:50 +0900)]
package: update version (3.0.42)

Change-Id: I44989f6d30412a1b596e6da8a00314766e59e290
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
6 years agodbus: change from dbus-glib API to GDBus API 86/154486/4
Jinhyung Jo [Tue, 10 Oct 2017 09:06:20 +0000 (18:06 +0900)]
dbus: change from dbus-glib API to GDBus API

As mentioned in the URL below:
  https://dbus.freedesktop.org/doc/dbus-glib/

  dbus-glib is a deprecated API for use of D-Bus from GLib applications.
  Do not use it in new code. Since version 2.26,
  GLib's accompanying GIO library provides a high-level API for D-Bus,
  "GDBus", based on an independent reimplementation of the D-Bus protocol.
  The maintainers of D-Bus recommend that GLib applications
  should use GDBus instead of dbus-glib.

Change-Id: I5754e0c40fdb246e0a29766ae795e6dcaebc07e4
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
6 years agopackage: update version (3.0.41) 39/154939/1 accepted/tizen/unified/20171012.023937 submit/tizen/20171011.115817
Sooyoung Ha [Wed, 11 Oct 2017 11:49:04 +0000 (20:49 +0900)]
package: update version (3.0.41)

Change-Id: I749e0ddd0190e1e9c2d39062676b5ec8af413f94
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
6 years agotransport: do not free broadcast transport packet 38/154938/1
Sooyoung Ha [Wed, 11 Oct 2017 11:48:03 +0000 (20:48 +0900)]
transport: do not free broadcast transport packet

Change-Id: I581877a737e4b860061fca8b62b89ea31d39b695
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
6 years agopackage: update version (3.0.40) 16/154316/1 accepted/tizen/unified/20171010.162620 submit/tizen/20171010.071619
Sooyoung Ha [Tue, 10 Oct 2017 05:02:09 +0000 (14:02 +0900)]
package: update version (3.0.40)

Change-Id: I21ea7beee26cd393bd589007f9cc52758955ed26
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
6 years agosource: add g_main_loop_unref for finished mainloop 15/154315/1
Sooyoung Ha [Tue, 10 Oct 2017 05:01:12 +0000 (14:01 +0900)]
source: add g_main_loop_unref for finished mainloop

Change-Id: Iefd46e1882cee1011454eafee4414e4130df21d9
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
6 years agopackage: update version (3.0.39) 14/154314/1
Sooyoung Ha [Tue, 10 Oct 2017 04:51:31 +0000 (13:51 +0900)]
package: update version (3.0.39)

Change-Id: I63990255b41482fe7d6985f368253f4f4aa6dd1a
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
6 years agosource: fix some risky codes 13/154313/1
Sooyoung Ha [Tue, 10 Oct 2017 04:50:30 +0000 (13:50 +0900)]
source: fix some risky codes

Change-Id: I09660d031e04a3318849c49f2fe933f6388e0627
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
6 years agopackage: update version (3.0.38) 17/152217/1 accepted/tizen/unified/20170927.063402 submit/tizen/20170927.013854
Jinhyung Jo [Mon, 25 Sep 2017 09:13:27 +0000 (18:13 +0900)]
package: update version (3.0.38)

Change-Id: I814eec175f304dbfb2640a2747255ab2d39c45eb
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
6 years agoservice: fix a bug in crash report service 13/152213/1
Jinhyung Jo [Mon, 25 Sep 2017 08:36:20 +0000 (17:36 +0900)]
service: fix a bug in crash report service

Added to watch for the move event.

Change-Id: I1e2a8e39217f25d19bc9c84c3dab663311fb5523
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
6 years agopackage: update version (3.0.37) 52/150852/2 accepted/tizen/unified/20170920.081047 submit/tizen/20170919.053220
Sooyoung Ha [Tue, 19 Sep 2017 02:37:52 +0000 (11:37 +0900)]
package: update version (3.0.37)

Change-Id: I19f19ba2b4acbe6b745233ff1179e6452aa3ef3e
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
6 years agosecure: change insecure system function 51/150851/2
Sooyoung Ha [Tue, 19 Sep 2017 02:36:33 +0000 (11:36 +0900)]
secure: change insecure system function

system() -> fork() + execve()

Change-Id: I0a8a062013dddfbce03f11ddb6e02962775eb3e9
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
6 years agopackage: update version (3.0.36) 70/148670/1
Sooyoung Ha [Fri, 8 Sep 2017 09:05:01 +0000 (18:05 +0900)]
package: update version (3.0.36)

Change-Id: I2be9a7801aa4eb64ae68a517e2eae892aeb521b4
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
6 years agopackaging: modify user and group of tcp service 12/148212/1
Sooyoung Ha [Thu, 7 Sep 2017 06:33:33 +0000 (15:33 +0900)]
packaging: modify user and group of tcp service

Change-Id: Ia67f0da66d2326898d19e8e9effeb91c65eb3d4f
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>