platform/core/appfw/launchpad.git
6 years agoAdd an exception handling about socket creation 76/177676/4
Hwankyu Jhun [Thu, 3 May 2018 00:18:26 +0000 (09:18 +0900)]
Add an exception handling about socket creation

If the path exists when creating a socket, the function returns
a negative error. And then, the child process is terminated.

Change-Id: I4d9c3967bdb851f791a5ec74ef73ca36113d636b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.5.0 07/176707/1 accepted/tizen/unified/20180423.130939 submit/tizen/20180423.024238
Hwankyu Jhun [Mon, 23 Apr 2018 02:36:12 +0000 (11:36 +0900)]
Release version 0.5.0

Changes:
 - Prepare a server socket of an application
 - Add widget log folder

Change-Id: Iec1e237c550fa878c631938e566a86277a99a310
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoAdd widget log folder 00/176700/2
hyunho [Mon, 23 Apr 2018 01:51:46 +0000 (10:51 +0900)]
Add widget log folder

Change-Id: I2327556dc5de04d03f96ae405a1041caf7ab620b
Signed-off-by: hyunho <hhstark.kang@samsung.com>
6 years agoPrepare a server socket of an application 67/176467/4
Hwankyu Jhun [Thu, 19 Apr 2018 10:45:32 +0000 (19:45 +0900)]
Prepare a server socket of an application

Before executing an application, the child process creates an
aul socket of the application for communication. And then, the
application uses the socket.

Requires:
 - https://review.tizen.org/gerrit/#/c/176470/
 - https://review.tizen.org/gerrit/#/c/176471/

Change-Id: I082608844f8b7fae5bd04aa9c6df3064b429273c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.4.2 09/176509/1 accepted/tizen/unified/20180420.081915 submit/tizen/20180420.001521
Hwankyu Jhun [Fri, 20 Apr 2018 00:06:41 +0000 (09:06 +0900)]
Release version 0.4.2

Changes:
 - Modify module version to load for efl 120 migration image
 - Remove uninstalled library from preload list

Change-Id: Ie1d9d3d917ca3cd972d31f38bf99cbf75705c60a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRemove uninstalled library from preload list 10/176410/2
Hwankyu Jhun [Thu, 19 Apr 2018 06:15:43 +0000 (15:15 +0900)]
Remove uninstalled library from preload list

Removes:
 - libefl-assist.so.0

Change-Id: I4298a9df4166c329dce1c665f884000d5ed2432f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoModify module version to load for efl 120 migration image 88/168388/2
Wonki Kim [Fri, 26 Jan 2018 07:34:27 +0000 (16:34 +0900)]
Modify module version to load for efl 120 migration image

this commit changes a version of modules(which are related with efl) from 1.16 to 1.20,
because efl has been upgraded from 1.16 to 1.20.

Change-Id: I576d6d22e790241084b43cacd6cc83ea75fc453e
Signed-off-by: Wonki Kim <wonki_.kim@samsung.com>
6 years agoRelease version 0.4.1 69/172969/1 accepted/tizen/4.0/unified/20180320.141421 accepted/tizen/unified/20180319.154617 submit/tizen/20180319.064827 submit/tizen_4.0/20180319.064843
Semun Lee [Mon, 19 Mar 2018 06:30:08 +0000 (15:30 +0900)]
Release version 0.4.1

Changes:
 - Fix wrong compile flag for launchpad lib

Change-Id: I96308607b0d594fb9fff50ebb60f19562f3ec1e4
Signed-off-by: Semun Lee <semun.lee@samsung.com>
6 years agoFix wrong compile flag for launchpad lib 41/172941/1
Semun Lee [Mon, 19 Mar 2018 04:10:17 +0000 (13:10 +0900)]
Fix wrong compile flag for launchpad lib

