platform/core/system/swap-manager.git
7 years agofix svace issue 75/78675/1 accepted/tizen/common/20160706.142817 accepted/tizen/ivi/20160706.132925 accepted/tizen/mobile/20160706.132522 accepted/tizen/tv/20160706.132510 accepted/tizen/wearable/20160706.132548 submit/tizen/20160706.112247
Anatolii Nikulin [Wed, 6 Jul 2016 11:29:36 +0000 (14:29 +0300)]
fix svace issue

Change-Id: I80318f70ccf55403ef9eb7c73e41f1d02cf5c300
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
7 years agoAdd sctirct path to WSP dummy script 24/78024/1 accepted/tizen/common/20160704.145943 accepted/tizen/ivi/20160704.091210 accepted/tizen/mobile/20160704.091225 accepted/tizen/tv/20160704.091150 accepted/tizen/wearable/20160704.091206 submit/tizen/20160704.045610
Dmitry Kovalenko [Mon, 4 Jul 2016 04:07:53 +0000 (07:07 +0300)]
Add sctirct path to WSP dummy script

Change-Id: I09315b0518dff27fe3f3b54a1b7311249f4f445b
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
7 years agoMerge "Add strict PATH environment variable into init scripts" into tizen accepted/tizen/common/20160701.193153 accepted/tizen/ivi/20160701.133850 accepted/tizen/mobile/20160701.133800 accepted/tizen/tv/20160701.133817 accepted/tizen/wearable/20160701.133838 submit/tizen/20160701.120203 submit/tizen_common/20160701.180000
Dmitry Kovalenko [Fri, 1 Jul 2016 11:23:26 +0000 (04:23 -0700)]
Merge "Add strict PATH environment variable into init scripts" into tizen

7 years ago[FIX] nsp functions for TV 55/77855/3
Anatolii Nikulin [Fri, 1 Jul 2016 09:19:52 +0000 (12:19 +0300)]
[FIX] nsp functions for TV

Change-Id: Ica29ab2c335c13c09fd03cb4fe199015cc673f83
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
7 years agoAdd strict PATH environment variable into init scripts 67/77767/2
Dmitry Kovalenko [Fri, 1 Jul 2016 04:37:14 +0000 (07:37 +0300)]
Add strict PATH environment variable into init scripts

This change guarantee execution aux programs only from trusted paths.
Even most of programs has absolute path in scripts this change
will prevent security issues in further changes.

Change-Id: I108f5246c6af29eb8f3f4bff278b38941ad208f8
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
7 years ago[FIX] web application launch 85/77685/2
Anatolii Nikulin [Thu, 30 Jun 2016 12:40:32 +0000 (15:40 +0300)]
[FIX] web application launch

Change-Id: I9384ae586a89797f6bd9a687948ac406e24e31ef
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
7 years ago[FIX] change nsp functions 24/77424/2
Anatolii Nikulin [Wed, 29 Jun 2016 13:54:11 +0000 (16:54 +0300)]
[FIX] change nsp functions

Change-Id: I6457058d3c1120fc0c378cd65426aac8e6edb691
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
8 years ago[FIX] Enable UIHV for Tizen 3.0 62/71862/6 accepted/tizen/common/20160624.134001 accepted/tizen/ivi/20160624.064801 accepted/tizen/mobile/20160624.064728 accepted/tizen/tv/20160624.064633 accepted/tizen/wearable/20160624.064814 submit/tizen/20160623.160615 submit/tizen/20160624.041100
Dmitry Kovalenko [Fri, 27 May 2016 10:39:24 +0000 (13:39 +0300)]
[FIX] Enable UIHV for Tizen 3.0

Fix UIHV library access rights
return index_prop.priority field

Change-Id: Ib3c0c7004662c606deb62b87c6f4cd16882ea57b
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
8 years ago[FIX] set floor domain name 08/75308/2 accepted/tizen/common/20160621.184415 accepted/tizen/common/20160623.154353 accepted/tizen/ivi/20160623.124219 accepted/tizen/mobile/20160623.124129 accepted/tizen/tv/20160623.124149 accepted/tizen/wearable/20160623.124204 submit/tizen/20160617.114807 submit/tizen/20160621.051449 submit/tizen/20160623.045732
Vitaliy Cherepanov [Fri, 17 Jun 2016 09:32:01 +0000 (12:32 +0300)]
[FIX] set floor domain name

Change-Id: I9effdfaa4c74c81a6b0fc40f51bc7f109796962f
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] Svace issues 29/74829/1
Vitaliy Cherepanov [Wed, 15 Jun 2016 16:44:24 +0000 (19:44 +0300)]
[FIX] Svace issues

|-------------------------------------------------------|
| WGID  | Type                      | File              |
|-------------------------------------------------------|
| 84792 | TAINTED_INT.MIGHT         | ui_viewer_lib.c   |
| 84797 | TAINTED_INT.MIGHT         | ui_viewer_lib.c   |
|-------------------------------------------------------|

Change-Id: I04f1266b6dbd37d1b7a934df2b9354c44958503e
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[IMPROVE] add handling IFUNC for ld_probes 78/74078/1
Vyacheslav Cherkashin [Tue, 17 May 2016 16:54:15 +0000 (19:54 +0300)]
[IMPROVE] add handling IFUNC for ld_probes

