platform/core/appfw/launchpad.git
4 years agoRelease version 0.13.1 85/225985/1 accepted/tizen/unified/20200302.125808 submit/tizen/20200226.043822 submit/tizen/20200226.104853 submit/tizen/20200227.032613 submit/tizen/20200301.232044
Jusung Son [Wed, 26 Feb 2020 04:32:26 +0000 (13:32 +0900)]
Release version 0.13.1

 Changes:
  - Modify candidate process creation rule for app-defined loader
  - Fix resource leak
  - Apply time-to-live range for app-defined loader

Change-Id: I2bd0fae505bee9ed5c64c7ff04fdfcf5fdb90a49
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
4 years agoApply time-to-live range for app-defined loader 06/225906/1
Jusung Son [Tue, 25 Feb 2020 08:15:32 +0000 (17:15 +0900)]
Apply time-to-live range for app-defined loader

 - min : 30sec, max 60sec

Change-Id: Id31bc158a6841ee3240552e9bc8ccddd91973bc1
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
4 years agoFix resource leak 60/225860/3
Jusung Son [Tue, 25 Feb 2020 05:26:08 +0000 (14:26 +0900)]
Fix resource leak

Change-Id: I480ea356548a4ce25a4e6ebb6028474bd011a950
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
4 years agoModify candidate process creation rule for app-defined loader 59/225859/2
Jusung Son [Tue, 25 Feb 2020 05:21:58 +0000 (14:21 +0900)]
Modify candidate process creation rule for app-defined loader

 - Create only one candidate process for each loader

Change-Id: If4a17d2574a8068620eda7e8621c39df5dc38ff0
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
4 years agoRelease version 0.13.0 56/225856/1 accepted/tizen/unified/20200225.224452 submit/tizen/20200225.050505
Hwankyu Jhun [Tue, 25 Feb 2020 04:27:50 +0000 (13:27 +0900)]
Release version 0.13.0

Changes:
 - Add app_defined_loader
 - Support memory management feature
 - Add memory management feature on app-defined-loader
 - Fix memory management feature
 - Adjust coding style
 - Fix char overflow

Change-Id: Ib77043876d29015c78253717c0a15ea90373b7b4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoFix char overflow 37/225837/3
Jusung Son [Tue, 25 Feb 2020 02:30:47 +0000 (11:30 +0900)]
Fix char overflow

 char type_str[0] = '0' + LAUNCHPAD_LOADER_TYPE_DYNAMIC  = 48 + 100 = -108

Change-Id: Ifebba27e34d303fcdbaf5205471d39c91c1dbcbc
Signed-off-by: Jusung Son <jusung07.son@samsung.com>
4 years agoAdjust coding style 28/225828/3
Hwankyu Jhun [Tue, 25 Feb 2020 01:46:17 +0000 (10:46 +0900)]
Adjust coding style

- Uses static_cast<...>(...) instead of C-style cast
- Uses left alignment style
- Adds C++ coding style check tool

Change-Id: I5b0a7817fe9f523027b1a8ee4c2fe4eb5b05d236
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoFix memory management feature 25/225825/5
Hwankyu Jhun [Tue, 25 Feb 2020 01:12:43 +0000 (10:12 +0900)]
Fix memory management feature

Change-Id: Icff15a3b5e9b16e3e3e0572a1cbdb8daa673e2b9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoAdd memory management feature on app-defined-loader 21/225821/5
Hwankyu Jhun [Tue, 25 Feb 2020 00:43:15 +0000 (09:43 +0900)]
Add memory management feature on app-defined-loader

If PSS of app-defined-loader process is over the threshold,
app-defined-loader process stops loading the libraries.
The platform developer can change the threshold using
app-defined-loader.conf file.

Change-Id: Id2476dbcfbce5d3c272028a883ec6a509cfa310f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoSupport memory management feature 64/225564/10
Hwankyu Jhun [Fri, 21 Feb 2020 03:34:13 +0000 (12:34 +0900)]
Support memory management feature

