platform/core/system/swap-manager.git
9 years ago[FIX] prevent issue 09/33809/2 master
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>
9 years ago[FIX] build for Tizen 2.4 26/33726/2
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>
9 years ago[FIX] spank spank 57/31757/3
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>
9 years ago[FIX] MSG_BINARY_INFO daemon crash if file type is not ELF 47/32047/3
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>
9 years ago[CLEAN] remove da_command 49/30449/1 prod_rel
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>
9 years agoRevert "[IMPROVE] Implement different kind of probes" 73/30273/2
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

9 years agoMerge "[IMPROVE] Implement different kind of probes" into prod_rel
Dmitry Kovalenko [Thu, 13 Nov 2014 12:21:29 +0000 (04:21 -0800)]
Merge "[IMPROVE] Implement different kind of probes" into prod_rel

9 years ago[IMPROVE] Implement different kind of probes 73/25473/9
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>
9 years ago[FIX] prevent issue 58/30258/1
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>
9 years ago[FIX] prevent 64/30164/1
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>
9 years ago[FIX] prevent 18/30018/1 Tizen_SDK_2.3
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>
9 years ago[FIX] smack access to screenshots 89/29989/4
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>
9 years ago[FIX] remove (clean) log file on daemon start 51/29751/1
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>
9 years ago[FIX] prevent issue 48/29748/1
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>
9 years ago[FIX] prevent issue 41/29741/1
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>
9 years ago[FIX] Change SMACK64IPOUT flag (* -> @) 06/29706/1
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>
9 years ago[FIX] redirect stderr to /dev/null 81/29681/1
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>
9 years ago[FIX] MD5 sum in MSG_BINARY_ACK 00/29600/2
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>
9 years ago[STYLE] add spaces after "=" in ErrorCode enum 82/29182/4
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>
9 years ago[CLEAN] remove swap_ks_manager from start/stop scripts 15/28815/3
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>
9 years ago[FIX] error codes ack 79/29179/1
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>
9 years ago[FIX] prevent issues 03/29103/2
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>
9 years ago[FIX] prevent issues 46/28946/5
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>
9 years ago[IMPROVE] add da_command killvalgrind to kill valgrind process. 27/28827/2
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>
9 years ago[LICENSE] Move APLv2 license file to LICENSE 03/28703/3
Dmitry Kovalenko [Tue, 14 Oct 2014 09:29:28 +0000 (13:29 +0400)]
[LICENSE] Move APLv2 license file to LICENSE

Change-Id: I85f88e549934a57adefc2e51fc3656c4bd2ed22c

9 years ago[FIX] MSG_GET_PROCESS_ADD_INFO_ACK error code 65/28665/1
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>
9 years ago[FIX] prevent issues 14/28614/1
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>
9 years ago[FIX] prevent issues 11/28211/6
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>
9 years ago[FIX] replay event in start message 07/28107/2
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>
9 years ago[FIX] sync start/stop target communication thread 96/27896/2
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>
9 years ago[FIX] replay events 35/27735/1
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>
9 years ago[FIX] CPU load value less then application cpu load 72/27672/2
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>
9 years ago[FIX] deadlock 46/27346/1
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>
9 years ago[FIX] Prevent issue 70/27070/3
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>
9 years ago[FIX] calculation app_type 49/27049/1
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>
9 years ago[REFACTOR] encapsulate target struct (part 1) 33/27033/2
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>
9 years ago[FIX] Prevent issue 31/27031/1
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>
9 years ago[REFACTOR] remove unused code from sys_stat.* 03/24403/2
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>
9 years ago[REFACTOR] remove unused code from utils.* 90/24390/2
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>
9 years ago[FIX] stop profiling when children terminate (Tizen app) 04/26904/1
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>
9 years ago[IMPROVE] Protocol: add Windows-style path support 89/26589/2
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>
9 years ago[FIX] stop profiling when children terminate 43/26543/2
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>
9 years ago[FIX] preventing sockets inheritance on exec 93/26393/3
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>
9 years ago[FIX] feature value transition to ld preloaded lib 33/26333/1
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>
9 years ago[FIX] network permission 83/26283/2
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>
9 years agoadd readlink command : to get value of symbolic link or canonical file name 42/26142/1
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>
9 years ago[FIX] generate_maps_inst_msg() mem size eval 36/25536/1
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>
9 years ago[FIX] msg mapping list 26/25226/2
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>
9 years ago[PROTO] add MSG_GET_PROCESS_ADD_INFO 80/24780/3
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>
9 years ago[FIX] include paths (capi-system-*) 60/24760/1
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>
9 years agoMerge "[REFACTOR] Move start.sh/stop.sh from swap-modules" into prod_rel
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

