manish.r [Thu, 2 Jan 2020 09:17:48 +0000 (14:47 +0530)]
gcc9 fix Update Endiness check
Change-Id: I8cb9622e547482a9b84edf063ae794a02f07f842
Signed-off-by: manish.r <manish.r@samsung.com>
manish.r [Fri, 27 Dec 2019 06:55:44 +0000 (12:25 +0530)]
gcc9 build fix
Change-Id: I720c6984327f1a38a102973487a7d746ff56b333
Signed-off-by: manish.r <manish.r@samsung.com>
adhavan.m [Thu, 21 Nov 2019 12:24:49 +0000 (17:54 +0530)]
Fix crash when resize window
Change-Id: Ibff46483e697d8bbdaf000e92e819b9ace74a6a8
Signed-off-by: adhavan.m <adhavan.m@samsung.com>
(cherry picked from commit
8da5c99070b5b5567e69a0a9a6e3037c824d6ebe)
INSUN PYO [Wed, 20 Nov 2019 23:17:47 +0000 (23:17 +0000)]
Revert "Fix accessing wrong index"
This reverts commit
23a1e58b33949f70176d1766e74512bd9634749a.
Change-Id: I2085a2088a32e0ddc180692e3846bbe63c1d8464
(cherry picked from commit
927e395ec8794c86ce563ae223b481a6adaf5d3e)
INSUN PYO [Tue, 19 Nov 2019 03:31:18 +0000 (12:31 +0900)]
Fix accessing wrong index
0 rawmemchr () at ../sysdeps/arm/armv6/rawmemchr.S:28
1 0xb6ac6108 in _IO_str_init_static_internal (sf=sf@entry=0xb31fecf0, ptr=ptr@entry=0xb2800050 <error: Cannot access memory at address 0xb2800050>, size=size@entry=0, pstart=pstart@entry=0x0) at strops.c:41
2 0xb6ab8644 in _IO_vsscanf (string=0xb2800050 <error: Cannot access memory at address 0xb2800050>, format=0xb6ffafec "%d:%d:%d", format@entry=0xbeeb69d8 "", args=..., args@entry=...) at iovsscanf.c:40
3 0xb6ab20f4 in __sscanf (s=<optimized out>, format=0xb6ffafec "%d:%d:%d") at sscanf.c:32
4 0xb6fea652 in sync_windowsize (fd=<optimized out>, cookie=<optimized out>) at /usr/src/debug/sdbd-3.0.48/src/services.c:1309
5 0xb6fe9f04 in service_bootstrap_func (x=0xb8bae490) at /usr/src/debug/sdbd-3.0.48/src/services.c:66
6 0xb6b9af04 in start_thread (arg=0xb31ff410) at pthread_create.c:335
7 0xb6b297d8 in ?? () at ../sysdeps/unix/sysv/linux/arm/clone.S:86 from /lib/libc.so.6
Change-Id: I654a7d28464ea6f4173ef0af4b468f2429067d21
(cherry picked from commit
23a1e58b33949f70176d1766e74512bd9634749a)
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>
adhavan.m [Wed, 6 Nov 2019 14:45:34 +0000 (20:15 +0530)]
Verify pull path in do_stat itself to fix security issue in VD.
Change-Id: I7a503af5f2afb7b3750190b1cad441830101858b
Signed-off-by: adhavan.m <adhavan.m@samsung.com>
manish.r [Fri, 23 Aug 2019 13:50:43 +0000 (19:20 +0530)]
Changing the access label of sdbd-user to System
Change-Id: Ibc37822328aac9b8e3bc8712ee6f1098ac33230e
Signed-off-by: manish.r <manish.r@samsung.com>
Hyotaek Shim [Wed, 7 Aug 2019 04:53:27 +0000 (13:53 +0900)]
Change dbus interface of BootingDone
Change-Id: I190886647020ea12fe11a337c21d0ba8fda56b1e
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
INSUN PYO [Thu, 27 Jun 2019 02:32:36 +0000 (11:32 +0900)]
Delete the code that should not run
/home/owner has a media directory which is the root owner.
So, you should never do "chown owner:owner /home/owner"
//////////////////////////////////////////////////////////////////
sh-3.2# ls -al /home/owner/
total 44
drwxr-x--- 11 owner system_share 4096 Jun 26 2019 .
drwxr-xr-x 3 root root 4096 Jun 26 2019 ..
drwxr-x--- 6 owner system_share 4096 Jun 26 2019 .applications
drwxrwxr-x 4 owner users 4096 Jan 1 2015 .cache
drwxrwxr-x 4 owner users 4096 Jan 1 2015 .config
drwxr-xr-x 2 owner users 4096 Jun 26 2019 .dotnet
drwxr-xr-x 3 owner users 4096 Jun 26 2019 .pki
drwxr-x--- 99 owner system_share 4096 Jun 26 2019 apps_rw
drwxrwxr-x 7 owner users 4096 Jan 1 2015 data
drwxrwsrwx 11 root priv_mediastorage 4096 Jun 26 2019 media
drwxrwxr-x 7 owner users 4096 Jan 1 2015 share
////////////////////////////////////////////////////////////////////
Change-Id: I17e90ab16ee0f3c2c04492aa53bed927e6f92092
(cherry picked from commit
fad12202b81f7a5e48f5fe8afff2b179eed5332e)
manish.r [Wed, 27 Feb 2019 07:49:46 +0000 (13:19 +0530)]
[ASAN] issue fix
Change-Id: I84e9674ead6e210a7cc631cbdfb92bf9c08e7d55
Signed-off-by: manish.r <manish.r@samsung.com>
INSUN PYO [Thu, 14 Feb 2019 05:39:48 +0000 (14:39 +0900)]
Memory Leak: File descriptor not closed.
All processes running in sdb are opening the following files: "/usr/share/aul/dotnet.debugger".
sh-3.2# ls -al /proc/self/fd
total 0
dr-x------ 2 root root 0 Feb 14 06:30 .
dr-xr-xr-x 8 root root 0 Feb 14 06:30 ..
lrwx------ 1 root root 64 Feb 14 06:30 0 -> /dev/pts/2
lrwx------ 1 root root 64 Feb 14 06:30 1 -> /dev/pts/2
lr-x------ 1 root root 64 Feb 14 06:30 13 -> /usr/share/aul/dotnet.debugger
Change-Id: I8cf3393009448f9b825bfa9c076299ec19b05906
(cherry picked from commit
4eb378315442d075725678ff6c3911b8064ddee6)
(cherry picked from commit
e223d9ac72bbfc9696ea02811c711fc7a11a68f2)
alkasethi [Wed, 23 Jan 2019 11:27:37 +0000 (16:57 +0530)]
Adding exit in SIGTERM handler
Change-Id: I9ed73ac20508dbf2fbd587c074014eaa35d517ee
Signed-off-by: alkasethi <alka.sethi@samsung.com>
alkasethi [Fri, 18 Jan 2019 07:09:07 +0000 (12:39 +0530)]
[SATDEVKIT-2522]Security issues handled
Change-Id: I3797d37db7cb120904d05d9de8103029f033474a
Signed-off-by: alkasethi <alka.sethi@samsung.com>
alkasethi [Wed, 16 Jan 2019 14:41:17 +0000 (20:11 +0530)]
[SATDEVKIT-2522]Symbolic link issues handled
Change-Id: I557c06556fc5d600d10c5e5a6b199c1a8ac5d3ad
Signed-off-by: alkasethi <alka.sethi@samsung.com>
alkasethi [Fri, 11 Jan 2019 10:48:23 +0000 (16:18 +0530)]
[SATDEVKIT-2522]Security issues handled
Change-Id: Id0facb33cdd89bb5c052c06de19313ebbc6cf029
Signed-off-by: alkasethi <alka.sethi@samsung.com>
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>
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.
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>
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
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
yhji [Thu, 19 Jul 2018 02:52:42 +0000 (11:52 +0900)]
Fix Wformat build error
Change-Id: Ib384b91aa5b83e4792fa64de745195586b25d058
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>
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>
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>
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>
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>
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>
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>
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>
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
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>
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>
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>
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
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
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
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
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
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
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
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
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
Adhavan M [Fri, 4 May 2018 11:33:38 +0000 (11:33 +0000)]
Revert "Revert "Remove daemonization""
This reverts commit
bdb8cb69e466755acb7750cd6a467261c80c53ae.
Change-Id: I728b34d508421136f292bdff535b7bbe79bc235f
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
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
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
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
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
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
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
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
Adhavan M [Fri, 4 May 2018 10:35:36 +0000 (10:35 +0000)]
Revert "Remove daemonization"
This reverts commit
94a707f6ecd68a9ef1c4e4ecbf519849fedad6b7.
Change-Id: I9544755f829daa11b8ab0d697fc3ebed3de6caa0
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
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
Manish Rathod [Fri, 4 May 2018 10:30:14 +0000 (10:30 +0000)]
Merge "Revert "service: Move common options to sdbd.service"" into tizen
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
Manish Rathod [Fri, 4 May 2018 10:29:34 +0000 (10:29 +0000)]
Merge "Revert "service: Remove DISPLAY=:0 from all services"" into tizen
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
Manish Rathod [Fri, 4 May 2018 10:28:49 +0000 (10:28 +0000)]
Merge "Revert "Enable systemd activation for TCP ports"" into tizen
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
Manish Rathod [Fri, 4 May 2018 10:25:49 +0000 (10:25 +0000)]
Merge "Revert "service: Reimplement per-profile configuration using snippets"" into tizen
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
Manish Rathod [Fri, 4 May 2018 10:10:32 +0000 (10:10 +0000)]
Merge "Revert "sdb: Use systemd startup notification"" into tizen
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
Manish Rathod [Fri, 4 May 2018 10:10:07 +0000 (10:10 +0000)]
Merge "Revert "usb_funcfs: Check descriptors received from systemd"" into tizen
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
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
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>
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>
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>
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
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>
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
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
Manish Rathod [Thu, 26 Apr 2018 05:44:39 +0000 (05:44 +0000)]
Merge "Don't start sdbd on system boot" 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
Manish Rathod [Thu, 26 Apr 2018 05:44:16 +0000 (05:44 +0000)]
Merge "Remove daemonization" into tizen
Manish Rathod [Thu, 26 Apr 2018 05:44:02 +0000 (05:44 +0000)]
Merge "Add socket for ffs 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
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
Manish Rathod [Thu, 26 Apr 2018 05:43:20 +0000 (05:43 +0000)]
Merge "Change default ffs path" into tizen
Changseok Oh [Wed, 11 Apr 2018 10:49:03 +0000 (10:49 +0000)]
Merge "Fix for svace issues" into tizen
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>
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>
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>
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>
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>
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>
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>
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>