Changgyu Choi [Wed, 14 May 2025 01:13:37 +0000 (10:13 +0900)]
Release version 0.73.1
Changes:
- Add a missing command string
Change-Id: I0eb351297c433bc13d40776e2fe84ba3cce35347
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Wed, 14 May 2025 00:43:39 +0000 (09:43 +0900)]
Add a missing command string
WATCHDOG_PRINT_BT command string has been added.
Change-Id: I211d553a3511522b1d42666be455733662a826d4
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Jihoi Kim [Tue, 13 May 2025 06:18:07 +0000 (15:18 +0900)]
Release version 0.73.0
Changes:
- Add AUL api to send backtrace print request
Change-Id: I996363b8c567a2b6a564b4d489e011c2ae9d0ad3
Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
Jihoi Kim [Fri, 25 Apr 2025 07:04:42 +0000 (16:04 +0900)]
Add AUL api to send backtrace print request
- Implement aul_send_backtrace_request
- Define WATCHDOG_PRINT_BT command
- Add Debug log in ptrace for bactrace
Change-Id: Iba23650253fd0ba706b6bb63c906b69a9b248029
Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
Changgyu Choi [Mon, 31 Mar 2025 05:02:09 +0000 (14:02 +0900)]
Release version 0.72.1
Changes:
- Modify wrong operation related to smack disable
Change-Id: Ic4c7acef4ec859d953754dc86a087179b05a0f69
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Fri, 28 Mar 2025 05:13:45 +0000 (14:13 +0900)]
Modify wrong operation related to smack disable
Change-Id: I21432446e363b82ef613ce840a46c70fd7861088
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Fri, 21 Mar 2025 02:04:39 +0000 (11:04 +0900)]
Release version 0.72.0
Changes:
- [United Service App] Add a new internal key
- Add a new internal api
Change-Id: Ib6329f620deb8c8afc7cc4c639a76722d4f1de33
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>
Hwankyu Jhun [Fri, 14 Feb 2025 01:03:28 +0000 (10:03 +0900)]
[United Service App] Add a new internal key
The AUL_K_MOUNT_SERVICE_PKGIDS is added.
Change-Id: If29918aab84959f4e9afac0f697161fc4f203a68
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Jihoi Kim [Wed, 26 Feb 2025 05:38:37 +0000 (14:38 +0900)]
Release version 0.71.0
Changes:
- Support UID Sandbox feature
Change-Id: I6cabc60acec5737eb50b02f7e4dce8186329cf15
Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
Jihoi Kim [Thu, 13 Feb 2025 10:55:01 +0000 (19:55 +0900)]
Support UID Sandbox feature
- Change app socket path info /run/aul/apps/{pid}
- Add new Function 'GetSocketDirectory'
- Add Api 'aul_sock_get_socket_path' and 'aul_sock_get_socket_directory'
Change-Id: I0bdc5bff07b3d5a581ab1518209724b471d366d0
Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
Jihoi Kim [Wed, 19 Feb 2025 11:05:53 +0000 (20:05 +0900)]
Release version 0.70.2
Changes:
- Fix static analysis issue
- Add missing target include directory
- Release version 0.70.1
- Change two CMDs to inherit CPU resource
Change-Id: I83b64d63098fb42a0311ed6520e7df84ec8b12b5
Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
Jihoi Kim [Wed, 19 Feb 2025 09:37:08 +0000 (18:37 +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: Icd1614999ba1a9a5e4e24308548dc03566302c60
Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
Changgyu Choi [Wed, 22 Jan 2025 03:48:37 +0000 (12:48 +0900)]
Release version 0.70.1
Changes:
- Fix static analysis issue
- Add missing target include directory
Change-Id: Ice8631a45c6b41b45c9ac43c21bb268603987469
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Wed, 22 Jan 2025 03:22:52 +0000 (12:22 +0900)]
Add missing target include directory
${CMAKE_CURRENT_SOURCE_DIR} should be added.
Change-Id: I3f8f9f27dfc2a12e3f8d15c318e87085f17b0257
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Tue, 21 Jan 2025 07:17:17 +0000 (16:17 +0900)]
Fix static analysis issue
Changes:
- Fix memory leak.
Change-Id: I0be27f0422ff3cbba03bdeb31d1f19be5914fb56
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Tue, 21 Jan 2025 04:07:12 +0000 (13:07 +0900)]
Release version 0.70.0
Changes:
- Fix file name issue on checking launchpad socket
- Adds new internal apis
Change-Id: Ibaee7a848d5a79efd5c8a15b5a7ada0b49b1606f
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>
Jihoi Kim [Fri, 17 Jan 2025 07:14:51 +0000 (16:14 +0900)]
Fix file name issue on checking launchpad socket
- Previous patch change filename which shows launchpad socket is ready
- This patch fix aul apis to access via new filename
- Change variable names to distinguish socket ready file and socket itself
Change-Id: Ie82a5c50fe04501010ac3e8e453fed2d00b7f4d1
Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
Hwankyu Jhun [Thu, 16 Jan 2025 03:38:39 +0000 (12:38 +0900)]
Release version 0.69.1
Changes:
- Modify aul_notify_start function
Change-Id: I5ac092abd6747fd244dd304815f4883612a6fe0c
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 [Thu, 9 Jan 2025 03:48:26 +0000 (12:48 +0900)]
Release version 0.69.0
Changes:
- Use starts_with method instead of compare method
- Delete aul_proc_get_attr()
Change-Id: I03ee415b93da0f9120b2c6d68c760f7a2d738b71
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Thu, 9 Jan 2025 00:39:57 +0000 (09:39 +0900)]
Delete aul_proc_get_attr()
This api is only used in amd. so this implementation will move to amd.
Change-Id: I25c3de0f31581251333ab111311fa7bc4441294e
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
pjh9216 [Tue, 7 Jan 2025 04:26:59 +0000 (13:26 +0900)]
Use starts_with method instead of compare method
- Now that tizen supports c++20, we can use the new method 'starts_with' in std::string.
- It is fast(constexpr method) and simple.
Change-Id: I9b7b8ad91655d0cc268dff333d7f1b7e3af35440
Signed-off-by: pjh9216 <jh9216.park@samsung.com>
Changgyu Choi [Mon, 6 Jan 2025 08:30:13 +0000 (17:30 +0900)]
Release version 0.68.2
Changes:
- Change parameter type to pointer for performance
Change-Id: Idef364e15c97dba58ffdc6cf8db7b9bf680435a3
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 00:58:25 +0000 (09:58 +0900)]
Release version 0.68.1
Changes:
- Fix static analysis issue
Change-Id: Ie0caebafb7c420a606320b1c72ae07561575794c
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:56 +0000 (09:32 +0900)]
Release version 0.68.0
Changes:
- Add new functions to get cpu usage of a specific process
Change-Id: I6d548c158d01ef3227862492820374be59c66fa1
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:29 +0000 (15:32 +0900)]
Release version 0.67.2
Changes:
- Change to use abstract socket in amd,launchpad
- Modify socket receive timeout to 5.5 seconds
Change-Id: I43433394c8972b892cb2b91f6e0a72a3b55ff555
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>
newb1e [Mon, 30 Dec 2024 05:07:41 +0000 (14:07 +0900)]
Change to use abstract socket in amd,launchpad
- Change socket names: ex) @org.tizen.appfw.amd
- Path name starts with '@' will be abstract sockets
- Change connect(), bind() wrapper classes to handle '@' path
Change-Id: I768377ee039c5598af78a8edc17275963694b18c
Signed-off-by: newb1e <jihoi.kim@samsung.com>
Changgyu Choi [Fri, 27 Dec 2024 00:52:12 +0000 (09:52 +0900)]
Release version 0.67.1
Changes:
- Fix build error
Change-Id: I9e184b0108aa05b86a8af189cee835db19867fc1
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:26:18 +0000 (20:26 +0900)]
Release version 0.67.0
Changes:
- Use std::format instead of snprintf
- Print the backtrace of running process
- Fix race condition related to global variable deallocation on process termination
Change-Id: I6731cf88ef5dd67c2e4ecb14a9ede414153099ee
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>
pjh9216 [Fri, 20 Dec 2024 05:41:06 +0000 (14:41 +0900)]
Use std::format instead of snprintf
Change-Id: I870a72fe873e629633620837e28da92a9a2c94d3
Signed-off-by: pjh9216 <jh9216.park@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>