Change-Id: I1cb6563d6ea0cfdd06574dc70e1f17d25f3017d5
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
8 years ago[FIX] Svace issues 50/71850/1 accepted/tizen/common/20160527.153815 accepted/tizen/ivi/20160530.081417 accepted/tizen/mobile/20160530.081523 accepted/tizen/tv/20160530.081341 accepted/tizen/wearable/20160530.081330 submit/tizen/20160527.105210
Anatolii Nikulin [Fri, 27 May 2016 10:11:40 +0000 (13:11 +0300)]
[FIX] Svace issues

|-------------------------------------------------------|
| WGID  | Type                      | File              |
|-------------------------------------------------------|
| 83591 | NO_UNLOCK                 | ui_viewer_utils.c |
| 83589 | STATIC_OVERFLOW.SCANF     | ui_viewer_lib.c   |
| 83587 | PROC_USE.VULNERABLE       | ui_viewer_data.c  |
| 83586 | PROC_USE.VULNERABLE       | ui_viewer_utils.c |
| 83594 | NO_EFFECT                 | ui_viewer.c       |
|-------------------------------------------------------|

Change-Id: I3c4f6a4a22836d541c083ad89c3694df889ffc47
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
8 years ago[FIX] Remove warnings 84/71484/2 accepted/tizen/common/20160526.150251 submit/tizen/20160525.125754 submit/tizen/20160526.055252
Dmitry Kovalenko [Wed, 25 May 2016 12:32:08 +0000 (15:32 +0300)]
[FIX] Remove warnings

Change-Id: I2f86f046106ca027cafcec946668db29bfb8249b
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
8 years ago[FIX] Svace issues 63/70963/1 accepted/tizen/common/20160525.155746 accepted/tizen/ivi/20160525.003333 accepted/tizen/mobile/20160525.003306 accepted/tizen/tv/20160525.003326 accepted/tizen/wearable/20160525.003318 submit/tizen/20160524.083432
Anatolii Nikulin [Mon, 23 May 2016 11:25:50 +0000 (14:25 +0300)]
[FIX] Svace issues

-----------------------------------------------------
| WGID  | Type                      | File          |
|----------------------------------------------------
| 72423 | MEMORY_LEAK               | da_protocol.c |
| 78692 | PROC_USE.VULNERABLE       | utils.c       |
|---------------------------------------------------|

Change-Id: I4896f7aa780cf331d36f729ca1e9b4993c4c0ab4
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
8 years ago[FIX] Build for Tizen 3.0 61/70161/1
Dmitry Kovalenko [Wed, 18 May 2016 10:56:14 +0000 (13:56 +0300)]
[FIX] Build for Tizen 3.0

Change-Id: I460a01ab49e1ad8e2f06fc819dd6b228acd9459d

8 years agoMerge branch 'tizen_2.4_dev' into tizen 60/70160/1
Dmitry Kovalenko [Tue, 17 May 2016 14:40:59 +0000 (17:40 +0300)]
Merge branch 'tizen_2.4_dev' into tizen

Change-Id: I99cee869615515119a202964305f8a01203ea043

8 years ago[FIX] Build for TV 09/69609/1 accepted/tizen/common/20160519.191437 accepted/tizen/ivi/20160519.085414 accepted/tizen/mobile/20160519.085428 accepted/tizen/tv/20160519.085407 accepted/tizen/wearable/20160519.085347 submit/tizen/20160519.050252
Dmitry Kovalenko [Mon, 16 May 2016 06:22:30 +0000 (09:22 +0300)]
[FIX] Build for TV

Remove app-core-efl-debuginfo dependecy

Change-Id: I5a42363272ce7a001098cbae1636461c5e847c32

8 years ago[FIX] remove build warnings 29/69529/3 tizen_2.4_dev
Vitaliy Cherepanov [Fri, 15 Apr 2016 15:45:50 +0000 (18:45 +0300)]
[FIX] remove build warnings

Change-Id: I0ce47e4309303e4c74a1ad8e216447a33829ca4f
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[CLEAN] UIHV: remove APP_MSG_MAPS_INST_LIST 30/69530/1
Alexander Aksenov [Fri, 13 May 2016 14:41:15 +0000 (17:41 +0300)]
[CLEAN] UIHV: remove APP_MSG_MAPS_INST_LIST

Change-Id: I92efb069e851e84b08718c060258b0cd2d1c8ad8
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[CLEAN] Remove useless code 42/64842/2
Alexander Aksenov [Tue, 5 Apr 2016 15:59:44 +0000 (18:59 +0300)]
[CLEAN] Remove useless code

Remove code that is related only with probe's dead code

Change-Id: Ic6311efa6bc640f01d331f4cd079ac55ea02a23f
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[FIX] Run target application as owner 92/68492/3 accepted/tizen/common/20160511.142226 accepted/tizen/ivi/20160511.080740 accepted/tizen/mobile/20160511.080647 accepted/tizen/tv/20160511.080705 accepted/tizen/wearable/20160511.080722 submit/tizen/20160511.052024
Anatolii Nikulin [Thu, 5 May 2016 07:06:51 +0000 (10:06 +0300)]
[FIX] Run target application as owner

