platform/core/system/swap-manager.git
10 years ago[FIX] replay event sequence: double free
Nikita Kalyazin [Sat, 5 Oct 2013 16:09:40 +0000 (20:09 +0400)]
[FIX] replay event sequence: double free

This caused daemon crash when running with no replay enabled if there
was a launch with replay enabled.

Change-Id: Idf1628db3fdd65b6d0df418db07d2c3970b09e29
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
10 years ago[FIX] time parsing (fix sec/nsec order)
Nikita Kalyazin [Sat, 5 Oct 2013 16:08:52 +0000 (20:08 +0400)]
[FIX] time parsing (fix sec/nsec order)

Change-Id: I6e24c39ce9ad53aa7eef6a3bdc2261d30944df23
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
10 years ago[IMPROVE] Write to sysfs implement
Alexander Aksenov [Wed, 2 Oct 2013 13:53:59 +0000 (17:53 +0400)]
[IMPROVE] Write to sysfs implement

Create new descriptor (user_ev_fd) in manager struct, now it points to
/sys/kernel/debug/swap/writer/raw

Change-Id: I38a06ae83d80b8856f168b30279678dddccfc177
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[PROTO] send MSG_STOP_ACK before everything stops
Nikita Kalyazin [Thu, 3 Oct 2013 06:19:47 +0000 (10:19 +0400)]
[PROTO] send MSG_STOP_ACK before everything stops

MSG_STOP_ACK is sent right after MSG_STOP received.
If an error occurs during stop it is reported via MSG_ERROR.

Change-Id: Ia012b4c27bd77a80ea0e939e6c4979ab4c186e81
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
10 years ago[FIX] replay for emulator
Anastasia Lyupa [Wed, 2 Oct 2013 08:52:27 +0000 (12:52 +0400)]
[FIX] replay for emulator

Change-Id: Ide9da0519b200e45965546f621959f3db5422dcd
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
10 years ago[FIX] Closing swap_driver descriptors
Alexander Aksenov [Fri, 27 Sep 2013 12:44:29 +0000 (16:44 +0400)]
[FIX] Closing swap_driver descriptors

Now they are closed only in terminate() function

Change-Id: Ibfd480b68dd97d95b6e371d247db85049a7386c9
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[FIX] screenshot dir creation warning
Nikita Kalyazin [Thu, 26 Sep 2013 15:40:49 +0000 (19:40 +0400)]
[FIX] screenshot dir creation warning

Change-Id: I801a8de72727b963bedadf77be766f6401b82529
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
10 years ago[IMPROVE] Add ioctl wake up command
Alexander Aksenov [Thu, 26 Sep 2013 13:34:47 +0000 (17:34 +0400)]
[IMPROVE] Add ioctl wake up command

Prevents joining sleeping thread

Change-Id: Ie414de362d8e532a6711acde935ca4306a92b1be
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[FIX] Close file descriptors when removing modules
Alexander Aksenov [Wed, 25 Sep 2013 10:19:33 +0000 (14:19 +0400)]
[FIX] Close file descriptors when removing modules

Was corrupted at 48e94a274ccbfdb1b45b007d85dd32722fe1e4ac

Change-Id: Ic29a52c991706e29f224d91cfc323ad05cbd685b
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
10 years ago[FIX] remove screenshot directory prior to creation
Nikita Kalyazin [Wed, 18 Sep 2013 08:23:44 +0000 (12:23 +0400)]
[FIX] remove screenshot directory prior to creation

Solves this issue (which actually is a warning):
[ERR] (start_profiling):Failed to create directory for screenshot : errno(17)

Change-Id: Ic7c4dbaca43b7dd58c5583ce3aff81f6ae9144b1
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
10 years ago[FIX] daemon cannot finish
Vitaliy Cherepanov [Mon, 16 Sep 2013 10:04:32 +0000 (14:04 +0400)]
[FIX] daemon cannot finish

if controll and data sockets are connect
daemon cannot finish correctly if phone display is off
next errors occurs
[ERR] (get_system_info):Failed to update system cpu data
[ERR] (samplingThread):Cannot get system info