To manage memory usage, the launchpad checks the proc filesystem.
If the percentage of memory usage is over the threshold value, the
launchpad terminates the running slots. In this time, the running slots
are managed by the score and the memory usage(PSS). (exclude hydra loader)
The score of the candidate slot is decided by the amount of usage.

Change-Id: Ie8678be7dc6dfb346b4523b996bfa39d02b006f5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoAdd app_defined_loader 34/225434/13
hyunho [Thu, 20 Feb 2020 02:11:36 +0000 (11:11 +0900)]
Add app_defined_loader

Change-Id: I9ec6d2202ec3e6596a19b787a204703771996669
Signed-off-by: hyunho <hhstark.kang@samsung.com>
4 years agoRelease version 0.12.1 18/225418/1 accepted/tizen/unified/20200221.093509 submit/tizen/20200220.012315
Hwankyu Jhun [Thu, 20 Feb 2020 00:32:33 +0000 (09:32 +0900)]
Release version 0.12.1

Changes:
 - Fix log format

Change-Id: I7fdd6ddf39a2b876d53312ba8e4e5ef26b4c6a59
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoFix log format 17/225417/1
Hwankyu Jhun [Thu, 20 Feb 2020 00:32:19 +0000 (09:32 +0900)]
Fix log format

Change-Id: I7105f7057dc81bb6d40b3bfd5c7ad62f14a57058
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
4 years agoRelease version 0.12.0 07/225407/1 submit/tizen/20200219.234543
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>
4 years agoSeparate codes into directories 33/225233/2
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>
4 years agoFix return values of __dispatch_cmd_add_app_defined_loader() 62/225162/1
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>
4 years agoAdd app-defined loader 61/224161/5
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>
4 years agoAdd a plugin for app-defined loader 77/223677/8
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>
4 years agoRelease version 0.11.0 41/223541/1 accepted/tizen/unified/20200204.125901 submit/tizen/20200130.235742 submit/tizen/20200131.002833 submit/tizen/20200131.010826 submit/tizen/20200131.034958
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>
4 years agoSupport launching service app with dynamic loader 08/223008/3
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>
4 years agoRelease version 0.10.5 33/223433/1 accepted/tizen/unified/20200131.050552 submit/tizen/20200129.232701
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>
4 years agoFix fd event handling 06/223106/2
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>
4 years agoFix static anlysis issue 24/223024/3
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>
4 years agoRelease version 0.10.4 76/222976/1 accepted/tizen/unified/20200123.005048 submit/tizen/20200121.102120
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>
4 years agoFix type 73/222973/3
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>
4 years agoRelease version 0.10.3 70/221270/2 accepted/tizen/unified/20200101.120553 submit/tizen/20191231.004832
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>
4 years agoFix wrong implementation 73/221273/2
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>
4 years agoRemove compile warning messages 95/221195/1
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>
4 years agoRelease version 0.10.2 19/220619/1 accepted/tizen/5.5/unified/20191230.212317 accepted/tizen/unified/20191223.060202 submit/tizen/20191220.045359 submit/tizen_5.5/20191220.045305 submit/tizen_5.5/20191220.045333
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>
4 years agoUse monotonic time 00/220600/4
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>
4 years agoRelease version 0.10.1 56/217856/1 accepted/tizen/5.5/unified/20191118.084756 submit/tizen/20191115.033000 submit/tizen_5.5/20191115.033304
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>
4 years agoSupport prelink feature 42/217842/1
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>
4 years agoRelease version 0.10.0 58/217358/1 accepted/tizen/5.5/unified/20191111.105452 accepted/tizen/unified/20191111.105539 submit/tizen/20191111.004932 submit/tizen_5.5/20191111.005001
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>
4 years agoRefactor Launchpad Hydra Loader 34/216234/17
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>
5 years agoRelease version 0.9.6 84/215884/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.024112 accepted/tizen/5.5/unified/mobile/hotfix/20201027.064738 accepted/tizen/unified/20191021.071942 accepted/tizen/unified/20191021.220248 submit/tizen/20191018.031913 submit/tizen/20191018.041751 submit/tizen/20191018.073749 submit/tizen/20191020.234119 submit/tizen_5.5/20191031.000003 submit/tizen_5.5_mobile_hotfix/20201026.185102 tizen_5.5.m2_release
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>
5 years agoAdd missing function call 52/215852/1
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>
5 years agoRelease version 0.9.5 87/215687/1 accepted/tizen/unified/20191015.011957 submit/tizen/20191014.093558
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>
5 years agoFix a bug about hydra loader 66/215666/2
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>
5 years agoRelease version 0.9.4 93/215593/1 accepted/tizen/unified/20191014.005007 submit/tizen/20191011.075130
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>
5 years agoFix candidate start bug on hydra mode 85/215585/1
Hyungju Lee [Fri, 11 Oct 2019 07:05:31 +0000 (16:05 +0900)]
Fix candidate start bug on hydra mode