9 years ago[REFACTOR] Move start.sh/stop.sh from swap-modules 56/24756/1
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>
9 years ago[FIX] Remove swap-module dependency for Kiran 43/24743/1
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>
9 years ago[FIX] binary message daemon fault 13/24713/1
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>
9 years ago[FIX] Increase buffer size 42/24442/2
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>
9 years ago[FEATURE] internal external call instrumentation 67/24467/4
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>
9 years ago[PROTO] add MSG_WARNING support 10/24310/3
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>
9 years ago[PROTO] MSG_SYSTEM: disk rw sectors changed to rw bytes 09/24309/2
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>
9 years ago[FIX] MSG_BINARY_INFO message 35/23935/4
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>
9 years ago[CLEAN] Remove capi-telephony-* build dependency 57/24357/1
Vasiliy Ulyanov [Fri, 11 Jul 2014 06:36:33 +0000 (10:36 +0400)]
[CLEAN] Remove capi-telephony-* build dependency

Change-Id: I0905dd79ce24a53e84b87482fffc391463c605af
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
9 years ago[FIX] da_manager smack permitions 60/23560/1
Vitaliy Cherepanov [Fri, 27 Jun 2014 11:13:07 +0000 (15:13 +0400)]
[FIX] da_manager smack permitions

add network permition to manifest

Change-Id: I9677adbdd54c2a5e79736946e893790bbc68685a
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[IMPROVE] Implement find_pid_from_path without pidof 99/23499/2
Vasiliy Ulyanov [Thu, 26 Jun 2014 14:14:42 +0000 (18:14 +0400)]
[IMPROVE] Implement find_pid_from_path without pidof

Change-Id: I8ef8f6c86be5fd0aec7156ad91d54e8b486b0ed4
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
9 years ago[IMPROVE] increase max libs count to instrument 79/23479/1
Vitaliy Cherepanov [Thu, 26 Jun 2014 08:34:49 +0000 (12:34 +0400)]
[IMPROVE] increase max libs count to instrument

Change-Id: Idbda8df05b9ab89dd55c4f1207786eec88b66d71
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[FIX] Reduce buffer size for low-mem devices (Kiran) 23/23323/2
Vasiliy Ulyanov [Mon, 23 Jun 2014 12:39:04 +0000 (16:39 +0400)]
[FIX] Reduce buffer size for low-mem devices (Kiran)

Change-Id: I251aa2a136b25045bca5d0daa620de453b50b335
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
9 years ago[FEATURE] Add Kiran input devices support 22/23322/2
Vasiliy Ulyanov [Mon, 23 Jun 2014 12:36:42 +0000 (16:36 +0400)]
[FEATURE] Add Kiran input devices support

- keys: sci-keypad, ist30xx_ts_tinput
- touchscreen:: ist30xx_ts_input

Change-Id: I24d102d597fa232b4693b9649b11a831f7b8bfb5
Signed-off-by: Vasiliy Ulyanov <v.ulyanov@samsung.com>
9 years ago[FIX] unload modules on EFL instrumentation 06/23106/1
Vitaliy Cherepanov [Tue, 17 Jun 2014 14:38:03 +0000 (18:38 +0400)]
[FIX] unload modules on EFL instrumentation

add O_CLOEXEC param on open tasks dev (fopen(..., "e"))