Change-Id: I99e5cbbd65836ce73e55a38315cba0a5eddaede0
Signed-off-by: Semun Lee <semun.lee@samsung.com>
6 years agoRelease version 0.4.0 55/171855/1 accepted/tizen/4.0/unified/20180308.070103 accepted/tizen/unified/20180308.070152 submit/tizen/20180307.231326 submit/tizen_4.0/20180307.231357
Hwankyu Jhun [Wed, 7 Mar 2018 22:30:09 +0000 (07:30 +0900)]
Release version 0.4.0

Changes:
 - Manage loader slot state

Change-Id: Id133f5247673c7621985193564f80ef2c1bfd35c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoManage loader slot state 54/171354/12
Hwankyu Jhun [Fri, 2 Mar 2018 02:07:18 +0000 (11:07 +0900)]
Manage loader slot state

Adds new attributes of loader for managing loader slot state:
 - TTL (minutes): Denote timeout value for DEACTIVATION_METHOD.
 - ACTIVATION_METHOD: REQUEST and AVAILABLE_MEMORY methods are available.
 - DEACTIVATION_METHOD: TTL and OUT_OF_MEMORY methods are available.

After this patch is applied, loaders are managed by two states(running or paused).
When the loader is paused, the launchpad cannot make candidate process.
And, if the candidate process is running, it will be disposed.

Change-Id: I7de4f28e513aefb022a51f30e974d7f481053bdd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.3.19 59/169659/1 accepted/tizen/4.0/unified/20180208.163701 accepted/tizen/unified/20180209.064053 submit/tizen/20180208.074044 submit/tizen_4.0/20180207.234436
Hwankyu Jhun [Thu, 8 Feb 2018 07:08:54 +0000 (16:08 +0900)]
Release version 0.3.19

Changes:
 - Fix a bug about updating slot info

Change-Id: I3cef73cd671c48e5711ce00fe6db1f25480df15d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFix a bug about updating slot info 08/169608/1
Hwankyu Jhun [Thu, 8 Feb 2018 02:16:34 +0000 (11:16 +0900)]
Fix a bug about updating slot info

Change-Id: I62b2777173f07cf2e9455864fe9119797a4ca358
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.3.18 25/168825/1 accepted/tizen/4.0/unified/20180131.125411 accepted/tizen/unified/20180131.125355 submit/tizen/20180131.082628 submit/tizen_4.0/20180131.082655
Hwankyu Jhun [Wed, 31 Jan 2018 08:00:32 +0000 (17:00 +0900)]
Release version 0.3.18

Changes:
 - Fix a bug about onboot option

Change-Id: I81ed64051d85bd029a7adc98c52bd5028fab8298
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFix a bug about onboot option 14/168814/1
Hwankyu Jhun [Wed, 31 Jan 2018 07:07:23 +0000 (16:07 +0900)]
Fix a bug about onboot option

Change-Id: Iae608408db233a362f235d626efbcf33a653350b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.3.17 54/168354/2 accepted/tizen/unified/20180129.073424 submit/tizen/20180126.063406
Junghoon Park [Fri, 26 Jan 2018 04:36:02 +0000 (13:36 +0900)]
Release version 0.3.17

Changes:
 - Make a flag for on-boot

Change-Id: I0f20d09dea34b34cc39879aad5d0e5010a0bd4e2
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoMake a flag for on-boot 49/168349/1
Junghoon Park [Fri, 26 Jan 2018 03:54:59 +0000 (12:54 +0900)]
Make a flag for on-boot

- The new flag 'touched' was added for supporting ON_BOOT feature
- 'cur_event' should be also initialized

Change-Id: Iedbf6d2087de97228efd22eb642f6531e5f82426
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
6 years agoRelease version 0.3.16 94/168294/1 accepted/tizen/4.0/unified/20180131.050405 accepted/tizen/unified/20180126.042902 submit/tizen/20180125.122523 submit/tizen_4.0/20180125.122904
Hwankyu Jhun [Thu, 25 Jan 2018 11:02:11 +0000 (20:02 +0900)]
Release version 0.3.16

Changes:
 - Adjust the timing of the loader creation

