Semun Lee [Mon, 28 Aug 2017 06:06:13 +0000 (15:06 +0900)]
Add Obsoletes dependency to amd-mod-launchpad
When launchpad is installed, amd-mod-launchpad is useless
and should be removed.
Change-Id: Ie76ef1fad081c7c0d70426aa6a7906d3bcf394fb
Signed-off-by: Semun Lee <semun.lee@samsung.com>
Hwankyu Jhun [Sun, 27 Aug 2017 23:17:12 +0000 (08:17 +0900)]
Release version 0.3.2
Changes:
- Add CAP_SYS_ADMIN capability
Change-Id: Icdab9561533a0bcbba1fb91cb86bc49fe5fd1b40
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Dariusz Michaluk [Tue, 18 Jul 2017 12:55:52 +0000 (14:55 +0200)]
Add CAP_SYS_ADMIN capability
Launchpad need additional capability to unshare mount namespace.
Change-Id: I96277437b689c32683e46556d79b12cbb3d6e213
Hwankyu Jhun [Tue, 15 Aug 2017 22:48:13 +0000 (07:48 +0900)]
Release version 0.3.1
Changes:
- Fix log format
Change-Id: I3979f462307cee834fd4e447e8614c9857d69349
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 10 Aug 2017 09:04:47 +0000 (18:04 +0900)]
Fix log format
Change-Id: I3d66c8c684eaa6bd7fc80f9783eb07396353b0b0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 4 Aug 2017 01:51:08 +0000 (10:51 +0900)]
Release version 0.3.0
Changes:
- Add an exception handling about out of memory
- CPP check tool issues are fixed
- Make candidate processes sequentially
- Remove wayland env set that no longer required
- Add grammar for setting cpu threadhold
- Check CPU idle time for TIMEOUT method
- Set the architecture info for Unity app
Change-Id: I22352c12139bf834e657adad0f5f3bad2b80607f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 3 Aug 2017 09:52:50 +0000 (18:52 +0900)]
Add an exception handling about out of memory
Change-Id: I87aec1626f405502215e6c80923bce856963c834
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
darpan.ka [Thu, 27 Jul 2017 09:21:57 +0000 (14:51 +0530)]
CPP check tool issues are fixed
Change-Id: I7798b681071ed639a41d4767c8f1dac8384df487
Signed-off-by: darpan.ka <darpan.ka@samsung.com>
Junghoon Park [Fri, 28 Jul 2017 11:58:48 +0000 (20:58 +0900)]
Make candidate processes sequentially
- Once candidate processes are launched at the same time, it will cause bad
performance.
- This path allow launchpad to make candidate processes sequentially.
Change-Id: Ia460465d667af1a4983c13b7be21173f07f9186b
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Daehyeon Jung [Fri, 3 Mar 2017 07:15:20 +0000 (16:15 +0900)]
Remove wayland env set that no longer required
Change-Id: I2a41930a071b660a3c1c7d3f2d5904c364958a56
Signed-off-by: Daehyeon Jung <darrenh.jung@samsung.com>
Junghoon Park [Mon, 17 Jul 2017 06:09:20 +0000 (15:09 +0900)]
Add grammar for setting cpu threadhold
- 'CPU_THRESHOLD_MAX' and 'CPU_THRESHOLD_MIN' are added
- By default, CPU_THRESHOLD_MAX is 90
- By default, CPU_THRESHOLD_MIN is 40
- These values may be changed later for some devices by changing '.loader' file
Change-Id: I9054cc79d1399ba860421354772733f7b8bd1ac4
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Junghoon Park [Mon, 17 Jul 2017 05:24:33 +0000 (14:24 +0900)]
Check CPU idle time for TIMEOUT method
- Although timeout event happen, launchpad will check CPU idle time
again to figure out proper time for making candidate process
Change-Id: I8480fe1bb575182a794f47a9d192370968d9a245
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Junghoon Park [Mon, 10 Jul 2017 02:16:13 +0000 (11:16 +0900)]
Set the architecture info for Unity app
Change-Id: Ibd103dbf6035bcbb8bf240f72ad67a34f1a55974
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Hwankyu Jhun [Thu, 29 Jun 2017 04:53:29 +0000 (13:53 +0900)]
Release version 0.2.16
Changes:
- Do not create the new dynamic tags
Change-Id: Ib399c642c130caa4d350deb32d4b67bdcdd0b005
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 28 Jun 2017 06:09:43 +0000 (15:09 +0900)]
Do not create the new dynamic tags
Add linker option:
-Wl,--disable-new-dtags
Change-Id: I11f6bdd242d915f8af8e25d958b7f1c58d7c508f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 23 Jun 2017 04:33:06 +0000 (13:33 +0900)]
Release version 0.2.15
Changes:
- Remove unnecessary exception
- Fix exception handling about label monitor
- Fix multiple delimiter
- Separate threshold value for each slot
- Fix invalid format about dlog
Change-Id: I1b91cdb72c5654ad11320dd6c7cc823a067294c9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 21 Jun 2017 06:21:58 +0000 (15:21 +0900)]
Remove unnecessary exception
Currently AUL_K_PRIVACY_APPID key is not used.
Change-Id: If78a9729d3d5878e34ab89e8ae3d4c814e1d0188
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 20 Jun 2017 09:24:46 +0000 (18:24 +0900)]
Fix exception handling about label monitor
Even though label monitor initialization is failed, the launchpad
doesn't stop initializing. And, if the loader has cap_mac_admin cap,
the launchpad will prepare the loader process to execute an application
for improving launch performance. When the label_monitor variable is null,
the launchpad checks wheather the loader has cap_mac_admin cap or NOT.
Change-Id: Ic8103e1897e38e4e7ded96e9c78551bd64776b8a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 20 Jun 2017 05:05:25 +0000 (14:05 +0900)]
Fix multiple delimiter
- Add carriage return on delimiter
Change-Id: Ib1cf6b6759ed53f3834ca5a616ed61a67326b0ac
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Junghoon Park [Mon, 19 Jun 2017 05:56:05 +0000 (14:56 +0900)]
Separate threshold value for each slot
- A threshold value should not affect other slots
Change-Id: I3ed88b7866009515b7c5afb7110649bd7b4017f6
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Hwankyu Jhun [Mon, 19 Jun 2017 05:19:25 +0000 (14:19 +0900)]
Fix invalid format about dlog
Change-Id: Ic74c58d5ef3e0b298c40f9619b933d91e312299a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 13 Jun 2017 05:08:36 +0000 (14:08 +0900)]
Release version 0.2.14
Changes:
- Add RUNTIME_TYPE to the environment
- Prevent buffer overflow
- Fix log message about buxton error handling
Change-Id: I4221e9a5b6a4d3574d57cbc38fdec879742bda79
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 12 Jun 2017 05:09:09 +0000 (14:09 +0900)]
Add RUNTIME_TYPE to the environment
Change-Id: I09b6dd1e1fe640190068d7dc3a090808d32b2796
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 7 Jun 2017 03:14:32 +0000 (12:14 +0900)]
Prevent buffer overflow
Change-Id: I80053a8fd20b7554b2ffeeede9dbcc561469e922
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 6 Jun 2017 23:17:08 +0000 (08:17 +0900)]
Fix log message about buxton error handling
This patch adds log messages about errno value.
Change-Id: Ida32efcea628f86e0122dec19569b1c9dcb16a8e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 31 May 2017 23:54:14 +0000 (08:54 +0900)]
Release version 0.2.13
Changes:
- Change threshold to detect idle time dynamically
- Fix priority change feature
- Fix build dependency
Change-Id: I4570d357e401010f37eb726b9fa47342e6424dea
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Junghoon Park [Thu, 25 May 2017 07:52:45 +0000 (16:52 +0900)]
Change threshold to detect idle time dynamically
- Some devices may have not enough cpu power to reach maximum threshold.
- To cover this issue, the threshold should be changed properly
Change-Id: I28dcfc5e1e2353b9eef47a83e68b834412560cd5
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Hwankyu Jhun [Mon, 29 May 2017 10:02:54 +0000 (19:02 +0900)]
Fix priority change feature
- Change prefix to "TIZEN_FEATURE".
- Change lowest priority value to 19. (range: -20 ~ 19)
- Set CAP_SYS_NICE if the feature is enabled
- Add a new API to adjust scheduling priority
Note:
- To enable the feature, the user session systemd should have
the cap_sys_nice capability(inheritable).
Change-Id: I86e3d30a26ecde5bf8a70ef1cb2660fa33cc5aef
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 26 May 2017 07:20:52 +0000 (16:20 +0900)]
Fix build dependency
- Use libsystemd instead of libsystemd-daemon
Change-Id: Ia61fb5e7e3322e8bd28e3ae97c0ebbe05c2cbc8a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 25 Apr 2017 03:47:45 +0000 (12:47 +0900)]
Release version 0.2.12
Changes:
- Fix APP_STARTUP_SIGNAL number
Change-Id: I40a34edba5d8c458d626851449b9885fbfe71519
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Sun, 23 Apr 2017 23:45:32 +0000 (08:45 +0900)]
Fix APP_STARTUP_SIGNAL number
The APP_STARTUP_SIGNAL number is changed.
Change-Id: I72cc6584b3c1d924a73b4013d271d77deea8fa91
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 14 Apr 2017 04:17:21 +0000 (13:17 +0900)]
Revert "Check privacy before executing an application"
This reverts commit
ec97ec0b1970a40bf1afa08c7efc3b3e52ab99a8.
Change-Id: I0568a14bbf665abfea8a8e0bae85feb58cf2de1e
Hwankyu Jhun [Fri, 14 Apr 2017 04:17:05 +0000 (13:17 +0900)]
Revert "Fix log messages"
This reverts commit
bdeb0fd445c6fc5ce88eb7c37ae82d93befef3cf.
Change-Id: I1a176c1d26409ecc5a0b2e58b6d8622a2c70e595
Hwankyu Jhun [Wed, 5 Apr 2017 06:54:22 +0000 (15:54 +0900)]
Fix log messages
Change-Id: I0a51bd9e10e6dd5e2c4c1b50746c07606b275fd2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 5 Apr 2017 00:01:27 +0000 (09:01 +0900)]
Check privacy before executing an application
If the security_manager_prepare_app_privacy() returns an error,
the launch request will be rejected.
Change-Id: Iaa4f1341ff684cef33cfeea35921fa3c017bce80
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 4 Apr 2017 08:51:57 +0000 (17:51 +0900)]
Release version 0.2.11
Changes:
- Change dbspace file mode
Change-Id: I27f422fd069bee3d60d5025f7716a2a1140b3d28
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 31 Mar 2017 08:32:30 +0000 (17:32 +0900)]
Change dbspace file mode
The file mode of /run/aul/dbspace/%U is changed to 701.
Change-Id: Ifb5ffe4bcba9b71c5e5b93335f34082227a69cf1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 30 Mar 2017 09:49:11 +0000 (18:49 +0900)]
Release version 0.2.10
Changes:
- Send app startup signal
Change-Id: I28818cfc56ff95173665d5a07fe829b5d2efc17f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 23 Mar 2017 08:39:02 +0000 (17:39 +0900)]
Send app startup signal
After calling security_manager_prepare_app(), the child process
sends the app startup signal to the amd.
This signal is for handling privacy popup.
Change-Id: I46c51bb3ffc42c8f0271815fc8bf5e0f69f011ad
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 23 Mar 2017 02:04:30 +0000 (11:04 +0900)]
Release version 0.2.9
Changes:
- Use license macro
Change-Id: I8af9438a0771e70ad393e03468acc4a8e19a5650
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 23 Mar 2017 01:07:13 +0000 (10:07 +0900)]
Use license macro
Change-Id: I7fde276824ca6a89df24d1b969fa3102b58a78b2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 21 Mar 2017 22:34:36 +0000 (07:34 +0900)]
Release version 0.2.8
Changes:
- Fix a typing error
Change-Id: If9dc9e0f5d3e429ee4f737a4676621bfdf4eb4a8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 21 Mar 2017 08:37:48 +0000 (17:37 +0900)]
Fix a typing error
Change-Id: Icaa9108e59e725cab731c64f37ba63f1a2240d24
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 8 Mar 2017 04:28:42 +0000 (13:28 +0900)]
Release version 0.2.7
Changes:
- Ignore SIGILL during OpenSSL initialization
- Handle large app_pkt_t properly in send/recv
- Re-adjust lauchpad logs
Change-Id: I1c4e397dce1957b11d8c03fe7e3f95af08b304d6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 7 Mar 2017 04:25:26 +0000 (13:25 +0900)]
Ignore SIGILL during OpenSSL initialization
When debugging an application by using the gdbserver,
SIGILL is occurred during OpenSSL initialization.
After applying this patch, the launchpad will support
to add the default option for the debug tools.
While executing an application with the gdbserver,
"--wrapper env OPENSSL_armcap=0 --" will be set by the launchpad.
e.g. $ /usr/bin/gdbserver --wrapper env OPENSSL_armcap=0 -- :<port> <path>
Change-Id: Id8141d2fd76daff50ad0bde9a6fbae903a3de869
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Semun Lee [Sat, 4 Mar 2017 05:38:23 +0000 (14:38 +0900)]
Handle large app_pkt_t properly in send/recv
launchpad need to handle large data properly.
This patch fixes to handle large data properly in send/recv.
Change-Id: I3ca132bf82bbb389b6696e63ea53ebdc8d773131
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
(cherry picked from commit
709ec1fb8525a1cc0aff632b4af0efc17d1c6c3e)
Venkatesha Sarpangala [Mon, 20 Feb 2017 05:54:04 +0000 (11:24 +0530)]
Re-adjust lauchpad logs
Modify logs that create confusion to the developers
while debugging issues
Change-Id: Iae2ae992bd291de6d72c7377b7ca1596894a4c18
Signed-off-by: Venkatesha Sarpangala <sarpangala.v@samsung.com>
(cherry picked from commit
787579c82fd411ee74ee2c76472decf2f36d72db)
Hwankyu Jhun [Mon, 13 Feb 2017 10:41:35 +0000 (19:41 +0900)]
Release version 0.2.6
Changes:
- Add an exception handling about overflow
Change-Id: I79eadbf0ed086e965700d07ecc21a05dd8ab43ec
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 13 Feb 2017 08:34:06 +0000 (17:34 +0900)]
Add an exception handling about overflow
Change-Id: If173382502806a399ddfa1b5f6553a6601cb0bd1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 3 Feb 2017 05:35:58 +0000 (14:35 +0900)]
Release version 0.2.5
Changes:
- Add the pid to the environment
- Remove adding the conformant object to the window object
Change-Id: Iba2f198373ab63ae3390ef404482630f8964d591
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 2 Feb 2017 10:25:28 +0000 (19:25 +0900)]
Add the pid to the environment
When the application is launched by the debugger,
the application is a child process of the debugger.
The process group of the appliation is not equal to
the process id of the debugger.
If the process id is not equal to the process pid of
the environment variable, the aul socket API will create
the socket link to recevie the request.
Requires:
- https://review.tizen.org/gerrit/112668
Change-Id: I2f63a9cf74f13157b6cd39c8ad5d37489a37165a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 25 Jan 2017 07:39:11 +0000 (16:39 +0900)]
Remove adding the conformant object to the window object
The launchpad-loader doesn't call the elm_win_resize_object_add()
when creating the conformant object.
Change-Id: I26476a248d7f2faceff9692e985e33a827714ac4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 25 Jan 2017 04:16:58 +0000 (13:16 +0900)]
Release version 0.3.0
Changes:
- Split the packages
- Fix versioning
- Prevent SIGPIPE
Change-Id: I044d588557b50c7b92cc9dd5fbf6d2ae9b89b754
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hawnkyu Jhun [Sun, 22 Jan 2017 00:43:11 +0000 (09:43 +0900)]
Split the packages
This patch is to remove the dependency of UI libraries.
Change-Id: Ie2009fe7c35b4cb8fa3150765218350d7b5d1188
Signed-off-by: Hawnkyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 23 Jan 2017 22:58:10 +0000 (07:58 +0900)]
Fix versioning
Change-Id: I5acf92bcbb9d94d415cbe5f2f09f701503d11d53
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 19 Jan 2017 22:51:15 +0000 (07:51 +0900)]
Prevent SIGPIPE
- Use MSG_NOSIGNAL option
Change-Id: I62cbf54ca004b65e022f3365ee6930a92674b165
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 4 Jan 2017 10:08:56 +0000 (19:08 +0900)]
Remove permission check
This patch removes the permission check for executing an application
with the debug tool.
Change-Id: I66a86012d197edaf120e87e6d455eca72f88c5b9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 4 Jan 2017 08:02:35 +0000 (17:02 +0900)]
Merge branch 'tizen_3.0' into tizen
Change-Id: I99a654708caa2a2058b8dba1dd29c3b8945cffb9
Semun Lee [Wed, 28 Dec 2016 10:15:16 +0000 (19:15 +0900)]
Do not wait response from amd for launch/dead command
We don't need to wait response from amd.
It may lead deadlock between launchpad and amd.
Change-Id: I75767b69d404fb28ce0059385026c5107a13cc71
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
Hwankyu Jhun [Wed, 21 Dec 2016 07:36:01 +0000 (16:36 +0900)]
Fix standard I/O redirection
- The child process doesn't redirect std fds when
the launch request is for debugging.
Change-Id: I10958679eda3ab88dd515bc6025074a5cffd0598
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 15 Dec 2016 07:02:42 +0000 (16:02 +0900)]
Redirect std fds before exec
stdin -> /dev/null
stdout -> journal fd or /dev/null
stderr -> journal fd or /dev/null
Change-Id: I7346df00a668c2cb08098a93ad15db97a1e8d2f7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 5 Dec 2016 13:59:05 +0000 (22:59 +0900)]
AMD moves to system session
- Make aul directories
- Send launch/dead signal to amd
- Make default slots by cpu usage
Change-Id: Ie41fbeb3155a14b5c382d79cad53b5c4c7393934
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 16 Dec 2016 09:48:22 +0000 (18:48 +0900)]
Add AUL_LOADER_INIT to the environment
- Requires
https://review.tizen.org/gerrit/105374
Change-Id: If6a483c333f13b163b8a22b49defe1d848c4632e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 16 Dec 2016 08:05:03 +0000 (17:05 +0900)]
Remove calling dlclose
Change-Id: Ic7c086f9f1d517e9c3d0c672951ba4713d299981
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Inkyun Kil [Thu, 15 Dec 2016 00:24:06 +0000 (09:24 +0900)]
Replace 'readdir_r' with 'readdir'
'readdir_r' is deprecated since version 2.24 glibc.
By upgrading TOOLCHAIN for platform, it should be replaced by 'readdir'
Change-Id: I54ad1b8291f5148e2e294cb8219ce11b32f1db6c
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Junghoon Park [Wed, 14 Dec 2016 10:11:25 +0000 (19:11 +0900)]
Add exception for web widget
Change-Id: If81203bbb86ca059d1edcc773fe9927947cfea2a
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Hwankyu Jhun [Fri, 2 Dec 2016 05:02:04 +0000 (14:02 +0900)]
Support unit test tool
- Add extra data on debugger option
Change-Id: I511302dea6a999e8154a84ee73affe3c1c0b2269
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 29 Nov 2016 07:15:32 +0000 (16:15 +0900)]
Adjust stdout/stderr redirection
Change-Id: I26cce4cc82cb6a2f35f7e60669b51c64c039bdf4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 25 Nov 2016 02:09:59 +0000 (11:09 +0900)]
Shut down elementary
Change-Id: I4d81a9ab14d07f6e7aaff9601d3bb9fbe8576daf
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 14 Nov 2016 08:23:55 +0000 (17:23 +0900)]
Adjust dlog level
Change-Id: I1992d143170bf3e5ac38215bd3198b3d44e1d847
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Jiwoong Im [Mon, 14 Nov 2016 02:02:02 +0000 (11:02 +0900)]
Replace buxton_update_client_label to sync api
- In case of using async api, buxton_close is called
before buxton2d updates client's label.
Change-Id: Iadc5e12f01e7fd11d4f56f6fc3e63190db3281cc
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
Jiwoong Im [Fri, 14 Oct 2016 06:38:13 +0000 (15:38 +0900)]
update label of buxton client in prepare exec step
- launchpad should request to update buxton client label after change smack label
Change-Id: I139d7cfdb0f77d852e16c4f4b5fd6888dd5c3390
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
Hwankyu Jhun [Mon, 24 Oct 2016 08:58:15 +0000 (17:58 +0900)]
Refactor sigchild
- Rename the header file and functions
- Remove inline definitions
- Add fallback code about sending dbus signal
Change-Id: Ibdb31370fa1c434b762d010ba690ab5cd81f6981
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hawnkyu Jhun [Wed, 28 Sep 2016 12:09:56 +0000 (21:09 +0900)]
Support script file to register static debug tools
+---------------+--------------------------------+
| [Debugger] | Description |
+---------------+--------------------------------+
| Name | Debug tool name |
| Exe | Executable file |
| App_type | Application type |
| Extra_key | Bundle key of extra arguments |
| Extra_env | Bundle key of extra environment|
| | variables |
| Unlink | Remove the specified file |
| Attach | Attach to running process |
+---------------+--------------------------------+
Change-Id: I09bf0562375d04b73ad0d076d8328fb70ca7e496
Signed-off-by: Hawnkyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 13 Oct 2016 04:20:29 +0000 (13:20 +0900)]
Support script file to register static launchers
Change-Id: I8d689122d43409502b7a13277ed63dfa86862600
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Michal Bloch [Mon, 10 Oct 2016 15:12:00 +0000 (17:12 +0200)]
Move close_all_fds right before exec
Some FDs (specifically, the ones used for dlog logging)
are in use between current close_all_fds call spot and exec
Change-Id: Ie64fad2cef350c2e2931da6a3c21200471b23fdb
Signed-off-by: Michal Bloch <m.bloch@samsung.com>
Semun Lee [Thu, 8 Sep 2016 04:03:23 +0000 (13:03 +0900)]
Remove RTLD_DEEPBIND
I found many Tizen Store applications have potential
problem of symbol conflict as they include some glib symbols
in its executable.
We cannot deal this issue in general way.
For workaround, they can be launched by removing
RTLD_DEEPBIND flag from dlopen of executable file.
Change-Id: I6635b7e14fb7e79d2895476c705f4f97eaecfcb9
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
Semun Lee [Tue, 30 Aug 2016 01:32:17 +0000 (10:32 +0900)]
Remove mounting legacy app path
/opt/usr/apps will be bind-mounted to $HOME/apps_rw.
launchpad doesn't need to mount legacy app path.
Change-Id: I23217dcb2a1b571a350d7eb6633ee56a636380e4
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
Hwankyu Jhun [Mon, 29 Aug 2016 11:48:01 +0000 (20:48 +0900)]
Adjust coding style
Change-Id: I08f25d4b1dd4d62c0967d4886a6609da75e0b312
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 19 Aug 2016 01:58:44 +0000 (10:58 +0900)]
Move service file from default.target to basic.target
Change-Id: Ia6234460170cc8fddda66e84d161ac7c7e3ac38b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Junghoon Park [Wed, 10 Aug 2016 08:47:43 +0000 (17:47 +0900)]
Clear cmdline up for loaders
Change-Id: I744fd9680fba342063ded302a6fd851272a5aec3
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Hwankyu Jhun [Mon, 8 Aug 2016 02:44:42 +0000 (11:44 +0900)]
Remove checking socket creation
Change-Id: Ife3d6350aad080fb2173935e30229e0e58a26ca9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Junghoon Park [Mon, 25 Jul 2016 01:20:39 +0000 (10:20 +0900)]
Check cpu idle time to prepare candidate process
Change-Id: Ie2c0551a417a2a06ab2891e6a467701e215178c3
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Hwankyu Jhun [Fri, 29 Jul 2016 04:14:59 +0000 (13:14 +0900)]
Wait socket creation
Change-Id: Ic1a45c7f78618725a5ff2568e0fc7760e9fb7d4e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Semun Lee [Thu, 28 Jul 2016 10:08:25 +0000 (19:08 +0900)]
Use fork/unshare instead of clone
Change-Id: I687a275ed1a35fbc5a08b8e40fc3875da175ef05
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
Hwankyu Jhun [Thu, 28 Jul 2016 02:43:36 +0000 (11:43 +0900)]
Close all open fds before executing a loader
Change-Id: I556b4083c7bbe333d1cfe0708d40daed151bcacd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Semun Lee [Mon, 25 Jul 2016 05:17:55 +0000 (14:17 +0900)]
Make / slave only once for mounting legacy path
Change-Id: I9f8cc6053095ba6218facb64596cbefa96f9c11f
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
Semun Lee [Mon, 25 Jul 2016 04:50:58 +0000 (13:50 +0900)]
Mount app legacy path as private explicitly
Change-Id: Iba25fb8619d04b235a6bb421a9a9fa2c7f58b695
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
Semun Lee [Fri, 8 Jul 2016 05:59:41 +0000 (14:59 +0900)]
Use mount namespace for backward compatiblity
To supported applications with hardcoded path in their code,
mount application root path to the legacy path.
Change-Id: I3cfe9937f281b52c02cda80836f2a59d5cf31625
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
Semun Lee [Wed, 20 Jul 2016 06:30:44 +0000 (15:30 +0900)]
Add RTLD_NODELETE flag for dlopen
preloaded libraries and application executable does not
need to be unloaded during process lifetime.
Change-Id: Iebf86725d24b33e12df1d163089547933b8f8031
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
Junghoon Park [Wed, 20 Jul 2016 04:28:12 +0000 (13:28 +0900)]
Change exec label for launchpad-loader
Change-Id: Ibb145e37aaf739bd909c613e9dfee15e72b36f75
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Hwankyu Jhun [Fri, 15 Jul 2016 01:38:48 +0000 (10:38 +0900)]
Adjust coding style
Change-Id: Ifac527030c050873f7e3be4d59716d224c7a2eaa
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Junghoon Park [Fri, 15 Jul 2016 08:32:22 +0000 (17:32 +0900)]
Change exec label to System::Privileged
Change-Id: I9139384ec602dca9333d96b133bd67b797cf1c4e
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Hwankyu Jhun [Thu, 14 Jul 2016 02:01:23 +0000 (11:01 +0900)]
Fix the exception about getting the file name
Change-Id: I1d3426a1a9f31fd93e81a92841a678d55a4c30a0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Junghoon Park [Wed, 13 Jul 2016 02:44:38 +0000 (11:44 +0900)]
Fix bug about disposing candidate processes
Change-Id: Ic8c6ad7fec3960ac8d0a173015831982c0876f64
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Junghoon Park [Mon, 11 Jul 2016 10:09:13 +0000 (19:09 +0900)]
Trim debug messages
Change-Id: I1ba22ddca3763ae4f201a715fb73799e1697ad99
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Hwankyu Jhun [Thu, 7 Jul 2016 10:06:22 +0000 (19:06 +0900)]
Add the appid and the pkgid to the enviornment
Change-Id: I6bed8f9e62f738944c1702536bddd61576f07a81
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 6 Jul 2016 06:24:16 +0000 (15:24 +0900)]
Modify closing all open fds
Change-Id: Iafd862f582e9eb9bbeecf542c2dafcb510798cfb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 29 Jun 2016 11:56:52 +0000 (20:56 +0900)]
Remove unnecessary capability
Change-Id: I3b5083baebaad31c2cdf4d614079c1a380abb548
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Junghoon Park [Wed, 29 Jun 2016 05:05:52 +0000 (14:05 +0900)]
Adjust timeout value
Change-Id: I0b1173d7059573f020920edd06ce468ca6c3210e
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>