Change-Id: I3d71eeb7606cd73b8b251dd6bbc0f52fce3651da

5 years agoRelease version 0.9.3 83/215383/1 accepted/tizen/unified/20191008.101542 submit/tizen/20191007.234536
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>
5 years agoCheck if the main loop is stopped properly 57/215357/2
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>
5 years agoAdd AUL_HWACC variable to the environment 58/215358/1
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>
5 years agoRelease version 0.9.2 34/215134/1 accepted/tizen/unified/20191004.003613 submit/tizen/20191002.022728
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>
5 years agoPrint HW clock logs for performance measurement 29/215129/1
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>
5 years agoRelease version 0.9.1 25/214625/1 accepted/tizen/unified/20190925.220358 submit/tizen/20190925.002954
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>
5 years agoAdd a logic to specify the app id while forking 09/214109/4
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

5 years agoRelease version 0.9.0 99/214299/1 accepted/tizen/unified/20190921.125420 submit/tizen/20190920.040655
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>
5 years agoMerge "Introduce new API for hydra mode:" into tizen
HwanKyu Jhun [Fri, 20 Sep 2019 03:43:48 +0000 (03:43 +0000)]
Merge "Introduce new API for hydra mode:" into tizen

5 years agoIntroduce new API for hydra mode: 61/212861/6
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

5 years agoRelease version 0.8.2 63/213963/1 submit/tizen/20190917.043123
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>
5 years agoMerge "Bump up efl module version." into tizen
HwanKyu Jhun [Tue, 17 Sep 2019 04:55:51 +0000 (04:55 +0000)]
Merge "Bump up efl module version." into tizen

5 years agoRelease version 0.8.1 30/213930/1 accepted/tizen/unified/20190917.110607 submit/tizen/20190917.001106
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>
5 years agoValidate a custom loader process 25/213925/1
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>
5 years agoBump up efl module version. 13/213913/1
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

5 years agoRemove unnecessary setting 74/212774/2
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>
5 years agoRelease version 0.8.0 81/212781/1 accepted/tizen/unified/20190828.011040 submit/tizen/20190826.095036
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>
5 years agoAdd candidate process preparation 12/212712/2
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

5 years agoRelease version 0.7.1 49/212549/1 accepted/tizen/unified/20190826.113225 submit/tizen/20190826.012820
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>
5 years agoRevert "tizen: Add additional unit for "unified" user session" 21/212321/3
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

5 years agoFix error log message 70/212470/1
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>
5 years agoRelease version 0.7.0 71/212271/1 accepted/tizen/unified/20190820.115039 submit/tizen/20190820.014631
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>
5 years agoAdd a configuration file to mofidy memory status key-value pairs 02/212102/6
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>
5 years agoRelease version 0.6.2 71/209671/1 accepted/tizen/unified/20190710.103456 submit/tizen/20190710.040203
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>
5 years agoChange the config value of the systemd service ("false" -> "no") 69/208369/2
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

5 years agoRelease version 0.6.1 83/205283/1 accepted/tizen/unified/20190503.075035 submit/tizen/20190502.044046
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>
5 years agoMerge "tizen: Add additional unit for "unified" user session" into tizen
Junghoon Park [Thu, 2 May 2019 04:15:32 +0000 (04:15 +0000)]
Merge "tizen: Add additional unit for "unified" user session" into tizen