Change-Id: Iddbed5e3d3b5c97dcc8730ef719149f7f562b6d5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoAdjust the timing of the loader creation 33/168133/1
Hwankyu Jhun [Wed, 24 Jan 2018 08:45:26 +0000 (17:45 +0900)]
Adjust the timing of the loader creation

If the application is not installed, the launchpad doesn't
prepare the loader processes.

Change-Id: I7db937b1bed93c7689f0b944cc16fabc071ba458
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.3.15 99/167899/1 accepted/tizen/4.0/unified/20180123.042136 submit/tizen/20180123.014930 submit/tizen_4.0/20180123.015018
Hwankyu Jhun [Tue, 23 Jan 2018 01:43:20 +0000 (10:43 +0900)]
Release version 0.3.15

Changes:
 - Fix a bug about infinite loop

Change-Id: I4c5cb86b668286a632c7738e5443f0ca68170aee
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFix a bug about infinite loop 85/167885/1
Hwankyu Jhun [Tue, 23 Jan 2018 00:01:26 +0000 (09:01 +0900)]
Fix a bug about infinite loop

Change-Id: Id95750d4921462fce6dbd6120b122bc1d9752d0f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.3.14 48/167548/1 accepted/tizen/4.0/unified/20180118.142704 accepted/tizen/unified/20180119.133750 submit/tizen/20180117.202200 submit/tizen_4.0/20180117.122023
Semun Lee [Thu, 18 Jan 2018 07:01:31 +0000 (16:01 +0900)]
Release version 0.3.14

Changes:
 - Cleanup security context after application termination.
 - Add printing log for dlopen failure

Change-Id: Ie2a072de6ffde678902eab33d43adcfd4b47156e
Signed-off-by: Semun Lee <semun.lee@samsung.com>
6 years agoAdd printing log for dlopen failure 06/167506/1
Semun Lee [Thu, 18 Jan 2018 05:07:16 +0000 (14:07 +0900)]
Add printing log for dlopen failure

Change-Id: I1d49786c392fea93933a50495015bfac97f04230
Signed-off-by: Semun Lee <semun.lee@samsung.com>
6 years agoCleanup security context after application termination. 08/166408/3
Hwankyu Jhun [Wed, 10 Jan 2018 05:33:55 +0000 (14:33 +0900)]
Cleanup security context after application termination.

security_manager_prepare_app() and security_manager_cleanup_app()
are a pair of functions to setup/clean security context of application.

Each application is launched in a separate mount namespace and
linked to this namespace.
Such design allows to change privacy privilege status at app runtime.
After application termination this link should be removed.

Change-Id: I96bb6b88d3822d736e2985c750ec5697165abef2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.3.13 63/166363/1 accepted/tizen/unified/20180111.074209 submit/tizen/20180110.035935
Hwankyu Jhun [Tue, 9 Jan 2018 23:58:13 +0000 (08:58 +0900)]
Release version 0.3.13

Changes:
 - Remove setting capabilities

Change-Id: Iddd53f0cf1a39282fa776f1629c653235a71f92b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRemove setting capabilities 02/166302/2
Hwankyu Jhun [Tue, 9 Jan 2018 08:39:59 +0000 (17:39 +0900)]
Remove setting capabilities

The capabilities are set by the set_capability script.

Change-Id: I69b7f69daeb1af12351cba028de220f15c6bea48
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.3.12 01/164601/1 accepted/tizen/4.0/unified/20171220.145812 accepted/tizen/unified/20171220.145740 submit/tizen/20171220.022309 submit/tizen_4.0/20171220.022330
Hwankyu Jhun [Wed, 20 Dec 2017 02:16:44 +0000 (11:16 +0900)]
Release version 0.3.12

Changes:
 - Revert "Remove wayland env set that no longer required"

Change-Id: Ie1b03ca27556a0e0424bf7e63a28e59fd34876b7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRevert "Remove wayland env set that no longer required" 73/164573/1
Hwankyu Jhun [Tue, 19 Dec 2017 22:15:50 +0000 (07:15 +0900)]
Revert "Remove wayland env set that no longer required"

