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>
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>
Vitaliy Cherepanov [Mon, 12 Jan 2015 14:08:20 +0000 (17:08 +0300)]
[FIX] add strdup to malloc debug
Change-Id: Ic2a2ed82e08efb979ee76e3b56fd3e8872ec7745
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Fri, 14 Nov 2014 10:28:03 +0000 (13:28 +0300)]
[FIX] malloc debug
Change-Id: I42d3e016f5713da2dbe60b7392dad5d5b66249fa
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Fri, 15 May 2015 10:09:18 +0000 (13:09 +0300)]
[FEATURE] check containers
Change-Id: I6effbc19abb603cd61849b3c828dcba9b82bfc74
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Tue, 2 Dec 2014 14:43:21 +0000 (17:43 +0300)]
[FEATURE] FBI multi probing
Change-Id: I5c0824bd46bc4fee06e0ce0efec4150bf86c941c
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Tue, 18 Nov 2014 10:16:16 +0000 (13:16 +0300)]
[FEATURE] FBI implement
Change-Id: I2bdce493296587bc901a91c6128d429ece7545b2
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Mon, 27 Apr 2015 12:11:00 +0000 (15:11 +0300)]
[PROTO] implement protocol version 4.0
Change-Id: I535c03eaf9a915de898e373a2db543faa45c275b
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Anastasia Lyupa [Thu, 23 Apr 2015 13:30:42 +0000 (16:30 +0300)]
[FEATURE] set webprobe profiling
- add webkit2-efl-debuginfo dependency to
determine libewebkit addresses required
for web app profiling
- send addresses to modules through debugfs
- fix SMACK rules issue
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
Change-Id: I75d4e952163db4845de737da42a7152d0b51bd31
Anastasia Lyupa [Wed, 6 May 2015 10:59:29 +0000 (13:59 +0300)]
Merge branch 'tizen_2.4' into tizen_2.4_dev
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
Conflicts:
daemon/Makefile
scripts/stop.sh
Change-Id: Iaba759cad390088f2ab15bf778ba417d485274bf
Vitaliy Cherepanov [Mon, 30 Mar 2015 15:58:05 +0000 (18:58 +0300)]
[FIX] buffer overflow
overflow buf. fscanf call in find_pid_from_path.
Change-Id: Ide5c325003cc977997ac39a8ca114a12e00f112e
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
(cherry picked from commit
9a610e51f899d1393b2a38b520c8db2c4e6136db)
Vitaliy Cherepanov [Wed, 8 Apr 2015 10:22:19 +0000 (13:22 +0300)]
[FIX] prevent issues
|-------------------------------|-------------------|
| Type | Function |
|-------------------------------|-------------------|
| calling risky function | get_cpu_frequency |
|-------------------------------|-------------------|
| calling risky function | get_video_status |
|-------------------------------|-------------------|
| calling risky function | get_network_stat |
|-------------------------------|-------------------|
| calling risky function | get_disk_stat |
|-------------------------------|-------------------|
| Passing tainted string | recvThread |
|-------------------------------|-------------------|
| wrong argument order | sys_stat_prepare |
|-------------------------------|-------------------|
Change-Id: I152304e1000346cd07c9b8e8521a072cdf25c944
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vyacheslav Cherkashin [Tue, 17 Mar 2015 11:14:13 +0000 (14:14 +0300)]
[IMPROVE] init/uninit swap modules
Change-Id: I2cc7902b02f8c245c911205b30599f76fb178ea0
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Wed, 11 Mar 2015 16:57:05 +0000 (19:57 +0300)]
[IMPROVE] add use swap_master module
Change-Id: Ia14ab32746cdaa0f7d1a185aed811aabefed35b6
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Alexander Aksenov [Wed, 28 Jan 2015 08:05:33 +0000 (11:05 +0300)]
[IMPROVE] Preload: add probe block_type support
Change-Id: Iefa3436d66595dac5206684a0734336a001d232f
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 14 Jan 2015 12:19:58 +0000 (15:19 +0300)]
[IMPROVE] Add preload call type support
Change-Id: Ia6c53f17a53f07161b0397ace000525890971f9e
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vitaliy Cherepanov [Thu, 15 Jan 2015 08:46:51 +0000 (11:46 +0300)]
[FIX] prevent issue
|-------------------------------|------------------|
| Type | Function |
|-------------------------------|------------------|
| Uninitialized scalar variable | binary_ack_alloc |
|-------------------------------|------------------|
Change-Id: I10ffe1a9d3cbcd077eb013e2766c9e3b38dac21a
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Alexander Aksenov [Fri, 28 Nov 2014 11:10:31 +0000 (14:10 +0300)]
[IMPROVE] Preload: getting caller address support
Change-Id: Iabd9ed71151ae5baa166b9100dde05c0de55af10
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Fri, 31 Oct 2014 12:23:22 +0000 (15:23 +0300)]
[IMPROVE] Add data to be sent to modules
Add handlers path, linker path, getting r_debug address for passing to the
modules via debugfs.
Change-Id: Ibfa71cc62702e59863df30f8308df8ff8ec224a3
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 15 Oct 2014 06:39:44 +0000 (10:39 +0400)]
[IMPROVE] Preload: write instumented binary filename
Change-Id: Ic5a272df5a8e5b684b8ad72230454813f9928ae9
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Mon, 29 Sep 2014 14:34:09 +0000 (18:34 +0400)]
[IMPROVE] Add preload collection types support
Change-Id: Ie094514d68bd1c06d5d08071eeafb2bee04f58ef
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vasiliy Ulyanov [Mon, 23 Jun 2014 05:46:37 +0000 (09:46 +0400)]
[FEATURE] Remove native LD_PRELOAD
Change-Id: I07fc26b0047ed1ac93555b7d1ac19eb5d9134526
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Alexander Aksenov [Wed, 10 Sep 2014 13:16:26 +0000 (17:16 +0400)]
[FEATURE] Add preload modules support
Change-Id: Ib30b0b035af2af79108dae2f85ef5b667b517eb5
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vitaliy Cherepanov [Thu, 21 Aug 2014 08:39:32 +0000 (12:39 +0400)]
[FEATURE] custom ld preload support
Change-Id: I8adbd0d225eacdec4d6333d3f4fa56b08325750f
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 10 Sep 2014 13:14:43 +0000 (17:14 +0400)]
[IMPROVE] New swap_retprobe module support
Scripts are also moved to scripts/
Change-Id: I0517c4d952ef0ff8494080054a96a29a70cc1f09
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vitaliy Cherepanov [Wed, 14 Jan 2015 07:50:07 +0000 (10:50 +0300)]
[FIX] build for Tizen 2.4
Tizen 2.4 efl upstream migration
Change-Id: Iffa39d82e1508809a06f7ba30ae13b2c14cec11e
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Alexander Aksenov [Mon, 12 Jan 2015 08:51:33 +0000 (11:51 +0300)]
Merge branch 'master' into new_protocol
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Conflicts:
daemon/Makefile
Change-Id: I8e976dfa96bd0bb9ca30fd44c06d12f4220763c9
Vitaliy Cherepanov [Tue, 9 Dec 2014 12:37:21 +0000 (15:37 +0300)]
[FIX] spank spank
ecore spank on doble app launch timer
Change-Id: Iea0162678883bc3534a1f7495a2dd87b596bca6a
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Tue, 9 Dec 2014 12:37:21 +0000 (15:37 +0300)]
[FIX] spank spank
ecore spank on doble app launch timer
Change-Id: Iea0162678883bc3534a1f7495a2dd87b596bca6a
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Mon, 15 Dec 2014 09:03:20 +0000 (12:03 +0300)]
[FIX] MSG_BINARY_INFO daemon crash if file type is not ELF
Change-Id: I5f967f6fe95a541868e360e1dd4b520fbf7d1074
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vyacheslav Cherkashin [Wed, 19 Nov 2014 18:51:17 +0000 (22:51 +0400)]
[IMPROVE] add support c++ to Makefile
Change-Id: Ib50645df0065f8b251886c584e36ef17640e8cdc
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Ruslan Soloviev [Wed, 26 Nov 2014 13:46:32 +0000 (16:46 +0300)]
[FEATURE] Add web profiling
Used libwebsockets, libjson
Setup probes (probe type 3):
ewk_context_inspector_server_start
JSC::ProfileGenerator::willExecute
JSC::ProfileGenerator::didExecute
Change-Id: I48b5223c67f3c7239484f5dcf6bbd895c9080b18
Signed-off-by: Ruslan Soloviev <r.soloviev@samsung.com>
Vitaliy Cherepanov [Tue, 18 Nov 2014 14:09:34 +0000 (17:09 +0300)]
[CLEAN] remove da_command
Change-Id: I2254ede172eed54c036994dc2b5c62b57fcd693b
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Alexander Aksenov [Tue, 18 Nov 2014 10:04:11 +0000 (13:04 +0300)]
[FIX] Add swap_retprobe.ko to start.sh/stop.sh
Change-Id: I9cf19ffbfde7e8b25f4434021be3d31e430de1f8
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 26 Mar 2014 12:44:19 +0000 (16:44 +0400)]
[IMPROVE] Implement different kind of probes
Now probe type is transferred right after the probe address, before the probe's
data.
Supported probe types:
0 - retprobe
1 - function body instrumentation probe
2 - preloaded API probe
Change-Id: Ie309e3f911619f3a1b4c821f1ad17932ce9f1c4d
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
(cherry picked from commit
7a76b43942410512a7f0d767121ae7433ca9bccd)
Dmitry Kovalenko [Thu, 13 Nov 2014 12:26:31 +0000 (04:26 -0800)]
Revert "[IMPROVE] Implement different kind of probes"
Still too early
This reverts commit
7a76b43942410512a7f0d767121ae7433ca9bccd.
Change-Id: Ia9cbf8e5cce27e1359856f54c91633d68742919c
Dmitry Kovalenko [Thu, 13 Nov 2014 12:21:29 +0000 (04:21 -0800)]
Merge "[IMPROVE] Implement different kind of probes" into prod_rel
Alexander Aksenov [Wed, 26 Mar 2014 12:44:19 +0000 (16:44 +0400)]
[IMPROVE] Implement different kind of probes
Now probe type is transferred right after the probe address, before the probe's
data.
Supported probe types:
0 - retprobe
1 - function body instrumentation probe
2 - preloaded API probe
Change-Id: Ie309e3f911619f3a1b4c821f1ad17932ce9f1c4d
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vitaliy Cherepanov [Thu, 13 Nov 2014 10:41:10 +0000 (13:41 +0300)]
[FIX] prevent issue
|------------------------|-------------------|
| Type | Function |
|------------------------|-------------------|
| Calling risky function | close_on_exec_dup |
| Calling risky function | remove_indir |
|------------------------|-------------------|
Change-Id: I3bdd110fbbb7ac2abe049a2045e73b28b6917417
S-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Wed, 12 Nov 2014 08:36:38 +0000 (11:36 +0300)]
[FIX] prevent
|-------------------------|------------------------|
| Type | Function |
|-------------------------|------------------------|
| fd leak |initialize_log |
|-------------------------|------------------------|
Change-Id: I104279bdc850725e2077bd55159001ad88d465f0
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vyacheslav Cherkashin [Fri, 7 Nov 2014 11:13:39 +0000 (15:13 +0400)]
[FIX] prevent
Change-Id: I09a05a7b78feb30055732a611b85f2283ac06cf9
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vitaliy Cherepanov [Thu, 6 Nov 2014 15:49:03 +0000 (18:49 +0300)]
[FIX] smack access to screenshots
Change-Id: Id730f25562aa733079f2fc3105a6962410f50ba2
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Mon, 3 Nov 2014 19:48:28 +0000 (22:48 +0300)]
[FIX] remove (clean) log file on daemon start
Change-Id: I9de7720f7eb454ea7bd3769e4ffcaa5104f2b35a
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Mon, 3 Nov 2014 18:06:22 +0000 (21:06 +0300)]
[FIX] prevent issue
|-------------------------|------------------------|
| Type | Function |
|-------------------------|------------------------|
| dead code |get_device_network_type |
|-------------------------|------------------------|
Change-Id: Ifadbf78d32f2535cd7d477f9278cd9ed51fbcdb4
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Mon, 3 Nov 2014 15:38:03 +0000 (18:38 +0300)]
[FIX] prevent issue
|-------------------------|----------------|
| Type | Function |
|-------------------------|----------------|
| Resource leak | initialize_log |
| Resource leak | initialize_log |
|-------------------------|----------------|
Change-Id: I174970e06d4472c7ded0b5509846311f36fc099f
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Dmitry Kovalenko [Sat, 1 Nov 2014 09:58:03 +0000 (12:58 +0300)]
[FIX] Change SMACK64IPOUT flag (* -> @)
With * connection from ld lib to manager fails in kernel
with EACCESS error code and description:
"A star subject can’t access any objects"
Change-Id: I2a43ff2b8a34e0be9d3f849d226594bb607bf96a
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Vitaliy Cherepanov [Fri, 31 Oct 2014 14:05:02 +0000 (17:05 +0300)]
[FIX] redirect stderr to /dev/null
Change-Id: I90c4658ca742a2170cbe070e6cdce44955b1e019
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Thu, 30 Oct 2014 09:18:46 +0000 (12:18 +0300)]
[FIX] MD5 sum in MSG_BINARY_ACK
Change-Id: Ie5b8420a255577c355914c1c50748d943e45ca83
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Wed, 22 Oct 2014 08:40:07 +0000 (12:40 +0400)]
[STYLE] add spaces after "=" in ErrorCode enum
Change-Id: Idb1bd0767ee420ca22835d028e1039adcc52ae95
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Thu, 16 Oct 2014 11:07:44 +0000 (15:07 +0400)]
[CLEAN] remove swap_ks_manager from start/stop scripts
Change-Id: I51c3ab930fdbecfe3d3bf47016ffb8a9fed54708
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Wed, 22 Oct 2014 08:04:33 +0000 (12:04 +0400)]
[FIX] error codes ack
Change-Id: I414078a596445d4a362da3134615c40e7e9580b0
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Tue, 21 Oct 2014 11:24:35 +0000 (15:24 +0400)]
[FIX] prevent issues
|-------------------------|--------------------------------|
| Type | Function |
|-------------------------|--------------------------------|
| Calling risky function | get_partition_sector_size |
| Calling risky function | find_pid_from_path |
| Calling risky function | wake_up_buf |
| Calling risky function | flush_buf |
| Calling risky function | kill_app |
| Calling risky function | ioctl_send_msg |
| Calling risky function | write_to_buf |
| Calling risky function | sendACKToHost |
| Calling risky function | get_max_brightness |
| Calling risky function | send_reply |
| Calling risky function | start_profiling |
| Calling risky function | open_tasks_dev |
| Calling risky function | _get_fds |
| Calling risky function | open_buf_ctl |
| Calling risky function | init_brightness_status |
| Calling risky function | get_other_pid_array |
| Calling risky function | exit_buf |
| Calling risky function | init_buf |
| Calling risky function | update_thread_data |
| Calling risky function | transfer_thread |
| Calling risky function | parse_proc_smaps_file_bypid |
| Calling risky function | parse_proc_stat_file_bypid |
| Calling risky function | update_process_data |
| Calling risky function | update_system_cpu_frequency |
| Calling risky function | get_device_network_type |
| Calling risky function | binary_ack_pack |
| Calling risky function | feature_code_str |
| Calling risky function | find_alternative_bin_path |
| Calling risky function | exec_app_common |
| Calling risky function | dereference_tizen_exe_path |
| Calling risky function | is_same_app_process |
| Calling risky function | makeTargetServerSocket |
| Calling risky function | host_message_handler |
| Calling risky function | targetServerHandler |
| Calling risky function | suffix_filename |
| Calling risky function | check_input |
| Calling risky function | get_process_cmd_line |
| Calling risky function | get_lpad_pid |
|-------------------------|--------------------------------|
Change-Id: Ia50a7c4b4dc4a35ea11266a4dbdae7b522b1df94
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Fri, 17 Oct 2014 10:32:01 +0000 (14:32 +0400)]
[FIX] prevent issues
|------------------------|-------------------|
| Type | Function |
|------------------------|-------------------|
| Unchecked return value | close_on_exec_dup |
| Resource leak | get_file_md5sum |
| Resource leak | get_cpu_frequency |
|------------------------|-------------------|
Change-Id: I292642b8d85f33f87907a9f06cdca76c39832007
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
JuYoung Kim [Thu, 16 Oct 2014 13:39:41 +0000 (22:39 +0900)]
[IMPROVE] add da_command killvalgrind to kill valgrind process.
Change-Id: Ie174c732ffdf941d812c2c348fa6a1c588196c1b
Signed-off-by: JuYoung Kim <j0.kim@samsung.com>
Dmitry Kovalenko [Tue, 14 Oct 2014 09:29:28 +0000 (13:29 +0400)]
[LICENSE] Move APLv2 license file to LICENSE
Change-Id: I85f88e549934a57adefc2e51fc3656c4bd2ed22c
Vitaliy Cherepanov [Mon, 13 Oct 2014 15:06:24 +0000 (19:06 +0400)]
[FIX] MSG_GET_PROCESS_ADD_INFO_ACK error code
wrong error code returns on success get process additional info
Change-Id: Ic890c6cbf97bbfde384d39b73f802bbcdb1ddba0
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Fri, 10 Oct 2014 13:27:44 +0000 (17:27 +0400)]
[FIX] prevent issues
Change-Id: I1cde206e7ffe470399c7d4a0ae2e090409160210
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Tue, 30 Sep 2014 09:35:37 +0000 (13:35 +0400)]
[FIX] prevent issues
| Type | Function |
| String not null terminated | get_process_cmd_line |
| Resource leak | initialize_log |
| Resource leak | update_thread_data |
| Resource leak | parse_lib_inst_list |
| Resource leak | parse_app_inst_list |
| Resource leak | get_build_dir |
| Resource leak | process_msg_get_process_add_info |
| Resource leak | process_msg_get_process_add_info |
| Resource leak | process_msg_get_process_add_info |
| Out-of-bounds access | parse_replay_event |
| Out-of-bounds access | parse_replay_event |
Change-Id: I201baf8042a008e41a8f12f699b7a64740fe3e24
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Fri, 26 Sep 2014 07:51:34 +0000 (11:51 +0400)]
[FIX] replay event in start message
Increase max msg size.
Add ACK msg on error.
Add msg body read from socket on err (too long msg and memory alloc err)
Change-Id: If5c2ad8d281d610dbf0af6d67b764bbbf0b6bc03
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vyacheslav Cherkashin [Mon, 22 Sep 2014 13:29:21 +0000 (17:29 +0400)]
[FIX] sync start/stop target communication thread
Change-Id: I91f619ce162096d5dc8453ac8fbf8d35555b1075
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vitaliy Cherepanov [Thu, 18 Sep 2014 10:17:35 +0000 (14:17 +0400)]
[FIX] replay events
replay events feature does not work
Change-Id: Ide5bd4322d49228f669de01bd9d87ecac3545638
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Wed, 17 Sep 2014 10:03:41 +0000 (14:03 +0400)]
[FIX] CPU load value less then application cpu load
Change-Id: I8b119292a3b8d3de605f776c1a14750fae9f8364
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Thu, 11 Sep 2014 11:44:04 +0000 (15:44 +0400)]
[FIX] deadlock
Change-Id: I09dad6d383ee2dd5a94b4bc24aad70b200386e5b
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Dmitry Kovalenko [Thu, 4 Sep 2014 05:37:06 +0000 (09:37 +0400)]
[FIX] Prevent issue
Change-Id: I23746faee962765b5f8e0483e5989898a1cfe4e7
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Vyacheslav Cherkashin [Wed, 3 Sep 2014 14:38:19 +0000 (18:38 +0400)]
[FIX] calculation app_type
Change-Id: I922c141c7ee213140aa143910be8371e6ef96fab
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 1 Sep 2014 13:40:34 +0000 (17:40 +0400)]
[REFACTOR] encapsulate target struct (part 1)
Change-Id: I783e3dc9c369af7c663261a941f11bc5ac1fc11f
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Dmitry Kovalenko [Wed, 3 Sep 2014 11:11:57 +0000 (15:11 +0400)]
[FIX] Prevent issue
Change-Id: I0b39c2f283a3beb08cbfbb818e301252a40440ca
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Vyacheslav Cherkashin [Fri, 11 Jul 2014 12:11:46 +0000 (16:11 +0400)]
[REFACTOR] remove unused code from sys_stat.*
file:
daemon/sys_stat.c
daemon/sys_stat.h
Change-Id: Iebaa41ef2745f42838b718ac8659f33d3c8b7cb5
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Fri, 11 Jul 2014 11:19:41 +0000 (15:19 +0400)]
[REFACTOR] remove unused code from utils.*
file:
daemon/utils.c
daemon/utils.h
Change-Id: Icb27639ae33ca407c7e3dd8536ad7648ee540e6b
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 1 Sep 2014 07:46:13 +0000 (11:46 +0400)]
[FIX] stop profiling when children terminate (Tizen app)
Change-Id: I4a0cdc299d8b088a63ab63d99a2614302d3d0652
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Alexander Aksenov [Tue, 26 Aug 2014 14:59:37 +0000 (18:59 +0400)]
[IMPROVE] Protocol: add Windows-style path support
Only for debug path
Change-Id: Iedcc416472b9fed51a5aec9a540c90de45a6b9cb
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vyacheslav Cherkashin [Tue, 26 Aug 2014 08:16:26 +0000 (12:16 +0400)]
[FIX] stop profiling when children terminate
Change-Id: Ie603aa3445fb20c2543f2bbea39eabce618c67d9
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 21 Aug 2014 14:06:18 +0000 (18:06 +0400)]
[FIX] preventing sockets inheritance on exec
Change-Id: Ie63d09ff5ffcead950d9f26711fdfa19791d330a
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vitaliy Cherepanov [Wed, 20 Aug 2014 16:49:16 +0000 (20:49 +0400)]
[FIX] feature value transition to ld preloaded lib
Change-Id: Ic5b075cf2948d2eafda5bb8cedcb5b561dacad00
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Wed, 20 Aug 2014 08:35:09 +0000 (12:35 +0400)]
[FIX] network permission
add debugging_network rw rule (smack permissions)
Change-Id: Idd6ca95d25e7485ad7e54053c29f4d6e03f14790
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
woojin [Sat, 9 Aug 2014 10:56:53 +0000 (19:56 +0900)]
add readlink command : to get value of symbolic link or canonical file name
Change-Id: I026ff0ab08c8efbd56d9095d162ea2b8a96054c5
Signed-off-by: woojin <woojin2.jung@samsung.com>
Alexander Aksenov [Wed, 6 Aug 2014 16:23:12 +0000 (20:23 +0400)]
[FIX] generate_maps_inst_msg() mem size eval
Change-Id: Id4618d475eb22816e62e293615ea87f1949d4c16
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vitaliy Cherepanov [Thu, 31 Jul 2014 12:35:55 +0000 (16:35 +0400)]
[FIX] msg mapping list
fix problem with ld probes missing
probes called before mapping message were not collected
Change-Id: Iaecf08fb52b253c51506796ad66c614ea4f5d88a
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Mon, 21 Jul 2014 16:44:24 +0000 (20:44 +0400)]
[PROTO] add MSG_GET_PROCESS_ADD_INFO
currently to get cmd_line
Change-Id: I8dcd0ac89ce45b7d8540533f384e5547f77990e8
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vasiliy Ulyanov [Mon, 21 Jul 2014 09:18:45 +0000 (13:18 +0400)]
[FIX] include paths (capi-system-*)
Change-Id: I094281dacc37b1956c8386136372dd6b9c20e969
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Dmitry Kovalenko [Mon, 21 Jul 2014 07:39:03 +0000 (00:39 -0700)]
Merge "[REFACTOR] Move start.sh/stop.sh from swap-modules" into prod_rel
Vasiliy Ulyanov [Mon, 21 Jul 2014 07:24:57 +0000 (11:24 +0400)]
[REFACTOR] Move start.sh/stop.sh from swap-modules
swap-modules commit:
beb4f68781174b046bd650311318369a9717ec8e
Change-Id: I9abff1126e84cd0bf126d6485bcd3667248f1e95
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Dmitry Kovalenko [Mon, 21 Jul 2014 06:17:12 +0000 (10:17 +0400)]
[FIX] Remove swap-module dependency for Kiran
Change-Id: I4ba1062195bf8a7767072a9feb7609cbb0e23db3
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Vitaliy Cherepanov [Fri, 18 Jul 2014 12:41:48 +0000 (16:41 +0400)]
[FIX] binary message daemon fault
Change-Id: Iaef56f9e2d3829277b44e3fe67b902ed54027a5e
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vasiliy Ulyanov [Mon, 14 Jul 2014 11:48:53 +0000 (15:48 +0400)]
[FIX] Increase buffer size
Change-Id: Ib1551a36f41e57d2c2eba03eb0160ef76d0aecf3
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
Vitaliy Cherepanov [Tue, 15 Jul 2014 05:55:16 +0000 (09:55 +0400)]
[FEATURE] internal external call instrumentation
if the library is instrumented all ld probes for this lib will be packed
if regular feture is enabled but always feature is not.
Change-Id: I27225519ec5aaa222d021835eab516d4d72910e7
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Thu, 10 Jul 2014 09:12:41 +0000 (13:12 +0400)]
[PROTO] add MSG_WARNING support
MSG_WARNING support between daemon and LD_PRELOADed application
log output format changed
Change-Id: I80c08e2412daea29b51df4897530f32787a0280a
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Thu, 10 Jul 2014 09:09:44 +0000 (13:09 +0400)]
[PROTO] MSG_SYSTEM: disk rw sectors changed to rw bytes
Change-Id: Ie36ddd41560034174f08dde5cf683af6aa1afc72
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Vitaliy Cherepanov [Fri, 4 Jul 2014 11:47:39 +0000 (15:47 +0400)]
[FIX] MSG_BINARY_INFO message
pack binary type 0xffffffff if file does not exist
Change-Id: I176315a6b5022b35bfd3d4a548d0938aa173f714
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>