Change-Id: I31475e006c1c70e027dbaf4c35cf868f3ebd5daf
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
8 years ago[IMPROVE] Add loader and UIHV modules support 88/60688/3
Alexander Aksenov [Tue, 1 Mar 2016 11:49:21 +0000 (14:49 +0300)]
[IMPROVE] Add loader and UIHV modules support

Change-Id: I7a9c908605cc3ad447c8451d9fc6ef0258286ca3
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[FIX] UIHV: Writing data to file 87/60687/3
Alexander Aksenov [Thu, 21 Jan 2016 19:29:02 +0000 (22:29 +0300)]
[FIX] UIHV: Writing data to file

Issue:
Previously, there was a dynamically allocated buffer of a
constant size that have been used for all of the UI elements
regardless of their count and used data size.
Sometimes this have led to buffer overflow.

Solution:
Now buffer is not used at all, the whole data is written directly
to a file.

Change-Id: I847321db086f1c8e667d2ba7d12572fb29a6897f
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[FIX] Target mem alloc send to host 86/60686/3
Alexander Aksenov [Mon, 28 Dec 2015 14:06:22 +0000 (17:06 +0300)]
[FIX] Target mem alloc send to host

With UIHV there are two SWAP libraries of different kind,
but manager treats them as the same library. This leads to several
errors.

Change-Id: Ib1afd9b4846084d2c2fd61201f98162cee3e5154
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[FIX] UIHV: screenshot geometry 85/60685/3
Alexander Aksenov [Fri, 25 Dec 2015 13:04:24 +0000 (16:04 +0300)]
[FIX] UIHV: screenshot geometry

Now for objects with negative coordinates only visible part
is stored.

Change-Id: I6d8689409e09be21293d0b51716c7df32c5dc455
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[FIX] UIHV: add build flags 84/60684/3
Alexander Aksenov [Thu, 24 Dec 2015 15:29:33 +0000 (18:29 +0300)]
[FIX] UIHV: add build flags

Add -mno-unaligned-access -mfloat-abi=soft to fix
unaligned access.

Change-Id: I1a2c522391bcedd84c419bf650efe5a181c9ccf3
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[FIX] UIHV: build for ARM 83/60683/2
Alexander Aksenov [Thu, 24 Dec 2015 09:23:37 +0000 (12:23 +0300)]
[FIX] UIHV: build for ARM

Add -fPIC flag for UIHV object files building.

Change-Id: Id0d37be92be36bc265bc44c7fb7456acb4abd773
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[PROTO] Increment protocol verion 82/60682/3
Alexander Aksenov [Tue, 22 Dec 2015 13:43:06 +0000 (16:43 +0300)]
[PROTO] Increment protocol verion

4.0 -> 4.1

Change-Id: I57a3383ce0172c1f7a0200b777b07e415fe0e56b
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[FIX] UIHV: Fixes for release 81/60681/2
Alexander Aksenov [Tue, 22 Dec 2015 12:06:30 +0000 (15:06 +0300)]
[FIX] UIHV: Fixes for release

Issues:
- Screenshots feature failed;
- evas_render() calls failed;
- da_manger segmentation faults.

Solutions:
- Message is sent to all targets: both to the probe and uihv libraries;
- evas_render() calls temporary removed;
- Null-pointer dereference removed;

Change-Id: Ia48896e72322e738c9b27823aa20355209d641fc
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[FIX] Fix build warning for emulators 46/66646/1 accepted/tizen/common/20160420.141812 accepted/tizen/ivi/20160421.010743 accepted/tizen/mobile/20160421.010801 accepted/tizen/tv/20160421.010734 accepted/tizen/wearable/20160421.010751 submit/tizen/20160420.052257
Dmitry Kovalenko [Wed, 20 Apr 2016 06:01:10 +0000 (09:01 +0300)]
[FIX] Fix build warning for emulators

Change-Id: I62399951f661cd7361001891d77930c9dde4c3c8
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
8 years ago[FIX] change hard-coded path for VD 30/66330/3 submit/tizen/20160419.114527
Vitaliy Cherepanov [Mon, 18 Apr 2016 10:50:48 +0000 (13:50 +0300)]
[FIX] change hard-coded path for VD

Change-Id: Ib635cf422da947e52751846a632c2e78216cce32
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] remove build warnings 85/66185/8 submit/tizen/20160419.093715
Vitaliy Cherepanov [Fri, 15 Apr 2016 15:45:50 +0000 (18:45 +0300)]
[FIX] remove build warnings

Change-Id: I0ce47e4309303e4c74a1ad8e216447a33829ca4f
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] Build for TV 94/66094/1 accepted/tizen/common/20160415.162606 accepted/tizen/ivi/20160415.084158 accepted/tizen/mobile/20160415.084151 accepted/tizen/tv/20160415.084147 accepted/tizen/wearable/20160415.084143 submit/tizen/20160415.070746
Dmitry Kovalenko [Fri, 15 Apr 2016 06:56:11 +0000 (09:56 +0300)]
[FIX] Build for TV

Change-Id: I5d98d85fb82cd164bee69590729d5ca455841b79
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
8 years ago[FIX] Function name fix 35/65335/1
Alexander Aksenov [Fri, 8 Apr 2016 11:37:05 +0000 (14:37 +0300)]
[FIX] Function name fix

terminate_all_target() -> terminate_all()