Change-Id: I113e8a8cde4f9ba2d32e279aeddc3d97d84c60e8
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[PROTO] new MSG_SYSTEM format message 10/21610/10
Vitaliy Cherepanov [Fri, 23 May 2014 11:26:16 +0000 (15:26 +0400)]
[PROTO] new MSG_SYSTEM format message

Change-Id: Iea6b8ec87dc072cbbdbbf81bc2174a3b79dec9c8
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[IMPROVE] Build: add modules and probe to requires 66/20266/4
Alexander Aksenov [Wed, 30 Apr 2014 08:45:58 +0000 (12:45 +0400)]
[IMPROVE] Build: add modules and probe to requires

Change-Id: I357903e4394941a18eadd63f872dbf3a37816e91
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
9 years ago[FIX] daemon fail on host disconnection while instrumentation 40/21440/1
Vitaliy Cherepanov [Tue, 20 May 2014 17:00:46 +0000 (21:00 +0400)]
[FIX] daemon fail on host disconnection while instrumentation

splice fails to disconnected socket

Change-Id: Ie8a44a52c81253c80708e1a639c2cdc0a723eb31
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[FIX] add da_manager CPU load info to MSG_SYSTEM 91/21391/1
Vitaliy Cherepanov [Mon, 19 May 2014 15:28:23 +0000 (19:28 +0400)]
[FIX] add da_manager CPU load info to MSG_SYSTEM

Change-Id: I75d23f4b508f1af04190d4368f40cc02631d090c
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years agoMerge "[FIX] inherited fds leaking" into prod_rel
Dmitry Kovalenko [Wed, 14 May 2014 05:16:31 +0000 (22:16 -0700)]
Merge "[FIX] inherited fds leaking" into prod_rel

9 years ago[FIX] inherited fds leaking 96/20896/1
Vitaliy Cherepanov [Tue, 13 May 2014 13:44:06 +0000 (17:44 +0400)]
[FIX] inherited fds leaking

Add O_CLOEXEC flag on open

Change-Id: I492228f2efd2a66b4d42d5923f0b40b198d398db
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
9 years ago[FIX] LD_PRELOAD for 3 app type (common app) 94/20894/1
Vitaliy Cherepanov [Tue, 13 May 2014 13:24:03 +0000 (17:24 +0400)]
[FIX] LD_PRELOAD for 3 app type (common app)

Change-Id: I09138e7792ee0deec8f302301041b0bad92f4ac9
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] start profiling time value in MSG_START_ACK 97/19997/2
Vitaliy Cherepanov [Thu, 24 Apr 2014 08:52:16 +0000 (12:52 +0400)]
[FIX] start profiling time value in MSG_START_ACK

Change-Id: I7b9d07d514ca79c175261d5e5c3b9f9e0a8acc55
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] build. (remove memory leaks) 41/19941/2
Vitaliy Cherepanov [Wed, 23 Apr 2014 08:52:45 +0000 (12:52 +0400)]
[FIX] build. (remove memory leaks)

fix for:
    5450910a130e257ba698906eec12abd73bcc9090
    Idfe22b4ac76a8a1c23101361d6ce2a1758e1c05c

Change-Id: Ib8074401dd39b47f922d70b77f50f2e60aef70c6
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] remove memory leaks 14/19614/1
Vitaliy Cherepanov [Wed, 16 Apr 2014 16:07:55 +0000 (20:07 +0400)]
[FIX] remove memory leaks

add memory debug system and fix old memory leak

Change-Id: Idfe22b4ac76a8a1c23101361d6ce2a1758e1c05c
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years agoRevert "[FEATURE] Implement kernel -> user connection" 93/18893/1
Alexander Aksenov [Wed, 2 Apr 2014 11:03:36 +0000 (15:03 +0400)]
Revert "[FEATURE] Implement kernel -> user connection"

This reverts commit bf21f0426fe844a434b929c90929052fef518052.