Change-Id: Ic19127d3461434d81daa7c06ee1eee6d04d00398
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] manager update after tizen 2.2
Vitaliy Cherepanov [Wed, 4 Sep 2013 13:24:50 +0000 (17:24 +0400)]
[FIX] manager update after tizen 2.2

- fix prevent violation (commit c8594519fe420b787dadcda0d1767f29569e66ec)

Change-Id: If064e7f790308237a755a192717ac74b9031e047
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] manager update after tizen 2.2 (54b4)
Vitaliy Cherepanov [Wed, 4 Sep 2013 16:14:59 +0000 (20:14 +0400)]
[FIX] manager update after tizen 2.2 (54b4)

    - terminate only first target process (commit
      54b4cfc4978803c22f8795b2dd14c26c1aa582a9)
    - related to https://bugs.tizendev.org/jira/browse/N_SE-47407
    - If non-main process of multi-process application (ex. Internet)
    gets terminated before main process, unexpected error
    +occurs.
    - When manager gets stop message from host, deliver stop message
    only to main process.

Change-Id: Id1caf4a4c07c4304ab531bb8fba583dd7cc912bf
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] MSG_PROCESS_INFO: zero low_address and high_address
Vitaliy Cherepanov [Wed, 4 Sep 2013 12:22:20 +0000 (16:22 +0400)]
[FIX] MSG_PROCESS_INFO: zero low_address and high_address

- derefence symbolic link for exec path
- try to derefence <path>.exe then try <path>

Change-Id: If16490f743cec05083ec827aa3b797d7b39abeda
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] absence msg of status files (video, audio, etc) become a warning
Vitaliy Cherepanov [Thu, 5 Sep 2013 09:25:29 +0000 (13:25 +0400)]
[FIX] absence msg of status files (video, audio, etc) become a warning

Change-Id: Ie4fd5063977f92d533c019a682c87e8d7a38bbb1
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] manager update after tizen 2.2 (ee46)
Vitaliy Cherepanov [Wed, 4 Sep 2013 14:31:33 +0000 (18:31 +0400)]
[FIX] manager update after tizen 2.2 (ee46)

fix prevent minor issues (commit  ee46f491cdd965beb2a93d93e69e3a9804de0f31)

Change-Id: Iad191d14204e3cf7773991cf51beff7668e77e66
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] broken pipe or unclosed pipe on client extraordinary disconnect
Vitaliy Cherepanov [Wed, 4 Sep 2013 08:58:37 +0000 (12:58 +0400)]
[FIX] broken pipe or unclosed pipe on client extraordinary disconnect

 - add cleanup for transfer_thread which close pipes
on thread terminate or exit from thread function on some internal
errors

Change-Id: I99074ae909bbb315eca2ce3bfcded50603345103
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
10 years ago[FIX] premature closing descriptors
Nikita Kalyazin [Mon, 2 Sep 2013 08:31:26 +0000 (12:31 +0400)]
[FIX] premature closing descriptors

If descriptors are closed when sampling thread exits they are not open
in the next tracing session.

Change-Id: Id21632c625e89def8b239538ca2258ea98bcf316
Signed-off-by: Nikita Kalyazin <n.kalyazin@samsung.com>
10 years ago[FIX] add 'b' type to check
Nikita Kalyazin [Wed, 28 Aug 2013 06:50:06 +0000 (10:50 +0400)]
[FIX] add 'b' type to check

10 years ago[FIX] wrong function call
Nikita Kalyazin [Wed, 28 Aug 2013 06:49:34 +0000 (10:49 +0400)]
[FIX] wrong function call

Fix for e9758a9c9094acba1217dc6419cd346b5c473be7

10 years ago[FIX] Enforce usage of debug binary for 'get_build_dir'
Dmitry Bogatov [Tue, 27 Aug 2013 13:43:55 +0000 (17:43 +0400)]
[FIX] Enforce usage of debug binary for 'get_build_dir'