Change-Id: I203c6c52e6e65d4ac4f435663f6e95c529484852
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[FEATURE] start ui viewer implementation 85/42785/79 SRR_20160331
Anastasia Lyupa [Thu, 2 Jul 2015 08:41:57 +0000 (11:41 +0300)]
[FEATURE] start ui viewer implementation

current protocol version : v0.6

add ui viewer lib files,
build it with da_manager,
set up connection with da_manager,
get ui hierarchy,
get ui properties for an object,
get ui rendering time

Change-Id: I5dd5fd22126fdc9dfc0faa4ca50ea1275c28fcb1
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
8 years agoMerge branch 'tizen_2.4_dev' into tizen 01/59201/2 accepted/tizen/common/20160316.155427 accepted/tizen/ivi/20160325.031936 accepted/tizen/mobile/20160325.031844 accepted/tizen/tv/20160325.031856 accepted/tizen/wearable/20160325.031917 submit/tizen/20160314.042250 submit/tizen/20160323.060544
Vyacheslav Cherkashin [Wed, 10 Feb 2016 12:44:22 +0000 (15:44 +0300)]
Merge branch 'tizen_2.4_dev' into tizen

Conflicts:
scripts/gen_preload_header.sh
scripts/swap_start.sh

Change-Id: I5536610f3156ba18547f53ffe5a78572d546646d
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
8 years ago[FIX] NSP support for Tizen 3.0 55/59055/1
Vyacheslav Cherkashin [Tue, 9 Feb 2016 11:29:37 +0000 (14:29 +0300)]
[FIX] NSP support for Tizen 3.0

Change libappcore-efl.so path

Change-Id: I9342d860f792a6612c74453bbca9149cbcc10370
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
8 years ago[FIX] incorrect path to BT coefficient 82/56782/1
Vyacheslav Cherkashin [Tue, 12 Jan 2016 13:49:13 +0000 (16:49 +0300)]
[FIX] incorrect path to BT coefficient

Change-Id: I38fbce8936257eefbe3d8c671cb164bb7085f023
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
8 years ago[FIX] added bluetooth & wifi consumption 54/55654/2
Vitaliy Cherepanov [Mon, 28 Dec 2015 10:22:52 +0000 (13:22 +0300)]
[FIX] added bluetooth & wifi consumption

Added coefficients for calculation energy consumption

Change-Id: Ia6b3c2eb8706c9593778fdecca127a40ea8ce81c
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FEATURE] add wifi and bt energy to SYSTEM_INFO 66/55566/1
Vitaliy Cherepanov [Fri, 25 Dec 2015 14:48:53 +0000 (17:48 +0300)]
[FEATURE] add wifi and bt energy to SYSTEM_INFO

Change-Id: I34477d1ca114882d33a35891667bb925933fbe06
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] Svace issues 85/55185/1 accepted/tizen/ivi/20160218.024033 accepted/tizen/mobile/20151222.225146 accepted/tizen/tv/20151222.225200 accepted/tizen/wearable/20151222.225220 submit/tizen/20151222.145839 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000003
Vitaliy Cherepanov [Tue, 22 Dec 2015 08:41:02 +0000 (11:41 +0300)]
[FIX] Svace issues

-----------------------------------------------------
| WGID  | Type                      | File          |
|----------------------------------------------------
| 24915 | NEGATIVE_CODE_ERROR       | da_protocol.c |
| 25135 | TOCTTOU_SEQUENCE          | da_protocol.c |
| 25452 | DEREF_AFTER_NULL          | da_protocol.c |
| 25453 | DEREF_AFTER_NULL          | da_protocol.c |
| 26296 | SIGNED_TO_BIGGER_UNDIGNED | sys_stat.c    |
| 26856 | NOCAST.INTEGER_OVERFLOW   | sys_stat.c    |
|----------------------------------------------------

Change-Id: I08d791b3fb592b1f56d7ecf8ad853f7f423bb2a8
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] Svace issues 69/55169/1
Vitaliy Cherepanov [Tue, 22 Dec 2015 08:41:02 +0000 (11:41 +0300)]
[FIX] Svace issues

-----------------------------------------------------
| WGID  | Type                      | File          |
|----------------------------------------------------
| 24915 | NEGATIVE_CODE_ERROR       | da_protocol.c |
| 25135 | TOCTTOU_SEQUENCE          | da_protocol.c |
| 25452 | DEREF_AFTER_NULL          | da_protocol.c |
| 25453 | DEREF_AFTER_NULL          | da_protocol.c |
| 26296 | SIGNED_TO_BIGGER_UNDIGNED | sys_stat.c    |
| 26856 | NOCAST.INTEGER_OVERFLOW   | sys_stat.c    |
|----------------------------------------------------

Change-Id: I08d791b3fb592b1f56d7ecf8ad853f7f423bb2a8
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[IMPROVE] remove load/unload swap_task_data.ko module 26/54726/1 accepted/tizen/mobile/20151221.101352 accepted/tizen/tv/20151221.101316 accepted/tizen/wearable/20151221.101450 submit/tizen/20151221.063614
Vyacheslav Cherkashin [Thu, 5 Nov 2015 17:27:45 +0000 (20:27 +0300)]
[IMPROVE] remove load/unload swap_task_data.ko module