This reverts commit fe93ddfe7aa636bb84adf004f1a8fbf4c046ecbf.

Change-Id: I69129f1608dbd81ed2c001da7f168992a651275f

6 years agoRelease version 0.3.11 01/164301/1 accepted/tizen/4.0/unified/20171219.072215 accepted/tizen/unified/20171219.072659 accepted/tizen/unified/20171220.064712 submit/tizen/20171218.105842 submit/tizen/20171218.230154 submit/tizen_4.0/20171218.110017 submit/tizen_4.0/20171218.230215
Hwankyu Jhun [Mon, 18 Dec 2017 10:44:06 +0000 (19:44 +0900)]
Release version 0.3.11

Changes:
 - Wait mountpoints before executing an application
 - Fix tep path definition

Change-Id: I86f32f51009de27812448a2c082250083bc777ff
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFix tep path definition 83/164283/2
Hwankyu Jhun [Mon, 18 Dec 2017 09:56:36 +0000 (18:56 +0900)]
Fix tep path definition

Change-Id: I229790ee990e4bbaee077c27021555d5847c6c82
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoWait mountpoints before executing an application 80/164180/6
Hwankyu Jhun [Mon, 18 Dec 2017 00:54:32 +0000 (09:54 +0900)]
Wait mountpoints before executing an application

Change-Id: I810a297ecf966ead6f49aa42954413f7eba73946
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.3.10 90/162690/1 accepted/tizen/4.0/unified/20171206.140253 accepted/tizen/unified/20171206.063037 submit/tizen/20171205.022748 submit/tizen_4.0/20171205.022950
Hwankyu Jhun [Tue, 5 Dec 2017 02:25:59 +0000 (11:25 +0900)]
Release version 0.3.10

Changes:
 - Add voice control elm initialization

Change-Id: I57688bc6d13770bf4a91b9ccf9476077f20e9de3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoAdd voice control elm initialization 55/162655/3
Hwankyu Jhun [Tue, 5 Dec 2017 00:10:09 +0000 (09:10 +0900)]
Add voice control elm initialization

Change-Id: I037d8eda4f049cb1aa6468c453477dcc7bf16ca5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.3.9 13/161513/1 accepted/tizen/4.0/unified/20171124.063715 accepted/tizen/unified/20171124.064522 submit/tizen/20171123.231650 submit/tizen_4.0/20171123.231711
Hwankyu Jhun [Thu, 23 Nov 2017 23:12:36 +0000 (08:12 +0900)]
Release version 0.3.9

Changes:
 - Fix signal number

Change-Id: I4d9b2c3b8a3ed1f9b29be2afb3112bb0b9156ad7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoFix signal number 57/161457/1
Hwankyu Jhun [Thu, 23 Nov 2017 11:32:31 +0000 (20:32 +0900)]
Fix signal number

LAUNCHPAD_LAUNCH_SIGNAL was changed to 83.

Change-Id: I780702616985e1f688bc09a7980c6bf1e0202e89
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoRelease version 0.3.8 63/160063/1 accepted/tizen/4.0/unified/20171115.003145 accepted/tizen/unified/20171115.061218 submit/tizen/20171114.104517 submit/tizen_4.0/20171114.104536
Hwankyu Jhun [Tue, 14 Nov 2017 09:38:09 +0000 (18:38 +0900)]
Release version 0.3.8

Changes:
 - Fix the slot management
 - Set the environments before calling launch callback
 - Fix default loader script

Change-Id: I2247a51f3a3f386238b4dc7d157b9d8fa2e8a022
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix default loader script 58/159958/2
Hwankyu Jhun [Tue, 14 Nov 2017 02:35:38 +0000 (11:35 +0900)]
Fix default loader script

- Adds a so file about the ecore evas extension on preload list

Change-Id: I5afcfb8102149e51053e4634c360a9054cdcdee7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoSet the environments before calling launch callback 27/159927/3
Hwankyu Jhun [Tue, 14 Nov 2017 00:02:56 +0000 (09:02 +0900)]
Set the environments before calling launch callback