Change-Id: I0412d700df197fcd6bb5c2d4a868080ffa92d67c
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years agoRevert "[IMPROVE] Implement freezing/unfreezing apps" 92/18892/1
Alexander Aksenov [Wed, 2 Apr 2014 11:03:26 +0000 (15:03 +0400)]
Revert "[IMPROVE] Implement freezing/unfreezing apps"

This reverts commit 12530133d6e0236630a10c8db36f4f0ea40cfdfc.

Change-Id: I0f04f8f49eed51fc8ddcb83dc0152811a0f20a22
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years agoRevert "[FIX] Working w/o netlink" 91/18891/1
Alexander Aksenov [Wed, 2 Apr 2014 11:02:47 +0000 (15:02 +0400)]
Revert "[FIX] Working w/o netlink"

This reverts commit f00d555b1a09da91926c4cf32cb498a2a12b5e4c.

Change-Id: I32b6f6868712456fa6b1138df1cbbcdf9b26ee76
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years agoRevert "[FIX] Working w/o freezer subgroup" 90/18890/1
Alexander Aksenov [Wed, 2 Apr 2014 11:02:12 +0000 (15:02 +0400)]
Revert "[FIX] Working w/o freezer subgroup"

This reverts commit 9e2cd58931d6e70c3c58ad0336c6f7595301be87.

Change-Id: I74774ac6c8b650660fad9fc4f4b02bd38fb3db26
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[FIX] MSG_TERMINATE 14/15714/4
Vitaliy Cherepanov [Mon, 27 Jan 2014 13:11:43 +0000 (17:11 +0400)]
[FIX] MSG_TERMINATE

move MSG_TERMINATE generate to kernel

Change-Id: I683777c5fce0db90658b0335d0f9aee3b9fcf991
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[IMPROVE] improve debug. add line number to debug message 50/17650/2
Vitaliy Cherepanov [Fri, 7 Mar 2014 09:02:39 +0000 (13:02 +0400)]
[IMPROVE] improve debug. add line number to debug message

Change-Id: Id7b6c32888336abf304db8c30454c42d767ce353
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[IMPROVE] improve write_to_buf error message 48/17648/3
Vitaliy Cherepanov [Fri, 7 Mar 2014 08:51:27 +0000 (12:51 +0400)]
[IMPROVE] improve write_to_buf error message

print additional parmeters in LOGE message

Change-Id: I47add597227e4f044ec659cc482238585d090346
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[IMPROVE] add write_to_buf check result 45/17645/2
Vitaliy Cherepanov [Fri, 7 Mar 2014 08:43:21 +0000 (12:43 +0400)]
[IMPROVE] add write_to_buf check result

    for all write_to_buf calls add LOGE messages on fail

Change-Id: Iafeafa6411f149da7b79a1859f948928404e6f76
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] Remove no-op assignments 21/16021/3
Dmitry Bogatov [Fri, 31 Jan 2014 08:08:14 +0000 (12:08 +0400)]
[FIX] Remove no-op assignments

Change-Id: I20cb99efb31c4e2903239a5ec9a65cc3061f6429
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
10 years agoRemove redundant NULL check 20/16020/2
Dmitry Bogatov [Fri, 31 Jan 2014 07:52:20 +0000 (11:52 +0400)]
Remove redundant NULL check

Change-Id: I7b2d69650bb1f2d7bcf90e3cb409e54493403e46
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
10 years agoMismatched resource deallocation 19/16019/2
Dmitry Bogatov [Fri, 31 Jan 2014 07:33:21 +0000 (11:33 +0400)]
Mismatched resource deallocation

Change-Id: I104a8c1cbbfe583969db1a5321654de77150997a
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
10 years agoMemory leak in error branch 18/16018/2
Dmitry Bogatov [Fri, 31 Jan 2014 07:32:42 +0000 (11:32 +0400)]
Memory leak in error branch

Change-Id: I9df22010dc8498fa522a2b6b32a61fdf40117b8e
Signed-off-by: Dmitry Bogatov <d.bogatov@samsung.com>
10 years ago[FIX] Working w/o freezer subgroup 59/18359/3
Alexander Aksenov [Tue, 18 Mar 2014 12:00:00 +0000 (16:00 +0400)]
[FIX] Working w/o freezer subgroup

