sdk/target/sdbd.git
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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 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>
7 years agopackage: update version (3.0.35) 98/145598/1 accepted/tizen/4.0/unified/20170904.143511 accepted/tizen/unified/20170824.051043 submit/tizen/20170824.024628 submit/tizen_4.0/20170831.112542
Jinhyung Jo [Wed, 23 Aug 2017 04:54:15 +0000 (13:54 +0900)]
package: update version (3.0.35)

Change-Id: I1e8537183d81eb117354adb4f7a4b97d05b0f32f
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
7 years agoappcmd: change argument from local to heap 97/145597/1
Jinhyung Jo [Wed, 23 Aug 2017 02:23:58 +0000 (11:23 +0900)]
appcmd: change argument from local to heap

Change-Id: I708ae784d24cbd5394d2787bf15b53b27ee33c16
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
7 years agopackage: update version (3.0.34) 99/143499/1 accepted/tizen/4.0/unified/20170828.223130 accepted/tizen/unified/20170811.021122 submit/tizen/20170810.075108 submit/tizen_4.0/20170828.100009
Jinhyung Jo [Thu, 10 Aug 2017 06:47:53 +0000 (15:47 +0900)]
package: update version (3.0.34)

Change-Id: I7e419c1b710447c9a588f7639fc3963b78f5f3d3
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
7 years agosource: remove use of getenv() 01/143401/1
Jinhyung Jo [Wed, 9 Aug 2017 14:24:35 +0000 (23:24 +0900)]
source: remove use of getenv()

Change-Id: I4caf3eb7f788ddd95a83be13a298d1c87c48de10
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
7 years agosource: fix security issues 90/143390/1
Jinhyung Jo [Wed, 9 Aug 2017 12:28:47 +0000 (21:28 +0900)]
source: fix security issues

Change-Id: I49c6c58ec6646f33183881440e6a1bd6607801dd
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
7 years agosource: remove unused code 89/143389/1
Jinhyung Jo [Wed, 9 Aug 2017 09:31:01 +0000 (18:31 +0900)]
source: remove unused code

Change-Id: Ib52f23e49f6b876304d19567f7bf1b9b372b5742
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
7 years agosource: add code to check for null pointer 88/143388/1
Jinhyung Jo [Wed, 9 Aug 2017 07:50:43 +0000 (16:50 +0900)]
source: add code to check for null pointer

Change-Id: Ie73726a837cdc6d28468845c91388644f0c5a853
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
7 years agopackage: update version (3.0.33) 82/140482/3 accepted/tizen/4.0/unified/20170816.013126 accepted/tizen/unified/20170804.025641 submit/tizen/20170803.074638 submit/tizen_4.0/20170811.094300
Sooyoung Ha [Tue, 25 Jul 2017 06:30:19 +0000 (15:30 +0900)]
package: update version (3.0.33)

Change-Id: Ie125643663764582fee9458810531eabf0baf208
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agoservice: apply capabilities for security 81/140481/3
Sooyoung Ha [Tue, 25 Jul 2017 06:29:36 +0000 (15:29 +0900)]
service: apply capabilities for security

Change-Id: If8ea4bba3476acf2d2043f17f6f8b63538fd9f8f
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackage: Add libpthread explicitly for ASan build 20/131320/2 submit/tizen/20170712.125833
Slava Barinov [Fri, 26 May 2017 09:01:38 +0000 (12:01 +0300)]
package: Add libpthread explicitly for ASan build

Change-Id: I39508a5c77a41f5ce3b3dfcfe295cb24bde4a367
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
7 years agopackage: update version (3.0.32) 11/136511/1 accepted/tizen/unified/20170630.061148 submit/tizen/20170630.052335
Sooyoung Ha [Fri, 30 Jun 2017 05:15:11 +0000 (14:15 +0900)]
package: update version (3.0.32)

Change-Id: I44433704c5f7267dee1aa18573e760bed2cbc56e
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackaging: modify user and group of tv service file 10/136510/1
Sooyoung Ha [Fri, 30 Jun 2017 05:11:37 +0000 (14:11 +0900)]
packaging: modify user and group of tv service file

The 'sdk' user group causes TV smack denying.
This almost revert of commit a16797abdc35b105d38beaf9aaccab12b616933d.

Change-Id: Id0a4beb8efc9e986cfd9f7eb56041de0d05b1105
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackage: update version (3.0.31) 34/136134/1 accepted/tizen/unified/20170629.090040 submit/tizen/20170628.080356
Sooyoung Ha [Wed, 28 Jun 2017 07:54:11 +0000 (16:54 +0900)]
package: update version (3.0.31)

Change-Id: Ie8d745d492170e326cf86d4c1e20afd12f1def36
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agosource: fix typo 33/136133/1
Sooyoung Ha [Wed, 28 Jun 2017 07:51:21 +0000 (16:51 +0900)]
source: fix typo

Change-Id: I7c68c0689e3e62361491285ce8107879c24b0209
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackage: update version (3.0.30) 67/135967/1 submit/tizen/20170628.025840
Sooyoung Ha [Tue, 27 Jun 2017 13:49:24 +0000 (22:49 +0900)]
package: update version (3.0.30)

Change-Id: I29f10364d289fbf07f1811a22d693c71ef30b842
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agosource: align indent 66/135966/1
Sooyoung Ha [Tue, 27 Jun 2017 13:32:18 +0000 (22:32 +0900)]
source: align indent

I change the tabs to spaces and remove the redundant spaces.

Change-Id: Iaed7c815f2d9e04582b1a68bc65d678261824378
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agodbus: add dbus_connection_unref 65/135965/1
Sooyoung Ha [Tue, 27 Jun 2017 13:31:06 +0000 (22:31 +0900)]
dbus: add dbus_connection_unref

Change-Id: Ic7c085a06da97f40c570b7be116a1236d5b222da
Signed-off-by: Sooyoung Ha <yoosah.ha@samsung.com>
7 years agopackage: update version (3.0.29) 50/135550/1
Jinhyung Jo [Thu, 22 Jun 2017 08:15:06 +0000 (17:15 +0900)]
package: update version (3.0.29)

Change-Id: I99d417e1d2a513506f084b59c219466d14b98e4f
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
7 years agosource: remove integer underflow 73/135273/7
Jinhyung Jo [Wed, 21 Jun 2017 11:28:48 +0000 (20:28 +0900)]
source: remove integer underflow

Change-Id: Ie6987bb833fa1061409ccd3a8b4abddf4e281cc7
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
7 years agosource: remove build warning 72/135272/2
Jinhyung Jo [Wed, 21 Jun 2017 11:18:48 +0000 (20:18 +0900)]
source: remove build warning

change format specifier for 'size_t': %d -> %zu, %x -> %zx
remove -Wint-to-pointer-cast, -Wpointer-to-int-cast
apply indentation to 'if' statement

Change-Id: Id58a213d6ce8a8b43d19c2789327ec7b2716ab93
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>