10 years ago[FIX] wrong app arguments strip
Nikita Kalyazin [Tue, 20 Aug 2013 05:42:34 +0000 (09:42 +0400)]
[FIX] wrong app arguments strip

Fix for 40fa9c37f665eb60442bf53ae5730f17ef6cda98.
If there are no arguments, invalid app path is returned.

10 years ago[FIX] wrong pid in log
Dmitry Bogatov [Mon, 19 Aug 2013 11:46:44 +0000 (15:46 +0400)]
[FIX] wrong pid in log

10 years ago[IMPROVE] move modules removing to terminate function
Dmitry Bogatov [Mon, 19 Aug 2013 05:16:23 +0000 (09:16 +0400)]
[IMPROVE] move modules removing to terminate function

10 years ago[IMPROVE] eliminate global variable
Dmitry Bogatov [Mon, 19 Aug 2013 05:16:22 +0000 (09:16 +0400)]
[IMPROVE] eliminate global variable

10 years ago[REFACTOR] set smack labels in separate function
Dmitry Bogatov [Mon, 19 Aug 2013 05:16:21 +0000 (09:16 +0400)]
[REFACTOR] set smack labels in separate function

10 years ago[REFACTOR] replace code with standard function
Dmitry Bogatov [Mon, 19 Aug 2013 05:16:20 +0000 (09:16 +0400)]
[REFACTOR] replace code with standard function

10 years ago[REFACTOR] split `targetEventHandler' into independent cases
Dmitry Bogatov [Mon, 19 Aug 2013 05:16:19 +0000 (09:16 +0400)]
[REFACTOR] split `targetEventHandler' into independent cases

10 years ago[IMPROVE] call cleanup functions on signals
Dmitry Bogatov [Mon, 19 Aug 2013 05:16:18 +0000 (09:16 +0400)]
[IMPROVE] call cleanup functions on signals

10 years ago[REFACTOR] make function naming more consistent
Dmitry Bogatov [Mon, 19 Aug 2013 05:16:17 +0000 (09:16 +0400)]
[REFACTOR] make function naming more consistent

10 years ago[REFACTOR] improve function naming
Dmitry Bogatov [Mon, 19 Aug 2013 05:16:16 +0000 (09:16 +0400)]
[REFACTOR] improve function naming

10 years ago[REFACTOR] remove level of indentaion in `main'
Dmitry Bogatov [Mon, 19 Aug 2013 05:16:15 +0000 (09:16 +0400)]
[REFACTOR] remove level of indentaion in `main'

All error logging is already performed in initializeManager.

10 years ago[IMPROVE] run app with arguments
Nikita Kalyazin [Mon, 19 Aug 2013 06:57:57 +0000 (10:57 +0400)]
[IMPROVE] run app with arguments

It is possible to pass exe path with arguments, e.g:
"/usr/bin/expedite -e fb -t 1 -c 10".
They are stripped by strip_args() to check if the executable exists.

10 years ago[FIX] daemon terminate on control msg protocol errors fix
Vitaliy Cherepanov [Tue, 13 Aug 2013 07:43:00 +0000 (11:43 +0400)]
[FIX] daemon terminate on control msg protocol errors fix

10 years ago[IMPROVE] add user space inst check in parse start message
Vitaliy Cherepanov [Mon, 12 Aug 2013 13:40:08 +0000 (17:40 +0400)]
[IMPROVE] add user space inst check in parse start message

10 years ago[FIX] free allocated memory if parse user space fail
Vitaliy Cherepanov [Mon, 12 Aug 2013 08:17:42 +0000 (12:17 +0400)]
[FIX] free allocated memory if parse user space fail

10 years ago[FIX] feature check (forgotten function sampling)
Nikita Kalyazin [Sat, 10 Aug 2013 08:02:40 +0000 (12:02 +0400)]
[FIX] feature check (forgotten function sampling)

fix to 5648cb29b512d81025a86fd4b1cd115ae7e6daec

10 years ago[IMPROVE] message config check add
Vitaliy Cherepanov [Fri, 9 Aug 2013 13:06:54 +0000 (17:06 +0400)]
[IMPROVE] message config check add