Change-Id: I4db66a5c99c7d7d930bb491d4168ab39e8c876df
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
8 years ago[FIX] exit of "already running" processes 63/52663/4 tizen_2.4_uihv
Anatolii Nikulin [Wed, 25 Nov 2015 11:22:46 +0000 (14:22 +0300)]
[FIX] exit of "already running" processes

Send message APP_MSG_STOP_WITHOUT_KILL
for stopping instrumentation of already running applications
without exit

Change-Id: Idb74c8b9d232fd8bde84e97e3d91a7fcd419916d
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
8 years ago[FIX] build for tizen_3.0 70/52170/3 accepted/tizen/mobile/20151125.125248 accepted/tizen/tv/20151125.125305 accepted/tizen/wearable/20151125.125318 submit/tizen/20151123.110430 submit/tizen/20151125.062050
Vyacheslav Cherkashin [Thu, 19 Nov 2015 10:24:13 +0000 (13:24 +0300)]
[FIX] build for tizen_3.0

unsupported features:
- NSP
- WSP
- WSI

Change-Id: I148b715586d3af6ee79d6284363b8014a7ba7c1c
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
8 years ago[IMPROVE] Preload: Generate ignore binaries list 79/52179/4
Alexander Aksenov [Mon, 16 Nov 2015 08:53:20 +0000 (11:53 +0300)]
[IMPROVE] Preload: Generate ignore binaries list

Issue:
Binaries ignored for preloading execution were hardcoded
in modules. This causes errors when binary names are changed.

Solution:
Now ignored binaries pathes are found on manager compile time
and are passed to kernel via debugfs.

Change-Id: Ic81e44dcde2ceff951163f602dff52ca16bc77d0
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[FIX] deadlock in da_manager 86/52286/1
Anatolii Nikulin [Fri, 20 Nov 2015 10:48:45 +0000 (13:48 +0300)]
[FIX] deadlock in da_manager

Change-Id: If0cf631ef695c1db94762034a5c6e4adb73a6524
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
8 years ago[REFACTOR] move scripts to /usr/bin 28/52128/2
Dmitry Kovalenko [Thu, 19 Nov 2015 08:09:46 +0000 (11:09 +0300)]
[REFACTOR] move scripts to /usr/bin

Add prefix "swap_" to all scripts
Move scripts to /usr/bin
Add full paths to modules in start script

Change-Id: I50c4f487c780dec6d2fc5c43dca851c7c042fe97
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
8 years ago[FIX] msg_start parsing error for already runnig app 66/51866/2
Vitaliy Cherepanov [Mon, 16 Nov 2015 15:20:27 +0000 (18:20 +0300)]
[FIX] msg_start parsing error for already runnig app

error if PID=""
if PID is "" we should instrument all applications

Change-Id: I2e1ff602f1d31d5832d8859ca47a97027e4d0beb
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[IMPROVE] remove load/unload swap_task_data.ko module 51/51251/1
Vyacheslav Cherkashin [Thu, 5 Nov 2015 17:27:45 +0000 (20:27 +0300)]
[IMPROVE] remove load/unload swap_task_data.ko module

Change-Id: I4db66a5c99c7d7d930bb491d4168ab39e8c876df
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
8 years ago[FEATURE] already running 43/50543/1 submit/tizen/20151105.065919 submit/tizen/20151105.080754
Vyacheslav Cherkashin [Thu, 29 Oct 2015 17:15:02 +0000 (20:15 +0300)]
[FEATURE] already running

add loading/unloading swap_taskctx.ko

Change-Id: I935c61b31f48127deccf64bb034629b8363293af
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
8 years ago[IMPROVE] WSP data via debugfs 27/50427/1
Alexander Aksenov [Wed, 7 Oct 2015 09:54:04 +0000 (12:54 +0300)]
[IMPROVE] WSP data via debugfs

Previously webapp and ewebkit paths were hardcoded in modules,
now they are found out during manager compilation.

Change-Id: I3e43b4b3eeacde7e499a7b7796f42cf42dce17be
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[FIX] prevent issues 70/49170/1 early_boot_daemon
Vitaliy Cherepanov [Wed, 7 Oct 2015 15:33:56 +0000 (18:33 +0300)]
[FIX] prevent issues

----------------------------------------------------------------------|
| CID    | Type                     | File      | Function            |
|---------------------------------------------------------------------|
|451069  | DC.SECURE_CODING_STRTOK  | wsi.c     | wsi_set_smack_rules |
|451062  | DC.SECURE_CODING_SPRINTF | wsi.c     | wsi_set_profile     |
|451061  | DC.SECURE_CODING_SPRINTF | utils.c   | exec_app_common     |
|451060  | DC.SECURE_CODING_SPRINTF | wsi.c     | init_wsi_conn       |
|451050  | ALLOC_FREE_MISMATCH      | buffer.c  | insert_buf_modules  |
|447744  | DC.SECURE_CODING_USLEEP  | thread.c  | replay_thread       |
|---------------------------------------------------------------------|

Change-Id: Idb5ad86f483b27cca37566ac4250d9205412630f
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] WSI workaround 86/48986/1
Alexander Aksenov [Fri, 2 Oct 2015 13:14:59 +0000 (16:14 +0300)]
[FIX] WSI workaround