Change-Id: I31dc64a889453eae654cbe0979c6f5760ffe0f46
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[IMPROVE] Implement system-wide instrumentation 52/16752/2
Alexander Aksenov [Mon, 24 Feb 2014 12:33:24 +0000 (16:33 +0400)]
[IMPROVE] Implement system-wide instrumentation

Now when we set app type to APP_RUNNING, empty path can be passed

Change-Id: I82f076662597dbfa5481bb85b90398b4d6ebcf98
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[FIX] Working w/o netlink 80/17380/3
Alexander Aksenov [Thu, 6 Mar 2014 15:35:23 +0000 (19:35 +0400)]
[FIX] Working w/o netlink

Change-Id: I40278c470d68fc4fd30267cb21a63af81a5c36df
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years agoMerge "[IMPROVE] Implement freezing/unfreezing apps"
Vyacheslav Cherkashin [Thu, 27 Feb 2014 13:16:48 +0000 (05:16 -0800)]
Merge "[IMPROVE] Implement freezing/unfreezing apps"

10 years agoMerge "[FEATURE] Implement kernel -> user connection"
Vyacheslav Cherkashin [Thu, 27 Feb 2014 12:55:12 +0000 (04:55 -0800)]
Merge "[FEATURE] Implement kernel -> user connection"

10 years ago[IMPROVE] Implement freezing/unfreezing apps 01/15801/4
Alexander Aksenov [Tue, 28 Jan 2014 12:19:32 +0000 (16:19 +0400)]
[IMPROVE] Implement freezing/unfreezing apps

Change-Id: I84628cab91cae8c5f65b274e910e017f751ff72d
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[FEATURE] Implement kernel -> user connection 21/15621/4
Alexander Aksenov [Thu, 23 Jan 2014 12:04:02 +0000 (16:04 +0400)]
[FEATURE] Implement kernel -> user connection

Based on netlink

Change-Id: If2de08afc34d01c1616155770e3236d9adc3fefd
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[IMPROVE] increase max number of functions in lib 81/15581/1
Nikita Kalyazin [Thu, 23 Jan 2014 15:01:06 +0000 (19:01 +0400)]
[IMPROVE] increase max number of functions in lib

Change-Id: I3d711038ce883effdf30135af9ccf94e710f7168
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
10 years ago[PROTO] add handling of emtpy PID string 72/15572/3
Nikita Kalyazin [Thu, 23 Jan 2014 11:49:20 +0000 (15:49 +0400)]
[PROTO] add handling of emtpy PID string

Empty PID string means no filtering by PID is needed.

Change-Id: Id593504d59db4a3fe53c4d3d8aa62be235027219
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
10 years ago[FEATURE] web app support 41/15541/1
Nikita Kalyazin [Wed, 22 Jan 2014 14:16:41 +0000 (18:16 +0400)]
[FEATURE] web app support

Naive implementation of launch/kill web app (type 4).

Change-Id: Id047a329199b15a7992b94e59d0cbcbc3d7c4e0b
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
10 years ago[REFACTOR] split system info to separate files 18/14618/8
Nikita Kalyazin [Wed, 8 Jan 2014 17:25:59 +0000 (21:25 +0400)]
[REFACTOR] split system info to separate files

Put the following to new files:
 - vconf related stuff;
 - system_info related stuff;
 - camera count obtaining;
 - smack stuff.

Change-Id: I9811d66404d068e2495253a0f6f73a3938aefe2a
Signed-off-by: Nikita Kalyazin <nkalyazin@gmail.com>
10 years ago[CLEAN] remove unused variables 17/14617/7
Nikita Kalyazin [Wed, 1 Jan 2014 19:19:29 +0000 (23:19 +0400)]
[CLEAN] remove unused variables

Change-Id: Iab39490f352c0596167f1a1786a29b47fdd00769
Signed-off-by: Nikita Kalyazin <nkalyazin@gmail.com>