10 years agoMerge branch 'swap_protocol' of 106.109.8.71:/srv/git/sdk/dynamic-analysis-manager...
Vitaliy Cherepanov [Fri, 9 Aug 2013 07:36:55 +0000 (11:36 +0400)]
Merge branch 'swap_protocol' of 106.109.8.71:/srv/git/sdk/dynamic-analysis-manager into swap_protocol

10 years ago[IMPROVE] remove unnecessary file descriptor checking
Vitaliy Cherepanov [Fri, 9 Aug 2013 07:34:46 +0000 (11:34 +0400)]
[IMPROVE] remove unnecessary file descriptor checking

10 years ago[FIX] app start time received in usecs
Nikita Kalyazin [Thu, 8 Aug 2013 14:35:19 +0000 (18:35 +0400)]
[FIX] app start time received in usecs

10 years agoMerge branch 'swap_protocol' of 106.109.8.71:/srv/git/sdk/dynamic-analysis-manager...
Vitaliy Cherepanov [Thu, 8 Aug 2013 14:50:37 +0000 (18:50 +0400)]
Merge branch 'swap_protocol' of 106.109.8.71:/srv/git/sdk/dynamic-analysis-manager into swap_protocol

10 years ago[IMPROVE] message application information check add
Vitaliy Cherepanov [Thu, 8 Aug 2013 14:43:43 +0000 (18:43 +0400)]
[IMPROVE] message application information check add

10 years ago[FIX] app start time received in usecs
Nikita Kalyazin [Thu, 8 Aug 2013 14:35:19 +0000 (18:35 +0400)]
[FIX] app start time received in usecs

10 years agoMerge branch 'swap_protocol' of 106.109.8.71:/srv/git/sdk/dynamic-analysis-manager...
Vitaliy Cherepanov [Wed, 7 Aug 2013 15:26:23 +0000 (19:26 +0400)]
Merge branch 'swap_protocol' of 106.109.8.71:/srv/git/sdk/dynamic-analysis-manager into swap_protocol

10 years ago[PROTO] add disk reads and writes to sytem message
Vitaliy Cherepanov [Wed, 7 Aug 2013 15:25:39 +0000 (19:25 +0400)]
[PROTO] add disk reads and writes to sytem message

10 years ago[IMPROVE] return 0 if no video status file
Nikita Kalyazin [Wed, 7 Aug 2013 13:58:30 +0000 (17:58 +0400)]
[IMPROVE] return 0 if no video status file

10 years ago[FIX] print_buf() info param type
Nikita Kalyazin [Wed, 7 Aug 2013 13:39:21 +0000 (17:39 +0400)]
[FIX] print_buf() info param type

10 years ago[FIX] forgotten header
Nikita Kalyazin [Wed, 7 Aug 2013 13:38:55 +0000 (17:38 +0400)]
[FIX] forgotten header

10 years ago[FIX] forgotten prototype in header
Nikita Kalyazin [Wed, 7 Aug 2013 13:38:30 +0000 (17:38 +0400)]
[FIX] forgotten prototype in header

10 years ago[FIX] wrong return type and comment
Nikita Kalyazin [Wed, 7 Aug 2013 13:38:03 +0000 (17:38 +0400)]
[FIX] wrong return type and comment

10 years ago[FIX] wrong return type
Nikita Kalyazin [Wed, 7 Aug 2013 13:37:37 +0000 (17:37 +0400)]
[FIX] wrong return type

10 years ago[FIX] video status fixed in system messages
Vitaliy Cherepanov [Wed, 7 Aug 2013 13:34:49 +0000 (17:34 +0400)]
[FIX] video status fixed in system messages

10 years ago[FIX] get value from file at first open in get_file_status
Vitaliy Cherepanov [Wed, 7 Aug 2013 11:04:01 +0000 (15:04 +0400)]
[FIX] get value from file at first open in get_file_status

10 years ago[FIX] build fix. printBuf undefined
Vitaliy Cherepanov [Wed, 7 Aug 2013 10:49:38 +0000 (14:49 +0400)]
[FIX] build fix. printBuf undefined