For long start applications

Change-Id: I79ed550ad3b0204f88ad77b1663afed1575b79d9
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[FIX] wsi no probes comming 84/48984/2
Vitaliy Cherepanov [Fri, 2 Oct 2015 12:54:11 +0000 (15:54 +0300)]
[FIX] wsi no probes comming

Change-Id: I5f901ed554f114739321734a60e9c6fc1461a0d6
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] prevent issue 17/48917/3
Vitaliy Cherepanov [Thu, 1 Oct 2015 12:27:18 +0000 (15:27 +0300)]
[FIX] prevent issue

---------------------------------------------------------------------------------|
| CID    | Type          | File                       | Function                 |
|--------------------------------------------------------------------------------|
| 482185 | dead code     | daemon/wsi.c               | all                      |
|--------------------------------------------------------------------------------|

Change-Id: I2a7d81ad1b859eefa7e8abbcf047372ead858b69
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[IMPROVE] add application to ANR exclude list 49/48849/2
Vyacheslav Cherkashin [Wed, 30 Sep 2015 16:51:47 +0000 (19:51 +0300)]
[IMPROVE] add application to ANR exclude list

Change-Id: I7228f50b4c24c04231aa7847f8ca88a31d69915e
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
8 years ago[FIX] Disabling probes features 42/48842/1
Alexander Aksenov [Wed, 30 Sep 2015 10:53:46 +0000 (13:53 +0300)]
[FIX] Disabling probes features

Nofeature probes were also deleted from probe lists sended to the modules.
Now it is fixed.

Change-Id: Ieef1a305b806bf89ed6b505f40d97f08fa7e7a2f
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[FIX] Leaky implementaion of parse_app_inst_list. 82/48782/2
Vitaliy Cherepanov [Tue, 29 Sep 2015 11:40:33 +0000 (14:40 +0300)]
[FIX] Leaky implementaion of parse_app_inst_list.

Change-Id: I52dd11da990895df1c6fa1c2ef89c2bc5cdc99e4
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] da_manager fault on wsi stop if wsi start was not call 51/48751/7
Vitaliy Cherepanov [Sat, 26 Sep 2015 15:23:39 +0000 (18:23 +0300)]
[FIX] da_manager fault on wsi stop if wsi start was not call

Change-Id: I0deae2ece2b8067158b14cc704e10b86660b5533
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] wsi crash, deadlock 04/48704/7
Vitaliy Cherepanov [Fri, 25 Sep 2015 07:06:06 +0000 (10:06 +0300)]
[FIX] wsi crash, deadlock

Change-Id: I18174cc7071b6d3283db33996dbc02cff87d6d36
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] deadlock 03/48703/4
Vitaliy Cherepanov [Fri, 25 Sep 2015 07:02:14 +0000 (10:02 +0300)]
[FIX] deadlock

deadlock on stop instrumentation (target threads)

Change-Id: I97b6a9ebe4fcb54fd67d4d0a34ab2b16426a7611
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] applications termination after instrumentition 80/48680/1
Vitaliy Cherepanov [Thu, 24 Sep 2015 15:04:03 +0000 (18:04 +0300)]
[FIX] applications termination after instrumentition

kill application if it was not connected by socket with da_manager

Change-Id: Id9ee92047c584c6af9b877cdf59f3b4743d7dd85
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] generate dlopen address 88/46988/3
Vyacheslav Cherkashin [Thu, 27 Aug 2015 19:01:53 +0000 (22:01 +0300)]
[FIX] generate dlopen address

Change-Id: I925f29cdb31b7de7bfec84ba6c01a86119cc3a30
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
8 years ago[FIX] MSG_GET_REAL_PATH ack 39/48539/1 root_dep_remove
Vitaliy Cherepanov [Tue, 22 Sep 2015 13:31:37 +0000 (16:31 +0300)]
[FIX] MSG_GET_REAL_PATH ack

Change-Id: I919bacfaf7d6193f2fe11cf077fd10c9bbdb8ffe
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] ack for unknown message 66/48166/1
Vitaliy Cherepanov [Tue, 15 Sep 2015 09:56:58 +0000 (12:56 +0300)]
[FIX] ack for unknown message

Change-Id: I548c0decfd50c063bfeec7f8a294ae8177662a2f
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[PROTO] add MSG_GET_REAL_PATH message support 36/48036/1
Vitaliy Cherepanov [Fri, 11 Sep 2015 10:01:14 +0000 (13:01 +0300)]
[PROTO] add MSG_GET_REAL_PATH message support

Change-Id: I46123a338ab9dad9f7026dc4b109be2cf15f7033
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] Add libwebsocket dependency in spec 40/47940/2
Alexander Aksenov [Thu, 10 Sep 2015 07:55:13 +0000 (10:55 +0300)]
[FIX] Add libwebsocket dependency in spec

Change-Id: Ia596d5c60e779f9273c38969b989be9a52e2fc17
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[FIX] wsi syms parsing 60/47760/1
Dmitry Kovalenko [Tue, 8 Sep 2015 11:51:43 +0000 (14:51 +0300)]
[FIX] wsi syms parsing

Change-Id: I7b51cf64e83e34d70ec75891d3f988426b04c016

