sdk/target/sdbd.git
5 years ago[SATDEVKIT-2522]Symbolic link issues handled 63/197863/3 submit/tizen/20190118.065338
alkasethi [Wed, 16 Jan 2019 15:01:02 +0000 (20:31 +0530)]
[SATDEVKIT-2522]Symbolic link issues handled

Change-Id: I02fd9d7b139c7efc6f83ecfd3f87876e4091a9c2
Signed-off-by: alkasethi <alka.sethi@samsung.com>
5 years ago[SATDEVKIT-2522]Security issues handled 86/197486/2 accepted/tizen/unified/20190115.060008 submit/tizen/20190114.083139
alkasethi [Fri, 11 Jan 2019 11:33:08 +0000 (17:03 +0530)]
[SATDEVKIT-2522]Security issues handled

Change-Id: I41924e10ade8d96fcefa8adc053a12c0f6078a71
Signed-off-by: alkasethi <alka.sethi@samsung.com>
5 years agoplugin: add verify_path to check valid path for pull 95/195795/1 accepted/tizen/unified/20181218.152422 submit/tizen/20181218.090642
jounsun.beak [Tue, 18 Dec 2018 05:39:30 +0000 (14:39 +0900)]
plugin: add verify_path to check valid path for pull

Change-Id: I63f9baa959b812ff3d07884522ea001a37e7348f
Signed-off-by: jounsun.beak <jounsun.beak@samsung.com>
5 years ago[DF181206-00468]Memory leak issue handled 99/195399/2 submit/tizen/20181214.061648
alkasethi [Thu, 13 Dec 2018 06:45:16 +0000 (12:15 +0530)]
[DF181206-00468]Memory leak issue handled

Change-Id: I2e4e7a91cecc14b12f327482a492c84746a2dd73
Signed-off-by: alkasethi <alka.sethi@samsung.com>
5 years ago[DF181127-00018]Segmentation fault issue handled 45/194145/2 accepted/tizen/unified/20181130.065001 submit/tizen/20181129.095451
alkasethi [Thu, 29 Nov 2018 09:00:46 +0000 (14:30 +0530)]
[DF181127-00018]Segmentation fault issue handled

Change-Id: I27833062caf987d086e9c57a6b8d70a7c22b4972

5 years agoRevert "ffs: Limit bulk transfer size to page size (4096 bytes)" accepted/tizen/unified/20181123.165017 submit/tizen/20181030.052858 submit/tizen/20181030.053130 submit/tizen/20181123.092801
manish.r [Tue, 30 Oct 2018 05:28:20 +0000 (10:58 +0530)]
Revert "ffs: Limit bulk transfer size to page size (4096 bytes)"

This reverts commit fb2b9232685cf0ca860f4129dc05ddf3941d1768.

5 years agoSvace issues fixes 10/192010/1 submit/tizen/20181029.120339
adhavan.m [Fri, 26 Oct 2018 14:21:13 +0000 (19:51 +0530)]
Svace issues fixes

Change-Id: Ia945059c0d439f634a4254e6393b1f8e32f5067c
Signed-off-by: adhavan.m <adhavan.m@samsung.com>
5 years agoffs: Limit bulk transfer size to page size (4096 bytes) 70/191470/2 submit/tizen/20181018.104932
Karol Lewandowski [Wed, 17 Oct 2018 14:14:33 +0000 (16:14 +0200)]
ffs: Limit bulk transfer size to page size (4096 bytes)

This commit it intended to fix page allocation failures
in kernel due to ffs trying to allocate continuous memory
of length specified by userspace.

