summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-10-17Release version 0.9.6tizen_5.5.m2_releasesubmit/tizen_5.5_mobile_hotfix/20201026.185102submit/tizen_5.5/20191031.000003submit/tizen/20191020.234119submit/tizen/20191018.073749submit/tizen/20191018.041751submit/tizen/20191018.031913accepted/tizen/unified/20191021.220248accepted/tizen/unified/20191021.071942accepted/tizen/5.5/unified/mobile/hotfix/20201027.064738accepted/tizen/5.5/unified/20191031.024112tizen_5.5_mobile_hotfixaccepted/tizen_5.5_unified_mobile_hotfixHwankyu Jhun1-1/+1
Changes: - Add missing function call Change-Id: I738b48c50b42dcd76ae00e7b0466985510c07d27 Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2019-10-17Add missing function callHwankyu Jhun1-0/+17
To separate mount namespace, security_manager_prepare_app_candidate() has to be called. Change-Id: Ie3a5d7e6f35b82694fd8760b4839e0e9deffec6c Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2019-10-14Release version 0.9.5submit/tizen/20191014.093558accepted/tizen/unified/20191015.011957Hwankyu Jhun1-1/+1
Changes: - Fix a bug about hydra loader Change-Id: Iee9c52e1b5b739f7e0e1c6946e2a6966e554545c Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2019-10-14Fix a bug about hydra loaderHwankyu Jhun1-2/+7
After a new package is installed, the launchpad has to send SIGKILL signal to the running hydra loaders. Change-Id: Ia44e768c893fb8ffe1680452b3688e8fd3ccb552 Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2019-10-11Release version 0.9.4submit/tizen/20191011.075130accepted/tizen/unified/20191014.005007Hwankyu Jhun1-1/+1
Changes: - Fix candidate start bug on hydra mode Change-Id: If0822da887f8293ddc4aa780f4413964c57ca118 Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2019-10-11Fix candidate start bug on hydra modeHyungju Lee1-15/+24
Change-Id: I3d71eeb7606cd73b8b251dd6bbc0f52fce3651da
2019-10-08Release version 0.9.3submit/tizen/20191007.234536accepted/tizen/unified/20191008.101542Hwankyu Jhun1-1/+1
Changes: - Add AUL_HWACC variable to the environment - Check if the main loop is stopped properly Change-Id: Ief4583d89d068ace81ca8d6c0023a2eb8cd2b944 Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2019-10-07Check if the main loop is stopped properlyHwankyu Jhun1-1/+8
If the main loop is stopped forcedly, the loader_terminate_cb callback function must not be called. Change-Id: Idb1e253e4be5a46fa1b954221f0d083bce7761a3 Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2019-10-07Add AUL_HWACC variable to the environmentHwankyu Jhun1-1/+3
Change-Id: I1f3b9e3444d41a5a6123ac6a1874eddebacc7e8b Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2019-10-02Release version 0.9.2submit/tizen/20191002.022728accepted/tizen/unified/20191004.003613Hwankyu Jhun1-1/+1
Changes: - Print HW clock logs for performance measurement Change-Id: I6e851e6e1643b6cba3a4547701822124828a009e Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2019-10-02Print HW clock logs for performance measurementHwankyu Jhun3-0/+21
Change-Id: I69f247fcd08e4a03912f0e2257912a8f234187bc Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2019-09-25Release version 0.9.1submit/tizen/20190925.002954accepted/tizen/unified/20190925.220358Hwankyu Jhun1-1/+1
Changes: - Add a logic to specify the app id while forking Change-Id: I731f7de141e70819c5ece3ba4a617a194b0f9f3c Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2019-09-25Add a logic to specify the app id while forkingWonki Kim1-0/+2
Application runs by forking a launchpad process in Tizen. A forked application process inherits whole information of launchpad including atspi application name that is specified by calling elm_app_name_set. this patch adds a logic to have the own name for each forked applications in atspi point of view. Change-Id: I42c892e4c8c15a67ddc5fac0bdd435305fcababe
2019-09-20Release version 0.9.0submit/tizen/20190920.040655accepted/tizen/unified/20190921.125420Hwankyu Jhun1-1/+1
Changes: - Introduce new API for hydra mode: Change-Id: If3882a81163100c9ad51215daa4c0092690f2579 Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2019-09-20Merge "Introduce new API for hydra mode:" into tizenHwanKyu Jhun8-39/+551
2019-09-17Introduce new API for hydra mode:Gleb Balykov8-39/+551
typedef void (*hydra_precreate_cb)(void *user_data); typedef void (*hydra_create_cb)(void *user_data); typedef void (*hydra_fork_cb)(void *user_data); typedef int (*hydra_terminate_cb)(void *user_data); typedef struct { hydra_precreate_cb precreate; hydra_create_cb create; hydra_fork_cb fork; hydra_terminate_cb terminate; } hydra_lifecycle_callback_s; int launchpad_hydra_main(int argc, char **argv, hydra_lifecycle_callback_s *hydra_callbacks, loader_lifecycle_callback_s *callbacks, loader_adapter_s *adapter, void *user_data); In this mode candidates fork from one "hydra" candidate that allows to share memory between them: Launchpad | | (fork initial loader in hydra mode) | +----+ | loader (hydra-mode) | | launchpad_hydra_main | | precreate (hydra callback) | | (decide run in hydra mode or call launchpad_loader_main) | | create (hydra callback) | | (initial hydra fork) | +-------+-------+ <- initial candidate | | | | fork (hydra callback) | | | | launchpad_loader_main | | | (loader event loop) | | | _connect_to_launchpad_hydra | (hydra event loop) <- waits commands from launchpad | | (fork on request) | +-------+ <- new candidate | | fork (hydra callback) | | quit from hydra loop | | terminate (hydra callback) | | launchpad_loader_main | (loader event loop) Change-Id: I68566cb0e45031b9f4f8039ca2f1de09bb6dafe9
2019-09-17Release version 0.8.2submit/tizen/20190917.043123Hwankyu Jhun1-1/+1
Changes: - Bump up efl module version. Change-Id: I472dc34df1afff50de5428449e24585247022602 Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2019-09-17Merge "Bump up efl module version." into tizenHwanKyu Jhun1-4/+4
2019-09-17Release version 0.8.1submit/tizen/20190917.001106accepted/tizen/unified/20190917.110607Hwankyu Jhun1-1/+1
Changes: - Remove unnecessary setting - Validate a custom loader process Change-Id: I5dc23690e8e983b8439b7b79a44077480754ae9e Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2019-09-17Validate a custom loader processHwankyu Jhun1-0/+2
Before sending a launch request, the launchpad checks whether the custom loader is prepared or not. If it's not prepared, the application will be launched by exec(). Change-Id: Ibcd04f8506c41d493f1afd35bbe5c90337eb6443 Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2019-09-16Bump up efl module version.Yeongjong Lee1-4/+4
efl version is updated to 1.23, efl module patch should be synchronized with it. Change-Id: I1246299e92f637baec950f5680d9e500e58983af
2019-08-27Remove unnecessary settingINSUN PYO1-1/+0
Change-Id: I5836bf2a21239e8416ea02d8b72b1c5d6ccf3450 Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
2019-08-27Release version 0.8.0submit/tizen/20190826.095036accepted/tizen/unified/20190828.011040Hwankyu Jhun1-1/+1
Changes: - Add candidate process preparation Change-Id: I2d2ba1ca6269cf56150f1c394c5a36e80f4c744b Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2019-08-26Add candidate process preparationTomasz Swierczek2-1/+9
Setting up security context of new application requires some actions to be done in single-threaded environment (currently, this comes down to setting up per-app mount namespace). This requires to be done before custom app loader is exec'ed. Change-Id: I90735052e8cb60d49f402dbe8c8977d14aecb875
2019-08-23Release version 0.7.1submit/tizen/20190826.012820accepted/tizen/unified/20190826.113225Hwankyu Jhun1-1/+1
Changes: - Fix error log message - Revert "tizen: Add additional unit for "unified" user session" Change-Id: Ie9184d61bce168277418f9ab85a852d6c127ed30 Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2019-08-22Revert "tizen: Add additional unit for "unified" user session"Yunmi Ha3-53/+0
This reverts commit 371f1ade513b56bb89b8ecedbef16d6c3d7392c3. We've optimized systemd-user without unified system/session. So, we revert the patch for unified system/session. Change-Id: I9102ccb19b82e3321c4e67d5f30c09643a85e585
2019-08-22Fix error log messageHwankyu Jhun1-2/+2
Change-Id: I39ca41aeb806388c4e8a37ccf1c4c913668d133e Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2019-08-20Release version 0.7.0submit/tizen/20190820.014631accepted/tizen/unified/20190820.115039Hwankyu Jhun1-1/+1
Changes: - Add a configuration file to mofidy memory status key-value pairs Change-Id: I08eba77d99e3bea1a5bf70c27b3cb759ec7488ec Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2019-08-19Add a configuration file to mofidy memory status key-value pairsHwankyu Jhun6-12/+287
Change-Id: Iae9639085294824841d73b18ee2ba6c2dfece364 Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2019-07-10Release version 0.6.2submit/tizen/20190710.040203accepted/tizen/unified/20190710.103456Hwankyu Jhun1-1/+1
Changes: - Change the config value of the systemd service ("false" -> "no") Change-Id: I31f7407749786f8f7318d1701b8c75efce01150c Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2019-06-24Change the config value of the systemd service ("false" -> "no")INSUN PYO2-2/+2
"no" and "false" have the same meaning, but the document has "no". Also, since the parsing order is "no" first, there is some performance gain. Change-Id: Icd678619d7c3d475fd081b463046bfd2277256fd
2019-05-02Release version 0.6.1submit/tizen/20190502.044046accepted/tizen/unified/20190503.075035Junghoon Park1-1/+1
Changes: - tizen: Add additional unit for "unified" user session - Merge "tizen: Add additional unit for "unified" user session" into tizen Change-Id: I09338a3aba3f5c21d3e986db3735112f6f7dbc0f Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
2019-05-02Merge "tizen: Add additional unit for "unified" user session" into tizenJunghoon Park3-0/+53
2019-04-30Release version 0.6.0submit/tizen/20190430.020617accepted/tizen/unified/20190430.113456Hwankyu Jhun1-1/+1
Changes: - Send child process info Change-Id: If3d1e7b6e0ea0b0030d4a4809120e342bebd7f14 Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2019-04-26tizen: Add additional unit for "unified" user sessionMateusz Moscicki3-0/+53
The unified user session is about moving user session units, managed by systemd --user, to main systemd, where it's managed as part of newly created user@.target. user@.target will contain same units as previously available in user/, with same UID and environment setup. systemd instance is used for unit to be able to specify UID (inherited from user@.target). The rationale behind this work is following: * TV profile would benefit from remove user session support * boot time optimization requirements, due to: + 'systemd --user' taking 1s its own startup that could be used for unit startup + ability to better rearrange units if these managed by one systemd instance Unit installed by this commit will not be used till user login mechanism will be changed in systemd package (via changing pam_systemd to start user@.target, rather than user@.service). Change-Id: If68bb07b8de2a66356d13c8999126c4387ddd3bc
2019-04-25Send child process infoHwankyu Jhun2-0/+2
Whild creating a child process, the child process sends the signal to amd. To manage window size, this is needed for window-manager. Change-Id: I616906062920657d948293c34a64adc07561073a Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2019-04-10Release version 0.5.30submit/tizen/20190410.100752accepted/tizen/unified/20190411.040524Hwankyu Jhun1-1/+1
Changes: - Add access label on launchpad-process-pool Change-Id: If8c1baf721ae97c6e3993416c77f10bac8951714 Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2019-04-10Add access label on launchpad-process-poolHwankyu Jhun1-1/+1
Change-Id: If6a18fba774f77d4e4ac2f2218ab4ecbdeaa6752 Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2019-04-05Release version 0.5.29submit/tizen/20190405.011027accepted/tizen/unified/20190406.011026Hwankyu Jhun1-1/+1
Changes: - Fix wrong log message Change-Id: I43518ba931bda4e7fc4f2b68e729844d2615432e Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2019-04-02Fix wrong log messageHwankyu Jhun1-1/+2
Change-Id: I673a1d3512c3d83d560d9e89ff0adb5c9bc30bfa Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2019-04-02Release version 0.5.28submit/tizen/20190402.065552accepted/tizen/unified/20190402.144740Hwankyu Jhun1-1/+1
Changes: - Add a print for library loading start and end time Change-Id: Ic73ff89841c4752f5a8d14f1922d2bb9e3a8adcb Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2019-04-01Add a print for library loading start and end timeJunghoon Park1-0/+10
Change-Id: I760bcaa3ceb2e7a745993610e5ef17d3c44ca229 Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
2019-03-29Release version 0.5.27submit/tizen/20190401.000056accepted/tizen/unified/20190401.224953Hwankyu Jhun1-1/+1
Changes: - Bump up efl module version. Change-Id: Ie3dce2b70bfe9ba65b43f7e74873976c66a29023 Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2019-03-29Bump up efl module version.Hermet Park1-4/+4
efl version is updated to 1.22, efl module patch should be synchronized with it. Change-Id: I2894143b8e40c1d28d70296a7b81526a63e09170
2019-03-08Release version 0.5.26submit/tizen/20190308.063707accepted/tizen/unified/20190311.072529Hwankyu Jhun1-1/+1
Changes: - Add exceptions for debugging - Add a logger socket for printing errors Change-Id: Iecf6e71d2faea67fbfcdef66f6cc097290e4b452 Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2019-03-05Add a logger socket for printing errorsHwankyu Jhun4-66/+168
If execv() call is failed, the child process sends messages to launchpad. And then, launchpad prints the messages by secure dlog. Change-Id: I55be076dd095efb9d7addfa36b84dc2362d9daf7 Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2019-02-28Add exceptions for debuggingHwankyu Jhun1-1/+10
Change-Id: Iad5fccc7f0b8f88347691c6598339fc1e7c52741 Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2019-01-31Release version 0.5.25submit/tizen/20190131.010812accepted/tizen/unified/20190131.161435Hwankyu Jhun1-1/+1
Changes: - Fix a bug about handling loader info Change-Id: Ifce07a71e86a39b79a79aafc5623590920196893 Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2019-01-31Fix a bug about handling loader infoHwankyu Jhun1-1/+1
If there is a loader that has not been used even once, it can be executed with the wrong loader at re-run. Because, the default value of the type is zero and the first loader is also zero. This patch changes the reference value. Change-Id: I2df4d632cb1e8a3268ef0edf53a65b8cfe475513 Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
2019-01-18Release version 0.5.24submit/tizen/20190118.025628accepted/tizen/unified/20190128.061245Hwankyu Jhun1-1/+1
Changes: - Fix static analysis issues - Prepare ID file Change-Id: I6c70eae7bc35fdc1f32df7a5633be8ebfa8182b7 Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>