8 years ago[FIX] build. call-manager 27/47327/1
Vitaliy Cherepanov [Wed, 2 Sep 2015 09:51:05 +0000 (12:51 +0300)]
[FIX] build. call-manager

Change-Id: I549d781a34f8d0f802bee5d58b710200aa72c30e
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] prevent issue 69/47269/1
Vitaliy Cherepanov [Tue, 1 Sep 2015 15:01:58 +0000 (18:01 +0300)]
[FIX] prevent issue

---------------------------------------------------------------------------------|
| CID    | Type          | File                       | Function                 |
|--------------------------------------------------------------------------------|
| 476236 | Resource leak | daemon/cpp/elf/FileElf.cpp | FileElf::doGetAddrPlt386 |
|--------------------------------------------------------------------------------|

Change-Id: If2c6dd82d4540d4cb4caeb07405a47b646cf3917
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] prevent issues 40/47040/2
Anatolii Nikulin [Fri, 28 Aug 2015 10:18:06 +0000 (13:18 +0300)]
[FIX] prevent issues

Change-Id: If321129c9178fc616535e2ad2e1822dbd6870f3d
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
8 years ago[FIX] start.sh: full path for insmod call 32/46832/2
Vitaliy Cherepanov [Wed, 26 Aug 2015 10:36:33 +0000 (13:36 +0300)]
[FIX] start.sh: full path for insmod call

Change-Id: Icd665f27536bbb11d67961c1583f72241106a948
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[IMPROVE] Add old json support in case of wearable 81/46981/1
Alexander Aksenov [Thu, 27 Aug 2015 13:13:06 +0000 (16:13 +0300)]
[IMPROVE] Add old json support in case of wearable

Change-Id: Iabcb35f787e177849f27d3244440a3c7f968e75f
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[IMPROVE] Add Tizen 2.4 wearable support 80/46980/1
Alexander Aksenov [Thu, 27 Aug 2015 10:02:15 +0000 (13:02 +0300)]
[IMPROVE] Add Tizen 2.4 wearable support

Changed build requires and some scripts

Change-Id: Ib686526a86f6f8eb545cb3e2a9f375ae5616ab82
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[FIX] Check container feature 79/46979/1
Alexander Aksenov [Tue, 25 Aug 2015 13:23:45 +0000 (16:23 +0300)]
[FIX] Check container feature

Change-Id: I05cb93b777ba028b14253573b9e41f27f7f7bcfc
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[FIX] killing apps for TV 52/46752/3
Vyacheslav Cherkashin [Tue, 25 Aug 2015 12:15:34 +0000 (15:15 +0300)]
[FIX] killing apps for TV

Change-Id: I3203ff19729d7fce12125648227a5b9516a18787
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
8 years ago[FIX] Remove Makefile 49/46549/1
Alexander Aksenov [Fri, 21 Aug 2015 11:42:59 +0000 (14:42 +0300)]
[FIX] Remove Makefile

Change-Id: I52d078f506fb8ec8b943c9c19c36fa9f6f0f28ac
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[IMPROVE] Remove debug pkgs dependency for Rainbow 33/46533/3
Alexander Aksenov [Fri, 21 Aug 2015 08:53:50 +0000 (11:53 +0300)]
[IMPROVE] Remove debug pkgs dependency for Rainbow

Change-Id: I4b2e058c3c4595d61877a69d27869c855776144c
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[IMPROVE] Add plt syms search for x86 75/46475/5
Alexander Aksenov [Fri, 21 Aug 2015 08:53:04 +0000 (11:53 +0300)]
[IMPROVE] Add plt syms search for x86

Change-Id: I7daef682d4e95204c10d8fec74c97342712ee92b
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[IMPROVE] add tool for ELF parsing 74/46474/1
Konstantin Baladurin [Thu, 9 Jul 2015 14:12:28 +0000 (17:12 +0300)]
[IMPROVE] add tool for ELF parsing

Change-Id: Iefc5e85d6c4df64e973a5cab9d21e445a6479b7e
Signed-off-by: Konstantin Baladurin <k.baladurin@partner.samsung.com>
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
8 years ago[FIX] skip line function 84/45584/6
Vitaliy Cherepanov [Fri, 7 Aug 2015 13:34:17 +0000 (16:34 +0300)]
[FIX] skip line function

fix possible fail on reading proc files

Change-Id: I883cc7a1902c54360fdc912e64d5f8d13bc7e54e
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] preload disabling feature 07/45207/5
Vitaliy Cherepanov [Mon, 3 Aug 2015 13:09:06 +0000 (16:09 +0300)]
[FIX] preload disabling feature

Change-Id: I1b1ba2a5dd3a1668831e015dd70293bad20a0292
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] 5sec application start delay 96/44896/7
Vitaliy Cherepanov [Wed, 29 Jul 2015 07:05:55 +0000 (10:05 +0300)]
[FIX] 5sec application start delay

Change-Id: I33ca71b90a0eea5a35c2e16d86dcf164cfa0438a
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] web application instrumentation 62/44862/5
Vitaliy Cherepanov [Tue, 28 Jul 2015 13:12:13 +0000 (16:12 +0300)]
[FIX] web application instrumentation

disable wsi on stop instrumentation

