Hwankyu Jhun [Wed, 19 Feb 2020 23:14:35 +0000 (08:14 +0900)]
Release version 0.12.0
Changes:
- Add a plugin for app-defined loader
- Add app-defined loader
- Fix return values of __dispatch_cmd_add_app_defined_loader()
- Separate codes into directories
Change-Id: I0e76ec5d9493acc58e41b88dc0b7559de79ef81f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 18 Feb 2020 08:22:08 +0000 (17:22 +0900)]
Separate codes into directories
Change-Id: I497213884beecebe3d532f4d4ece55dbcf5fd329
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 18 Feb 2020 01:47:14 +0000 (10:47 +0900)]
Fix return values of __dispatch_cmd_add_app_defined_loader()
Change-Id: Ia7504d0a4b4078cc932af2094dddc174d82df123
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Jusung Son [Fri, 7 Feb 2020 00:10:57 +0000 (09:10 +0900)]
Add app-defined loader
Requires:
- https://review.tizen.org/gerrit/#/c/platform/core/appfw/aul-1/+/224466/
- https://review.tizen.org/gerrit/#/c/platform/core/appfw/amd/+/224634/
- https://review.tizen.org/gerrit/#/c/platform/core/api/app-control/+/224798/
- https://review.tizen.org/gerrit/#/c/platform/core/appfw/launchpad/+/224161/
Change-Id: I66ea0abec98fd387e91cf67a7f5db94e5d0234d0
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
hyunho [Mon, 3 Feb 2020 02:29:49 +0000 (11:29 +0900)]
Add a plugin for app-defined loader
Change-Id: I73f527421a98bc619266171553280acd9029c61d
Signed-off-by: hyunho <hhstark.kang@samsung.com>
Hwankyu Jhun [Thu, 30 Jan 2020 23:50:07 +0000 (08:50 +0900)]
Release version 0.11.0
Changes:
- Support launching service app with dynamic loader
Change-Id: I568521232e4d1fcaf6797f67bd40f961bbdc4b79
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 22 Jan 2020 06:02:40 +0000 (15:02 +0900)]
Support launching service app with dynamic loader
Change-Id: If385128a84a89e2e75d038ef5abe7ab6181c7402
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 29 Jan 2020 22:39:28 +0000 (07:39 +0900)]
Release version 0.10.5
Changes:
- Fix static anlysis issue
- Fix fd event handling
Change-Id: I9e0900116218b2a46bd3bc7ea4dbf43d50b9181e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 23 Jan 2020 02:04:14 +0000 (11:04 +0900)]
Fix fd event handling
- Uses GIOChannel instead of GSource
Change-Id: Iaf999693e8da5b0830f015435d0ebf37accab91a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 22 Jan 2020 08:13:13 +0000 (17:13 +0900)]
Fix static anlysis issue
Change-Id: I8672a904fae3b77f158b4955f0383b76465d468b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 22 Jan 2020 00:51:45 +0000 (09:51 +0900)]
Release version 0.10.4
Changes:
- Fix type
Change-Id: I20100e2f21d6b708e4199703bd9fd0764e12681c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 22 Jan 2020 00:45:28 +0000 (09:45 +0900)]
Fix type
The return value type of iniparser_getstring() is changed to "const char *".
Change-Id: I85ad74f7019d6fdc9f861e894e29fd81263e2da6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 30 Dec 2019 23:07:14 +0000 (08:07 +0900)]
Release version 0.10.3
Changes:
- Remove compile warning messages
- Fix wrong implementation
Change-Id: I67c9ece883875cbb7579110812ac84df1a8f145b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 31 Dec 2019 00:14:46 +0000 (09:14 +0900)]
Fix wrong implementation
Change-Id: Ie65ecbb277f13df6102236748d8709e7a4ff2090
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 30 Dec 2019 05:26:20 +0000 (14:26 +0900)]
Remove compile warning messages
Change-Id: I94eca9e33a0776784ae0cae1a52c5781eff84ce1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 20 Dec 2019 04:45:12 +0000 (13:45 +0900)]
Release version 0.10.2
Changes:
- Use monotonic time
Change-Id: Ie2c454ff5823f8b94db0b88dffff73c8f059b2f2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 20 Dec 2019 01:17:04 +0000 (10:17 +0900)]
Use monotonic time
To measure launching time properly, we should use monotonic time.
Requires:
- https://review.tizen.org/gerrit/#/c/platform/core/appfw/aul-1/+/220595/
- https://review.tizen.org/gerrit/#/c/platform/core/appfw/amd/+/220598/
- https://review.tizen.org/gerrit/#/c/platform/core/appfw/launchpad/+/220600/
Change-Id: I3df67a01234fcd5cb54248bbfc0519d9564a08d6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 15 Nov 2019 03:22:57 +0000 (12:22 +0900)]
Release version 0.10.1
Changes:
- Support prelink feature
Change-Id: I8c6c1b11f1e6541cd78a37b44b1818e25a52373f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 15 Nov 2019 02:24:32 +0000 (11:24 +0900)]
Support prelink feature
If the `_prelink_enable` is defined, launchpad-process-pool and launchpad-loader
will be compiled without -pie and -fPIE option.
Change-Id: I91c2743b781121b1862d4b567e875c0d4da62943
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 11 Nov 2019 00:47:51 +0000 (09:47 +0900)]
Release version 0.10.0
Changes:
- Refactor Launchpad Hydra Loader
Change-Id: I93e611f010745e3efbe6f23f6428a75cf85b7596
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 22 Oct 2019 10:25:53 +0000 (19:25 +0900)]
Refactor Launchpad Hydra Loader
- Add a new API to exit the main loop of hydra loader
- Use sd-event loop instead of custom loop
Change-Id: If5030933db38ecca12bb46cb81c3ec448fc9ad08
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 17 Oct 2019 06:58:01 +0000 (15:58 +0900)]
Release version 0.9.6
Changes:
- Add missing function call
Change-Id: I738b48c50b42dcd76ae00e7b0466985510c07d27
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 17 Oct 2019 01:50:14 +0000 (10:50 +0900)]
Add missing function call
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>
Hwankyu Jhun [Mon, 14 Oct 2019 08:18:04 +0000 (17:18 +0900)]
Release version 0.9.5
Changes:
- Fix a bug about hydra loader
Change-Id: Iee9c52e1b5b739f7e0e1c6946e2a6966e554545c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 14 Oct 2019 05:54:08 +0000 (14:54 +0900)]
Fix a bug about hydra loader
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>
Hwankyu Jhun [Fri, 11 Oct 2019 07:50:35 +0000 (16:50 +0900)]
Release version 0.9.4
Changes:
- Fix candidate start bug on hydra mode
Change-Id: If0822da887f8293ddc4aa780f4413964c57ca118
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hyungju Lee [Fri, 11 Oct 2019 07:05:31 +0000 (16:05 +0900)]
Fix candidate start bug on hydra mode
Change-Id: I3d71eeb7606cd73b8b251dd6bbc0f52fce3651da
Hwankyu Jhun [Mon, 7 Oct 2019 23:29:41 +0000 (08:29 +0900)]
Release version 0.9.3
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>
Hwankyu Jhun [Mon, 7 Oct 2019 09:18:21 +0000 (18:18 +0900)]
Check if the main loop is stopped properly
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>
Hwankyu Jhun [Mon, 7 Oct 2019 09:39:00 +0000 (18:39 +0900)]
Add AUL_HWACC variable to the environment
Change-Id: I1f3b9e3444d41a5a6123ac6a1874eddebacc7e8b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 2 Oct 2019 02:24:07 +0000 (11:24 +0900)]
Release version 0.9.2
Changes:
- Print HW clock logs for performance measurement
Change-Id: I6e851e6e1643b6cba3a4547701822124828a009e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 2 Oct 2019 01:42:17 +0000 (10:42 +0900)]
Print HW clock logs for performance measurement
Change-Id: I69f247fcd08e4a03912f0e2257912a8f234187bc
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 25 Sep 2019 00:20:55 +0000 (09:20 +0900)]
Release version 0.9.1
Changes:
- Add a logic to specify the app id while forking
Change-Id: I731f7de141e70819c5ece3ba4a617a194b0f9f3c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Wonki Kim [Wed, 18 Sep 2019 06:40:42 +0000 (15:40 +0900)]
Add a logic to specify the app id while forking
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
Hwankyu Jhun [Fri, 20 Sep 2019 03:44:05 +0000 (12:44 +0900)]
Release version 0.9.0
Changes:
- Introduce new API for hydra mode:
Change-Id: If3882a81163100c9ad51215daa4c0092690f2579
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
HwanKyu Jhun [Fri, 20 Sep 2019 03:43:48 +0000 (03:43 +0000)]
Merge "Introduce new API for hydra mode:" into tizen
Gleb Balykov [Tue, 19 Feb 2019 14:09:18 +0000 (17:09 +0300)]
Introduce new API for hydra mode:
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
Hwankyu Jhun [Tue, 17 Sep 2019 04:56:16 +0000 (13:56 +0900)]
Release version 0.8.2
Changes:
- Bump up efl module version.
Change-Id: I472dc34df1afff50de5428449e24585247022602
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
HwanKyu Jhun [Tue, 17 Sep 2019 04:55:51 +0000 (04:55 +0000)]
Merge "Bump up efl module version." into tizen
Hwankyu Jhun [Mon, 16 Sep 2019 23:45:13 +0000 (08:45 +0900)]
Release version 0.8.1
Changes:
- Remove unnecessary setting
- Validate a custom loader process
Change-Id: I5dc23690e8e983b8439b7b79a44077480754ae9e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 16 Sep 2019 23:11:38 +0000 (08:11 +0900)]
Validate a custom loader process
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>
Yeongjong Lee [Mon, 16 Sep 2019 02:07:34 +0000 (11:07 +0900)]
Bump up efl module version.
efl version is updated to 1.23,
efl module patch should be synchronized with it.
Change-Id: I1246299e92f637baec950f5680d9e500e58983af
INSUN PYO [Tue, 27 Aug 2019 00:22:53 +0000 (09:22 +0900)]
Remove unnecessary setting
Change-Id: I5836bf2a21239e8416ea02d8b72b1c5d6ccf3450
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Hwankyu Jhun [Tue, 27 Aug 2019 01:21:44 +0000 (10:21 +0900)]
Release version 0.8.0
Changes:
- Add candidate process preparation
Change-Id: I2d2ba1ca6269cf56150f1c394c5a36e80f4c744b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Tomasz Swierczek [Thu, 22 Aug 2019 12:02:45 +0000 (14:02 +0200)]
Add candidate process preparation
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
Hwankyu Jhun [Fri, 23 Aug 2019 00:22:42 +0000 (09:22 +0900)]
Release version 0.7.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>
Yunmi Ha [Tue, 20 Aug 2019 08:12:37 +0000 (08:12 +0000)]
Revert "tizen: Add additional unit for "unified" user session"
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
Hwankyu Jhun [Thu, 22 Aug 2019 01:46:01 +0000 (10:46 +0900)]
Fix error log message
Change-Id: I39ca41aeb806388c4e8a37ccf1c4c913668d133e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 20 Aug 2019 01:23:49 +0000 (10:23 +0900)]
Release version 0.7.0
Changes:
- Add a configuration file to mofidy memory status key-value pairs
Change-Id: I08eba77d99e3bea1a5bf70c27b3cb759ec7488ec
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 14 Aug 2019 07:34:25 +0000 (16:34 +0900)]
Add a configuration file to mofidy memory status key-value pairs
Change-Id: Iae9639085294824841d73b18ee2ba6c2dfece364
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 10 Jul 2019 03:15:52 +0000 (12:15 +0900)]
Release version 0.6.2
Changes:
- Change the config value of the systemd service ("false" -> "no")
Change-Id: I31f7407749786f8f7318d1701b8c75efce01150c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
INSUN PYO [Mon, 24 Jun 2019 02:06:09 +0000 (11:06 +0900)]
Change the config value of the systemd service ("false" -> "no")
"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
Junghoon Park [Thu, 2 May 2019 04:18:04 +0000 (13:18 +0900)]
Release version 0.6.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>
Junghoon Park [Thu, 2 May 2019 04:15:32 +0000 (04:15 +0000)]
Merge "tizen: Add additional unit for "unified" user session" into tizen
Hwankyu Jhun [Tue, 30 Apr 2019 01:13:36 +0000 (10:13 +0900)]
Release version 0.6.0
Changes:
- Send child process info
Change-Id: If3d1e7b6e0ea0b0030d4a4809120e342bebd7f14
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Mateusz Moscicki [Fri, 19 Apr 2019 11:48:48 +0000 (13:48 +0200)]
tizen: Add additional unit for "unified" user session
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
Hwankyu Jhun [Wed, 10 Apr 2019 04:31:30 +0000 (13:31 +0900)]
Send child process info
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>
Hwankyu Jhun [Wed, 10 Apr 2019 10:06:00 +0000 (19:06 +0900)]
Release version 0.5.30
Changes:
- Add access label on launchpad-process-pool
Change-Id: If8c1baf721ae97c6e3993416c77f10bac8951714
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 10 Apr 2019 08:37:17 +0000 (17:37 +0900)]
Add access label on launchpad-process-pool
Change-Id: If6a18fba774f77d4e4ac2f2218ab4ecbdeaa6752
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 4 Apr 2019 23:30:03 +0000 (08:30 +0900)]
Release version 0.5.29
Changes:
- Fix wrong log message
Change-Id: I43518ba931bda4e7fc4f2b68e729844d2615432e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 2 Apr 2019 06:13:25 +0000 (15:13 +0900)]
Fix wrong log message
Change-Id: I673a1d3512c3d83d560d9e89ff0adb5c9bc30bfa
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 2 Apr 2019 01:13:15 +0000 (10:13 +0900)]
Release version 0.5.28
Changes:
- Add a print for library loading start and end time
Change-Id: Ic73ff89841c4752f5a8d14f1922d2bb9e3a8adcb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Junghoon Park [Mon, 1 Apr 2019 02:53:35 +0000 (11:53 +0900)]
Add a print for library loading start and end time
Change-Id: I760bcaa3ceb2e7a745993610e5ef17d3c44ca229
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Hwankyu Jhun [Fri, 29 Mar 2019 08:14:13 +0000 (17:14 +0900)]
Release version 0.5.27
Changes:
- Bump up efl module version.
Change-Id: Ie3dce2b70bfe9ba65b43f7e74873976c66a29023
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hermet Park [Fri, 29 Mar 2019 02:19:33 +0000 (11:19 +0900)]
Bump up efl module version.
efl version is updated to 1.22,
efl module patch should be synchronized with it.
Change-Id: I2894143b8e40c1d28d70296a7b81526a63e09170
Hwankyu Jhun [Fri, 8 Mar 2019 06:34:49 +0000 (15:34 +0900)]
Release version 0.5.26
Changes:
- Add exceptions for debugging
- Add a logger socket for printing errors
Change-Id: Iecf6e71d2faea67fbfcdef66f6cc097290e4b452
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 5 Mar 2019 01:07:57 +0000 (10:07 +0900)]
Add a logger socket for printing errors
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>
Hwankyu Jhun [Thu, 28 Feb 2019 07:19:31 +0000 (16:19 +0900)]
Add exceptions for debugging
Change-Id: Iad5fccc7f0b8f88347691c6598339fc1e7c52741
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 31 Jan 2019 01:00:46 +0000 (10:00 +0900)]
Release version 0.5.25
Changes:
- Fix a bug about handling loader info
Change-Id: Ifce07a71e86a39b79a79aafc5623590920196893
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 31 Jan 2019 00:21:47 +0000 (09:21 +0900)]
Fix a bug about handling loader info
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>
Hwankyu Jhun [Fri, 18 Jan 2019 02:45:14 +0000 (11:45 +0900)]
Release version 0.5.24
Changes:
- Fix static analysis issues
- Prepare ID file
Change-Id: I6c70eae7bc35fdc1f32df7a5633be8ebfa8182b7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 17 Jan 2019 04:41:27 +0000 (13:41 +0900)]
Prepare ID file
Before executing an application, the child process creates the ID file.
If's for Application Manager.
Change-Id: I4e561b80071c12fb786ca89cab8a968d25e159ff
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 16 Jan 2019 06:27:36 +0000 (15:27 +0900)]
Fix static analysis issues
- Checks return values
- Checks the file descriptor
Change-Id: Id9bc94e63b44e959f8c1cfeb20965b44724fa592
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Junghoon Park [Fri, 11 Jan 2019 01:37:33 +0000 (10:37 +0900)]
Release version 0.5.23
Changes:
- Add exception handler
Change-Id: I00bad815a119a3239dd4433c527958cfa194defe
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Junghoon Park [Fri, 11 Jan 2019 01:27:25 +0000 (10:27 +0900)]
Add exception handler
Change-Id: Ifeef5d88ee8596fea184cbbf0bd7f4802baa5461
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Hwankyu Jhun [Tue, 18 Dec 2018 02:05:13 +0000 (11:05 +0900)]
Release version 0.5.22
Changes:
- Remove calling signal finalization
Change-Id: I950f5dba655dc9352d372651ce16aa2b38e5abfa
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 17 Dec 2018 23:10:19 +0000 (08:10 +0900)]
Remove calling signal finalization
Sometimes, the app process is deadlock while calling the g_object_unref().
While calling fork(), gdbus thread of the parent process has a mutex
locked. In the child, the mutex is in the locked state.
(locked by a nonexistent thread and thus can never be unlocked.)
Backtrace:
- #0 0xb6132900 in syscall () from /usr/lib/libc-2.24.so
- #1 0xb63aab90 in g_mutex_lock_slowpath () from /usr/lib/libglib-2.0.so.0.5200.2
- #2 0xb635bbe4 in g_source_destroy_internal () from /usr/lib/libglib-2.0.so.0.5200.2
- #3 0xb657f510 in _g_kdbus_worker_stop () from /usr/lib/libgio-2.0.so.0.5200.2
- #4 0xb65365d4 in g_dbus_connection_dispose () from /usr/lib/libgio-2.0.so.0.5200.2
- #5 0xb6434720 in g_object_unref () from /usr/lib/libgobject-2.0.so.0.5200.2
- #6 0x004e1361 in _signal_fini () from /usr/bin/launchpad-process-pool
- #7 0x004dac9d in __exec_app_process () from /usr/bin/launchpad-process-pool
- #8 0x004d9f0f in __fork_app_process () from /usr/bin/launchpad-process-pool
- #9 0x004dc01b in __handle_launch_event () from /usr/bin/launchpad-process-pool
Change-Id: Iaad316621111f2494381f440c3a7fe0ab4473731
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 29 Nov 2018 08:49:39 +0000 (17:49 +0900)]
Release version 0.5.21
Changes:
- Remove vc elm initialization
Change-Id: Iadacf5f319d71f0f54337f39c9d4306b594376f4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 28 Nov 2018 04:12:20 +0000 (13:12 +0900)]
Remove vc elm initialization
Change-Id: Ic4bd182b44311fe0515d516d084dd2857d20c369
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 14 Nov 2018 09:45:27 +0000 (18:45 +0900)]
Release version 0.5.20
Changes:
- Remove duplicated pkgconfig file installation
Change-Id: Ib6f44e36dd409a39be454480b60b331343a65cc4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 14 Nov 2018 07:53:38 +0000 (16:53 +0900)]
Remove duplicated pkgconfig file installation
Change-Id: I23644821bc2cf44a0db5ffbeb75112c663492dbe
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 14 Nov 2018 03:05:41 +0000 (12:05 +0900)]
Release version 0.5.19
Changes:
- Separate launchpad libary from launchpad package
Change-Id: I33c21653b2b643c9d6361a75849931b83c271079
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 13 Nov 2018 05:01:01 +0000 (14:01 +0900)]
Separate launchpad libary from launchpad package
Adds packages:
- liblaunchpad
- liblaunchpad-devel
Change-Id: Id83f2dd87dffa16990d7654ad2ea2f12d27985a8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 8 Nov 2018 01:53:55 +0000 (10:53 +0900)]
Release version 0.5.18
Changes:
- Update preload list
Change-Id: Ibfea84f8e36c6cc958e2bf839fdf70e7c19735b4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 12 Oct 2018 01:32:42 +0000 (10:32 +0900)]
Update preload list
EFL version is updated to 1.21.
Change-Id: Ic86ac1149d3525f142c82f9fef41625a0c4b3582
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 20 Sep 2018 05:53:01 +0000 (14:53 +0900)]
Release version 0.5.17
Changes:
- Adjust checking cap list
Change-Id: Ibb4f850caf8b3d8e09e9a7f770a5f281598f5e91
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 20 Sep 2018 05:44:01 +0000 (14:44 +0900)]
Adjust checking cap list
- Removes checking cap_sys_admin existence
Change-Id: Iae1da549f9fb0d379e02ecf11abeb83815ebbc8b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 13 Sep 2018 03:17:22 +0000 (12:17 +0900)]
Release version 0.5.16
Changes:
- Prevent loader execution by any process
Change-Id: I59025b26274580e6e6eb0dd590d86468b6115343
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 12 Sep 2018 02:59:02 +0000 (11:59 +0900)]
Prevent loader execution by any process
The loader library checks capabilities to checks
whether the process is executed by launchpad-process-pool or not.
The access smack label is added on loader executable file.
Change-Id: I1943ff4076a8296a78891fc4eb3434b4578c6057
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 3 Sep 2018 04:46:55 +0000 (13:46 +0900)]
Release version 0.5.15
Changes:
- Add log messages
Change-Id: Iec3c5efaa49ce1dd9065770221aa4f2f14dc2513
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Junghoon Park [Thu, 30 Aug 2018 10:08:40 +0000 (19:08 +0900)]
Add log messages
Change-Id: I05bde3a891f7603d4aa4607abef920b1898f825a
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Junghoon Park [Thu, 30 Aug 2018 06:21:38 +0000 (15:21 +0900)]
Release version 0.5.14
Changes:
- Adjust timeout value
Change-Id: I28a45a7a874a354533f811f77f6540479ee41866
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Junghoon Park [Thu, 30 Aug 2018 05:41:05 +0000 (14:41 +0900)]
Adjust timeout value
Change-Id: I91504fed2a70dac1d0797256dd52b815086da91a
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Hwankyu Jhun [Wed, 22 Aug 2018 02:43:52 +0000 (11:43 +0900)]
Release version 0.5.13
Changes:
- Use strerror_r function
- Check bundle key
Change-Id: I4de5af89eea14c7a05c9a467bdd5143bbd075235
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 22 Aug 2018 01:12:56 +0000 (10:12 +0900)]
Check bundle key
If the key of bundle has prefix(AUL or APP_SVC), Launchpad
doesn't add the extra data.
Change-Id: I6396d230b8c2d0309e2a0e35a7436043ce97e0e9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Sun, 5 Aug 2018 22:46:50 +0000 (07:46 +0900)]
Use strerror_r function
Change-Id: Icd59265066036fc0b4a5417e882ecb57920ab1e9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 1 Aug 2018 23:47:16 +0000 (08:47 +0900)]
Release version 0.5.12
Changes:
- Send app2sd request
Change-Id: Ia1830fd7c66e90404866f9ee296af43282bd9cda
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 31 Jul 2018 06:00:42 +0000 (15:00 +0900)]
Send app2sd request
Before launching an application, the child process sends the request to
enable external storage if the application is installed in external
storage.
Change-Id: I956fad859c1fed16a26d734291b2ddb7d670673e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 17 Jul 2018 01:41:48 +0000 (10:41 +0900)]
Release version 0.5.11
Changes:
- Check received data length
- Fix a bug about checking slot state
Change-Id: I15f7075ba88b1c798d813dc48e400ae6877899f2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 17 Jul 2018 00:09:40 +0000 (09:09 +0900)]
Fix a bug about checking slot state
Change-Id: Ia66d26ca5eb80b2fb820d50c3ff13cb531ccdadd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>