[ 2452.765000] sdbd: page allocation failure: order:6, mode:0x24040c0
[ 2452.770000] CPU: 2 PID: 6253 Comm: sdbd Not tainted 4.4.71-00002-g4b213b7 #130
[ 2452.780000] Hardware name: s5p4418
[ 2452.780000] [<c001964c>] (unwind_backtrace) from [<c0014ec8>] (show_stack+0x20/0x24)
[ 2452.790000] [<c0014ec8>] (show_stack) from [<c03516d8>] (dump_stack+0x80/0x94)
[ 2452.795000] [<c03516d8>] (dump_stack) from [<c0139738>] (warn_alloc_failed+0xf0/0x130)
[ 2452.805000] [<c0139738>] (warn_alloc_failed) from [<c013cef0>] (__alloc_pages_nodemask+0x8f8/0xa98)
[ 2452.810000] [<c013cef0>] (__alloc_pages_nodemask) from [<c013d2bc>] (alloc_kmem_pages+0x28/0xc0)
[ 2452.810000] [<c013d2bc>] (alloc_kmem_pages) from [<c01585d4>] (kmalloc_order+0x20/0x38)
[ 2452.810000] [<c01585d4>] (kmalloc_order) from [<c0158618>] (kmalloc_order_trace+0x2c/0x110)
[ 2452.810000] [<c0158618>] (kmalloc_order_trace) from [<c01783ac>] (__kmalloc+0x2f4/0x364)
[ 2452.810000] [<c01783ac>] (__kmalloc) from [<c052b868>] (ffs_epfile_io+0xb0/0x4a4)
[ 2452.810000] [<c052b868>] (ffs_epfile_io) from [<c052be44>] (ffs_epfile_read_iter+0xb4/0x170)
[ 2452.810000] [<c052be44>] (ffs_epfile_read_iter) from [<c018b7e4>] (__vfs_read+0xbc/0xe4)
[ 2452.810000] [<c018b7e4>] (__vfs_read) from [<c018bfbc>] (vfs_read+0x88/0x114)
[ 2452.810000] [<c018bfbc>] (vfs_read) from [<c018c8e4>] (SyS_read+0x4c/0xa0)
[ 2452.810000] [<c018c8e4>] (SyS_read) from [<c0010ef4>] (__sys_trace_return+0x0/0x10)
[ 2452.895000] Mem-Info:
[ 2452.895000] active_anon:22405 inactive_anon:183 isolated_anon:0
[ 2452.895000]  active_file:12599 inactive_file:42754 isolated_file:4
[ 2452.895000]  unevictable:3 dirty:29 writeback:0 unstable:0
[ 2452.895000]  slab_reclaimable:3331 slab_unreclaimable:4106
[ 2452.895000]  mapped:14507 shmem:325 pagetables:960 bounce:0
[ 2452.895000]  free:30893 free_pcp:21 free_cma:30150
[ 2452.930000] DMA free:124524kB min:2360kB low:2948kB high:3540kB active_anon:89620kB inactive_anon:732kB active_file:50376kB inactive_file:169800kB unevictable:12kB isolated(anon):0kB isolated(file):16kB present:507904kB managed:488348kB mlocked:12kB dirty:116kB writeback:0kB mapped:58028kB shmem:1300kB slab_reclaimable:13324kB slab_unreclaimable:16424kB kernel_stack:2648kB pagetables:3840kB unstable:0kB bounce:0kB free_pcp:452kB local_pcp:0kB free_cma:120600kB writeback_tmp:0kB pages_scanned:428 all_unreclaimable? no
[ 2452.975000] lowmem_reserve[]: 0 0 0 0
[ 2452.980000] DMA: 389*4kB (UMC) 125*8kB (MEC) 84*16kB (UMEC) 52*32kB (UMC) 34*64kB (UC) 35*128kB (UC) 30*256kB (UC) 28*512kB (C) 20*1024kB (C) 14*2048kB (C) 10*4096kB (C) = 124348kB
[ 2452.995000] 55510 total pagecache pages
[ 2453.000000] 126976 pages RAM
[ 2453.005000] 0 pages HighMem/MovableOnly
[ 2453.005000] 4889 pages reserved
[ 2453.010000] 32768 pages cma reserved

Change-Id: I3cef431057ac9e22483f4960bc3265132f6c4b41