Change-Id: I909f764a61f3dd781ab4ac8c8fd7b2077d804bfc
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix the slot management 06/159906/5
Hwankyu Jhun [Mon, 13 Nov 2017 13:59:06 +0000 (22:59 +0900)]
Fix the slot management

- Adds the function to reset the slot info
- Fixes the exception about adding the slot timer

Change-Id: Icc810f6ba5c85d87bfd460e2fa144bd7d0272b82
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years ago Release version 0.3.7 35/158335/1 accepted/tizen/4.0/unified/20171109.065900 accepted/tizen/unified/20171101.064730 submit/tizen/20171031.061337 submit/tizen_4.0/20171031.231258 submit/tizen_4.0/20171108.230834
Junghoon Park [Tue, 31 Oct 2017 06:07:52 +0000 (15:07 +0900)]
 Release version 0.3.7

 Changes:
  - Call API to support trust-anchor
  - Add ON_BOOT tag for skipping loader

Change-Id: Ieda27eab3fef10d8bbf40aea0040fbd17c9a30b7
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoCall API to support trust-anchor 74/157274/5
Junghoon Park [Tue, 24 Oct 2017 04:12:06 +0000 (13:12 +0900)]
Call API to support trust-anchor

Change-Id: I7d9aef6f16ca18c7fd1cfdbdc1a7403b9cd86cae
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoAdd ON_BOOT tag for skipping loader 47/155347/1
Junghoon Park [Fri, 13 Oct 2017 03:17:09 +0000 (12:17 +0900)]
Add ON_BOOT tag for skipping loader

- To skip making some candidate processes right after booting, the new tag was added

Change-Id: If0eebf5920f0bdff2b7e2db97c8fc8a738cda4c2
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoRelease version 0.3.6 16/150816/1 accepted/tizen/4.0/unified/20170919.215754 accepted/tizen/4.0/unified/20170920.051142 accepted/tizen/unified/20170920.051206 submit/tizen/20170919.001053 submit/tizen/20170920.010245 submit/tizen_4.0/20170919.000941 submit/tizen_4.0/20170920.010231 tizen_4.0.IoT.p1_release tizen_4.0.m2_release
Semun Lee [Tue, 19 Sep 2017 00:07:08 +0000 (09:07 +0900)]
Release version 0.3.6

Changes:
 - Provides app-launchpad pseudo package

Change-Id: I54bf548fe1c54e97ed91501015186164619bdda9
Signed-off-by: Semun Lee <semun.lee@samsung.com>
7 years agoProvides app-launchpad pseudo package 69/150369/2
Semun Lee [Fri, 15 Sep 2017 09:21:47 +0000 (18:21 +0900)]
Provides app-launchpad pseudo package

- amd-mod-launchpad and launchpad provides app-launchpad pseudo package
- launchpad will be used when both are selected

Change-Id: I99690a1ed3f264b130f0d0d568d5bb2557951efb
Signed-off-by: Semun Lee <semun.lee@samsung.com>
7 years agoRelease version 0.3.5 89/150289/1 accepted/tizen/unified/20170918.093856 submit/tizen/20170915.043147 submit/tizen_4.0/20170915.043127
Semun Lee [Fri, 15 Sep 2017 04:28:25 +0000 (13:28 +0900)]
Release version 0.3.5

Changes:
 - Revert "Add Obsoletes dependency to amd-mod-launchpad"

Change-Id: I06c23e1ec85385e0a13bbf983875b6a23e053428
Signed-off-by: Semun Lee <semun.lee@samsung.com>
7 years agoRevert "Add Obsoletes dependency to amd-mod-launchpad" 88/150288/1
Semun Lee [Fri, 15 Sep 2017 04:24:15 +0000 (13:24 +0900)]
Revert "Add Obsoletes dependency to amd-mod-launchpad"

This reverts commit b22fcb1814a94c8071db62c4a8baa70354f2250c.

