Anastasia Lyupa [Thu, 9 Nov 2017 11:31:14 +0000 (14:31 +0300)]
Clean protocol documentation
Remove obsolete configuration, DA host sections.
Change-Id: Ied6be4fa4703838c4940d854d669c79acb715f0b
Signed-off-by: Anastasia Lyupa <a.lyupa@samsung.com>
Alexander Aksenov [Mon, 13 Nov 2017 12:49:46 +0000 (15:49 +0300)]
Fix MSG_SYSTEM size packing
Change-Id: I2976be1042ff65694f472488cd97890620a22925
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Tue, 14 Nov 2017 16:24:30 +0000 (19:24 +0300)]
Trace Parser: add API map list support
Just specify it with -a
Change-Id: I1a6754ebdafc4c7ea05d81782b517d82b5336c40
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Tue, 14 Nov 2017 15:04:06 +0000 (18:04 +0300)]
CLI: store api_map_list with the related trace
Change-Id: Ib38880da64e538814421978af9d979cbf50311b2
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Tue, 14 Nov 2017 11:46:38 +0000 (14:46 +0300)]
Trace Parser: getting trace data from file
- add getting device and protocol data about trace from session data file
or from default values;
- remove magic numbers from protocol parsing.
Change-Id: I1964f8db0287f5d2455e34fce2df436b0aea8f7e
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Mon, 13 Nov 2017 15:23:46 +0000 (18:23 +0300)]
CLI: add trace info saving to session_info.json
Change-Id: I0e647d5d9598823a23653250b35e6a271eaef24e
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Fri, 3 Nov 2017 10:44:25 +0000 (13:44 +0300)]
Trace Parser: add CSV output support
Change-Id: Ib8826b11988619690e80bd1e314f532d359676e1
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Thu, 2 Nov 2017 12:25:34 +0000 (15:25 +0300)]
Trace Parser: add JSON output support
Change-Id: Ia9246acea475f56ea73659357c220b07dbbde84e
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 1 Nov 2017 11:45:13 +0000 (14:45 +0300)]
Trace Parser: add python output support
Change-Id: I0f56fe49cb3daa8fe7aa22d067850aef93f717e4
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Tue, 17 Oct 2017 14:57:39 +0000 (17:57 +0300)]
Trace Parser: initial commit
Change-Id: If6862a6b9ee2200209dfbb05ae0388ea85feba68
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Dongkyun Son [Wed, 25 Oct 2017 10:04:19 +0000 (19:04 +0900)]
Add armv7hl architecture support
Support option "-mfloat-abi=hard".
Change-Id: I89d702c09e1deef8d74eedd765e4a7eb7588b144
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
Signed-off-by: Chan Lee <chan45.lee@samsung.com>
Alexander Aksenov [Mon, 16 Oct 2017 12:36:19 +0000 (15:36 +0300)]
CLI: fix already running config parsing
Change-Id: I13c8c56b79c478ebab8121f49d43064ce3267d40
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Dmitry Kovalenko [Mon, 16 Oct 2017 12:46:21 +0000 (15:46 +0300)]
Merge branch 'tizen_4.0' into tizen
Change-Id: Ibdfc28dee8ac39eed79589917131a7df2cb6aea4
Alexander Aksenov [Wed, 4 Oct 2017 16:30:35 +0000 (19:30 +0300)]
CLI: implement LSan feature support
Change-Id: I9c767ee098a90f9ce13ec189852d29516ae3d043
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Tue, 3 Oct 2017 20:02:39 +0000 (23:02 +0300)]
CLI: implement custom features init mechanism
Now features have an interface for custom init functions.
This is important preparation for LSan support implementation
Change-Id: Ib744d88f728ea504587d6811210bceadb662d4ef
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 13 Sep 2017 17:20:31 +0000 (20:20 +0300)]
CLI: initial implementation
Change-Id: I076770a5243ea8bb4de509e37c14f94ca3c8534c
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 4 Oct 2017 18:54:38 +0000 (21:54 +0300)]
Implement target bins removing
Now removing of target bins is handled, they are cleaned on
uninit, messages SWAP_INST_ADD and SWAP_INST_REMOVE handled
in different ways
This commit is related with the same name commit for swap-probe
Change-Id: I85da23d586c685fe0dde75ef79512447ce923a09
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Dmitry Kovalenko [Tue, 10 Oct 2017 11:50:45 +0000 (14:50 +0300)]
Don't build for usupported targets
Change-Id: Ic84067fcb2537fdb20f99806ce69a96e5e10968f
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Vyacheslav Cherkashin [Tue, 3 Oct 2017 07:28:32 +0000 (10:28 +0300)]
wsi: remove feature
Change-Id: Ia20fe64ca276210893dec8f73a4039e517df08f9
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Dmitry Kovalenko [Tue, 3 Oct 2017 06:41:12 +0000 (09:41 +0300)]
Merge branch 'tizen_4.0' into tizen
Change-Id: Ia438c290754f7705ee2e4ecb0ce4b97868131fc2
Dmitry Kovalenko [Thu, 28 Sep 2017 08:52:27 +0000 (11:52 +0300)]
Add MIT License
Change-Id: Ie35aa0bf9544e263b9b8b0017639e64a756b3313
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Dmitry Kovalenko [Tue, 26 Sep 2017 15:57:24 +0000 (18:57 +0300)]
Merge branch 'tizen_3.0' into tizen_4.0
Change-Id: Ic9c6a6fd8aa44c1900020786b8642f082a1f44ea
Vyacheslav Cherkashin [Tue, 26 Sep 2017 13:23:29 +0000 (16:23 +0300)]
lsan: use the swap_auxd for report saving
Change-Id: I6aad791b0fe3daee8227cf9c0b8b802c08ddcfe2
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 26 Sep 2017 12:50:40 +0000 (15:50 +0300)]
manager: increace timeout 1 -> 60
Give more time for LSAN finishing
Change-Id: I1ae3583df18e69f12b198373ba7722a5f17cc83c
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Alexander Aksenov [Tue, 19 Sep 2017 15:57:28 +0000 (18:57 +0300)]
Add process_features() addr passing to kernel
Change-Id: Ic57d7662b04dbcd132bc0769aefcb593fbc8b0ca
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Dmitry Kovalenko [Tue, 26 Sep 2017 13:10:30 +0000 (16:10 +0300)]
Fix build for Tizen 4.0 (redundant const)
Cherry-picked fix from Tizen 4.0
Change-Id: Ic245ba1ad75eba6df6eb47887dea9dc3f72d2327
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Dmitry Kovalenko [Tue, 26 Sep 2017 13:10:30 +0000 (16:10 +0300)]
Fix build for Tizen 4.0 (redundant const)
Change-Id: Ic245ba1ad75eba6df6eb47887dea9dc3f72d2327
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Vyacheslav Cherkashin [Thu, 21 Sep 2017 15:45:01 +0000 (18:45 +0300)]
memd: fix SVACE issue
Storing local variable in global one
Change-Id: I7a1f8a6bc84cfd44a06c0b0c3fd81b44bca65618
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 21 Sep 2017 13:46:28 +0000 (16:46 +0300)]
manager: fix memory leak
Change-Id: I5ecb9f0a4f8f14f4045de4f60f23eeb664009295
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 21 Sep 2017 13:41:29 +0000 (16:41 +0300)]
utils: add makeUnique()
Change-Id: Ic429ab276cab4c62dd157f12650426bb1fa82303
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Wed, 20 Sep 2017 08:47:14 +0000 (11:47 +0300)]
Fix privilege name for debug mode check
Change-Id: Ifd19564bb1a9313f6db47ee8ec7582201369aef4
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 19 Sep 2017 15:48:58 +0000 (18:48 +0300)]
auxd: move saving temp files to auxd
Change-Id: I7960f3d40a7714e51f86bab094bbed5c02fd8686
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 19 Sep 2017 12:10:09 +0000 (15:10 +0300)]
auxd: rework serialization
Change-Id: I8dc50e46c5e07e6b9230c2a5533a95161b900ff4
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 19 Sep 2017 10:26:56 +0000 (13:26 +0300)]
utils: add serialzation capability
Change-Id: I6c2fe597a4cde4bda834e7a99dda598c042fe33b
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 19 Sep 2017 15:53:15 +0000 (18:53 +0300)]
auxd: change procces SMACK label (User -> User::Shell)
Works with the same SMACK label as "sdb shell"
Change-Id: Iabe19f07aaf6b430128ba1021a45a93cefcbbeb5
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Alexander Aksenov [Tue, 19 Sep 2017 15:57:28 +0000 (18:57 +0300)]
Add process_features() addr passing to kernel
Change-Id: Ic57d7662b04dbcd132bc0769aefcb593fbc8b0ca
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Dmitry Kovalenko [Thu, 14 Sep 2017 12:12:56 +0000 (15:12 +0300)]
Use proper variable type for IFUNC processing
Change-Id: I83e0a111805d9526bbfa2f62156b4ac1699ba357
Dmitry Kovalenko [Thu, 14 Sep 2017 12:12:56 +0000 (15:12 +0300)]
Use proper variable type for IFUNC processing
Change-Id: I83e0a111805d9526bbfa2f62156b4ac1699ba357
Alexander Aksenov [Wed, 13 Sep 2017 12:40:57 +0000 (15:40 +0300)]
Merge branch 'tizen_4.0' into tizen
Change-Id: I767c638d36186aaa2954425a58002dea614c639e
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Dmitry Kovalenko [Wed, 13 Sep 2017 11:28:10 +0000 (14:28 +0300)]
Merge branch 'tizen_3.0' into tizen_4.0
Change-Id: Ic08cfec055967392f8c5ec35e83179859e261e22
Alexander Aksenov [Tue, 12 Sep 2017 11:33:02 +0000 (14:33 +0300)]
Replace protobuf with in-project serialization
Change-Id: I81661025ab54deb8e09d7f42f87aa5f8c83dc2be
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vyacheslav Cherkashin [Tue, 12 Sep 2017 15:35:44 +0000 (18:35 +0300)]
manager: remove fork()/execv() using
Change-Id: I12ba76c332d0ca99548ad47e2411122052c0c5c5
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Dmitry Kovalenko [Tue, 12 Sep 2017 15:09:22 +0000 (18:09 +0300)]
Merge branch 'tizen_3.0' into tizen_4.0
Change-Id: I2d7c02348dcaf6e9370cd75cb0d2d12cea18066e
Vyacheslav Cherkashin [Tue, 12 Sep 2017 13:22:06 +0000 (16:22 +0300)]
Add support not builtin swap-modules
Use SWAP_MODULES_SUPPORT for configure
Change-Id: Ic93a3a34314cf9c49d849199c464a1c478820114
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 12 Sep 2017 12:16:40 +0000 (15:16 +0300)]
manager: remove kill() using
Change-Id: I2555ec0ed7e94b878dc0f6af5474eda136e78908
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Dmitry Kovalenko [Tue, 12 Sep 2017 08:39:04 +0000 (11:39 +0300)]
Merge branch 'tizen_3.0' into tizen_4.0
Change-Id: I5ea2e3b65259148625f0b8b4313bba8e44bb4e42
Vyacheslav Cherkashin [Tue, 12 Sep 2017 08:31:41 +0000 (11:31 +0300)]
manager: set SMACK label User::Shell on swap_manager trigger
Alow swap_manager run only with User::Shell SMACK label
Change-Id: I5ef10c62003cc22424a6239d860836f25def89f6
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 11 Sep 2017 13:46:48 +0000 (16:46 +0300)]
manager: profile only tizen and web apps with debug mode
Change-Id: I41c9e7df766884c4b7cd2c72bac9a1e67982c72d
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 11 Sep 2017 11:24:45 +0000 (14:24 +0300)]
utils: add capability to check app for debug mode
Change-Id: I22024199a0a2e6641e171d67f7ba0039ec61cfe3
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Fri, 8 Sep 2017 12:33:56 +0000 (15:33 +0300)]
Remove swap_module.service
For swap_modules enabling/disabling is used API:
bool kernel_module_init(void);
bool kernel_module_uninit(void);
bool kernel_module_is_init(void);
load/unload modules should be implemented
Change-Id: Ibcd3715562bbb080b437c1f2b76b5cdce878c9cd
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 7 Sep 2017 14:34:07 +0000 (17:34 +0300)]
utils: add SMACK permission of connected client checking
Used in auxd and memd for rejected connection process without
'System' smack label.
Change-Id: I71b1c68f1a667c44df8ee3a1f3d30f772266ff26
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 7 Sep 2017 13:52:43 +0000 (16:52 +0300)]
Move users systemd services to user
auxd and memd:
from /usr/lib/systemd/system/
to /usr/lib/systemd/user/
Change-Id: I00782cbb1bf4adc5921d3d30141eb76bb009a5ae
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 7 Sep 2017 14:16:11 +0000 (17:16 +0300)]
utils: fix systemd socket removing
If we use unix socket, we create and remove socket.
If we use systemd unix socket, systemd creates and removes socket.
Change-Id: I701ff706ca3595fd00000a120f5e06fd595bc463
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Fri, 1 Sep 2017 18:24:24 +0000 (21:24 +0300)]
Use socket activation for launching swap_memd
Change-Id: I2781541eae7b135ed10cebb2bcac6e85641f7523
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Fri, 1 Sep 2017 18:02:41 +0000 (21:02 +0300)]
Use socket activation for launching swap_auxd
Change-Id: I8081d7ae1f4c0248f31c0b2a0df0211670eb94dd
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 29 Aug 2017 12:46:20 +0000 (15:46 +0300)]
Change Smack label for swap_module.service
Change-Id: Iba1f9a7dac6817a5c50a83bf18179b22f541cde1
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 28 Aug 2017 09:40:40 +0000 (12:40 +0300)]
Change SmackProcessLabel to User
for binaries:
- swap_auxd
- swap_memd
Change-Id: I269107fa35395c8ef0f5688adb6d681deafc9e7b
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Fri, 25 Aug 2017 11:36:11 +0000 (14:36 +0300)]
Move /tmp/* to /run/swap/*
systemd triggers:
- /run/swap/trigger/auxd
- /run/swap/trigger/memd
- /run/swap/trigger/module
- /run/swap/trigger_shell/swap_manager
swap_manager:
- /run/swap/manager.log
- /run/swap/manager.lock
- /run/swap/manager/pid
- /run/swap/manager/port
- /run/swap/lib.socket
- /run/swap/ui_lib.socket
swap_auxd:
- /run/swap/swap_auxd.socket
swap_memd:
- /run/swap/swap_memd.socket
UIHV:
- /run/swap/uilib.log
Change-Id: I8133edbd5be3b45df79f022a22ef304cf9c5e11b
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Fri, 25 Aug 2017 11:32:46 +0000 (14:32 +0300)]
Remove PermissionsStartOnly from systemd
Change-Id: I273202c4e6b51934e6f44514f9e84e1884dc7a37
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Fri, 25 Aug 2017 11:41:43 +0000 (14:41 +0300)]
Build all files with fPIC/fpie flags
Change-Id: I39b13883cf2e3da60d99f72b3a3e10bab5c1c37e
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Wed, 23 Aug 2017 15:42:47 +0000 (18:42 +0300)]
Totally remove dependensy on root permission
Change-Id: Iecb881a741ff0b475bb47ecf03888d30c270e526
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 21 Aug 2017 16:32:26 +0000 (19:32 +0300)]
Merge branch 'tizen_3.0' into tizen_3.0_dev
Change-Id: Idaee99c3fea5eb26dea0dff71a4a1b7286b2bdb4
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 8 Aug 2017 06:45:27 +0000 (09:45 +0300)]
Add support of reading 'smaps' files
To read smaps (/proc/*/smaps) it uses swap_memd service, because
swap_manager dont't have needed permissions.
Change-Id: I0d01fda860c5d2167739e18c6cde60fd4cc862f0
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 7 Aug 2017 17:15:26 +0000 (20:15 +0300)]
web: start web application without root privileges
Change-Id: Id8486e3cd57bab77c079020cbca9d4935df5ff38
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 13 Mar 2017 16:05:35 +0000 (19:05 +0300)]
Enable launch swap_manager using systemd
systemd services:
- swap_manager
launch up swap_manager. Trigger: touch /tmp/swap_manager
- swap_auxd
launch up swap_auxd. Trigger: touch /tmp/swap/auxd
- swap_module
load and enable. Trigger: echo load > /tmp/swap/module
disable and unload. Trigger: echo unload > /tmp/swap/module
And create auxd_client with supported start/terminate Tizen app
Change-Id: I8eff4498bc6ffe5e87eaf18382fba966c642caf9
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 20 Jun 2017 12:53:59 +0000 (15:53 +0300)]
Add daemon to execute Tizen apps with proper permission
Change-Id: I5cedc10d14608553f57b984d59240082407cf385
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 8 Jun 2017 16:29:59 +0000 (19:29 +0300)]
Create swap_manager-aux_process communication library
Common functional for:
- IPC client/server
- Socket
- UNIX-socket client/server
- File descriptor operations
Change-Id: I2b3a0e21136140635eac5dbd675ae908bb39a9de
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Alexander Aksenov [Thu, 30 Mar 2017 12:55:05 +0000 (15:55 +0300)]
Remove change of app smack rules
Now daemon works with non-root user permissions, so it can't
change smack privileges
Change-Id: I63ce6c79370c8dabf2461970f7fd09541de7ed86
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vyacheslav Cherkashin [Wed, 19 Jul 2017 11:38:41 +0000 (14:38 +0300)]
Fix typo message packing
Change-Id: Idbdb90a4c96e06e2d727a5ec8d0e59d1efc0e324
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Dmitry Kovalenko [Tue, 15 Aug 2017 08:15:02 +0000 (11:15 +0300)]
Fix unhandled malloc error
Change-Id: Ie9bc610addf071bf9202e38e24ca17c9cf813dca
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Dmitry Kovalenko [Tue, 15 Aug 2017 07:25:12 +0000 (10:25 +0300)]
Fix unhandled malloc error
Change-Id: I575898f4149968b6156e6390050261d2b81f21d5
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Dmitry Kovalenko [Mon, 14 Aug 2017 07:42:43 +0000 (10:42 +0300)]
Add -fpie and -pie option (ASLR)
Change-Id: I810d43e27b7c3e3000c5e994edc5a95075c2e8f1
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Dmitry Kovalenko [Fri, 28 Jul 2017 08:49:50 +0000 (11:49 +0300)]
Merge branch 'tizen_3.0_dev' into tizen
Change-Id: Ib25584e0ee19b04e36cfb4bf570aa924082c08bf
Dmitry Kovalenko [Mon, 10 Jul 2017 05:41:59 +0000 (08:41 +0300)]
Fix memory leak in ui_viewer
Change-Id: I06ec4b03aedf1beacb310eccc70933c28d1b8226
Dmitry Kovalenko [Mon, 10 Jul 2017 05:41:59 +0000 (08:41 +0300)]
Fix memory leak in ui_viewer
Change-Id: I06ec4b03aedf1beacb310eccc70933c28d1b8226
Dmitry Kovalenko [Wed, 21 Jun 2017 07:14:21 +0000 (10:14 +0300)]
Fix memory leak in UIHV screenshot feature
Change-Id: Ib962fadbefc6925463a4618b1c91036c25d9bf88
Dmitry Kovalenko [Wed, 21 Jun 2017 07:14:21 +0000 (10:14 +0300)]
Fix memory leak in UIHV screenshot feature
Change-Id: Ib962fadbefc6925463a4618b1c91036c25d9bf88
Dmitry Kovalenko [Fri, 9 Jun 2017 11:52:27 +0000 (14:52 +0300)]
Replace deprecated readir_r with readdir
Change-Id: I5e48ac91d69709da5383bd390eb1bc376c859371
Dmitry Kovalenko [Fri, 9 Jun 2017 05:42:36 +0000 (08:42 +0300)]
Merge branch 'tizen_3.0_dev' into tizen
Change-Id: Ifa62595050ce61207dd07a18d9f8a335a3212834
Vyacheslav Cherkashin [Tue, 2 May 2017 13:24:31 +0000 (16:24 +0300)]
Clean fm_app after parsing msg_start error
Change-Id: I8a3987a5b841fba736cc9ddddf23bf6c6ccb8c09
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 2 May 2017 13:10:50 +0000 (16:10 +0300)]
Check the instrumentation list on same apps
Change-Id: Id60d0eb1fd9b13787f44a5ffe289d53cf1b1a3e8
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 2 May 2017 12:35:32 +0000 (15:35 +0300)]
uihv: fix close socket (uihv - manager) after stop
Change-Id: I94e824c1248eae5952b14250b92f54e4d7aaf755
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 25 Apr 2017 17:17:00 +0000 (20:17 +0300)]
uihv: fix socket message handling
Change-Id: I790b2e0fb1c0668c3c3546a7399ffce0df9af75b
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 24 Apr 2017 12:20:07 +0000 (15:20 +0300)]
Store screenshot with '.png' extension
Change-Id: I8f85c9e4b846c43e2b03ff7c41b0e7a0154d0783
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 20 Apr 2017 21:09:36 +0000 (00:09 +0300)]
Move uihv_data storing to manager
Change-Id: I90f2b3dfbbe121dbd315566c114a23917de52155
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 20 Apr 2017 19:25:40 +0000 (22:25 +0300)]
Fix storing uihv data to file
issues:
1. close file before sending file name
2. remove file when 'cancelled'
Change-Id: I8b4e98f95fdd5ec3d893b4c1b8f07dd5580c5bbf
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 20 Apr 2017 18:28:51 +0000 (21:28 +0300)]
Move ui_screenshot storing to manager
Change-Id: Iee5c8bf1cd68a35d06fb120512704ac72e15e35f
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Wed, 19 Apr 2017 11:59:09 +0000 (14:59 +0300)]
Move screenshot storing to manager
Change-Id: I4c5cacbc18b3f44dd4d1504128cb01a2c66abb17
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Wed, 19 Apr 2017 11:59:09 +0000 (14:59 +0300)]
Increase size of internel messages (probe - manager)
Change-Id: I12dadbd4c564e3aadda42e0d4e9a1abc755007f9
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Dmitry Kovalenko [Wed, 7 Jun 2017 05:24:23 +0000 (08:24 +0300)]
Update md5.c (prevent overflow)
Change-Id: I0e2c94ab1e7d8fc87cd41b2a79c33d17415e8999
Alexander Aksenov [Fri, 26 May 2017 11:50:07 +0000 (14:50 +0300)]
Pass pthread's init data to preload module
This commit is related to swap-modules commit
Add per-process pthread init probes installation
Change-Id: If34de94641f0589c27d6be40c325ed21c89411b4
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Fri, 26 May 2017 12:27:48 +0000 (15:27 +0300)]
Preload: fix checking null addresses on generation
Change-Id: Ia02246882b585cc5a03b04569cc4b46914bdcab2
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Tue, 24 Jan 2017 12:44:04 +0000 (15:44 +0300)]
Add different handler libs handling
This commit is related with same name commits in swap-probe
and swap-modules.
Change-Id: Id9576b9d27ee605b46aa165b3443fa9f75ba7d1b
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Thu, 19 Jan 2017 12:26:35 +0000 (15:26 +0300)]
Support the whole 128 feature's bits in library.
It will be useful to load libraries for preload features,
because they are on the last 64 bits of features now.
Also, features are passed as integers, not as string as before.
This commit is related with swap-probe commit of the same
name.
Change-Id: I57dde99357c630cf0385653b643e5c89048133dd
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 14 Dec 2016 16:58:28 +0000 (19:58 +0300)]
Enable preload features set
Change-Id: I9995294abfea92781addb0881c788076fc4cb724
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Tue, 13 Dec 2016 12:45:35 +0000 (15:45 +0300)]
Add separated Preload features
They are located in feature_code_1 structure due to a low
size in feature_code_0.
Related with swap-probe commit
Change-Id: Ie284f1391127ebac9fd24a95388a7bbff44298b8
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Thu, 1 Dec 2016 12:53:19 +0000 (15:53 +0300)]
Preload: send target bins to preload
Change-Id: If257255e902e6bfc29c064ccddc6726903cfcdc2
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Thu, 1 Dec 2016 12:51:35 +0000 (15:51 +0300)]
Replace TYPE_AND_INFO with TARGET_BINS message
Now type of preload is not send
Related with swap-probe commit
Change-Id: I079f5737993ead26426771b26641fcf583048e78
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vyacheslav Cherkashin [Tue, 2 May 2017 13:24:31 +0000 (16:24 +0300)]
Clean fm_app after parsing msg_start error
Change-Id: I8a3987a5b841fba736cc9ddddf23bf6c6ccb8c09
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 2 May 2017 13:10:50 +0000 (16:10 +0300)]
Check the instrumentation list on same apps
Change-Id: Id60d0eb1fd9b13787f44a5ffe289d53cf1b1a3e8
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>