Changgyu Choi [Fri, 21 Mar 2025 02:03:55 +0000 (11:03 +0900)]
Release version 0.70.0
Changes:
- Add a new internal api
Change-Id: I408d8c728a8245bb26cc0e72caaca9a220c86daf
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Wed, 19 Mar 2025 01:58:56 +0000 (10:58 +0900)]
Add a new internal api
Adds:
- aul_app_is_running_async()
Change-Id: Ic1b23c1099930b3f41c77b898fe9bfa4419b8b40
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Jihoi Kim [Wed, 19 Feb 2025 11:07:21 +0000 (20:07 +0900)]
Release version 0.69.1
Changes:
- Change two CMDs to inherit CPU resource
Change-Id: I6ad371ebb4cb27431d667aa723a4e2a8471f5a5e
Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
Jihoi Kim [Wed, 19 Feb 2025 10:47:06 +0000 (19:47 +0900)]
Change two CMDs to inherit CPU resource
- APP_GROUP_ACTIVATE_BELOW, APP_GROUP_ACTIVATE_ABOVE
- For performance of aul_app_group_activate_below & above
Change-Id: Ie9c221a418611a2b2cf51707e9a91dad3cfbeb6e
Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
Changgyu Choi [Tue, 21 Jan 2025 04:07:33 +0000 (13:07 +0900)]
Release version 0.69.0
Changes:
- Adds new internal apis
Change-Id: I6cf04d08f09e81456e61d98ae4b2f91f57fd393b
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Tue, 21 Jan 2025 01:43:44 +0000 (10:43 +0900)]
Adds new internal apis
This is for omitting resinfo feature from fast launch.
Adds:
- aul_launch_app_fast_without_resinfo()
- aul_launch_app_fast_without_resinfo_for_uid()
Change-Id: Ie74f193b8367d7d0e65c6138b503f244b172030d
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Thu, 16 Jan 2025 03:46:36 +0000 (12:46 +0900)]
Release version 0.68.3
Changes:
- Modify aul_notify_start function
Change-Id: Ib4e5b9c72b47fb64c754b59464bd6e3929541431
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 6 Jan 2025 23:33:16 +0000 (08:33 +0900)]
Modify aul_notify_start function
The function sends the request with the ID to amd.
amd checks the request ID while registering the process if the caller is
not registered.
Change-Id: I0255fdc13f9ec1244bf53265880296107159efd6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Mon, 6 Jan 2025 08:31:56 +0000 (17:31 +0900)]
Release version 0.68.2
Changes:
- Change parameter type to pointer for performance
Change-Id: I8dfac994e3a3b229807054cac6fd68730640f4e6
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Mon, 6 Jan 2025 08:26:01 +0000 (17:26 +0900)]
Change parameter type to pointer for performance
unw_cursor_t is big structure type.
So, we can change this parameter type to pointer.
Change-Id: I08aa1bb855ea41127a74c65f1e0716436a5d096b
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Mon, 6 Jan 2025 01:00:41 +0000 (10:00 +0900)]
Release version 0.68.1
Changes:
- Fix static analysis issue
Change-Id: I044e1deaebead4866334d86122195d380e86496b
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Jihoi Kim [Fri, 3 Jan 2025 06:32:39 +0000 (15:32 +0900)]
Fix static analysis issue
- Fix COMPARE_RESULT_OF_NEW
- Using std::nothrow when allocate object
Change-Id: Ibd21f3a04b8dd20b78c34d93bdabe4641505ab24
Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
Changgyu Choi [Thu, 2 Jan 2025 00:32:29 +0000 (09:32 +0900)]
Release version 0.68.0
Changes:
- Add new functions to get cpu usage of a specific process
Change-Id: I6eb7d1fc80d9516b0c9712f4c9cd5914f6ed8712
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Sat, 28 Dec 2024 10:05:02 +0000 (19:05 +0900)]
Add new functions to get cpu usage of a specific process
To get the CPU usage of the specific process, new functions are added.
Change-Id: Ib3eadfe63e4da36464d9c4f52b4a742cad193715
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Tue, 31 Dec 2024 06:32:10 +0000 (15:32 +0900)]
Release version 0.67.2
Changes:
- Modify socket receive timeout to 5.5 seconds
Change-Id: I1f165f72bc30ce96ec6edb24dd89e9ec488f64a3
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Tue, 31 Dec 2024 06:23:50 +0000 (15:23 +0900)]
Modify socket receive timeout to 5.5 seconds
If the system is slow, sometimes amd sends timeout results late.
In this case, there is a problem that the result(pid) for the first launch request is not delivered.
To resolve this, the socket receiving timeout is slightly increased.
Change-Id: I5e741aad939beb8a90904683a9d32e7b1fbd79fa
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Fri, 27 Dec 2024 00:51:47 +0000 (09:51 +0900)]
Release version 0.67.1
Changes:
- Fix build error
Change-Id: Ie09a4616996ab3c24588a6f6403a536d8c1fb95a
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Fri, 27 Dec 2024 00:45:51 +0000 (09:45 +0900)]
Fix build error
Change-Id: If90dd15cdf249a8b54008b18eba3d2b4cfe53224
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Thu, 26 Dec 2024 11:28:32 +0000 (20:28 +0900)]
Release version 0.67.0
Changes:
- Print the backtrace of running process
- Fix race condition related to global variable deallocation on process termination
Change-Id: Ib502157207541002b1b7e4b79fed61093bca7e49
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Thu, 26 Dec 2024 11:04:09 +0000 (20:04 +0900)]
Fix race condition related to global variable deallocation on process termination
Change-Id: I5270d186eba7c5672b4a7653d36d801e146945bc
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Thu, 26 Dec 2024 00:02:32 +0000 (09:02 +0900)]
Print the backtrace of running process
This patch add an internal function to print backtrace of the running process.
Change-Id: If5fd06b8ceaae8e3607ed74c9318081b0b94b2e9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Mon, 16 Dec 2024 03:01:21 +0000 (12:01 +0900)]
Release version 0.66.0
Changes:
- Add new internal APIs
Change-Id: Id0f8b38ac4c3675ff808fb1c0329a59c63a4630b
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Wed, 11 Dec 2024 06:27:49 +0000 (15:27 +0900)]
Add new internal APIs
These APIs implement the functionality of app_launcher -f as an API.
Adds:
- aul_launch_app_fast()
- aul_launch_app_fast_for_uid()
Change-Id: I3b20918e9cec8fc4fa376e49adb2ca76a326bc1f
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Wed, 4 Dec 2024 00:41:57 +0000 (09:41 +0900)]
Release version 0.65.1
Changes:
- Add missing command string
Change-Id: I636d351794b24ee3def5419a87f0121e9a4b36cf
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Wed, 4 Dec 2024 00:38:14 +0000 (09:38 +0900)]
Add missing command string
APP_TERM_BY_PID_FOR_OOM command was added.
Change-Id: I8a4e67a0270cf3f9053260bb877391dc21ccdb85
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Thu, 28 Nov 2024 08:30:56 +0000 (17:30 +0900)]
Release version 0.65.0
Changes:
- Add a new internal API
Change-Id: If056aaa9abeb74ef24f0b8f967ecbaac12696b8a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 26 Nov 2024 06:24:12 +0000 (15:24 +0900)]
Add a new internal API
Add:
- aul_terminate_pid_for_oom()
Change-Id: I9dc82fc79a2947b425d3c428a62deb4edd41b3ca
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Mon, 25 Nov 2024 08:00:59 +0000 (17:00 +0900)]
Release version 0.64.17
Changes:
- Add cpu boosting required command
Change-Id: Ia1f5bcf0c06b480a926d20777dd528a177f89cab
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Mon, 25 Nov 2024 06:27:53 +0000 (15:27 +0900)]
Add cpu boosting required command
APP_IS_RUNNING is added to cpu boosting required command list.
Change-Id: I85a0585a7ff6c8936b9021a3a4dabbc2fb7568ef
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Thu, 21 Nov 2024 08:14:09 +0000 (17:14 +0900)]
Release version 0.64.16
Changes:
- Fix gcov build error
Change-Id: I8f1349cd214759df936a856974c3d5af7b3619c3
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Thu, 21 Nov 2024 08:10:25 +0000 (17:10 +0900)]
Fix gcov build error
error log:
boot-sequencer/app_info.hh:27:11: error: inlining failed in call to 'virtual boot_sequencer::AppInfo::~AppInfo() noexcept':
--param max-inline-insns-single limit reached [-Werror=inline]
Change-Id: I05b7d5d25f69308624c38f7772bb8cbb508d9431
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Tue, 19 Nov 2024 06:37:49 +0000 (15:37 +0900)]
Release version 0.64.15
Changes:
- Set smack label of the socket fd
Change-Id: I7cf0f429e134ff3fd168952531177090a4247a9f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 19 Nov 2024 06:01:41 +0000 (15:01 +0900)]
Set smack label of the socket fd
If the user is root, aul socket sets the smack label to the file
descriptor for amd.
Change-Id: I3f1ce45c28d25903a88f171246e3133d31c0dd76
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Wed, 13 Nov 2024 06:30:06 +0000 (15:30 +0900)]
Release version 0.64.14
Changes:
- Fix fd double close issue
Change-Id: I128102d3d589a32aed08074333bd51aebd84d355
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Wed, 13 Nov 2024 06:18:27 +0000 (15:18 +0900)]
Fix fd double close issue
aul_sock_recv_reply_pkt() close the fd.
So after using this api, fd must not be closed again.
Change-Id: Ie4e292c02e9a459bd61910cc8f82ece8459dcbe2
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Fri, 11 Oct 2024 09:41:48 +0000 (18:41 +0900)]
Release version 0.64.13
Changes:
- Modify -f option of app launcher tool
Change-Id: I61ce2eb6b7a4323a36ae89df3a23ffb7889352bb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 10 Oct 2024 10:54:43 +0000 (19:54 +0900)]
Modify -f option of app launcher tool
- Support res pkgs mount
Change-Id: Ia4dc4db187ccdd8084197adba44678dd29bb7ade
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Fri, 11 Oct 2024 06:09:07 +0000 (15:09 +0900)]
Release version 0.64.12
Changes:
- Reduce inefficient logs
Change-Id: Id97bf326c2ee4be7d7daeab8a1bd5898ddfb4faa
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Fri, 11 Oct 2024 04:53:02 +0000 (13:53 +0900)]
Reduce inefficient logs
Some logs can be reduced. This patch reduces ineffieient logs.
Change-Id: I5a60afef4587d76127c45e161ea6a96cd31d142a
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Thu, 26 Sep 2024 00:04:38 +0000 (09:04 +0900)]
Release version 0.64.11
Changes:
- Modify setting command
Change-Id: I9ef3d625ff813b4eef49f6d4e4153b75f650958a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 25 Sep 2024 23:13:38 +0000 (08:13 +0900)]
Modify setting command
- Using pthread_setname_np() instead
Change-Id: I24c3ad44b720e0b1f9a0183c5e1a3f8169930f39
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 5 Sep 2024 04:25:03 +0000 (13:25 +0900)]
Release version 0.64.10
Changes:
- Apply CPU inheritance to aul window functions
Change-Id: I14dcf813315eae320a86436edc65e7a0228d04d2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 4 Sep 2024 22:39:42 +0000 (07:39 +0900)]
Apply CPU inheritance to aul window functions
To improve IPC performance, this patch applies the CPU inheritance feature to
aul window codes.
Change-Id: I863d8ca4caafdcfd0b76046f1b902666eb1cd76f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 20 Aug 2024 06:54:07 +0000 (15:54 +0900)]
Release version 0.64.9
Changes:
- Check user ID to reduce unnecessary IPC
Change-Id: I7db100f7b8e34118746ad7923f1d2b22a4436628
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 20 Aug 2024 05:15:56 +0000 (14:15 +0900)]
Check user ID to reduce unnecessary IPC
If the user ID of the caller process is less than regular user ID,
the aul_app_get_appid_bypid() does not send the request to amd.
It's to reduce unnecessary IPC.
Change-Id: I1fa1935f3660d9ab59c21892c9ac90f0a1ad31c4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 14 Aug 2024 04:09:28 +0000 (13:09 +0900)]
Release version 0.64.8
Changes:
- Fix thread safe issue
Change-Id: Ie601d544105362fe9f5cc8b23a39e451d7808790
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 14 Aug 2024 03:11:08 +0000 (12:11 +0900)]
Fix thread safe issue
This patch is to fix the following issue:
+------------------------------------------------------------------------------+
| Thread 18 (LWP 16980): |
| #8 0xf671776e in g_log (log_domain=<optimized out>, log_level=log |
| _level@entry=G_LOG_LEVEL_CRITICAL, format=0xf6755a34 |
| "Source ID %u was not found when attempting to remove it") |
| at ../glib/gmessages.c:1455 --> libglib (rpm) |
| #9 0xf6711956 in g_source_remove (tag=33111) at ../glib/gmain.c:2543 |
| #10 0xf5d031fa in (anonymous namespace)::WatchdogContext::Stop |
| (this=0xf5d41dd0 <_ZN12_GLOBAL__N_17contextE>) at |
| /usr/src/debug/aul-0.53.7-1.arm/src/aul_watchdog.cc:122 |
| |
| Thread 1 (LWP 16979): |
| #0 g_source_destroy_internal (source=0xe923a230, context=0xaca04b88, |
| have_lock=0) at ../glib/gmain.c:1331 |
| #1 0xf671193e in g_source_remove (tag=33111) at ../glib/gmain.c:2541 |
| #2 0xf5d031fa in (anonymous namespace)::WatchdogContext::Stop |
| (this=0xf5d41dd0 <_ZN12_GLOBAL__N_17contextE>) at |
| /usr/src/debug/aul-0.53.7-1.arm/src/aul_watchdog.cc:122 |
+------------------------------------------------------------------------------+
Locking mutex is added for thread safe.
Change-Id: I404186b4d4bf04e03fd27fe56dd188aa0381d1df
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 8 Jul 2024 04:24:22 +0000 (13:24 +0900)]
Release version 0.64.7
Changes:
- Modify ANR Monitor
Change-Id: I048dcedb3d7c920eedae52eca5bdcc26cb971dff
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 8 Jul 2024 00:44:57 +0000 (09:44 +0900)]
Modify ANR Monitor
To prevent OOM, this patch adds only one idle source to the loop of
the main thread.
Change-Id: Ief73a5b48145c4f15786862170ad91a5e555c8b6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 5 Jul 2024 00:08:06 +0000 (09:08 +0900)]
Release version 0.64.6
Changes:
- Modify ANR Monitor feature
Change-Id: Ic097f05f88bdce37d032a89daca26cc0e02fad0d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 4 Jul 2024 23:14:30 +0000 (08:14 +0900)]
Modify ANR Monitor feature
If the caller is a daemon, the aul does not initialize the anr monitor.
Some daemon does not use the GMainLoop. And, ANR Monitor does not remove the
registered GSource using g_source_destroy(). The GSource will be destroyed
automatically in the callback function.
Change-Id: I93b99f2a694fb3d57530ee96e55f8de86f1fa83c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 3 Jul 2024 08:00:19 +0000 (17:00 +0900)]
Release version 0.64.5
Changes:
- Check GSource status
Change-Id: Id6627118e1aa735db7aca8562251e64360e07a1d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 3 Jul 2024 07:44:46 +0000 (16:44 +0900)]
Check GSource status
Before calling g_source_destroy(), the aul library checks whether the source
is destroyed or not. If it's already destroyed, we do not call g_source_destroy().
Change-Id: Ied8e2462556f470e1c077b2dd6c612c142831b47
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 1 Jul 2024 05:31:35 +0000 (14:31 +0900)]
Release version 0.64.4
Changes:
- Fix static analysis issues
Change-Id: I13176320261112ffe0de8645a95689dd0f7e5442
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 1 Jul 2024 00:17:17 +0000 (09:17 +0900)]
Fix static analysis issues
Checker:
- COMPARE_RESULT_OF_NEW
Change-Id: I9c18013118d78e04f10a38868acda3c719c6a2a1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 25 Jun 2024 05:41:07 +0000 (14:41 +0900)]
Release version 0.64.3
Changes:
- Add a new function to get pkgid async
- Add ANR Monitor
Change-Id: I190a3c82892b12ba9804208767dbdd1b2b22cc12
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 24 Jun 2024 07:16:09 +0000 (16:16 +0900)]
Add ANR Monitor
To check whether the main loop goes to the idle state or not, anr monitor
is added.
Change-Id: Ie881143f05769f2ac6909822a90288969b4a6005
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 16 May 2024 06:29:14 +0000 (15:29 +0900)]
Add a new function to get pkgid async
Adds:
- aul_app_get_pkgid_bypid_async()
Change-Id: Iee697515a47081d786a21ed60737c9edc9b41369
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 17 Apr 2024 01:55:28 +0000 (10:55 +0900)]
Release version 0.64.2
Changes:
- Add new options to blink feature
- Fix aul_rpc_port_prepare_stub() function
Change-Id: Id3b6e4b07163e01ae1ced9baf985e4eb272a195f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 17 Apr 2024 01:31:06 +0000 (10:31 +0900)]
Fix aul_rpc_port_prepare_stub() function
The socket option is changed to AUL_SOCK_BUNDLE from AUL_SOCK_QUEUE.
When amd gets the request, amd will change the socket option to
"AUL_SOCK_QUEUE | AUL_SOCK_BUNDLE".
Change-Id: I93629714285fdd2783c6683c4236d06f1d246314
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 15 Apr 2024 04:33:04 +0000 (13:33 +0900)]
Add new options to blink feature
The aul-blink checks AUL_BLINK_LEVEL and AUL_BLINK_OPTION to parse options.
The value of AUL_BLINK_LEVEL environment is able to be 'strong', 'medium' and
'weak'. The value of AUL_BLINK_OPTION environment is able to be 'reset-on-fork'
and 'inherit-on-fork'.
Change-Id: Iafd0016c15f6f8eee3362cde0021ae8acdff5bac
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 12 Apr 2024 04:42:51 +0000 (13:42 +0900)]
Release version 0.64.1
Changes:
- Revert '
eed76e3a1c1ded0075bd5e879ef7494c65b91d93'
Change-Id: I6176a708cb1c6697322e27eb08d47bef1c5947f3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 12 Apr 2024 03:38:30 +0000 (12:38 +0900)]
Revert '
eed76e3a1c1ded0075bd5e879ef7494c65b91d93'
This patch reverts '
eed76e3a1c1ded0075bd5e879ef7494c65b91d93' commit
related to aul proc implmentation.
Change-Id: Ifb865e741bdb41079a5980db5a4e82d3f974d0ab
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 11 Apr 2024 05:03:16 +0000 (14:03 +0900)]
Release version 0.64.0
Changes:
- Add blink feature for daemon processes
- Add a dependency of aul-blink library to aul library
Change-Id: I4d24827e22b314384a2e9f2b1ca0d655997dc89e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 11 Apr 2024 02:08:22 +0000 (11:08 +0900)]
Add a dependency of aul-blink library to aul library
This patch adds a missing dependency of the libaul-blink.
Currently, if the library is not used, the library is not loaded forcedly
by '--wl,--as-needed' option.
Change-Id: Ic3939dcc096e8f2c14ab4aa3eca7cd9f3d986f3a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 8 Apr 2024 08:42:48 +0000 (17:42 +0900)]
Add blink feature for daemon processes
The term "blink" is utilized to denote momentary movement.
If the environmental variable "AUL_BLINK=1" is present, the AUL library will
initiate boosting for the process as soon as it is loaded.
The "AUL_BLINK_TIMEOUT" is a variable that enables the setting of
a time-out duration. The unit of measurement is milliseconds, with
a default value of 5000 milliseconds.
Change-Id: I93dd570b7d442d0033e409b2f9a6a352f864ccbd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
jusung son [Mon, 8 Apr 2024 04:33:20 +0000 (13:33 +0900)]
Release version 0.63.6
Changes:
- Fix static analysis issue
Change-Id: Ifdc716ab6e7526a338e2fa4caead39566e3037fc
Signed-off-by: jusung son <jusung07.son@samsung.com>
jusung son [Mon, 8 Apr 2024 04:26:57 +0000 (13:26 +0900)]
Fix static analysis issue
- Uninitialized scalar field
Change-Id: I4f1f68701d3b2f44d2fdf151054046afea58a112
Signed-off-by: jusung son <jusung07.son@samsung.com>
Hwankyu Jhun [Thu, 4 Apr 2024 08:23:36 +0000 (17:23 +0900)]
Release version 0.63.5
Changes:
- Modify -f option of app_launcher
Change-Id: Ib032343c77ee159efa1767c8eed4ccb26bc0902f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 4 Apr 2024 07:34:18 +0000 (16:34 +0900)]
Modify -f option of app_launcher
If amd is ready, the tool should send the launch request to amd.
Before getting the application information from the pkgmgr db, the tool
checks whether amd is ready or not.
Change-Id: I1eaed48176bc0fdd2fa83dcb0cedc7671c6518b6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 3 Apr 2024 09:40:36 +0000 (18:40 +0900)]
Release version 0.63.4
Changes:
- Modify rpc-port path creation
Change-Id: I5f97b58b90f1d07509f7586a1a3df7910672588d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 1 Apr 2024 05:41:36 +0000 (14:41 +0900)]
Modify rpc-port path creation
This patch is for linux daemon and service.
If the caller uid is less than 5000, the port creation function does not
use the uid to create the port path.
The aul library checks the prefix has a "d::" or not.
If it has the prefix, aul returns the port path without using base64 encoding.
Change-Id: I68431de1a37471f5f9d6089a27dcca4951b55b1c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 2 Apr 2024 09:14:30 +0000 (18:14 +0900)]
Release version 0.63.3
Changes:
- Remove pkgmgr-installer dependency
- Switch to custom deleter type for unique_ptr
Change-Id: I5d64b6a6a03f11c28aaa2203746aeaf8ac888d3b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Slava Barinov [Fri, 29 Mar 2024 12:13:32 +0000 (15:13 +0300)]
Switch to custom deleter type for unique_ptr
This prevents the error:
src/parser/exec-checker/src/exec_checker.cc:202:42: error: ignoring attributes on template argument 'int (*)(FILE*)' [-Werror=ignored-attributes]
202 | std::unique_ptr<FILE, decltype(fclose)*> fp_auto(fp, fclose);
| ^
When building with new toolchain
Change-Id: I3b0b71ddb2c887d349e783e5ad3a6d1b1bbb561e
Ilho Kim [Thu, 28 Mar 2024 12:49:08 +0000 (21:49 +0900)]
Remove pkgmgr-installer dependency
Change-Id: I00b354e83b055725a2b78465d13cbac92d7c8c4c
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Thu, 28 Mar 2024 09:07:22 +0000 (18:07 +0900)]
Release version 0.63.2
Changes:
- Fix validating resource schema
Change-Id: I2c97fad2f492841281a80638e13ea9ac09dba2b5
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 28 Mar 2024 07:57:21 +0000 (16:57 +0900)]
Fix validating resource schema
Load schema directly from a file because there is an unknown problem that
cannot load schema from memory.
Change-Id: Ief4d14db71aadf865951e2f1e486fe782b207f3c
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Hwankyu Jhun [Tue, 12 Mar 2024 05:14:40 +0000 (14:14 +0900)]
Release version 0.63.1
Changes:
- Fix lcov option
Change-Id: Ib8340b60434dba2628f9ee6596d979de861b16c1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 12 Mar 2024 04:57:17 +0000 (13:57 +0900)]
Fix lcov option
"mismatch,unused" options are added.
Change-Id: Ia98802441422dff32b49779b085fd5f68306a04e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 5 Feb 2024 09:09:31 +0000 (18:09 +0900)]
Release version 0.63.0
Changes:
- Remove storage library dependency
- Fix wrong library dependency
- Add a new command for thaw event
Change-Id: Ic59c990b172107f7fda6fa7bf54a341055eee482
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 5 Feb 2024 04:06:45 +0000 (13:06 +0900)]
Add a new command for thaw event
Adds:
- APP_THAW
Change-Id: I5b1225716cac6ebebece3e3c0dc320e024dde572
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 5 Feb 2024 06:30:12 +0000 (15:30 +0900)]
Fix wrong library dependency
The package name of storage library is libstorage.
Change-Id: I84b7d3588fac98496fd1854573f8d124faf49af7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 5 Feb 2024 03:07:39 +0000 (12:07 +0900)]
Remove storage library dependency
To remove loading capi-system-info library, this patch removes
a libstorage dependency.
Change-Id: Iae64e8373001b8638dde362f4c8739f370a3618c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 1 Feb 2024 05:17:21 +0000 (14:17 +0900)]
Release version 0.62.0
Changes:
- Adjust directory hierarchy
- Separate aul_rsc_mgr library from aul library
- Remove alias appid feature
- Remove unncessary dependencies
Change-Id: I238c49722c1da6b935a07552ddec32e9e550081d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 1 Feb 2024 05:07:47 +0000 (14:07 +0900)]
Remove unncessary dependencies
The dependency of the capi-system-info library is removed from the aul library.
The dependency of the iniparser library is removed from the aul library.
Currently, the aul socket does not use socket timeout feature.
The feature will be removed after this patch is applied.
Change-Id: I444cd42ee53b2838d1f3e3ee593cd067ef2e22e4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 1 Feb 2024 04:53:30 +0000 (13:53 +0900)]
Remove alias appid feature
The alias.ini file and the related codes are removed.
Currently, platform and products do not support it properly.
Change-Id: Ie76c8aebedbc64ddd3f30355ba2cda4188670579
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 1 Feb 2024 01:31:59 +0000 (10:31 +0900)]
Separate aul_rsc_mgr library from aul library
The libaul-rsc-mgr library is added.
Change-Id: I33d077778e33488a66cfc0e934e0e633f0247313
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 1 Feb 2024 00:33:54 +0000 (09:33 +0900)]
Adjust directory hierarchy
The following directories are moved to the src directory.
- aul
- server
- parser
- tool
The include directory is moved to the src/aul directory.
The source codes will have the following directory structure:
aul-1/src
|---aul
|---parser
|---server
+---tool
Change-Id: I0f29482336759eea00cbbdef0b8d15bc11eccbc4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Sangyoon Jang [Wed, 31 Jan 2024 08:43:11 +0000 (17:43 +0900)]
Release version 0.61.2
Changes:
- Fix keys for lib rpk
Change-Id: Iac39a675a2b20b19225fe51e0198a20511ec3639
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 30 Jan 2024 06:46:55 +0000 (15:46 +0900)]
Fix keys for lib rpk
Only allowed package can use lib rpk.
Change-Id: Icace5f71b8451278a1d05e80338c3d94ad9b70f3
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Changgyu Choi [Tue, 30 Jan 2024 08:33:58 +0000 (17:33 +0900)]
Release version 0.61.1
Changes:
- Fix static analysis issues
Change-Id: Ib64a8ff17f2e80fa9eee089ef48cfb36aaff47b1
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Mon, 29 Jan 2024 09:16:36 +0000 (18:16 +0900)]
Fix static analysis issues
- Change type of variables to const auto&
Change-Id: Id500412164b44ac1539f09423a2935a66be2f1d3
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 23 Jan 2024 03:49:19 +0000 (12:49 +0900)]
Release version 0.61.0
Changes:
- Add a new key for library resource package
- Add new definitions for NUIGadget
Change-Id: Iecbeb36110b169f710910ed1c395b01f65a87b2d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 19 Jan 2024 03:50:05 +0000 (12:50 +0900)]
Add new definitions for NUIGadget
Adds:
- AUL_K_MOUNT_GADGET_PKGIDS
- AUL_K_MOUNT_GADGET_PATHS
Change-Id: I54a8e8b882192faf819a280fe79db88aa9ffc82c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Ilho Kim [Tue, 16 Jan 2024 10:56:59 +0000 (19:56 +0900)]
Add a new key for library resource package
Adds:
- AUL_K_MOUNT_GLOBAL_LIB_RES_DIR
- AUL_K_MOUNT_ALLOWED_LIB_RES_DIR
Change-Id: I9738fbfb2cee80b879babeb94f9be6030e4bc979
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Hwankyu Jhun [Tue, 16 Jan 2024 03:44:00 +0000 (12:44 +0900)]
Release version 0.60.21
Changes:
- Add a missing mutex unlock
Change-Id: Ic20473d1ca8b49d9a1435ce441097715db70aa89
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 16 Jan 2024 03:27:04 +0000 (12:27 +0900)]
Add a missing mutex unlock
The recursive mutex must be unlocked before returning the function.
Change-Id: I5bf3e62fa3d7ac6c14cb3f8bb022a68d69fa2a9c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 16 Jan 2024 02:22:55 +0000 (11:22 +0900)]
Release version 0.60.20
Changes:
- Fix wrong error handling
Change-Id: I20d6a0d923f0552d92b7cba30af60388e14df995
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 16 Jan 2024 02:17:04 +0000 (11:17 +0900)]
Fix wrong error handling
If aul library does not find the client channel, the request must be ignored.
Change-Id: If45da924ad3479d1c02a51c7c48cbd68d689093d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 12 Jan 2024 00:49:49 +0000 (09:49 +0900)]
Release version 0.60.19
Changes:
- Fix fd leak
Change-Id: I3b52594d4be786d1201a62ba1911ad8a8f1ea120
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>