5 years agoRelease version 0.6.0 59/205159/1 accepted/tizen/unified/20190430.113456 submit/tizen/20190430.020617
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>
5 years agotizen: Add additional unit for "unified" user session 36/204136/2
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

5 years agoSend child process info 12/203112/6
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>
5 years agoRelease version 0.5.30 76/203176/1 accepted/tizen/unified/20190411.040524 submit/tizen/20190410.100752
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>
5 years agoAdd access label on launchpad-process-pool 67/203167/1
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>
5 years agoRelease version 0.5.29 22/202822/1 accepted/tizen/unified/20190406.011026 submit/tizen/20190405.011027
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>
5 years agoFix wrong log message 40/202640/1
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>
5 years agoRelease version 0.5.28 20/202620/1 accepted/tizen/unified/20190402.144740 submit/tizen/20190402.065552
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>
5 years agoAdd a print for library loading start and end time 65/202565/1
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>
5 years agoRelease version 0.5.27 14/202514/1 accepted/tizen/unified/20190401.224953 submit/tizen/20190401.000056
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>
5 years agoBump up efl module version. 69/202469/1
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

5 years agoRelease version 0.5.26 86/201086/1 accepted/tizen/unified/20190311.072529 submit/tizen/20190308.063707
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>
5 years agoAdd a logger socket for printing errors 32/200832/2
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>
5 years agoAdd exceptions for debugging 87/200687/1
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>
5 years agoRelease version 0.5.25 94/198894/1 accepted/tizen/unified/20190131.161435 submit/tizen/20190131.010812
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>
5 years agoFix a bug about handling loader info 87/198887/1
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>
5 years agoRelease version 0.5.24 40/198040/1 accepted/tizen/unified/20190128.061245 submit/tizen/20190118.025628
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>
5 years agoPrepare ID file 03/197903/1
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>
5 years agoFix static analysis issues 59/197759/2
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>
5 years agoRelease version 0.5.23 73/197373/1 accepted/tizen/5.0/unified/20190111.055300 accepted/tizen/unified/20190111.055243 submit/tizen/20190111.014100 submit/tizen_5.0/20190111.014305
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>
5 years agoAdd exception handler 64/197364/1
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>
5 years agoRelease version 0.5.22 56/195756/1 accepted/tizen/5.0/unified/20181218.063148 accepted/tizen/unified/20181218.063144 submit/tizen/20181218.022921 submit/tizen_5.0/20181218.022944
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>
5 years agoRemove calling signal finalization 41/195741/2
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>
5 years agoRelease version 0.5.21 41/194141/1 accepted/tizen/5.0/unified/20181130.064833 accepted/tizen/unified/20181130.064954 submit/tizen/20181129.075910 submit/tizen_5.0/20181129.075929
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>
5 years agoRemove vc elm initialization 71/193971/1
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>
5 years agoRelease version 0.5.20 83/193083/1 accepted/tizen/5.0/unified/20181115.063638 accepted/tizen/unified/20181120.061317 submit/tizen/20181114.082424 submit/tizen/20181115.070951 submit/tizen/20181119.114804 submit/tizen_5.0/20181114.082508
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>
5 years agoRemove duplicated pkgconfig file installation 63/193063/1
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>
5 years agoRelease version 0.5.19 21/193021/1 submit/tizen/20181113.235226 submit/tizen_5.0/20181114.004421
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>
5 years agoSeparate launchpad libary from launchpad package 33/192933/2
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>
5 years agoRelease version 0.5.18 82/192682/1 accepted/tizen/5.0/unified/20181109.062726 accepted/tizen/unified/20181108.074612 submit/tizen/20181108.041110 submit/tizen_5.0/20181108.041133
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>
6 years agoUpdate preload list 49/191149/3
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>
6 years agoRelease version 0.5.17 34/189734/1 accepted/tizen/5.0/unified/20181102.013525 accepted/tizen/unified/20180920.155204 submit/tizen/20180920.055701 submit/tizen_5.0/20181101.000002
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>
6 years agoAdjust checking cap list 31/189731/1
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>