5 years agoImplementation of automatic command exchange feature. 45/188045/4 accepted/tizen/5.0/unified/20181102.031927 accepted/tizen/unified/20180917.041255 submit/tizen/20180914.082214 submit/tizen_5.0/20181101.000009
adhavan.m [Thu, 30 Aug 2018 13:29:32 +0000 (18:59 +0530)]
Implementation of automatic command exchange feature.

Change-Id: Ic9a971972fe6e929332621fbe23216f6f81c6f87
Signed-off-by: adhavan.m <adhavan.m@samsung.com>
5 years ago[SECURITY][MCR]Double free issue resolve updated 52/188452/1
alkasethi [Wed, 5 Sep 2018 06:52:22 +0000 (12:22 +0530)]
[SECURITY][MCR]Double free issue resolve updated

Change-Id: Id464c6370d8f422fd0be5bb7e5514b6ce7f50d17
Signed-off-by: alkasethi <alka.sethi@samsung.com>
5 years agoMemory Leak: File descriptor not closed. 90/188390/5
Gourav Mittal [Tue, 4 Sep 2018 10:29:33 +0000 (15:59 +0530)]
Memory Leak: File descriptor not closed.

Change-Id: I3861b4dcd6ec8934c76afc9de81f2e0922d7802d
Signed-off-by: Gourav Mittal <gourav.m@samsung.com>
5 years ago[SECURITY][MCR]Double free issue resolved 44/188244/1
alkasethi [Mon, 3 Sep 2018 09:08:05 +0000 (14:38 +0530)]
[SECURITY][MCR]Double free issue resolved

Change-Id: Ic0ed347b565d522800be41f4d807c990ad163801
Signed-off-by: alkasethi <alka.sethi@samsung.com>
5 years agoAdded support for shell command to be handled by plugin. 43/186543/4 accepted/tizen/unified/20180824.162454 submit/tizen/20180824.082919
adhavan.m [Fri, 10 Aug 2018 07:07:14 +0000 (12:37 +0530)]
Added support for shell command to be handled by plugin.

Change-Id: I2aeb9bd570d630d96650851ff3b12a424f077bca
Signed-off-by: adhavan.m <adhavan.m@samsung.com>
5 years agoIncreasing timeout for socket connect 63/187563/1
alkasethi [Fri, 24 Aug 2018 06:22:53 +0000 (11:52 +0530)]
Increasing timeout for socket connect

Change-Id: Id38304b9fde6d119c2dbbb8d80af04f0668b6591
Signed-off-by: alkasethi <alka.sethi@samsung.com>
5 years agoRevert "Revert "Changed logging to dlog"" 70/187470/2
Adhavan M [Thu, 23 Aug 2018 11:34:36 +0000 (11:34 +0000)]
Revert "Revert "Changed logging to dlog""

This reverts commit 982b42f4d4a19ffce9f55389ad0c3e90828cb4bd.

Change-Id: I09200a5850632c531a81c8391f3b2ad5ebeedf64

5 years agoremoving init.c 17/186517/1 accepted/tizen/unified/20180810.132601 submit/tizen/20180810.045943 submit/tizen/20180810.050030 submit/tizen/20180810.050334
manish.r [Fri, 10 Aug 2018 04:51:31 +0000 (10:21 +0530)]
removing init.c

Change-Id: I2c05616c047702155add892284ea67e7abf7e954
Signed-off-by: manish.r <manish.r@samsung.com>
5 years agoRevert "Changed logging to dlog" 81/186381/1 accepted/tizen/unified/20180810.062854 submit/tizen/20180809.080636
manish.r [Thu, 9 Aug 2018 08:00:35 +0000 (13:30 +0530)]
Revert "Changed logging to dlog"

This reverts commit 565b3ef468abbfb58da4a0230eda02c02664b29a.

Change-Id: Iec6ee35b0f3d181cd875406e509b2d506903b011
Signed-off-by: manish.r <manish.r@samsung.com>
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>