Change-Id: I6f79068e78a92d7d3c685386129590605f7c9721
Signed-off-by: Semun Lee <semun.lee@samsung.com>
7 years agoRelease version 0.3.4 74/146474/1 accepted/tizen/4.0/unified/20170904.234825 accepted/tizen/unified/20170829.140340 submit/tizen/20170829.043212 submit/tizen_4.0/20170830.222938 submit/tizen_4.0/20170901.004643
Hwankyu Jhun [Tue, 29 Aug 2017 04:31:27 +0000 (13:31 +0900)]
Release version 0.3.4

Changes:
 - Set environment variable LANG

Change-Id: I2b1f6731870fac7243e493fb095d550e412287ac
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoSet environment variable LANG 26/145626/6
Junghoon Park [Wed, 23 Aug 2017 06:41:58 +0000 (15:41 +0900)]
Set environment variable LANG

- Before calling main(), this variable should be set.

Change-Id: I65fa6a7a709cac85e41475dd878496653d239eec
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
7 years agoRelease version 0.3.3 33/146333/1 submit/tizen/20170828.061908
Hwankyu Jhun [Mon, 28 Aug 2017 06:12:33 +0000 (15:12 +0900)]
Release version 0.3.3

Changes:
 - Add Obsoletes dependency to amd-mod-launchpad

Change-Id: I53f49b5fc94287462ae7554d01687e3e0ac5b320
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoAdd Obsoletes dependency to amd-mod-launchpad 32/146332/1
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>
7 years agoRelease version 0.3.2 84/146284/1 accepted/tizen/unified/20170828.164113 submit/tizen/20170827.231848
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>
7 years agoAdd CAP_SYS_ADMIN capability 72/139372/2
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

7 years agoRelease version 0.3.1 94/144194/1 accepted/tizen/4.0/unified/20170828.223747 accepted/tizen/unified/20170816.053824 submit/tizen/20170815.234022 submit/tizen_4.0/20170828.100002
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>
7 years agoFix log format 39/143539/1
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>
7 years agoRelease version 0.3.0 13/142413/1 accepted/tizen/unified/20170804.133110 submit/tizen/20170804.022640
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>
7 years agoAdd an exception handling about out of memory 78/142378/2
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>
7 years agoCPP check tool issues are fixed 70/140970/2
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>
7 years agoMake candidate processes sequentially 95/141195/4
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>
7 years agoRemove wayland env set that no longer required 97/117197/2
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>
7 years agoAdd grammar for setting cpu threadhold 61/139061/3
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>
7 years agoCheck CPU idle time for TIMEOUT method 48/139048/1
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>
7 years agoSet the architecture info for Unity app 16/137816/2
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>
7 years agoRelease version 0.2.16 95/136295/1 accepted/tizen/4.0/unified/20170816.011412 accepted/tizen/4.0/unified/20170816.014723 accepted/tizen/unified/20170703.064131 submit/tizen/20170629.060228 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
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>
7 years agoDo not create the new dynamic tags 12/136112/1
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>
7 years agoRelease version 0.2.15 42/135542/1 accepted/tizen/unified/20170623.072738 submit/tizen/20170623.043833
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>
7 years agoRemove unnecessary exception 78/135178/1
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>
7 years agoFix exception handling about label monitor 29/134929/9
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>
7 years agoFix multiple delimiter 91/134791/2
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>
7 years agoSeparate threshold value for each slot 27/134527/3
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>
7 years agoFix invalid format about dlog 19/134519/1
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>
7 years agoRelease version 0.2.14 63/133663/1 accepted/tizen/unified/20170613.194237 submit/tizen/20170613.043549
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>
7 years agoAdd RUNTIME_TYPE to the environment 99/133399/1
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>
7 years agoPrevent buffer overflow 68/132568/7
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>
7 years agoFix log message about buxton error handling 45/132545/1
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>
7 years agoRelease version 0.2.13 18/132018/1 accepted/tizen/unified/20170607.063248 submit/tizen/20170531.235759
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>
7 years agoChange threshold to detect idle time dynamically 53/131053/9
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>
7 years agoFix priority change feature 77/131477/13
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>
7 years agoFix build dependency 96/131296/1
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>
7 years agoRelease version 0.2.12 31/126731/1 accepted/tizen/unified/20170428.033044 submit/tizen/20170425.040634 submit/tizen/20170427.131814 tizen_4.0.m1_release
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>
7 years agoFix APP_STARTUP_SIGNAL number 88/126488/1
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>
7 years agoRevert "Check privacy before executing an application" 47/125147/1
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

