Vyacheslav Cherkashin [Thu, 11 Jul 2013 09:31:21 +0000 (13:31 +0400)]
[REFACTOR] rename put_strung() --> put_string()
Vyacheslav Cherkashin [Thu, 11 Jul 2013 09:29:42 +0000 (13:29 +0400)]
[FIX] build error
Vyacheslav Cherkashin [Wed, 10 Jul 2013 08:55:22 +0000 (12:55 +0400)]
Merge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
Vyacheslav Cherkashin [Wed, 10 Jul 2013 08:50:04 +0000 (12:50 +0400)]
[FIX] delete warning at get_sys_name()
Vyacheslav Cherkashin [Wed, 10 Jul 2013 08:28:46 +0000 (12:28 +0400)]
[IMPROVE] implementation add/remove US inst
Alexander Aksenov [Tue, 9 Jul 2013 14:25:34 +0000 (18:25 +0400)]
[IMPROVE] Implement new buffer workstyle
buffer init - allocates memory only if it wasn't allocated before, or if
attributes (size, subbuffers number) changed. If memory was allocated,
just restarts buffer (moves all subbuffers to write queue and set them
zero full buffer part);
buffer uninit - free memory in all queues (also checks if memory was
allocated);
buffer flush - moves only non-empty buffers to read list and doesn't
stop buffer work (fixed, was implemented before).
Vyacheslav Cherkashin [Tue, 9 Jul 2013 14:02:48 +0000 (18:02 +0400)]
[REFACTOR] rename field 'at_data' in struct app_info_data
Vyacheslav Cherkashin [Tue, 9 Jul 2013 11:56:16 +0000 (15:56 +0400)]
[FIX] remove all probes on syscall
when unload ks_feature module
Vyacheslav Cherkashin [Tue, 9 Jul 2013 11:45:36 +0000 (15:45 +0400)]
[IMPROVE] remove jprobe in ks_features module
Vyacheslav Cherkashin [Tue, 9 Jul 2013 11:27:37 +0000 (15:27 +0400)]
[IMPROVE] add handlers for ks_features
Vyacheslav Cherkashin [Tue, 9 Jul 2013 11:05:08 +0000 (15:05 +0400)]
[FIX] check not implemented syscall
Vyacheslav Cherkashin [Tue, 9 Jul 2013 09:52:53 +0000 (13:52 +0400)]
[IMPROVE] add arguments in ks_feature (for syscall)
Alexander Aksenov [Mon, 8 Jul 2013 16:53:54 +0000 (20:53 +0400)]
[FIX] Mem alloc and buffer sync
Vyacheslav Cherkashin [Mon, 8 Jul 2013 16:17:37 +0000 (20:17 +0400)]
[IMPROVE] add implementation the syscall instrumentation
Alexander Aksenov [Mon, 8 Jul 2013 16:14:06 +0000 (20:14 +0400)]
[FIX] Error with memory allocation
Vyacheslav Cherkashin [Mon, 8 Jul 2013 16:03:26 +0000 (20:03 +0400)]
[REFACTOR] rename: 'irq' --> 'ipc'
Nikita Kalyazin [Sun, 7 Jul 2013 09:06:58 +0000 (13:06 +0400)]
[IMROVE] buffer: improve debug messages
Nikita Kalyazin [Sun, 7 Jul 2013 08:56:35 +0000 (12:56 +0400)]
[FIX] buffer: kernel crash caused by splice_read
- splice_grow_spd must be done _before_ spd structure filling;
- number of pages and partial must be PIPE_DEF_BUFFERS;
- pages that will be passed to splice_to_pipe must be copied, not
moved: it is unknown when they will be returned by tcp stack, so we
must not rely on their reuse;
- small refactoring.
Known issue:
- If a subbuffer is greater than max pipe size, we should splice this
subbuffer partially. So we should not put it to "write list". In
general a new mechanism for this should be implemented.
Tested with:
- 2 x 8Kb buffer;
- 16 x 64Kb buffer.
Vitaliy Cherepanov [Thu, 4 Jul 2013 16:10:29 +0000 (20:10 +0400)]
[IMPROVE] add message len to debug info
Vitaliy Cherepanov [Thu, 4 Jul 2013 13:33:09 +0000 (17:33 +0400)]
Merge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
Vitaliy Cherepanov [Thu, 4 Jul 2013 13:27:45 +0000 (17:27 +0400)]
[IMPROVE] add parse message debugs
- use: enable define (PARSE_DEBUG) in parser_defs.h
- default state is disabled
Vyacheslav Cherkashin [Thu, 4 Jul 2013 13:00:08 +0000 (17:00 +0400)]
[IMPROVE] add debug message
when command long message
Vyacheslav Cherkashin [Thu, 4 Jul 2013 11:38:11 +0000 (15:38 +0400)]
Merge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
Vyacheslav Cherkashin [Thu, 4 Jul 2013 09:03:56 +0000 (13:03 +0400)]
[IMPROVE] add msg_cmd
Vyacheslav Cherkashin [Thu, 4 Jul 2013 08:52:36 +0000 (12:52 +0400)]
[REFACTOR] redesing driver new
Vyacheslav Cherkashin [Thu, 4 Jul 2013 08:19:10 +0000 (12:19 +0400)]
[REFACTOR] remove isn't used files
remove:
src/modules/parser/protocol_description.h
src/modules/parser/swap_message_parser_errors.h
Vyacheslav Cherkashin [Thu, 4 Jul 2013 08:05:10 +0000 (12:05 +0400)]
[REFACTOR] redesing swap_message_parser_module.c
and rename:
swap_message_parser_module.c --> swap_msg_parser.c
Vyacheslav Cherkashin [Wed, 3 Jul 2013 15:26:25 +0000 (19:26 +0400)]
[REFACTOR] swap_ioctl
rename:
ioctl_commands.h --> swap_ioctl.h
add ioctl:
SWAP_DRIVER_MSG
delete ioctl:
SWAP_DRIVER_MSG_START,
SWAP_DRIVER_MSG_STOP,
SWAP_DRIVER_MSG_CONFIG,
SWAP_DRIVER_MSG_SWAP_INST_ADD,
SWAP_DRIVER_MSG_SWAP_INST_REMOVE
Vyacheslav Cherkashin [Wed, 3 Jul 2013 14:26:39 +0000 (18:26 +0400)]
[FIX] get_string()
Vyacheslav Cherkashin [Wed, 3 Jul 2013 12:55:20 +0000 (16:55 +0400)]
[IMPROVE] add message, when error parsing
Vyacheslav Cherkashin [Wed, 3 Jul 2013 12:50:00 +0000 (16:50 +0400)]
[FIX] verification of dedicated memory
Vyacheslav Cherkashin [Wed, 3 Jul 2013 12:36:06 +0000 (16:36 +0400)]
[FIX] destroy objects, when error parsing
Vyacheslav Cherkashin [Wed, 3 Jul 2013 09:14:15 +0000 (13:14 +0400)]
[IMPROVE] check on incorrect data
Vyacheslav Cherkashin [Tue, 2 Jul 2013 11:58:36 +0000 (15:58 +0400)]
[REMOVE] delete message_handler and message_parser
files:
src/modules/parser/message_handler.c
src/modules/parser/message_handler.h
src/modules/parser/message_parser.c
src/modules/parser/message_parser.h
Vyacheslav Cherkashin [Tue, 2 Jul 2013 11:44:28 +0000 (15:44 +0400)]
[IMPROVE] create msg_parser
files:
src/modules/parser/msg_parser.c
src/modules/parser/msg_parser.h
Vyacheslav Cherkashin [Tue, 2 Jul 2013 11:37:25 +0000 (15:37 +0400)]
[IMPROVE] create msg_buf
files:
src/modules/parser/msg_buf.c
src/modules/parser/msg_buf.h
Nikita Kalyazin [Tue, 2 Jul 2013 04:41:25 +0000 (08:41 +0400)]
Merge branch 'kernel' of ssh://106.109.8.71/srv/git/dbi into kernel
Nikita Kalyazin [Tue, 2 Jul 2013 04:39:44 +0000 (08:39 +0400)]
[IMPROVE] buffer: flush does not "disable" buffer
No need to reinitialize after flush to write again now.
Vyacheslav Cherkashin [Mon, 1 Jul 2013 08:07:39 +0000 (12:07 +0400)]
[FIX] add support swap_driver_new module
when kernel version < 3.4.4
Vyacheslav Cherkashin [Mon, 1 Jul 2013 07:45:21 +0000 (11:45 +0400)]
[REFACTOR] add swap_buffer module in build system
Vyacheslav Cherkashin [Mon, 1 Jul 2013 07:33:14 +0000 (11:33 +0400)]
[REFACTOR] add swap_driver_new module in build system
Vyacheslav Cherkashin [Mon, 1 Jul 2013 07:18:59 +0000 (11:18 +0400)]
[REFACTOR] add parser module in build system
Vyacheslav Cherkashin [Mon, 1 Jul 2013 05:16:35 +0000 (09:16 +0400)]
Merge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
Alexander Aksenov [Sun, 30 Jun 2013 17:10:27 +0000 (21:10 +0400)]
[FEATURE] SWAP Parser implement
Alexander Aksenov [Sun, 30 Jun 2013 17:04:17 +0000 (21:04 +0400)]
[FIX] Page calculation
Vyacheslav Cherkashin [Fri, 28 Jun 2013 15:21:31 +0000 (19:21 +0400)]
[FEATURE] new interface pf_register_probe()
-int pf_register_probe(struct pf_group *pfg, struct dentry *dentry,
- unsigned long offset, void *pre_handler,
- void *jp_handler, void *rp_handler);
+int pf_register_probe(struct pf_group *pfg, struct dentry *dentry,
+ unsigned long offset, const char *args);
Vyacheslav Cherkashin [Fri, 28 Jun 2013 14:11:19 +0000 (18:11 +0400)]
Merge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
Alexander Aksenov [Fri, 28 Jun 2013 12:07:46 +0000 (16:07 +0400)]
[FEATURE] New driver implement
Vyacheslav Cherkashin [Thu, 27 Jun 2013 13:15:37 +0000 (17:15 +0400)]
[FEATURE] add message (protocol SWAP DA 6/26/2013)
massages:
MSG_PROCESS_INFO,
MSG_ERROR,
MSG_SAMPLE,
MSG_FUNCTION_ENTRY,
MSG_FUNCTION_EXIT,
MSG_CONTEXT_SWITCH ENTRY,
MSG_CONTEXT_SWITCH_EXIT
Alexander Aksenov [Wed, 26 Jun 2013 12:36:46 +0000 (16:36 +0400)]
[IMPROVE] Update error returned by funcs
Vyacheslav Cherkashin [Tue, 25 Jun 2013 15:43:21 +0000 (19:43 +0400)]
Merge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
Alexander Aksenov [Tue, 25 Jun 2013 12:37:22 +0000 (16:37 +0400)]
[FIX] Spinlock flags problem
Vyacheslav Cherkashin [Tue, 25 Jun 2013 06:47:27 +0000 (10:47 +0400)]
[REFACTOR] implementation pack_event_info()
implementation pack_event_info() through ptr_pack_task_event_info()
Vyacheslav Cherkashin [Mon, 24 Jun 2013 12:32:47 +0000 (16:32 +0400)]
[REFACTOR] rename features_data.h
features_data.h --> features_data.c
Vyacheslav Cherkashin [Mon, 24 Jun 2013 11:43:18 +0000 (15:43 +0400)]
[FEATURE] implement /un/register_syscall()
Vyacheslav Cherkashin [Mon, 24 Jun 2013 06:05:50 +0000 (10:05 +0400)]
[REFACTOR] move SYSCALL_LIST
from src/modules/ks_features/features_data.h
to src/modules/ks_features/syscall_list.h
Vyacheslav Cherkashin [Fri, 21 Jun 2013 15:36:09 +0000 (19:36 +0400)]
[FIX] add us_manager.h
Vyacheslav Cherkashin [Fri, 21 Jun 2013 15:33:52 +0000 (19:33 +0400)]
[FEATURE] create swap_ks_features module
Vyacheslav Cherkashin [Tue, 18 Jun 2013 14:13:15 +0000 (18:13 +0400)]
Merge commit '
9cc656e464' into kernel
Conflicts:
src/modules/kprobe/arch/asm-arm/dbi_kprobes.c
src/modules/kprobe/dbi_kprobes.c
Vyacheslav Cherkashin [Tue, 18 Jun 2013 11:29:06 +0000 (15:29 +0400)]
Merge commit '
df0daa52c1' into kernel
Conflicts:
src/modules/kprobe/arch/asm-arm/dbi_kprobes.c
Vyacheslav Cherkashin [Tue, 18 Jun 2013 08:56:27 +0000 (12:56 +0400)]
Merge commit '
cc09f10e84d5' into kernel
Conflicts:
src/modules/kprobe/arch/asm-arm/dbi_kprobes.c
src/modules/kprobe/arch/asm-arm/dbi_kprobes_arm.h
src/modules/kprobe/arch/dbi_kprobes.h
src/modules/kprobe/dbi_kprobes.c
Vyacheslav Cherkashin [Tue, 18 Jun 2013 07:49:20 +0000 (11:49 +0400)]
Merge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
Vyacheslav Cherkashin [Tue, 18 Jun 2013 07:46:07 +0000 (11:46 +0400)]
[REFACTOR] remove not use code
Dmitry Kovalenko [Tue, 18 Jun 2013 07:36:09 +0000 (11:36 +0400)]
[FIX] Fix wrong functions w/o returns determination (bl,blx)
Vyacheslav Cherkashin [Tue, 18 Jun 2013 07:08:58 +0000 (11:08 +0400)]
[REFACTOR] redesign ret_handler_cp()
Dmitry Kovalenko [Tue, 18 Jun 2013 05:12:57 +0000 (09:12 +0400)]
[FIX] Change safe_arm and safe_thumb type
Alexander Aksenov [Fri, 14 Jun 2013 14:11:34 +0000 (18:11 +0400)]
[FIX] SWAP buffer review result
Vyacheslav Cherkashin [Fri, 14 Jun 2013 09:48:53 +0000 (13:48 +0400)]
[REFACTOR] redesign call_page_fault()
Vyacheslav Cherkashin [Fri, 14 Jun 2013 09:25:52 +0000 (13:25 +0400)]
[FIX] many proc for one task
Vyacheslav Cherkashin [Fri, 14 Jun 2013 08:41:02 +0000 (12:41 +0400)]
[REFACTOR] remove field 'name' from 'struct sspt_file'
Vyacheslav Cherkashin [Fri, 14 Jun 2013 08:31:07 +0000 (12:31 +0400)]
[REFACTOR] remove sspt_proc_add_ip_data()
Vyacheslav Cherkashin [Fri, 14 Jun 2013 08:28:48 +0000 (12:28 +0400)]
[REFACTOR] sspt_proc_find_file_or_new()
Vyacheslav Cherkashin [Fri, 14 Jun 2013 08:13:12 +0000 (12:13 +0400)]
[REFACTOR] remove sspt_set_ip_addr()
it not use
Vyacheslav Cherkashin [Thu, 13 Jun 2013 14:08:57 +0000 (18:08 +0400)]
[REFACTOR] remove sspt_*_copy()
functions:
sspt_proc_copy()
sspt_file_copy()
sspt_page_copy()
copy_ip()
Vyacheslav Cherkashin [Thu, 13 Jun 2013 13:58:57 +0000 (17:58 +0400)]
[REFACTOR] remove sspt_proc_get_new()
Vyacheslav Cherkashin [Thu, 13 Jun 2013 13:43:23 +0000 (17:43 +0400)]
[REFACTOR] remove field 'dentry' from 'srtuct sspt_proc'
Vyacheslav Cherkashin [Thu, 13 Jun 2013 12:39:37 +0000 (16:39 +0400)]
[FIX] add check page_present()
when installing probe in do_page_fault()
Vyacheslav Cherkashin [Thu, 13 Jun 2013 11:54:45 +0000 (15:54 +0400)]
[FIX] initialization uretprobe
Vyacheslav Cherkashin [Thu, 13 Jun 2013 08:49:49 +0000 (12:49 +0400)]
[REFACTOR] create and used /un/install_all()
Vyacheslav Cherkashin [Thu, 13 Jun 2013 08:46:39 +0000 (12:46 +0400)]
[REFACTOR] print uretprobe info
when error register
Vyacheslav Cherkashin [Tue, 11 Jun 2013 13:14:35 +0000 (17:14 +0400)]
[FEATURE] create call_mm_release()
Vyacheslav Cherkashin [Tue, 11 Jun 2013 08:23:22 +0000 (12:23 +0400)]
[FEATURE] first working version
working, when install probes on page (do_page_foult()), and creating
entity "img_*"
Dmitry Kovalenko [Mon, 10 Jun 2013 09:29:46 +0000 (13:29 +0400)]
[IMPROVE] Kernel retprobes without exceptions
Alexander Aksenov [Thu, 6 Jun 2013 14:46:56 +0000 (18:46 +0400)]
Merge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
Alexander Aksenov [Thu, 6 Jun 2013 14:46:39 +0000 (18:46 +0400)]
[FIX] Add swap_buffer_errors.h
Vyacheslav Cherkashin [Thu, 6 Jun 2013 08:54:08 +0000 (12:54 +0400)]
[FEATURE] new filters
Vyacheslav Cherkashin [Tue, 4 Jun 2013 14:16:40 +0000 (18:16 +0400)]
Merge branch 'dev' into kernel
Conflicts:
src/modules/driver/us_proc_inst.c
Vyacheslav Cherkashin [Tue, 4 Jun 2013 13:40:35 +0000 (17:40 +0400)]
Merge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
Vyacheslav Cherkashin [Tue, 4 Jun 2013 13:33:50 +0000 (17:33 +0400)]
[REFACTOR] move US management code
form swap_driver to us_manager
Alexander Aksenov [Tue, 4 Jun 2013 10:33:05 +0000 (14:33 +0400)]
Merge branch 'kernel' of 106.109.8.71:/srv/git/dbi into kernel
Alexander Aksenov [Tue, 4 Jun 2013 10:32:03 +0000 (14:32 +0400)]
[REFACTOR] Report refactor
Dmitry Kovalenko [Tue, 4 Jun 2013 07:13:01 +0000 (11:13 +0400)]
[FIX] Fix b6f7698 not correct kthread determination
Dmitry Kovalenko [Mon, 3 Jun 2013 13:25:25 +0000 (17:25 +0400)]
[FIX] kernel thread determination
Vyacheslav Cherkashin [Mon, 3 Jun 2013 09:24:52 +0000 (13:24 +0400)]
[REFACTOR] create usm_/un/register_probe()
Vyacheslav Cherkashin [Mon, 3 Jun 2013 07:36:23 +0000 (11:36 +0400)]
[REFACTOR] move /un/register_usprobe()
from src/modules/driver/us_proc_inst.c
to src/modules/driver/sspt/sspt.h
Vyacheslav Cherkashin [Mon, 3 Jun 2013 07:04:29 +0000 (11:04 +0400)]
[CLEAN] remove install_otg_ip()
Vyacheslav Cherkashin [Fri, 31 May 2013 11:06:58 +0000 (15:06 +0400)]
[FIX] remove BUG message
is occurs at the beginning and end of US instrumentation
Vyacheslav Cherkashin [Wed, 29 May 2013 12:29:22 +0000 (16:29 +0400)]
[FIX] remove memory leak in ksm_register_probe()
Vyacheslav Cherkashin [Wed, 29 May 2013 12:23:47 +0000 (16:23 +0400)]
[COPYRIGHT] for ks_manager
files:
src/modules/ks_manager/ks_manager.c
src/modules/ks_manager/ks_manager.h
Vyacheslav Cherkashin [Wed, 29 May 2013 11:06:08 +0000 (15:06 +0400)]
[REFACTOR] move declaration sched_addr