Hwankyu Jhun [Wed, 23 Oct 2024 03:25:37 +0000 (12:25 +0900)]
Release version 0.41.12
Changes:
- Fix a timing issue of app labels changed event
Change-Id: I3d1c0719b893801c56d6e0598ac8c22ff22acbdb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 23 Oct 2024 01:11:34 +0000 (10:11 +0900)]
Fix a timing issue of app labels changed event
If the launchpad-process-pool receives app labels changed event before the lux,
it causes the failure issue of calling the security_manager_prepare_app2().
When getting the app labels changed event, the lux notifies that to the
launchpad-process-pool. And then, the launchpad-process-pool kills and
executes the loader processes.
Change-Id: Idb8fb7e812a1467c8702e07c2fb06e09a3ff963b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 22 Oct 2024 00:23:05 +0000 (09:23 +0900)]
Release version 0.41.11
Changes:
- Add logs for debug
- Change default launch mode
Change-Id: I77b14187a6bf1f0a7992ec1a1cbfd4bba9f81869
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 21 Oct 2024 23:23:18 +0000 (08:23 +0900)]
Change default launch mode
The launch mode is changed to the previous operation.
Currently, some device was very slow. There is a problem about CPU scheduling.
If a launch request is delivered to the loader process while the loader is
initializing, the loader will be blocked by the CPU scheduling in some devices.
It causes the crash issue of the application.
Change-Id: Ia9f91a98b011ed675a7d70dd3ec08c65e8ce55c5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Tue, 15 Oct 2024 08:39:03 +0000 (17:39 +0900)]
Add logs for debug
In some case, blocks may occur in the child process immediately after fork().
Change-Id: Ibd55bdccc7c089f372b96e024070b78475e7591e
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Fri, 11 Oct 2024 11:43:02 +0000 (20:43 +0900)]
Release version 0.41.10
Changes:
- Fix loader termination issues
Change-Id: I95d5ad50db4908d46ac6333c80561a9c5a761cbd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 11 Oct 2024 11:40:01 +0000 (20:40 +0900)]
Fix loader termination issues
The loader context's reference count is only set to zero in case of
a low memory event, which will result in terminating
the currently running loader process.
This modification aims to fix the issue where the loader process responsible for
handling launch requests gets terminated during an out-of-memory (OOM) situation.
Change-Id: Iaa3c961d29ef1a8726ff53af8cd911ab4504bc27
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 30 Sep 2024 07:59:39 +0000 (16:59 +0900)]
Release version 0.41.9
Changes:
- Fix a bug related to NUIGadget resource mount
Change-Id: If03c772cb27ed8d7f7083b81cb2bd8cb498ad01d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 30 Sep 2024 06:31:35 +0000 (15:31 +0900)]
Fix a bug related to NUIGadget resource mount
Before calling ValidateAndModifyGadgetPaths(), the library checks
whether the path exists or not. If the gadget developer uses the previous SDK,
the resources of the gadget is packed using the res/allowed path.
The previous patch of the launchpad does not consider it.
Change-Id: I91cc89dd64e74bac70f3e294bb9ddfbb2fc3ae02
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 30 Sep 2024 04:44:22 +0000 (13:44 +0900)]
Release version 0.41.8
Changes:
- [Lux] Add language and region format config
Change-Id: Iad23b4e5f92eefebc5fe78e7b3b3f8daa81ced2e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 30 Sep 2024 01:05:45 +0000 (10:05 +0900)]
[Lux] Add language and region format config
To monitor language & region format changed events, lux should use vconf API.
When the language or the region format is changed, lux should be set
the environment variable for applications. Before executing an application,
the process-pool should set the environments for the application.
After this patch is applied, the process-pool adds to set 'LANG' and 'LC_CTYPE'
to the environement variables.
Change-Id: I0229867a63598133921fee058b0a276d60c30bc5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 26 Sep 2024 00:04:50 +0000 (09:04 +0900)]
Release version 0.41.7
Changes:
- Check amd socket existence before sending a request
Change-Id: I603c58c52626d5a657463ab4a6625c64caffbffc
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 25 Sep 2024 23:29:31 +0000 (08:29 +0900)]
Check amd socket existence before sending a request
Before sending the request to amd, launchpad checks whether the socket
exists or not. If it does not exist, launchpad does not connect to amd.
Change-Id: I1912d5f477843d73fc68e4d0d458dbd8d6f51528
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 25 Sep 2024 01:07:45 +0000 (10:07 +0900)]
Release version 0.41.6
Changes:
- Set CPU boosting for executing lux
- Modify mount-related logic
Change-Id: Ieac4cd7328d76c965c993f0e140cbcf6c6d36d73
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 24 Sep 2024 06:21:14 +0000 (15:21 +0900)]
Modify mount-related logic
- Check whether the source directory exists or not
- Remove extra datas related to mount from the bundle object
Change-Id: Iea25ce22cbbb05c673eb879abb6df0556784446f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 24 Sep 2024 01:46:41 +0000 (10:46 +0900)]
Set CPU boosting for executing lux
To improve launching performance of lux, this patch adds setting CPU
boosting to lux.
Change-Id: I1f209dd41aec7b8d68106b04d42c9c842b907863
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 19 Sep 2024 11:29:34 +0000 (20:29 +0900)]
Release version 0.41.5
Changes:
- Remove extra data from loader configuration
- Add a new sub moudle for creating children processes
- Fix build error
- Fix dependencies
- Fix a bug related to debug mode
- Modify dependencies
- Remove setting capabilities from lux
Change-Id: Ie0563a23bb0c8322c765912292dc9861cd5f01c5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 19 Sep 2024 11:27:57 +0000 (20:27 +0900)]
Remove setting capabilities from lux
After the following patchset is applied, the set_capability script sets
capabilities to the lux:
- https://review.tizen.org/gerrit/#/c/platform/core/security/security-config/+/317805/
Change-Id: I590e41312beab99bbcddd870b2f4f7faa150323d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 19 Sep 2024 10:02:28 +0000 (19:02 +0900)]
Release version 0.41.4
Changes:
- Remove extra data from loader configuration
- Add a new sub moudle for creating children processes
- Fix build error
- Fix dependencies
- Fix a bug related to debug mode
- Modify dependencies
Change-Id: Ie1225b477c86946c8af2346efa70d4cf7365275f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 19 Sep 2024 10:01:41 +0000 (19:01 +0900)]
Modify dependencies
- Requires rust-std-shared
Change-Id: I6fdaf5e357fed8599c0df5c97c0c3619f6785e80
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 19 Sep 2024 06:57:56 +0000 (15:57 +0900)]
Release version 0.41.3
Changes:
- Remove extra data from loader configuration
- Add a new sub moudle for creating children processes
- Fix build error
- Fix dependencies
- Fix a bug related to debug mode
Change-Id: I60f87d2459b21950eab87b48ba6af1f60100dfab
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 19 Sep 2024 06:57:14 +0000 (15:57 +0900)]
Fix a bug related to debug mode
To remove debug argv, the launchpad should call PrepareDebugger() method.
Change-Id: Iaf8964548bae452686e75fdd9a0d6efdc02e6620
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 19 Sep 2024 04:56:15 +0000 (13:56 +0900)]
Release version 0.41.2
Changes:
- Remove extra data from loader configuration
- Add a new sub moudle for creating children processes
- Fix build error
- Fix dependencies
Change-Id: I262f9b27593c2039a9c4ec15782560394345eacb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 19 Sep 2024 04:55:22 +0000 (13:55 +0900)]
Fix dependencies
Required packages are added:
- rust
- rust-libc
- rust-glib-sys
Change-Id: I35d29abaab31829c6d0646fa2cecde54c3bf9ebf
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 19 Sep 2024 04:34:00 +0000 (13:34 +0900)]
Release version 0.41.1
Changes:
- Remove extra data from loader configuration
- Add a new sub moudle for creating children processes
- Fix build error
Change-Id: I325e66beab491c908b8f6092fac9e611d3009c06
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 19 Sep 2024 04:33:06 +0000 (13:33 +0900)]
Fix build error
- Add link option related to launchpad-common library
- Remove unnecessary dependency related to launchpad-glib library
Change-Id: Ifb0221f1a9c6eaa4938e83056cfc17bfb4dca860
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 19 Sep 2024 04:01:51 +0000 (13:01 +0900)]
Release version 0.41.0
Changes:
- Remove extra data from loader configuration
- Add a new sub moudle for creating children processes
Change-Id: I1d39f0db996921fc46fdb9305bb8676aff4f2258
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 3 Sep 2024 23:32:29 +0000 (08:32 +0900)]
Add a new sub moudle for creating children processes
Currently, the launchpad-process-pool has a problem about using threads.
It causes the deadlock issue of children processes.
The 'Lux' is added. It operates as a single thread and is responsible for
creating child processes.
Change-Id: Ie768efba1877069a968f367e2553cd5c0ad6f286
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 12 Sep 2024 06:03:04 +0000 (15:03 +0900)]
Remove extra data from loader configuration
The 'Threads' data is removed. It's for waiting the thread creation.
It's not needed now. Because, the security-manager considers the problem.
Change-Id: Ifa0168db4c5c401ce6491cb397704b1cc029d2eb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 11 Sep 2024 04:39:02 +0000 (13:39 +0900)]
Release version 0.40.13
Changes:
- Separate the library from the launchpad-process-pool
- Check directory existence before calling mount
- Fix Util::PrepareAppSocket() method
- Fix Util::CloseAllFds() method
Change-Id: Ib9901bd526f9929a55d9f4b5ea5841017b68481b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 11 Sep 2024 04:05:58 +0000 (13:05 +0900)]
Fix Util::CloseAllFds() method
To avoid deadlock issue by calling getenv(), this patch uses the global variable.
Change-Id: Ia0dca71f9eb511629562dad1e96df72eaf8e3f86
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 11 Sep 2024 02:34:39 +0000 (11:34 +0900)]
Fix Util::PrepareAppSocket() method
To avoid throwing the exception, this patch uses the following method:
- bool create_directory( const std::filesystem::path& p,
std::error_code& ec ) noexcept;
Change-Id: I2df244b430181c7c9736c87f7a4ab999ecf47d03
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 6 Sep 2024 05:29:02 +0000 (14:29 +0900)]
Check directory existence before calling mount
If the destination directory does not exist, we should skip to call
mount() function. This patch is to reduce printing error logs.
Change-Id: I3d05e303a1940ee88345465399e2280f0a7caafe
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 2 Sep 2024 07:00:55 +0000 (16:00 +0900)]
Separate the library from the launchpad-process-pool
The launchpad-core library is added. It will be used the sub module.
Change-Id: I57f448e7556743d2cdd73e72256598e56d8d027e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 2 Sep 2024 07:08:32 +0000 (16:08 +0900)]
Release version 0.40.12
Changes:
- Fix the implementation of IOChannel class
Change-Id: I5bdb061a24ebc7d93e9b256b9d94d662d8781883
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 2 Sep 2024 03:40:46 +0000 (12:40 +0900)]
Fix the implementation of IOChannel class
- Use g_unix_fd_add() instead of g_io_channel_unix_fd().
- When calling the UnixFdFunc function, the function checks whether
the file descriptor is equal to the file descriptor of the IOChannel instance.
It's not equal, the function will remove the GSource.
Change-Id: I19ce6d18d11d175e33f250748de1f4a129cf7b07
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Fri, 30 Aug 2024 00:28:24 +0000 (09:28 +0900)]
Release version 0.40.11
Changes:
- Use access() instead of std::filesystem::exists()
Change-Id: Ibe33ab2e065a156bfd2519bebb02069e1e73ee14
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Thu, 29 Aug 2024 22:42:28 +0000 (07:42 +0900)]
Use access() instead of std::filesystem::exists()
This patch uses access() instead of std::filesystem::exists().
The std::filesystem::exists() can throw the exception. And, it use
stat() internally. From a performance point, it's better to use access.
Change-Id: Ifea946bb64d0470ec4a0ecbcb68cf65e12058a99
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 1 Aug 2024 11:01:24 +0000 (20:01 +0900)]
Release version 0.40.10
Changes:
- Modify loader handling
Change-Id: I004b7ea30612b5e146a32bb134f0534c8f864e43
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 1 Aug 2024 10:10:39 +0000 (19:10 +0900)]
Modify loader handling
- Calls exit() when getting the I/O error from the socket fd
- Checks whether the disconnected loader process is equal to the current process
Change-Id: I1a1690a0ef188b21ea7a4276d17247d593d57950
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 1 Jul 2024 05:31:12 +0000 (14:31 +0900)]
Release version 0.40.9
Changes:
- Fix static analysis issues
Change-Id: If952e3f582a6cb0fca07e3f074db8955794b6c4f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 1 Jul 2024 00:07:23 +0000 (09:07 +0900)]
Fix static analysis issues
Checker:
- UNREACHABLE_CODE
Change-Id: I55e3bc5de380aeac81bf3220a12d5a4813a65a41
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 21 Jun 2024 05:08:17 +0000 (14:08 +0900)]
Release version 0.40.8
Changes:
- Change log levels
Change-Id: I514d5b9985f8080cf2b827a9e34b766fca7382bc
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 20 Jun 2024 23:15:10 +0000 (08:15 +0900)]
Change log levels
This patch changes log levels to error level for debugging.
Change-Id: I0cd74abbd2ba001457258f9d9730af4c3ab506e8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 5 Jun 2024 08:08:10 +0000 (17:08 +0900)]
Release version 0.40.7
Changes:
- Use upstream _userunitdir macro
- Fix build error for gcc-14
Change-Id: Ib690ddfc4666b525128325fd272a96602491c186
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 5 Jun 2024 07:52:01 +0000 (16:52 +0900)]
Fix build error for gcc-14
Change-Id: I93629f9daabf6cde9c5cdf9b1d8730baf4e3f5af
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Łukasz Stelmach [Mon, 6 May 2024 07:33:52 +0000 (09:33 +0200)]
Use upstream _userunitdir macro
The _unitdir_user had been defined in Tizen before _userunitdir was
available upstream. The macros are equivalent. Switch to the latter so
the _unitdir_user can be dropped from Tizen.
Change-Id: Ida3bbfc50eddc837defe474b47559e0a4d004f63
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Hwankyu Jhun [Wed, 8 May 2024 09:49:24 +0000 (18:49 +0900)]
Release version 0.40.6
Changes:
- Fix wrong command
- Add log messages for debugging
Change-Id: I0107710a57a95410e051ea12170c42f8159993c4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 8 May 2024 09:45:32 +0000 (18:45 +0900)]
Add log messages for debugging
To check a loading time of the executable file, this patch adds log messages.
Change-Id: I4b1ceb722d59ca0156c0896bfde24d69c65a947b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 2 Apr 2024 10:54:38 +0000 (19:54 +0900)]
Fix wrong command
The tool name must be "ln".
Change-Id: I1c4c7ec0f9e9294e80804928450ed31d9d6ff449
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 2 Apr 2024 00:21:27 +0000 (09:21 +0900)]
Release version 0.40.5
Changes:
- Check dependent service file in posttrans
Change-Id: I41f56586a9b29e502f1dadeda7b4a820d7c8b887
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 2 Apr 2024 00:06:58 +0000 (09:06 +0900)]
Check dependent service file in posttrans
The launchpad.rpm checks whether the enlightenment-user.service exists
or not in posttrans section. If it does not exists, the rpm removes
depenedencies from the launchpad-process-pool.service.
Change-Id: I0e3a28aca6a3410f734a93c5cd68bf590ece9457
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 1 Apr 2024 06:20:50 +0000 (15:20 +0900)]
Release version 0.40.4
Changes:
- Fix passing wrong arguments
Change-Id: Icd74fa6705ff8b64995307d19215b9e7abae18ac
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 1 Apr 2024 04:09:48 +0000 (13:09 +0900)]
Fix passing wrong arguments
When the application is executed using gdbserver, the export tag of the bundle
is deleted unintentionally. To pass arguments properly, the launchpad encloses
the string with a ''.
Change-Id: Ide6a9624b7cf3d9fdb3ab3441a49a47368aae3bd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 27 Feb 2024 10:27:51 +0000 (19:27 +0900)]
Release version 0.40.3
Changes:
- Print logs related to app and loader executions
- Remove log print related to fds
Change-Id: Iae3cd2482b8ab2f1a30052d3e72d3d743819b5fd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 26 Feb 2024 06:55:02 +0000 (15:55 +0900)]
Remove log print related to fds
This patch removes the log print from the CloseAllFds().
Change-Id: I51a90345e39242ca4a9dd8ba913d67c28543db46
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 23 Feb 2024 07:26:59 +0000 (16:26 +0900)]
Print logs related to app and loader executions
Before calling execv(), the process will be printed for debugging.
Change-Id: Id9c0b8c8f0ff87f4aa4c9d75db04b568d4beed25
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 20 Feb 2024 00:09:55 +0000 (09:09 +0900)]
Release version 0.40.2
Changes:
- Validate gadget resource paths
Change-Id: I41d63bb24286820a2a6a2cfab8ed6b7b3bb32aca
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 19 Feb 2024 23:44:55 +0000 (08:44 +0900)]
Validate gadget resource paths
The gadget resource path will be changed to
"/<package root path>/res/allowed/<res-type>".
Before mounting the gadget paths, the launchpad checks whether the path exists
or not. If it does not exist, the gadget path will be modified to remove
the "<res-type>".
Change-Id: Ib7d28fb0df986e56269351c5a2f94446b82ab0f2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Sangyoon Jang [Mon, 19 Feb 2024 23:21:41 +0000 (08:21 +0900)]
Release version 0.40.1
Changes:
- Revert "Change launch mode to previous operation"
- Fix overlay mount for resource package
Change-Id: I544e5e117cf9864c43c3ecee1dbc66f01d5919ad
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 15 Feb 2024 05:02:36 +0000 (14:02 +0900)]
Fix overlay mount for resource package
The specified lower directories will be stacked beginning from the
rightmost one and going left.
Change-Id: Ifaec0366ed5f8e17e596bcbc61c82de345e358a6
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Hwankyu Jhun [Mon, 19 Feb 2024 04:31:19 +0000 (13:31 +0900)]
Revert "Change launch mode to previous operation"
This reverts commit
bc550e7e7c90b6f17b06de7815e0cd2e99662d08.
Change-Id: Ic54458ee7d0288a46f3a8c58b81d86f0fa7e1a2c
SukhyungKang [Wed, 31 Jan 2024 07:37:04 +0000 (16:37 +0900)]
Release version 0.40.0
Changes:
- Add to mount lib directory for rpk
Change-Id: I6d70d909857bb93bc0a5ab1d13822d0a7edfca12
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
SukhyungKang [Tue, 16 Jan 2024 08:09:37 +0000 (17:09 +0900)]
Add to mount lib directory for rpk
- The RPK supports Libs sharing. Libs are packaged in /lib directory in
rpk package. And then it's mounted to user package's /lib directory path.
Change-Id: If9120038f644e85bc6688d27d5ee5e902239a9b3
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
Changgyu Choi [Tue, 30 Jan 2024 08:36:33 +0000 (17:36 +0900)]
Release version 0.39.3
Changes:
- Remove setting RES_PKGIDS environment variable
Change-Id: Iefb1bef6858d5c04a0c8d359358fc68e39d894f5
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Thu, 25 Jan 2024 07:01:03 +0000 (16:01 +0900)]
Remove setting RES_PKGIDS environment variable
The NUIGadget uses GADGET_PKGIDS instead of RES_PKGIDS.
The RES_PKGIDS environment variable is not needed.
Change-Id: Id09cbb79dcd9afc6c31bd85850f172b8c9f52b85
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 24 Jan 2024 05:15:05 +0000 (14:15 +0900)]
Release version 0.39.2
Changes:
- Fix crash issue
Change-Id: I674664a302d743944d8dae7bd2254417b5e93558
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 24 Jan 2024 05:00:11 +0000 (14:00 +0900)]
Fix crash issue
Currently, __stack_chk_fail occurs by array accessment.
Change-Id: I7e4aca03777c61b59a640c9a1e1bee8007dbc6e4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 23 Jan 2024 23:12:24 +0000 (08:12 +0900)]
Release version 0.39.1
Changes:
- Fix invalid access
Change-Id: I9a8fb4ab6e48a615d3be0e6fe04ef82142be5e85
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 23 Jan 2024 22:59:51 +0000 (07:59 +0900)]
Fix invalid access
The array size is 2.
Change-Id: If65b54963abee9d06ca7926aedd30be698371ca9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 23 Jan 2024 03:52:04 +0000 (12:52 +0900)]
Release version 0.39.0
Changes:
- Mount gadget resource paths for NUIGadget
Change-Id: Ief01323a30bfdf0a4e10e35ac68248e8f9b2425e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 19 Jan 2024 09:52:37 +0000 (18:52 +0900)]
Mount gadget resource paths for NUIGadget
After this patch is applied, the launchpad tries to mount the gadget
resource package separately. And, the gadget packages will be mounted to
the bin directory of the application.
The 'loader-mount' process is added for mounting gadget packages.
Change-Id: Id6c4e6b5a3525eb5cc8687fbb28b6292e895ff3e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 8 Jan 2024 04:31:35 +0000 (13:31 +0900)]
Release version 0.38.27
Changes:
- Remove MCJ file for dotnet apps
Change-Id: I0004127a33fba04212db4c6aa39149c73e1a02bc
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 8 Jan 2024 04:21:11 +0000 (13:21 +0900)]
Remove MCJ file for dotnet apps
The pal layer of coreclr creates the temporary file. If the process is
terminated by SIGKILL, the file is not deleted normally.
To prevent SMACK issue, the launchpad-process-pool removes the MCJ file.
Change-Id: I63eac7ee30008195ff9dcd5572b7c3222d83501b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 2 Jan 2024 10:22:56 +0000 (19:22 +0900)]
Release version 0.38.26
Changes:
- Register application info when ping delivered
Change-Id: I35a390f1a43b48c8f678dfc3d7d52f25174933e5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 2 Jan 2024 08:08:52 +0000 (17:08 +0900)]
Register application info when ping delivered
If the application is executed using fast launch option of the
app_launcher tool, there is a timing issue.
When the app process is slow to enter the main function, amd does not
know the process existence. To prevent the timing issue, launchpad sends
the launches process list to amd when ping request is received.
Change-Id: If7dea099493e0442b2a09137467238682c63d66e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Thu, 21 Dec 2023 02:22:48 +0000 (11:22 +0900)]
Release version 0.38.25
Changes:
- Fix build fail issue for gcc13
Change-Id: Iab3fbd4642e46425840d94cc8620a919136cd05e
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Thu, 21 Dec 2023 01:15:51 +0000 (10:15 +0900)]
Fix build fail issue for gcc13
Change-Id: If85456e7b588255c95b0d3315859bef0be9b1487
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Wed, 20 Dec 2023 03:43:30 +0000 (12:43 +0900)]
Release version 0.38.24
Changes:
- Except file descriptors from closing list
- Handle SIGCHLD event for process-pool
Change-Id: I7fa11a06f4c2cc08c928d78d6b56f41209c2783e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 20 Dec 2023 02:23:18 +0000 (11:23 +0900)]
Handle SIGCHLD event for process-pool
If the process pool is terminated, the launchpad should remove
the process information. And, if sending the request to the process pool
is failed, the launchpad must create a new process to execute an application.
Change-Id: I1d5096394593fe3db92fbd125f468bd9b73c498f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 20 Dec 2023 01:27:20 +0000 (10:27 +0900)]
Except file descriptors from closing list
There is a smack issue by closing fds in the process-pool.
In launchpad-process-pool, when using dlog, create a file descriptor
with vlog_init().
- When creating a process-pool, close all file descriptors except for
the dlog fd (at this time, the vlog fd is closed).
- When using the security-manager, attempt to output dlog. Attempt to write
using the vlog fd by calling vlog_write(), but at this time, actually use
the fd created by the security-manager.
- This fd points to /sys/fs/smackfs.
- SMACK error occurred.
Change-Id: I50b3f4860454f002dd550311bf48e7ef5a2916dc
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 15 Dec 2023 04:28:00 +0000 (13:28 +0900)]
Release version 0.38.23
Changes:
- Use access() instead of std::filesystem::exists
Change-Id: I4c3090d72ccb6b4d62888d9c462bd9d565cbd97e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 15 Dec 2023 03:34:17 +0000 (12:34 +0900)]
Use access() instead of std::filesystem::exists
The std::filesystem::exists uses stat() internally. The read permission
is needed to use stat(). It can cause the smack issues.
This patch changes the implementation to using access() with F_OK option.
Change-Id: I367487b010c7abf50015004e86c3bb6ad88aa0e6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Wed, 13 Dec 2023 01:36:00 +0000 (10:36 +0900)]
Release version 0.38.22
Changes:
- Revert "Increase cpu boosting interval"
Change-Id: Ie1393f64a97b77babbdca5755cc75aeaf18acdf9
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Wed, 13 Dec 2023 01:10:53 +0000 (10:10 +0900)]
Revert "Increase cpu boosting interval"
This reverts commit
e6d5bee452cc2548fecc48dc6ddd6dc8a64a2c9e.
Change-Id: Ifb5a779f45e05ed0b78de47efd9fcb2e3daa7b79
Changgyu Choi [Thu, 30 Nov 2023 00:11:40 +0000 (09:11 +0900)]
Release version 0.38.21
Changes:
- Increase cpu boosting interval
Change-Id: I7aad16d41b598ae11e59a3ef9a09ee64d603097d
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Wed, 29 Nov 2023 07:36:17 +0000 (16:36 +0900)]
Increase cpu boosting interval
Some low-end devices have a problem of delaying app execution at boot time.
This patch improves this problem by increasing cpu boosting interval.
Change-Id: Ic4c22e5a23c45a8fa31b61f0d2a460a4cf8f6dbf
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Tue, 21 Nov 2023 03:47:54 +0000 (12:47 +0900)]
Release version 0.38.20
Changes:
- Add restart loader condition
Change-Id: Id4daf7244fe76857b60b5c76c52a8af5bb21b43b
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Mon, 20 Nov 2023 08:36:26 +0000 (17:36 +0900)]
Add restart loader condition
When handling the RESTART_LOADER command, it is necessary to check whether the
loader_context is launchable.
In some cases, a problem occurred by launching a loader in a non-executable state.
This patch fixes this case.
Change-Id: I835799364d4dcd4e0d8c30e0d60a52f5ec08ff10
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Mon, 20 Nov 2023 03:52:03 +0000 (12:52 +0900)]
Release version 0.38.19
Changes:
- Rollback SendStartupSignal()
Change-Id: I519e95eb83dd0d85d2fdf59247ebd57bbf1605d8
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Mon, 20 Nov 2023 02:23:49 +0000 (11:23 +0900)]
Rollback SendStartupSignal()
For apps that do not use some aul api, roll back previous patch.
Rollback:
- https://review.tizen.org/gerrit/c/platform/core/appfw/launchpad/+/301173
Change-Id: I6383e998cdaa55e790b7d5bf0c8031c7cbc4d40c
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Wed, 15 Nov 2023 08:52:16 +0000 (17:52 +0900)]
Release version 0.38.18
Changes:
- Send Startup signal
Change-Id: I0d6944fc2c6618db0e08e46223926bc6807216a8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 15 Nov 2023 08:48:34 +0000 (17:48 +0900)]
Send Startup signal
In the loader case, the process already loaded the aul library.
AppStartupSignal is sent while loading the aul library.
Sending AppStartupSignal is needed in the loader case.
Change-Id: I4968fe72992f24d6bf19c957f43967080602f5f0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 15 Nov 2023 01:41:14 +0000 (10:41 +0900)]
Release version 0.38.17
Changes:
- Remove SendStartupSignal step
- Set a new environment variable for fast launch
Change-Id: I5276287cccabcbff3bf3006cdee4d6246974461b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 14 Nov 2023 05:47:47 +0000 (14:47 +0900)]
Set a new environment variable for fast launch
If an application is executed by the fast launch option,
the launchpad adds the "AUL_FAST_LAUNCH" variable to the environment.
Change-Id: Ia43ce56a34dc103b1ae1b8ff740f90b2e861e8c6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Fri, 10 Nov 2023 04:23:38 +0000 (13:23 +0900)]
Remove SendStartupSignal step
This step is moved to aul lib constuctor.
Change-Id: I35b7f791c3c5c9ed8e33233c7ef88506d10c3cfc
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Tue, 7 Nov 2023 08:11:30 +0000 (17:11 +0900)]
Release version 0.38.16
Changes:
- Change launch mode to previous operation
Change-Id: Ie7dff13b165d80ae8c7cc127c719cbe991c31f01
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 7 Nov 2023 06:19:04 +0000 (15:19 +0900)]
Change launch mode to previous operation
This patch changes the launch mode of loader management to
the previous operation.
Change-Id: I426a16dc1c2f58eb46132d8a789c73a6199aaa9a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 6 Nov 2023 07:39:46 +0000 (16:39 +0900)]
Release version 0.38.15
Changes:
- Modify thread control
Change-Id: I94a8a7e1b27a922714a51154817e19fcd8593047
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 6 Nov 2023 07:18:15 +0000 (16:18 +0900)]
Modify thread control
This patch uses std::condition_variable::wait_for() instead of
std::condition_variable::wait(). The timeout is 5 seconds.
Change-Id: I6a5f89bbf4450679c8527121f76966c6451eab52
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>