Change-Id: Ia05341aa223222eeafe80bcd0fb83987f694eecb
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] prevent issue 93/45093/3
Vitaliy Cherepanov [Fri, 31 Jul 2015 09:55:47 +0000 (12:55 +0300)]
[FIX] prevent issue

---------------------------------------------------------------------------------------|
| CID    | Type                          | File              | Function                |
|--------------------------------------------------------------------------------------|
| 453611 | Dereference null return value | daemon/sys_stat.c | get_device_network_type |
|--------------------------------------------------------------------------------------|

Change-Id: Icca85037dedbc86692579c1ab00130f6cb52bb39
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[LISENCE] cheange to Apache-2.0 89/45089/1
Vyacheslav Cherkashin [Fri, 31 Jul 2015 09:32:31 +0000 (12:32 +0300)]
[LISENCE] cheange to Apache-2.0

Change-Id: I63b49ee162c9d5247fc3dc02975b773d1aabb655
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
8 years ago[FIX] build WSP_SUPPORT 64/44764/1
Vyacheslav Cherkashin [Mon, 27 Jul 2015 12:07:03 +0000 (15:07 +0300)]
[FIX] build WSP_SUPPORT

Change-Id: Ib5d503e07eab782024ea0beb85d1d7f0f8230d79
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
8 years ago[FIX] using stop.sh whitout root environment 94/44694/1
Vyacheslav Cherkashin [Fri, 24 Jul 2015 22:33:50 +0000 (01:33 +0300)]
[FIX] using stop.sh whitout root environment

Change-Id: I06aa8331567b35241a1e8769ec0b7893537fbab0
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
8 years ago[FIX] Start app on web profiling 26/44426/3
Vyacheslav Cherkashin [Tue, 21 Jul 2015 18:23:51 +0000 (21:23 +0300)]
[FIX] Start app on web profiling

Move port obtaining to separate thread

Change-Id: Idea7367d56168af8cc3adecb1b57267d41ee8b9e
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
8 years ago[FIX] Build for TV and Wearable 82/44382/2
Dmitry Kovalenko [Tue, 21 Jul 2015 09:07:11 +0000 (12:07 +0300)]
[FIX] Build for TV and Wearable

Change-Id: I45c14cb0ea6c783abbccf871584d9a4a7eb62526
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
8 years ago[FIX] Fixed LOG_ONCE in swap_debug.h 47/44347/1
Dmitry Kovalenko [Tue, 21 Jul 2015 05:52:31 +0000 (08:52 +0300)]
[FIX] Fixed LOG_ONCE in swap_debug.h

multiline defines should be in do-while block

Change-Id: Id3fea0516d57237a5e70b80223e1c25ea94ecb9e
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
8 years ago[FIX] add support of new call-manager API 60/44260/2
Konstantin Baladurin [Mon, 20 Jul 2015 09:33:59 +0000 (12:33 +0300)]
[FIX] add support of new call-manager API

Change-Id: I560b5849a707e521d12db33bb8b604bf912c2f5b
Signed-off-by: Konstantin Baladurin <k.baladurin@partner.samsung.com>
8 years ago[FIX] CPU load value 96/44196/2
Vitaliy Cherepanov [Fri, 17 Jul 2015 15:43:57 +0000 (18:43 +0300)]
[FIX] CPU load value

Change-Id: Ica9ecf08f8242c4f87953536f42c5184a4564b6f
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] MSG_GET_TARGET_INFO_ACK 27/43627/3
Vitaliy Cherepanov [Sun, 12 Jul 2015 20:10:44 +0000 (23:10 +0300)]
[FIX] MSG_GET_TARGET_INFO_ACK

fix device network type

Change-Id: I1deb5237e3003761fb85f53ff01448e3c5413e08
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] replay events timing 81/44181/2
Vitaliy Cherepanov [Fri, 17 Jul 2015 11:59:56 +0000 (14:59 +0300)]
[FIX] replay events timing

Change-Id: I6a9b8a702955583566b69849df8aaea1a4d3600b
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
8 years ago[FIX] disable WSP for tv profile 75/44175/2
Vyacheslav Cherkashin [Fri, 17 Jul 2015 10:46:32 +0000 (13:46 +0300)]
[FIX] disable WSP for tv profile

Change-Id: I4deb344c67def3734ff36a1c07de2d3e6450f070
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
8 years ago[IMPROVE] add WSP_SUPPORT build flag 74/44174/2
Vyacheslav Cherkashin [Fri, 17 Jul 2015 10:39:55 +0000 (13:39 +0300)]
[IMPROVE] add WSP_SUPPORT build flag

Change-Id: I817d1a23530ab5deaf13bc567d3470a2d2f5e69a
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
8 years ago[IMPROVE] Add checker of supported features in FeatureManager 65/44165/2
Vyacheslav Cherkashin [Fri, 17 Jul 2015 09:51:50 +0000 (12:51 +0300)]
[IMPROVE] Add checker of supported features in FeatureManager

Change-Id: I09a08f002b0e7f1cd5c4d3a2729f3abf00a915bd
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
8 years ago[FIX] workaround: ignore main() function address 47/44147/2
Vyacheslav Cherkashin [Thu, 16 Jul 2015 16:57:51 +0000 (19:57 +0300)]
[FIX] workaround: ignore main() function address

Change-Id: I252e38d0b3111e96977d68ed3c1c853e98e21122
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>