Dongkyun Son [Thu, 9 Nov 2023 02:01:11 +0000 (11:01 +0900)]
packaging: add exec.conf to profile_tv
add sdbd boosting config to keep the log at boot time
Change-Id: I9de5bf606ffc26e71d29505eded9b509b27c824e
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
Dongkyun Son [Fri, 11 Aug 2023 08:08:28 +0000 (17:08 +0900)]
SVACE: Fix SIGN_EXTENSION (WGID 16564)
WID:3704077 Unsafe conversion of expression 'timestamp' with type
'unsigned int' to implementation defined type '__time_t' may or may not
override sign-bit depending on size of implementation defined type,
which may cause unexpected results on porting to different platforms
http://10.240.209.78:12000/v2/warning/warningListView#PRJID=2&WGID=16564
Change-Id: I5bbcfd9c719ba0f31b87155487fe091bfef49a58
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
Dongkyun Son [Fri, 11 Aug 2023 07:22:04 +0000 (16:22 +0900)]
SVACE: Fix UNREACHABLE_CODE (WGID 543176)
Redundant comparison rootshell_mode == 1 (0 == 1) is always false
https://analysishub.sec.samsung.net/dm/tizen/sb2/main/review#PRJID=1177&WGID=543176
Change-Id: Ie02831e0e1ec5211ad4c2336eb0ee0cd048765f9
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
sangwook lee [Thu, 9 Mar 2023 02:33:24 +0000 (11:33 +0900)]
Add proper log depends on 32 or 64
Change-Id: I04bd68e9ca758b4e74e6d22e55742f6420e76171
Signed-off-by: sangwook lee <sangwook96.lee@samsung.com>
sangwook lee [Mon, 6 Mar 2023 10:06:17 +0000 (19:06 +0900)]
Support 64bit plugin
Change-Id: Ieb9c51d475ba7d6d5f2f5d78488579798d5becf9
Signed-off-by: sangwook lee <sangwook96.lee@samsung.com>
sangwook lee [Mon, 6 Mar 2023 09:10:39 +0000 (18:10 +0900)]
revert it due to dlopen error
Change-Id: I264fe16d3a670159c9f5ff772a737138267def3b
Signed-off-by: sangwook lee <sangwook96.lee@samsung.com>
sangwook lee [Wed, 22 Feb 2023 07:57:56 +0000 (16:57 +0900)]
Support both /usr/lib and /usr/lib64
Change-Id: Iddc1a37dfb66461f371e053964939610b8eab266
Signed-off-by: sangwook lee <sangwook96.lee@samsung.com>
sangwook lee [Thu, 16 Jun 2022 03:41:00 +0000 (12:41 +0900)]
"Remove it due to lots of printed message in gems"
Change-Id: I86adc21338badee8c1ef3564931b3144d13a53a0
Signed-off-by: sangwook lee <sangwook96.lee@samsung.com>
Dongkyun Son [Tue, 7 Jun 2022 09:13:13 +0000 (18:13 +0900)]
Fix [ASAN][BUG] heap-buffer-overflow in sdbd
Change-Id: I233898809080cce9915418a586873d9d65c7ea2b
Signed-off-by: Sungguk Na <sungguk.na@samsung.com>y
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
sangwook lee [Tue, 12 Apr 2022 02:34:38 +0000 (11:34 +0900)]
[*KONA_ID]RQ210407-00753 [Tizen 6.5] Full 64bit platform preparation from 9218520
Change-Id: I59d1aacbc0b15743d2ebd1889a23e6c996f00837
Signed-off-by: sangwook lee <sangwook96.lee@samsung.com>
Manish Rathod [Wed, 26 Jan 2022 02:57:45 +0000 (02:57 +0000)]
Merge "Shell Login for root mode" into tizen
manish.r [Tue, 25 Jan 2022 13:23:39 +0000 (18:53 +0530)]
Shell Login for root mode
Change-Id: Id5ae2dc1e2e7a9055f79af3970c2ac03653e1e06
Signed-off-by: manish.r <manish.r@samsung.com>
sangwook lee [Thu, 2 Dec 2021 18:37:18 +0000 (03:37 +0900)]
"Update eng/user mode for sdb root on/off"
Change-Id: Ib73557d19d4675b7a70ed5df2f82b0b6cbbd5cbd
Signed-off-by: sangwook lee <sangwook96.lee@samsung.com>
manish.r [Thu, 2 Dec 2021 04:43:20 +0000 (10:13 +0530)]
Revert "Add Check before free"
This reverts commit
77458fd6109d0a3478b6adcb34c5ef1a3d47ff35.
Change-Id: I53bb823ed2bf4e154333256a27097bfb5e16fe47
sangwook lee [Thu, 2 Dec 2021 18:40:20 +0000 (03:40 +0900)]
Update eng/user mode for sdb root on/off
Change-Id: Id3d591c5702feb2630446cdb2147051b1f1e5058
Signed-off-by: sangwook lee <sangwook96.lee@samsung.com>
manish.r [Wed, 6 Oct 2021 08:58:20 +0000 (14:28 +0530)]
Add Check before free
Change-Id: Idc5c446f1316fd4e05f27fb741f8a270af57f594
Signed-off-by: manish.r <manish.r@samsung.com>
manish.r [Wed, 10 Nov 2021 08:26:33 +0000 (13:56 +0530)]
Add Flag to unload plugin only once
Change-Id: I9fadc1fc5a8bcbfefadfbd8e4cab0ec5d78f1e35
Signed-off-by: manish.r <manish.r@samsung.com>
manish.r [Wed, 10 Nov 2021 08:26:33 +0000 (13:56 +0530)]
Add Flag to unload plugin only once
Change-Id: I9fadc1fc5a8bcbfefadfbd8e4cab0ec5d78f1e35
Signed-off-by: manish.r <manish.r@samsung.com>
manish.r [Fri, 15 Oct 2021 08:22:21 +0000 (13:52 +0530)]
Load plugin for sdbd service
Change-Id: Ic809b6fdd5894048a03b77774a8de9a4ab21b682
Signed-off-by: manish.r <manish.r@samsung.com>
manish.r [Fri, 15 Oct 2021 08:22:21 +0000 (13:52 +0530)]
Load plugin for sdbd service
Change-Id: Ic809b6fdd5894048a03b77774a8de9a4ab21b682
Signed-off-by: manish.r <manish.r@samsung.com>
manish.r [Fri, 24 Sep 2021 11:16:32 +0000 (16:46 +0530)]
Check Packet double free
Change-Id: I23a7c79bf9f2ca44f4081624f7a5f646b1255f7a
Signed-off-by: manish.r <manish.r@samsung.com>
Dongkyun Son [Mon, 12 Jul 2021 04:12:08 +0000 (13:12 +0900)]
Fix coverity defect: Dereference before null check
CID 1238715 (#1 of 1): Dereference before null check (REVERSE_INULL)
check_after_deref: Null-checking value suggests that it may be null, but it has
already been dereferenced on all paths leading to the check.
Change-Id: I9a8295a32fc709a9095126db6e2cf5f78cda6c9a
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
manish.r [Tue, 6 Jul 2021 04:39:41 +0000 (10:09 +0530)]
Modify cpu arch to armv7l for the case of armv8+32bit in capability
Change-Id: I5eb5d88426ce0ee46555c1fb58faaca1e1aa2a85
Signed-off-by: manish.r <manish.r@samsung.com>
beak jounsun [Wed, 12 May 2021 10:49:08 +0000 (19:49 +0900)]
Add feature to take extra capabilities from plugin
Change-Id: I7dadb5f7b0b7d63b5b12865a68e0e62320b4a5f2
Signed-off-by: beak jounsun <jounsun.beak@samsung.com>
manish.r [Wed, 5 May 2021 09:12:23 +0000 (14:42 +0530)]
Changes based on security review
Change-Id: I9c694e91948445b1cc3acfc004d463c069bb4c4e
Signed-off-by: manish.r <manish.r@samsung.com>
manish.r [Mon, 3 May 2021 12:29:13 +0000 (17:59 +0530)]
Changes for Security Review
Change-Id: I89bc56842a1c20708190807e31a1b4be36cce647
Signed-off-by: manish.r <manish.r@samsung.com>
manish.r [Thu, 4 Feb 2021 02:06:01 +0000 (07:36 +0530)]
Platfrom Architecture Capability Support
Change-Id: I0aa9f3d3375d5721c104821cb4ea317ab3007a46
Signed-off-by: manish.r <manish.r@samsung.com>
Adhavan M [Fri, 11 Dec 2020 06:27:32 +0000 (06:27 +0000)]
Merge "Adding kill capability in service file" into tizen
manish.r [Fri, 11 Dec 2020 06:24:02 +0000 (11:54 +0530)]
Adding kill capability in service file
Change-Id: I02675a8c194929b2dae337175887f119fd501079
Signed-off-by: manish.r <manish.r@samsung.com>
manish.r [Fri, 27 Nov 2020 12:50:53 +0000 (18:20 +0530)]
Add shell kill command
Change-Id: Iaeea193a68fb6ae7c023c4f88b55332471e8d93f
Signed-off-by: manish.r <manish.r@samsung.com>
(cherry picked from commit
2009505f8ee1cd0fe46012ec9fa54c0dc6b03f67)
manish.r [Fri, 27 Nov 2020 12:50:53 +0000 (18:20 +0530)]
Add shell kill command
Change-Id: Iaeea193a68fb6ae7c023c4f88b55332471e8d93f
Signed-off-by: manish.r <manish.r@samsung.com>
sangwook lee [Wed, 7 Oct 2020 06:28:20 +0000 (15:28 +0900)]
"Fix kona issue
DF200921-00401"
Change-Id: Ibca19f4d06aa716ae2462ee45469b02f67857bfd
Signed-off-by: sangwook lee <sangwook96.lee@samsung.com>
Adding CPU power lock/release
Change-Id: If860a5b8298309af75b7fabd83cfed0fc8597f17
Signed-off-by: Manish Toshan Rathod/Tizen Platform /SRI-Bangalore/Staff Engineer/Samsung Electronics <manish.r@samsung.com>
Implementation of fork-exec
Change-Id: I4d40c8c810c5d2a7717c11bd817502879b93109b
Signed-off-by: Manish Toshan Rathod/Tizen Platform /SRI-Bangalore/Staff Engineer/Samsung Electronics <manish.r@samsung.com>
Revert """Apply pwlock status on only target""
This reverts commit
8c45052e3396b3bec07a5ba83d024d2b1397bd03.
Change-Id: I2ef5ddebb4d6a3a952f201bded75ad2aadc753c4
adhavan.m [Mon, 7 Sep 2020 07:51:46 +0000 (13:21 +0530)]
Fix build warnings
Change-Id: I8b3e113c21eed349a65d08fed32684cb096c4698
Signed-off-by: adhavan.m <adhavan.m@samsung.com>
sangwook lee [Fri, 4 Sep 2020 20:22:01 +0000 (05:22 +0900)]
""Apply pwlock status on only target"
Change-Id: I00b8b36ec495e46afd6b9fc23c4b252403398840
Signed-off-by: sangwook lee <sangwook96.lee@samsung.com>
Karthik Bhat [Wed, 2 Sep 2020 05:24:56 +0000 (10:54 +0530)]
Fix 64 bit crash
Change-Id: I07c39e455f198cf687db52a10c468424a48c9a33
Signed-off-by: Karthik Bhat <kv.bhat@samsung.com>
INSUN PYO [Thu, 5 Mar 2020 05:42:21 +0000 (14:42 +0900)]
Remove default systemd configuration
https://www.freedesktop.org/software/systemd/man/systemd.socket.html
Service=
Specifies the service unit name to activate on incoming traffic. This setting is only allowed for sockets with Accept=no.
It defaults to the service that bears the same name as the socket (with the suffix replaced).
In most cases, it should not be necessary to use this option.
Note that setting this parameter might result in additional dependencies to be added to the unit (see above)
Change-Id: I1de8cee2d9af906d1007b37346b2e7106910f0d3
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>
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
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
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.
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
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
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:50:24 +0000 (13:20 +0530)]
[SATDEVKIT-2522]Fixing comments
Change-Id: I214472e937649d8a5d5e05a5a524d86eef12c073
Signed-off-by: alkasethi <alka.sethi@samsung.com>
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>
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>
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>
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>
alkasethi [Thu, 29 Nov 2018 09:00:46 +0000 (14:30 +0530)]
[
DF181127-00018]Segmentation fault issue handled
Change-Id: I27833062caf987d086e9c57a6b8d70a7c22b4972
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