10 years agoMerge branch 'swap_protocol' of 106.109.8.71:/srv/git/sdk/dynamic-analysis-manager...
Vitaliy Cherepanov [Wed, 7 Aug 2013 08:00:10 +0000 (12:00 +0400)]
Merge branch 'swap_protocol' of 106.109.8.71:/srv/git/sdk/dynamic-analysis-manager into swap_protocol

10 years ago[IMPROVE] debug changes
Vitaliy Cherepanov [Wed, 7 Aug 2013 07:54:50 +0000 (11:54 +0400)]
[IMPROVE] debug changes

    - printBuf tell function name wich call it
    - fix parce debug

10 years ago[IMPROVE] flush_buf is always called with system trace period
Nikita Kalyazin [Wed, 7 Aug 2013 06:01:34 +0000 (10:01 +0400)]
[IMPROVE] flush_buf is always called with system trace period

10 years ago[IMPROVE] remove warning when no process to kill
Nikita Kalyazin [Tue, 6 Aug 2013 15:54:47 +0000 (19:54 +0400)]
[IMPROVE] remove warning when no process to kill

This is ok, if the application is not running.

10 years ago[FIX] segmentation fault (double free on disconnect)
Vitaliy Cherepanov [Tue, 6 Aug 2013 07:52:38 +0000 (11:52 +0400)]
[FIX] segmentation fault (double free on disconnect)

10 years ago[IMPROVE] get_device_network_type improve
Vitaliy Cherepanov [Mon, 5 Aug 2013 16:06:04 +0000 (20:06 +0400)]
[IMPROVE] get_device_network_type improve

10 years ago[FIX] fix segmentation fault on GetTargetInfo message
Vitaliy Cherepanov [Mon, 5 Aug 2013 15:54:02 +0000 (19:54 +0400)]
[FIX] fix segmentation fault on GetTargetInfo message

10 years ago[FIX] fix build with out DEVICE_ONLY cpp flag
Vitaliy Cherepanov [Fri, 2 Aug 2013 06:56:04 +0000 (10:56 +0400)]
[FIX] fix build with out DEVICE_ONLY cpp flag

10 years agoMerge branch 'swap_protocol' of 106.109.8.71:/srv/git/sdk/dynamic-analysis-manager...
Vitaliy Cherepanov [Thu, 1 Aug 2013 12:01:01 +0000 (16:01 +0400)]
Merge branch 'swap_protocol' of 106.109.8.71:/srv/git/sdk/dynamic-analysis-manager into swap_protocol

Conflicts:
daemon/sys_stat.c

10 years ago[IMPROVE] data files for generation MSG_SYSTEM are open permanetly
Vitaliy Cherepanov [Thu, 1 Aug 2013 11:44:25 +0000 (15:44 +0400)]
[IMPROVE] data files for generation MSG_SYSTEM are open permanetly

    - open files in init_system_file_descriptors
    - files descriptors are in daemon.fd structure

10 years ago[PROTO] flush buffer every time msg system is stored
Nikita Kalyazin [Thu, 1 Aug 2013 05:54:55 +0000 (09:54 +0400)]
[PROTO] flush buffer every time msg system is stored

10 years agoMerge branch 'swap_protocol' of ssh://106.109.8.71/srv/git/sdk/dynamic-analysis-manag...
Nikita Kalyazin [Tue, 30 Jul 2013 14:25:32 +0000 (18:25 +0400)]
Merge branch 'swap_protocol' of ssh://106.109.8.71/srv/git/sdk/dynamic-analysis-manager into swap_protocol

10 years ago[PROTO] implement new features layout
Nikita Kalyazin [Tue, 30 Jul 2013 14:23:25 +0000 (18:23 +0400)]
[PROTO] implement new features layout

10 years ago[STYLE] terminate_all_target: alignment
Nikita Kalyazin [Tue, 30 Jul 2013 14:22:27 +0000 (18:22 +0400)]
[STYLE] terminate_all_target: alignment

