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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Dmitry Kovalenko [Tue, 8 Sep 2015 11:51:43 +0000 (14:51 +0300)]
[FIX] wsi syms parsing
Change-Id: I7b51cf64e83e34d70ec75891d3f988426b04c016
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Dmitry Kovalenko [Thu, 16 Jul 2015 07:55:09 +0000 (10:55 +0300)]
[FIX] Change 'echo' by '/bin/echo'
This fixes issues on new binaries
Change-Id: If262c6445cd11f5bf4906b15349e4ff58d726432
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Vasiliy Ulyanov [Sun, 12 Jul 2015 12:57:10 +0000 (15:57 +0300)]
[FIX] Preload probes setup
Do not return immediately if some of the binaries are not found
on target. Otherwise the probes might not be setup properly (e.g.
if the wrong binary appears in the middle of the list).
Change-Id: I9c99f9def6922fdba11d623fe6e574ceda10ca9a
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Vyacheslav Cherkashin [Thu, 9 Jul 2015 17:29:44 +0000 (20:29 +0300)]
[FIX] nsp stages determination
Change-Id: Ib612c82974bcac9c75cf95201ce5c88d23e43249
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Alexander Aksenov [Mon, 6 Jul 2015 17:24:36 +0000 (20:24 +0300)]
[FIX] Preload flags checking
Change-Id: I1a158850aea71f5d93f3609ae1b65ea5314b549a
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Anastasia Lyupa [Tue, 7 Jul 2015 18:38:29 +0000 (21:38 +0300)]
[FIX] replay events
Change-Id: I5bdcf52ee4d0f6b067736b126a3ec7f55ad14a9a
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
Dmitry Kovalenko [Tue, 7 Jul 2015 14:40:12 +0000 (17:40 +0300)]
[FIX] Build with new json-c
Change-Id: I6a189c070d66c8fe18f523ccbbcf64aecb741c05
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Dmitry Kovalenko [Tue, 7 Jul 2015 10:48:33 +0000 (03:48 -0700)]
Revert "[FIX] Fix: Build with new json"
This reverts commit
7f32c281ed8698684aae8bc5cd69843bd4ded6dd.
Change-Id: Iacee0db73c79525d00dba5029c508779dbbb4204
Dmitry Kovalenko [Tue, 7 Jul 2015 10:40:52 +0000 (13:40 +0300)]
[FIX] Fix: Build with new json
Change-Id: I1c7dde2a21975df2ea9fb283e417db6ad73977d9
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Konstantin Baladurin [Tue, 7 Jul 2015 10:19:08 +0000 (13:19 +0300)]
[FIX] fix prevent
---------------------------------------------------------------------------
| CID | Type | File | Function |
|--------------------------------------------------------------------------
| 451167 | Resource leak | da_protocol_inst.c | add_preload_probes |
|--------------------------------------------------------------------------
| 452808 | Resource leak | da_protocol_inst.c | add_preload_probes |
---------------------------------------------------------------------------
Change-Id: Ifd9b743ace327538508bf47ef736defab24d9774
Signed-off-by: Konstantin Baladurin <k.baladurin@partner.samsung.com>
Dmitry Kovalenko [Mon, 6 Jul 2015 05:16:04 +0000 (08:16 +0300)]
[FIX] Build with new json
Change-Id: Ie12b37e4f9dedbbf3d265b477a980d8387cabb4d
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Alexander Aksenov [Fri, 27 Feb 2015 12:44:06 +0000 (15:44 +0300)]
[IMPROVE] Preload: Breakpoint probe msg saving
Change-Id: Ifcc1cb1fc73b4e19b498c76b3cefe010a0213bf8
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Anastasia Lyupa [Tue, 30 Jun 2015 12:17:51 +0000 (15:17 +0300)]
[FIX] checking features for ld probes
Change-Id: I5b8d863c0757a02ea90d19fc98ab9b6c63686020
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
Konstantin Baladurin [Wed, 1 Jul 2015 08:12:46 +0000 (11:12 +0300)]
[FIX] fix double free and null pointer dereference
Fix double free in free_lib function and null pointer derefence in
add_preload_probes function
Change-Id: I8753408c6bd655f40ffbdf58a290149ec329ea12
Signed-off-by: Konstantin Baladurin <k.baladurin@partner.samsung.com>
Dmitry Kovalenko [Tue, 30 Jun 2015 09:57:03 +0000 (12:57 +0300)]
[FIX] re:Prevent issue FORWARD_NULL
Change-Id: Id779461b8d3807cd0f14f5ddd081054560867036
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Dmitry Kovalenko [Tue, 30 Jun 2015 09:07:00 +0000 (12:07 +0300)]
[FIX] Prevent issue FORWARD_NULL
Change-Id: If87cc8431a20f0f098a8c09b32b8ac149ba7ed65
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Vyacheslav Cherkashin [Mon, 29 Jun 2015 09:24:28 +0000 (12:24 +0300)]
[FIX] enable features for second start profiling
Change-Id: I017870082eaa0c74f77dcadc5b07b9654e8cb5d8
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Konstantin Baladurin [Mon, 29 Jun 2015 05:36:53 +0000 (08:36 +0300)]
[FIX] prevent issue
--------------------------------------------------------------------------------------------
| CID | Type | File | Function |
|------------------------------------------------------------------------------------------|
| 451167 | Resource leak | da_protocol_inst.c | add_preload_probes |
--------------------------------------------------------------------------------------------
Change-Id: Ibf76e1eb1959ff633c54b034023a40f3332bd082
Signed-off-by: Konstantin Baladurin <k.baladurin@partner.samsung.com>
Alexander Aksenov [Wed, 24 Jun 2015 10:52:39 +0000 (13:52 +0300)]
[FIX] Preload: getting linker path
Change-Id: Ifc8408db4ad430d5707e500290def24c78a81b81
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Konstantin Baladurin [Wed, 24 Jun 2015 11:40:04 +0000 (14:40 +0300)]
[FIX] build fix
add missing ';'
Change-Id: I4005f5d73675f249f82a6f907d4fba0d1da22f00
Signed-off-by: Konstantin Baladurin <k.baladurin@partner.samsung.com>
Konstantin Baladurin [Wed, 24 Jun 2015 10:52:36 +0000 (13:52 +0300)]
[FIX] prevent issue
------------------------------------------------------------------------------------
| CID | Type | File | Function |
|----------------------------------------------------------------------------------|
| 351955 | Untrusted value as argument | da_protocol.c | recv_msg_from_sock |
|----------------------------------------------------------------------------------|
Change-Id: Ia54fd4f724ed22509f00005114ab701ca897c2dd
Signed-off-by: Konstantin Baladurin <k.baladurin@partner.samsung.com>
Konstantin Baladurin [Mon, 22 Jun 2015 08:51:44 +0000 (11:51 +0300)]
[FIX] prevent issues
--------------------------------------------------------------------------------------------
| CID | Type | File | Function |
|------------------------------------------------------------------------------------------|
| 451239 | Uninitialized scalar variable | da_inst.c | ld_add_probes_by_feature |
|------------------------------------------------------------------------------------------|
| 451189 | Resource leak | FileElf.cpp | makeRelocMap |
|------------------------------------------------------------------------------------------|
| 451185 | Resource leak | FileElf.cpp | makeRelocMap |
|------------------------------------------------------------------------------------------|
| 451183 | Resource leak | FileElf.cpp | getAddrPlt |
|------------------------------------------------------------------------------------------|
| 451178 | Resource leak | FileElf.cpp | readSectionsInfo |
|------------------------------------------------------------------------------------------|
| 451172 | Resource leak | da_protocol_inst.c | parse_app_inst_list |
|------------------------------------------------------------------------------------------|
| 451168 | Resource leak | da_protocol_inst.c | add_preload_probes |
|------------------------------------------------------------------------------------------|
| 451167 | Resource leak | da_protocol_inst.c | add_preload_probes |
|------------------------------------------------------------------------------------------|
| 451125 | Null pointer dereferences | wsi.c | wsi_set_smack_rules |
|------------------------------------------------------------------------------------------|
| 451123 | Null pointer dereferences | da_protocol_inst.c | feature_add_func_inst_list |
|------------------------------------------------------------------------------------------|
| 451122 | Null pointer dereferences | wsi.c | send_request |
|------------------------------------------------------------------------------------------|
| 451121 | Null pointer dereferences | da_protocol_inst.c | feature_add_func_inst_list |
|------------------------------------------------------------------------------------------|
| 451076 | Deleting void pointer | FileElf.cpp | putSection |
--------------------------------------------------------------------------------------------
Change-Id: If21d9b2983b3c97d6fa94761f49334f975c94b1b
Signed-off-by: Konstantin Baladurin <k.baladurin@partner.samsung.com>
Anastasia Lyupa [Fri, 19 Jun 2015 08:04:16 +0000 (01:04 -0700)]
Revert "[FIX] startup profiling for basic app"
This reverts commit
d4b14ad6e1859d0974f295f8364678f5b14ea4fc.
Because launchpad_preloading_preinitializing_daemon was removed.
Change-Id: Id6ffaef87f283049515cf6564161508fa6fd9d0e
Dmitry Kovalenko [Fri, 19 Jun 2015 05:25:40 +0000 (08:25 +0300)]
[FIX] start.sh for builtin modules
Change-Id: I6fbf0eaf62d2c64de0559111f81527dcc79f293a
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Anastasia Lyupa [Tue, 16 Jun 2015 10:56:32 +0000 (13:56 +0300)]
[FIX] startup profiling for basic app
when app is launched by launchpad_preloading_preinitializing_daemon,
not launchpad-process-pool
Change-Id: I92185c259a53264c9cebae76c4ad16b3d1932c37
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
Vyacheslav Cherkashin [Sat, 13 Jun 2015 22:25:34 +0000 (01:25 +0300)]
[IMPROVE] plt functions search
if plt is hidden then search it dynamicaly (ARM)
Change-Id: I2f8215e76bf11f6a65c7146cc0cc29cf3daf2c45
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Dmitry Kovalenko [Sat, 13 Jun 2015 21:35:19 +0000 (00:35 +0300)]
[FIX] Building for TV
Change-Id: I1dece368682c5f93742dde0085f98a57bb8a9ca5
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Dmitry Kovalenko [Thu, 11 Jun 2015 18:23:16 +0000 (21:23 +0300)]
Merge branch 'tizen_2.4_dev' into tizen_2.4
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Conflicts:
daemon/da_inst.c
daemon/da_protocol.c
daemon/da_protocol_inst.c
daemon/input_events.c
daemon/utils.c
scripts/start.sh
Change-Id: I87ccf885eec04e460f89c735ead969fb4ddf2b08
Dmitry Kovalenko [Thu, 11 Jun 2015 16:21:01 +0000 (19:21 +0300)]
Merge branch 'tizen_2.4_pre' into tizen_2.4
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Conflicts:
daemon/start.sh
daemon/threads.c
daemon/utils.c
Change-Id: I168a867a8a9410e17a190a6c139bf522266bc36e
Vitaliy Cherepanov [Thu, 4 Jun 2015 10:46:46 +0000 (13:46 +0300)]
[FIX] segmentation fault on replay events
Change-Id: Ia54f8db12ff65ec07b9137ddbe38f6997a08b6fe
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vyacheslav Cherkashin [Wed, 10 Jun 2015 10:42:19 +0000 (13:42 +0300)]
[FEATURE] native setup profiling implement
Change-Id: If7945d80108486b0d943790798fc6cb7cf61ea44
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Wed, 10 Jun 2015 10:33:02 +0000 (13:33 +0300)]
[IMPROVE] create AppInst*
Change-Id: I4fef70c75c3142a7a3dd869011a6f7892848ec07
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 1 Jun 2015 16:48:19 +0000 (19:48 +0300)]
[REFACTOR] move *.cpp files to daemon/cpp/
Change-Id: I8efbd1cc2b45e8dcf929870c8f3b774e2f4d1a73
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vitaliy Cherepanov [Thu, 4 Jun 2015 13:20:44 +0000 (16:20 +0300)]
[REFACTOR] add process MSG_GET_TARGET_INFO function
Change-Id: I11b7fe4cceabd6bcdc3aefb25e683dfeb320f29d
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Fri, 29 May 2015 09:18:49 +0000 (12:18 +0300)]
[FIX] search launched app by binary path
Change-Id: Icf272912f23f585722945afbd3fd3660157647f0
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Tue, 26 May 2015 16:00:21 +0000 (19:00 +0300)]
[PROTO] Change binary ack message according to proto 4.0
change binary ack message according to proto 4.0
Change-Id: I5be8fa9e28fea7b3efd14f5520b37ed40da5be73
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Tue, 26 May 2015 14:38:38 +0000 (17:38 +0300)]
[REFACTOR] application msg ID
Change-Id: I443d1fdd8d01f80d02efa6359e1246ab5822408c
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Tue, 26 May 2015 14:19:05 +0000 (17:19 +0300)]
[FIX] MSG_VERSION ack
fix wrong ack code
fix debug MSG_VERSION
Change-Id: I256fd146dfb1a71c08b1893a4294174a6595eab8
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Alexander Aksenov [Wed, 27 May 2015 09:18:55 +0000 (12:18 +0300)]
[IMPROVE] Preload: flexible initialization
Change-Id: I62961bce670efd08146e7265a9632f9b82714f5e
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Tue, 17 Mar 2015 14:15:22 +0000 (17:15 +0300)]
[REFACTOR] Preload probe type
Change-Id: I56c63029703208eeab9f8182b902df52b2b1dd94
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Yurchenko Darya [Mon, 8 Jun 2015 14:10:45 +0000 (17:10 +0300)]
[FIX] prevents
--------------------------------------------------
| TYPE | FUNCTION |
|----------------|-------------------------------|
|NULL RETURNS | update_process_data |
|----------------|-------------------------------|
|NULL RETURNS | sendACKToHost |
|----------------|-------------------------------|
|DC.SECURE_CODING| get_ack_msg_id |
|_CRITICAL | |
|----------------|-------------------------------|
|NULL_RETURNS | gen_message_error |
|----------------|-------------------------------|
|NULL_RETURNS | binary_ack_alloc |
|----------------|-------------------------------|
|NULL_RETURNS | process_msg_binary_info |
|----------------|-------------------------------|
|NULL_RETURNS | gen_stop_msg |
|----------------|-------------------------------|
|NULL_RETURNS | parse_us_inst_func |
|----------------|-------------------------------|
|NULL_RETURNS | gen_message_terminate |
|----------------|-------------------------------|
|NULL_RETURNS | gen_message_event |
|----------------|-------------------------------|
|NULL_RETURNS | new_probe |
|----------------|-------------------------------|
|NULL_RETURNS | generate_msg |
|----------------|-------------------------------|
|NULL_RETURNS | new_lib |
|----------------|-------------------------------|
|DC.SECURE_CODING| binary_ack_alloc |
|_CRITICAL | |
|----------------|-------------------------------|
|NULL_RETURNS | new_data |
|----------------|-------------------------------|
|NULL_RETURNS | update_thread_data |
|----------------|-------------------------------|
|NULL_RETURNS | fill_system_cpu_info |
|----------------|-------------------------------|
|NULL_RETURNS | new_app |
--------------------------------------------------
Change-Id: I1391e706f1e73e49437327eac8dfea1e48121dd7
Signed-off-by: Yurchenko Darya <d.urchenko@partner.samsung.com>
Dmitry Kovalenko [Wed, 10 Jun 2015 06:56:06 +0000 (09:56 +0300)]
[FIX] starting da_manager on TV
Change-Id: I04d4e9bc7d40912943aaceebbc50ab5b96711468
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Dmitry Kovalenko [Wed, 10 Jun 2015 04:34:37 +0000 (07:34 +0300)]
[FIX] modules insertion in start.sh
add /usr/sbin/ to PATH variable
Change-Id: Ibdbdc4c71ea741652a3dd95a49b3c756eeab34a7
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Vitaliy Cherepanov [Wed, 3 Jun 2015 16:02:15 +0000 (19:02 +0300)]
[FIX] MSG_SCREENSHOT unknown error code
Change-Id: I058b29cf101e1b0723d4344310baf160b1dddb63
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vyacheslav Cherkashin [Mon, 1 Jun 2015 16:27:15 +0000 (19:27 +0300)]
[FIX] build manager
Change-Id: Ic922997b7a9039074a8318069efa333e70cb6d91
Vyacheslav Cherkashin [Mon, 1 Jun 2015 16:25:47 +0000 (19:25 +0300)]
[FIX] scripts/gen_wsi_prof.sh
Change-Id: I8be9454c9cc39cd721b87bd79cd34d91acaf8210
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 18 May 2015 16:06:15 +0000 (19:06 +0300)]
[FEATURE] web setup profiling implement
Change-Id: I3d0572738c6a83444bb46e24e1ba20b26e26b038
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Wed, 4 Mar 2015 19:12:30 +0000 (22:12 +0300)]
[IMPROVE] create FeatureManager
Change-Id: Ifa4e37cb0d2701b188da9e3883d8bb9747324e25
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vitaliy Cherepanov [Wed, 20 May 2015 13:16:06 +0000 (16:16 +0300)]
[FIX] SWAP_PRELOAD: Module is not initialized.
Change-Id: If2f8e84b94c1c9d99cf7c27e6b7f7a45d62fdac8
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Dmitry Kovalenko [Fri, 15 May 2015 16:41:59 +0000 (19:41 +0300)]
[FIX] check containers (lightweight)
Change-Id: I275c7663e370a63010c356a2b337bc2b65bb2871
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>