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>
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>
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 [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>
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>
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 [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
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>
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>
Alexander Aksenov [Tue, 7 Mar 2017 16:03:14 +0000 (19:03 +0300)]
Remove wearable target deps from nsp script
Because now wearable and other targets have launchpad within
a same-named package
Change-Id: I3245cd6e9c66fa67c1ceb484349ab60abaf4fb1e
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Thu, 23 Mar 2017 11:13:28 +0000 (14:13 +0300)]
Replace variable assignment with memcpy for parse
When message arrived, its packed, so depending on compiler it
may lead to unaligned memory access.
Change-Id: Ic9976904ad70a9610bb8b5f00886ec1474a7bee1
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Vyacheslav Cherkashin [Wed, 18 Jan 2017 13:50:32 +0000 (16:50 +0300)]
Calculate r_state offset
Change-Id: I50759b2dda812d2d710e0baffd10def18857594b
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Mon, 16 Jan 2017 13:24:50 +0000 (16:24 +0300)]
Port gen_gtp_data.sh to 64-bits
Change-Id: I8c19a03953caac6e126e6d31622aab10569a7c9e
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 20 Dec 2016 13:39:49 +0000 (16:39 +0300)]
port ioctl to 64-bit
Change-Id: Ieae377cb2e39a27557defc164680b68c84dc6fcd
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 20 Dec 2016 13:38:21 +0000 (16:38 +0300)]
add support 64-bits paths
Change-Id: If95dd482e3f901648a5561d0945c9e1178f54fb2
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Tue, 20 Dec 2016 13:23:21 +0000 (16:23 +0300)]
Fix build on ARM64
Change-Id: If4f5c7788fbbbe204bda7e5f5a5ed8e9058c3f61
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Vyacheslav Cherkashin [Thu, 15 Dec 2016 19:01:05 +0000 (22:01 +0300)]
Add support new elf_parser interface
Change-Id: Ifcddd457accf9470286b9dacb041587bac7da7eb
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
Dmitry Kovalenko [Fri, 13 Jan 2017 08:23:36 +0000 (11:23 +0300)]
Disable WSI and WSP for MCD products
Change-Id: I25f35510ce582fadbf6775ead733ba7cbc793b1a
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Dmitry Kovalenko [Wed, 11 Jan 2017 11:41:49 +0000 (14:41 +0300)]
Merge branch 'tizen_3.0' into tizen
Change-Id: I0c9143ad99fcb28c1f5c595d86dae221f9b27b0e
Gihun Chang [Mon, 2 Jan 2017 06:42:11 +0000 (15:42 +0900)]
Remove the dependency to debug repository
Change-Id: I3f35d064516b82b2baa404636797d4e6cbe8a4cc
Vitaliy Cherepanov [Mon, 9 Jan 2017 12:28:40 +0000 (15:28 +0300)]
UIHV: ignore SIGPIPE on send() call
add MSG_NOSIGNAL to send function
Change-Id: I6fb8bfdd396ca47fa7119e6550f658681cb4122d
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
MyungJoo Ham [Fri, 30 Dec 2016 06:44:55 +0000 (15:44 +0900)]
DO NOT HARDCODE LIBDIR
Never ever do that again.
It breaks the build in other system.
Change-Id: I941345e686bc87230b8ca84427a0a60fd386ff10
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Anatolii Nikulin [Tue, 27 Dec 2016 15:43:39 +0000 (18:43 +0300)]
Destroy wayland queue using for capturing screenshots
Change-Id: I348a4e8213718d8a40d371f77057d4e9bdbf6d6b
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
Anatolii Nikulin [Wed, 21 Dec 2016 12:59:38 +0000 (15:59 +0300)]
For wsi socket show errno messages
Change-Id: Ib9df29ba6b8e1f341dd8298ec723ba2636e6b8fd
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
Anatolii Nikulin [Fri, 23 Dec 2016 12:08:06 +0000 (15:08 +0300)]
Fix extracting WSP data from chromium-efl for TV
Change-Id: I12accfc4d945c4e7a1f58e960d7314acfafe8321
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
Ivan Baravy [Thu, 10 Nov 2016 18:00:44 +0000 (21:00 +0300)]
Build with -Wno-deprecated-declarations: readdir_r
Remove unused variable: ui_viewer_utils.c:TMP_BUF_SIZE
Change-Id: I0d16ea1736824eaecaeb3d37b5cc90f5b9d99911
Jaehun Jeong [Wed, 9 Nov 2016 10:41:42 +0000 (19:41 +0900)]
Fix build break with gcc6x
Change-Id: I85cb07b5a73983bab8bce9e6fdd4f81c8af9c121
Signed-off-by: Jaehun Jeong <jh4u.jeong@samsung.com>
Dmitry Kovalenko [Tue, 20 Dec 2016 11:16:24 +0000 (14:16 +0300)]
Fix possible buffer overrun in fscanf
Change-Id: Ie1992c82210a591b50fc9356672cbd9615b249e8
Dmitry Kovalenko [Tue, 13 Dec 2016 07:40:22 +0000 (10:40 +0300)]
Fix SVACE issue
check json_object_array_get_idx() function return value
additionaly:
check json_tokener_parse() functions return value
Change-Id: I8eb59663a6c77c7ae0f6aa19478cbae905a78c19
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Vitaliy Cherepanov [Thu, 8 Dec 2016 13:32:10 +0000 (16:32 +0300)]
Already running profiling support.
Change-Id: I6942146ce47d18ac7e374daf8554b938d57c678f
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
Alexander Aksenov [Wed, 7 Dec 2016 16:25:27 +0000 (19:25 +0300)]
UIHV: Fix data_buf initialization
Previously data_buf was NULL for log.length > 0 &&
log.length < sizeof(log.data)
Svace issue.
Change-Id: I74004cef90c2c7b05397af3b7256292a07928e85
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 7 Dec 2016 15:02:12 +0000 (18:02 +0300)]
Add checking maximum raw message size
It's max size is the same as in writer module.
Svace issue.
Change-Id: Icc5d34e67533ab675af35cd2398daf5b9be860d3
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 7 Dec 2016 14:00:58 +0000 (17:00 +0300)]
Fix checking dlsym address
Svace issue
Change-Id: I571691fe830dfc589e4cf324e4c3522981b1e585
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Alexander Aksenov [Wed, 7 Dec 2016 14:00:23 +0000 (17:00 +0300)]
Fix checking error on gem init
Svace issue
Change-Id: I26918bfd866a1d2ba998225bc1d5b16ce0c22b11
Signed-off-by: Alexander Aksenov <a.aksenov@samsung.com>
Dmitry Kovalenko [Thu, 17 Nov 2016 09:25:20 +0000 (12:25 +0300)]
Add initial version of reformated SWAP protocol document
Protocol is in reStructuredText format.
It can be used as it is or converted to html using docutils (Makefile included )
Change-Id: I73b2dd65c7adf9fd45547c4e038cb5ea53a94f8e
Signed-off-by: Dmitry Kovalenko <d.kovalenko@samsung.com>
Dmitry Kovalenko [Wed, 7 Dec 2016 13:30:43 +0000 (16:30 +0300)]
Add copyright about code copied from wayland
Change-Id: Iadcfcb7e15b6e349367083c9414b6e6dac828304
Anatolii Nikulin [Wed, 30 Nov 2016 15:04:26 +0000 (18:04 +0300)]
Add removing GOT patcher probes on stop
Change-Id: Ib49e36020d2ead7ffaf68cd3df9c11566c8f34e8
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
Anatolii Nikulin [Wed, 30 Nov 2016 14:39:39 +0000 (17:39 +0300)]
Enable Web startup profiling
Change-Id: I9938acefe6515d23d117ee1e3d71c558abb9438b
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>
Anatolii Nikulin [Thu, 10 Nov 2016 11:39:57 +0000 (14:39 +0300)]
Update memps from mainstream
Change-Id: I45753fcd754a4403109f2262486363679c0a5cd9
Signed-off-by: Anatolii Nikulin <nikulin.a@samsung.com>