Age | Commit message (Collapse) | Author | Files | Lines |
|
Changes:
- Add missing function call
Change-Id: I738b48c50b42dcd76ae00e7b0466985510c07d27
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
|
|
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>
|
|
Changes:
- Fix a bug about hydra loader
Change-Id: Iee9c52e1b5b739f7e0e1c6946e2a6966e554545c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
|
|
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>
|
|
Changes:
- Fix candidate start bug on hydra mode
Change-Id: If0822da887f8293ddc4aa780f4413964c57ca118
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
|
|
Change-Id: I3d71eeb7606cd73b8b251dd6bbc0f52fce3651da
|
|
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>
|
|
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>
|
|
Change-Id: I1f3b9e3444d41a5a6123ac6a1874eddebacc7e8b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
|
|
Changes:
- Print HW clock logs for performance measurement
Change-Id: I6e851e6e1643b6cba3a4547701822124828a009e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
|
|
Change-Id: I69f247fcd08e4a03912f0e2257912a8f234187bc
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
|
|
Changes:
- Add a logic to specify the app id while forking
Change-Id: I731f7de141e70819c5ece3ba4a617a194b0f9f3c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
|
|
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
|
|
Changes:
- Introduce new API for hydra mode:
Change-Id: If3882a81163100c9ad51215daa4c0092690f2579
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
|
|
|
|
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
|
|
Changes:
- Bump up efl module version.
Change-Id: I472dc34df1afff50de5428449e24585247022602
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
|
|
|
|
Changes:
- Remove unnecessary setting
- Validate a custom loader process
Change-Id: I5dc23690e8e983b8439b7b79a44077480754ae9e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
|
|
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>
|
|
efl version is updated to 1.23,
efl module patch should be synchronized with it.
Change-Id: I1246299e92f637baec950f5680d9e500e58983af
|
|
Change-Id: I5836bf2a21239e8416ea02d8b72b1c5d6ccf3450
Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
|
|
Changes:
- Add candidate process preparation
Change-Id: I2d2ba1ca6269cf56150f1c394c5a36e80f4c744b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
|
|
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
|
|
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>
|
|
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
|
|
Change-Id: I39ca41aeb806388c4e8a37ccf1c4c913668d133e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
|
|
Changes:
- Add a configuration file to mofidy memory status key-value pairs
Change-Id: I08eba77d99e3bea1a5bf70c27b3cb759ec7488ec
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
|
|
Change-Id: Iae9639085294824841d73b18ee2ba6c2dfece364
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
|
|
Changes:
- Change the config value of the systemd service ("false" -> "no")
Change-Id: I31f7407749786f8f7318d1701b8c75efce01150c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
|
|
"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
|
|
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>
|
|
|
|
Changes:
- Send child process info
Change-Id: If3d1e7b6e0ea0b0030d4a4809120e342bebd7f14
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
|
|
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
|
|
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>
|
|
Changes:
- Add access label on launchpad-process-pool
Change-Id: If8c1baf721ae97c6e3993416c77f10bac8951714
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
|
|
Change-Id: If6a18fba774f77d4e4ac2f2218ab4ecbdeaa6752
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
|
|
Changes:
- Fix wrong log message
Change-Id: I43518ba931bda4e7fc4f2b68e729844d2615432e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
|
|
Change-Id: I673a1d3512c3d83d560d9e89ff0adb5c9bc30bfa
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
|
|
Changes:
- Add a print for library loading start and end time
Change-Id: Ic73ff89841c4752f5a8d14f1922d2bb9e3a8adcb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
|
|
Change-Id: I760bcaa3ceb2e7a745993610e5ef17d3c44ca229
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
|
|
Changes:
- Bump up efl module version.
Change-Id: Ie3dce2b70bfe9ba65b43f7e74873976c66a29023
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
|
|
efl version is updated to 1.22,
efl module patch should be synchronized with it.
Change-Id: I2894143b8e40c1d28d70296a7b81526a63e09170
|
|
Changes:
- Add exceptions for debugging
- Add a logger socket for printing errors
Change-Id: Iecf6e71d2faea67fbfcdef66f6cc097290e4b452
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
|
|
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>
|
|
Change-Id: Iad5fccc7f0b8f88347691c6598339fc1e7c52741
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
|
|
Changes:
- Fix a bug about handling loader info
Change-Id: Ifce07a71e86a39b79a79aafc5623590920196893
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
|
|
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>
|
|
Changes:
- Fix static analysis issues
- Prepare ID file
Change-Id: I6c70eae7bc35fdc1f32df7a5633be8ebfa8182b7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
|