10 years ago[CLEAN] remove obsolete comments
Nikita Kalyazin [Tue, 30 Jul 2013 14:21:42 +0000 (18:21 +0400)]
[CLEAN] remove obsolete comments

10 years ago[FIX] add check on dynamic data in MSG_SYSTEM
Nikita Kalyazin [Tue, 30 Jul 2013 14:20:47 +0000 (18:20 +0400)]
[FIX] add check on dynamic data in MSG_SYSTEM

10 years ago[FIX] pack_* macros
Nikita Kalyazin [Tue, 30 Jul 2013 14:19:58 +0000 (18:19 +0400)]
[FIX] pack_* macros

10 years ago[FIX] audio status file name change (for MSG_SYSTEM)
Vitaliy Cherepanov [Tue, 30 Jul 2013 12:46:20 +0000 (16:46 +0400)]
[FIX] audio status file name change (for MSG_SYSTEM)

10 years ago[PROTO] MSG_SYSTEM format changed
Vitaliy Cherepanov [Mon, 29 Jul 2013 14:09:42 +0000 (18:09 +0400)]
[PROTO] MSG_SYSTEM format changed

10 years ago[FEATURE] get_partition_sector_size function added
Vitaliy Cherepanov [Mon, 29 Jul 2013 11:48:11 +0000 (15:48 +0400)]
[FEATURE] get_partition_sector_size function added

10 years agoMerge branch 'swap_protocol' of 106.109.8.71:/srv/git/sdk/dynamic-analysis-manager...
Vitaliy Cherepanov [Mon, 29 Jul 2013 10:13:23 +0000 (14:13 +0400)]
Merge branch 'swap_protocol' of 106.109.8.71:/srv/git/sdk/dynamic-analysis-manager into swap_protocol

10 years ago[FIX] file descriptor leak fix
Vitaliy Cherepanov [Mon, 29 Jul 2013 10:09:27 +0000 (14:09 +0400)]
[FIX] file descriptor leak fix

    - get_network_stat close desc added

10 years ago[CLEAN] remove useless debug (DEBUG_GSI)
Nikita Kalyazin [Mon, 29 Jul 2013 09:14:25 +0000 (13:14 +0400)]
[CLEAN] remove useless debug (DEBUG_GSI)

10 years ago[PROTO] implement new feature flags
Nikita Kalyazin [Mon, 29 Jul 2013 09:03:41 +0000 (13:03 +0400)]
[PROTO] implement new feature flags

10 years ago[PROTO] update da_command version
Nikita Kalyazin [Fri, 26 Jul 2013 14:11:42 +0000 (18:11 +0400)]
[PROTO] update da_command version

10 years ago[FIX] implement disk read/write, network send/recv data to message system
Vitaliy Cherepanov [Fri, 26 Jul 2013 08:16:38 +0000 (12:16 +0400)]
[FIX] implement disk read/write, network send/recv data to message system

10 years ago[FIX] actual shared mem value in MSG_SYSTEM message
Vitaliy Cherepanov [Thu, 25 Jul 2013 14:03:19 +0000 (18:03 +0400)]
[FIX] actual shared mem value in MSG_SYSTEM message

10 years ago[REFACTOR] add functions start_app_launch_timer stop_app_launch_timer
Vitaliy Cherepanov [Thu, 25 Jul 2013 09:22:24 +0000 (13:22 +0400)]
[REFACTOR] add functions start_app_launch_timer stop_app_launch_timer

10 years ago[FIX] build fix
Vitaliy Cherepanov [Wed, 24 Jul 2013 16:42:30 +0000 (20:42 +0400)]
[FIX] build fix

    - sendACKToHost function now is public

10 years agoMerge branch 'swap_protocol' of ssh://106.109.8.71/srv/git/sdk/dynamic-analysis-manag...
Nikita Kalyazin [Wed, 24 Jul 2013 10:00:47 +0000 (14:00 +0400)]
Merge branch 'swap_protocol' of ssh://106.109.8.71/srv/git/sdk/dynamic-analysis-manager into swap_protocol