7 years agoRevert "Fix log messages" 46/125146/1
Hwankyu Jhun [Fri, 14 Apr 2017 04:17:05 +0000 (13:17 +0900)]
Revert "Fix log messages"

This reverts commit bdeb0fd445c6fc5ce88eb7c37ae82d93befef3cf.

Change-Id: I1a176c1d26409ecc5a0b2e58b6d8622a2c70e595

7 years agoFix log messages 93/123293/1
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>
7 years agoCheck privacy before executing an application 56/123156/3
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>
7 years agoRelease version 0.2.11 49/123049/1 accepted/tizen/unified/20170406.054012 submit/tizen/20170404.094507 submit/tizen/20170404.104822
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>
7 years agoChange dbspace file mode 22/122422/1
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>
7 years agoRelease version 0.2.10 58/122158/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170330.152049 accepted/tizen/ivi/20170330.224312 accepted/tizen/mobile/20170330.224051 accepted/tizen/tv/20170330.224143 accepted/tizen/unified/20170330.224355 accepted/tizen/wearable/20170330.224235 submit/tizen/20170330.090650
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>
7 years agoSend app startup signal 48/120448/5
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>
7 years agoRelease version 0.2.9 29/120429/1 accepted/tizen/common/20170323.154342 accepted/tizen/ivi/20170323.085406 accepted/tizen/mobile/20170323.085257 accepted/tizen/tv/20170323.085318 accepted/tizen/unified/20170323.085429 accepted/tizen/wearable/20170323.085346 submit/tizen/20170323.015913
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>
7 years agoUse license macro 04/120404/2
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>
7 years agoRelease version 0.2.8 38/120138/1 accepted/tizen/common/20170322.153732 accepted/tizen/ivi/20170322.235934 accepted/tizen/mobile/20170322.235845 accepted/tizen/tv/20170322.235912 accepted/tizen/unified/20170322.235946 accepted/tizen/wearable/20170322.235925 submit/tizen/20170322.011725
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>
7 years agoFix a typing error 70/120070/1
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>
7 years agoRelease version 0.2.7 12/117912/1 accepted/tizen/common/20170309.175114 accepted/tizen/ivi/20170308.121147 accepted/tizen/mobile/20170308.121019 accepted/tizen/tv/20170308.121053 accepted/tizen/unified/20170310.075745 accepted/tizen/wearable/20170308.121111 submit/tizen/20170308.044817 submit/tizen_unified/20170310.011401
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>
7 years agoIgnore SIGILL during OpenSSL initialization 39/117639/2
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>
7 years agoHandle large app_pkt_t properly in send/recv 27/117327/1
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)

7 years agoRe-adjust lauchpad logs 74/115874/1
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)

7 years agoRelease version 0.2.6 55/114455/1 accepted/tizen/common/20170214.173451 accepted/tizen/ivi/20170214.010600 accepted/tizen/mobile/20170214.010313 accepted/tizen/tv/20170214.010424 accepted/tizen/unified/20170309.032323 accepted/tizen/wearable/20170214.010456 submit/tizen/20170213.101405 submit/tizen_unified/20170308.100405
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>
7 years agoAdd an exception handling about overflow 02/114302/4
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>
7 years agoRelease version 0.2.5 52/112852/1 accepted/tizen/common/20170203.161747 accepted/tizen/ivi/20170205.234120 accepted/tizen/mobile/20170205.234015 accepted/tizen/tv/20170205.234048 accepted/tizen/wearable/20170205.234101 submit/tizen/20170203.072358
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>
7 years agoAdd the pid to the environment 29/112729/4
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>