10 years agoMerge branch 'swap_protocol' of ssh://106.109.8.71/srv/git/sdk/dynamic-analysis-manag...
Nikita Kalyazin [Wed, 24 Jul 2013 10:00:02 +0000 (14:00 +0400)]
Merge branch 'swap_protocol' of ssh://106.109.8.71/srv/git/sdk/dynamic-analysis-manager into swap_protocol

Conflicts:
daemon/daemon.c

10 years ago[CLEAN] sendACKCodeToHost function remove
Vitaliy Cherepanov [Wed, 24 Jul 2013 09:27:38 +0000 (13:27 +0400)]
[CLEAN] sendACKCodeToHost function remove

    - old string protocol function sendACKCodeToHost remove

10 years ago[PROTO] daemon exit criteria change
Vitaliy Cherepanov [Wed, 24 Jul 2013 09:04:26 +0000 (13:04 +0400)]
[PROTO] daemon exit criteria change

    - There should be only 2 cases, when the daemon exits:
    - 1. If there is no connection from host during 5 min after launch, then
      exit.
    - 2. If the host disconnected.
    - In all other cases daemon must report an error and continue the loop.
      proto discussion on 2013/07/18

10 years agoMerge branch 'swap_protocol' of ssh://106.109.8.71/srv/git/sdk/dynamic-analysis-manag...
Nikita Kalyazin [Wed, 24 Jul 2013 07:41:58 +0000 (11:41 +0400)]
Merge branch 'swap_protocol' of ssh://106.109.8.71/srv/git/sdk/dynamic-analysis-manager into swap_protocol

10 years agoMerge singleton fix related changes into swap_protocol
Nikita Kalyazin [Wed, 24 Jul 2013 07:37:02 +0000 (11:37 +0400)]
Merge singleton fix related changes into swap_protocol

Conflicts:
daemon/main.c

10 years ago[FIX] Fix more compiler warnings
Dmitry Bogatov [Tue, 23 Jul 2013 10:33:51 +0000 (14:33 +0400)]
[FIX] Fix more compiler warnings

10 years ago[STYLE] Remove all trailing whitespaces
Dmitry Bogatov [Tue, 23 Jul 2013 10:33:50 +0000 (14:33 +0400)]
[STYLE] Remove all trailing whitespaces

10 years ago[REFACTOR] Refactor epoll set initialization.
Dmitry Bogatov [Tue, 23 Jul 2013 10:33:49 +0000 (14:33 +0400)]
[REFACTOR] Refactor epoll set initialization.

10 years ago[REFACTOR] Refactor host server socket creation
Dmitry Bogatov [Tue, 23 Jul 2013 10:33:48 +0000 (14:33 +0400)]
[REFACTOR] Refactor host server socket creation

10 years ago[REFACTOR] Refactor target sockets and sigmask initialization
Dmitry Bogatov [Tue, 23 Jul 2013 10:33:47 +0000 (14:33 +0400)]
[REFACTOR] Refactor target sockets and sigmask initialization

10 years ago[FIX] Fix duplicate instance issue
Dmitry Bogatov [Tue, 23 Jul 2013 10:33:46 +0000 (14:33 +0400)]
[FIX] Fix duplicate instance issue

10 years ago[IMPROVE] Increase launch timeout
Dmitry Bogatov [Tue, 23 Jul 2013 10:33:45 +0000 (14:33 +0400)]
[IMPROVE] Increase launch timeout

Reason: 6 seconds are not enough on emulator,
huge value poses no treat as long application
actually launches.

10 years ago[CLEAN] Remove unused constant
Dmitry Bogatov [Tue, 23 Jul 2013 10:33:44 +0000 (14:33 +0400)]
[CLEAN] Remove unused constant

10 years ago[FIX] Fix compiler warnings
Dmitry Bogatov [Tue, 23 Jul 2013 10:33:43 +0000 (14:33 +0400)]
[FIX] Fix compiler warnings

10 years ago[REFACTOR] Simplify Makefile
Dmitry Bogatov [Tue, 23 Jul 2013 10:33:42 +0000 (14:33 +0400)]
[REFACTOR] Simplify Makefile