newb1e [Fri, 15 Nov 2024 01:46:22 +0000 (10:46 +0900)]
AMD log shortening
- Fix some typos
- Merge two logs in AppStatusManager::Update
- Shorten frequently called Logs in reqeust_manager
Change-Id: I79c2fda1c2089379034cb4c06f8a8a619d2cbaef
Signed-off-by: newb1e <jihoi.kim@samsung.com>
Changgyu Choi [Mon, 18 Nov 2024 00:50:36 +0000 (09:50 +0900)]
Release version 1.71.4
Changes:
- [screen-resolution] Register appid for fast launched apps to enlightenment
Change-Id: I6c7148ba07e8d152d7d0ad43bc42f0e175b2c5d8
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Fri, 15 Nov 2024 05:58:21 +0000 (14:58 +0900)]
[screen-resolution] Register appid for fast launched apps to enlightenment
Apps that launched before amd did not have the process of registering appid in enlightenment.
This patch adds these logics.
Change-Id: I68d34ae56e3a3dde32494741f6686e8634779f87
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Mon, 11 Nov 2024 11:05:52 +0000 (20:05 +0900)]
Release version 1.71.3
Changes:
- Fix default user login
Change-Id: I3b2bf76a024606d850fa7b02ea4f78c954ad7d11
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Mon, 11 Nov 2024 09:49:10 +0000 (18:49 +0900)]
Fix default user login
To avoid executing onboot apps, the login monitor logins the default
user with the opening state first.
Change-Id: I880364c531d186e72fd02f91d9334a5e667f8356
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Fri, 8 Nov 2024 11:20:22 +0000 (20:20 +0900)]
Release version 1.71.2
Changes:
- Refining AMD log message
- Move to set default user id for system daemon
Change-Id: I15fc50f542b8df648efe11476143792dfebe153b
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Fri, 8 Nov 2024 11:04:55 +0000 (20:04 +0900)]
Move to set default user id for system daemon
It is necessary to perform the same as the previous logic.
Change-Id: Ib53d74d96a441fd4d20704b7893c32b5c5c40624
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
newb1e [Thu, 31 Oct 2024 10:16:26 +0000 (19:16 +0900)]
Refining AMD log message
- Fix some typos in log message
- Merge two correlate logs in 'amd_app_com'
- Fix uninitialized variable to be set in 'ClientChannel::OnDataReceived'
- Merge two correlate logs in 'ClientChannel::OnDataReceived'
- Change log level & log contents related to ClientChannel.dtor
tct passed.
Change-Id: Ie9e6a2dfe54715d5c84522fd11565721ba8af48c
Hwankyu Jhun [Mon, 4 Nov 2024 07:11:15 +0000 (16:11 +0900)]
Release version 1.71.1
Changes:
- Set CAP_FOWNER capabilitiy
Change-Id: I7771c949de94f511b52c3645d3a76b99787a7593
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 30 Oct 2024 23:24:12 +0000 (08:24 +0900)]
Set CAP_FOWNER capabilitiy
To delete tmp files of applications, amd should have a CAP_FOWNER
capability. Currently, calling unlink() returns an error with the
'operation not permitted' message. Because, the file permission is
"srw- --- ---".
Change-Id: I7fc13b18378d545e8dd44bee410048dea52d27f4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 28 Oct 2024 08:01:35 +0000 (17:01 +0900)]
Release version 1.71.0
Changes:
- Implement garbage collector of launchpad
Change-Id: Ie9340103207fdc67158b60e7d14a0ca07a7c6e21
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 25 Oct 2024 04:14:08 +0000 (13:14 +0900)]
Implement garbage collector of launchpad
The codes related to the terminated process are moved from
the launchpad-process-pool. To make the launchpad is a single thread,
sub threads are removed.
Change-Id: I54967e9a78af0425a546dba84858309bc5ec1c1e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 21 Oct 2024 23:15:32 +0000 (08:15 +0900)]
Release version 1.70.20
Changes:
- Revert "Change maximum count of delay count"
Change-Id: I2ea05d5e176eae49eb8303da7efaea56cf96d473
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 21 Oct 2024 22:01:26 +0000 (07:01 +0900)]
Revert "Change maximum count of delay count"
This reverts commit
2336216c6864eb1024c2049e63c2682b1068a9d4.
Change-Id: I6b8c1ae4b31019b4b3d921d6d0edb4ca389ba114
Hwankyu Jhun [Fri, 18 Oct 2024 00:17:14 +0000 (09:17 +0900)]
Release version 1.70.19
Changes:
- Modify retrying logic of loading app info
Change-Id: I49c7a4ca07303eb44235b44201634f4e27e5e381
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 17 Oct 2024 22:06:15 +0000 (07:06 +0900)]
Modify retrying logic of loading app info
The maximum number of the retrying count is increased to 30.
And, if it's exceeded, amd calls abort() to create the coredump.
Change-Id: I1d4a8819dccc2483050b396988c5b424c679fccd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 14 Oct 2024 08:53:10 +0000 (17:53 +0900)]
Release version 1.70.18
Changes:
- Change maximum count of delay count
Change-Id: I6a0313a29bcc4e0b0e06b9a28de46d73604ae903
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 14 Oct 2024 08:38:53 +0000 (17:38 +0900)]
Change maximum count of delay count
The maximum count is changed to 4 from 10.
This patch is a temporary change for debugging.
Change-Id: Ib6c7fada11e31f4215e11c9c5b361f95612d1276
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Fri, 11 Oct 2024 06:09:25 +0000 (15:09 +0900)]
Release version 1.70.17
Changes:
- Reduce inefficient logs
Change-Id: Ie36a93c1379ed6f8d20ad6816f7c92be80839113
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Fri, 11 Oct 2024 04:09:01 +0000 (13:09 +0900)]
Reduce inefficient logs
Some logs can be reduced. This patch reduces ineffieient logs.
Change-Id: I7b22237f698f6f685e5b684c03ba5911aa2a07fa
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Tue, 8 Oct 2024 07:10:04 +0000 (16:10 +0900)]
Release version 1.70.16
Changes:
- Load appcontrol privileges at bootup time
- Modfiy handling pending item
- Check request before access control
- Use pkgmgrinfo_appinfo_foreach_appcontrol_v3() instead
- Check port name for screen connecor input
- Fix CheckAppControlPrivilege function
Change-Id: I5e3696df287c035d59af593103e929e6981fe913
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 8 Oct 2024 06:50:10 +0000 (15:50 +0900)]
Fix CheckAppControlPrivilege function
If there is not app info, amd should skip the access control.
In the some product, the application uses alias appids.
Change-Id: Ib9adc4eea8a8ed01d9fe149e3d56503b8cf6e464
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 8 Oct 2024 06:29:29 +0000 (15:29 +0900)]
Release version 1.70.15
Changes:
- Use pkgmgrinfo_appinfo_foreach_appcontrol_v3() instead
- Check port name for screen connecor input
Change-Id: I1f9a88a41bc2e967e090a94bb893c1845b8b2ef0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 8 Oct 2024 06:02:45 +0000 (15:02 +0900)]
Check port name for screen connecor input
If the port name is "ScreenConnectorInput", amd does not send the launch request
to the stub.
Change-Id: I3ba3fb0eb7e76a7c17763f072f0f5779a8a2bcf8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 8 Oct 2024 04:38:47 +0000 (13:38 +0900)]
Use pkgmgrinfo_appinfo_foreach_appcontrol_v3() instead
To improve the performance of amd initialization, amd should use
pkgmgrinfo_appinfo_foreach_appcontrol_v3() function.
Requires:
- https://review.tizen.org/gerrit/#/c/platform/core/appfw/pkgmgr-info/+/318744/
Change-Id: I51fd10437a4ce2b6d1dc87ced4b173ada399434f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 8 Oct 2024 03:56:23 +0000 (12:56 +0900)]
Release version 1.70.14
Changes:
- Check request before access control
Change-Id: I0ae0724a0fe0f58bc2c48bbcf6ff024bebba8603
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 8 Oct 2024 03:36:45 +0000 (12:36 +0900)]
Check request before access control
For access control, the application ID should be set if it's the launch request.
Before checking the permission of the caller, amd checks the request.
If it's the implicit launch request, amd sets the application ID to the request.
Change-Id: I548eb1ac9f9f8a41b6007fa7eacf887af9d8823d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 2 Oct 2024 03:24:51 +0000 (12:24 +0900)]
Release version 1.70.13
Changes:
- Load appcontrol privileges at bootup time
- Modfiy handling pending item
Change-Id: I4ce1ece6bfc9dc36fcc01e8569cd308225c5d8fc
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 2 Oct 2024 02:04:13 +0000 (11:04 +0900)]
Modfiy handling pending item
There is a problem that when an execution request for the same app is delivered
before AMD executes the app and obtains the PID information, it cannot deliver
the PID information to the proxy. This problem creates a blocking state in the proxy.
In the FlushPendingRequests() method, if the request type is 'rpc-port',
modify it so that the result is immediately delivered to the caller.
Change-Id: I13334803267e1297df1d1a17ce673ef40feacb4d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 2 Oct 2024 00:52:29 +0000 (09:52 +0900)]
Load appcontrol privileges at bootup time
During the process of calling the pkgmgrinfo API, it was observed that the AMD
is blocked for a certain period of time.
This patch modifies the booting process to load the appcontrol privilege
information by AMD in order to solve this problem.
Change-Id: I343ad57e24a458746d2a9ae0d19fb028745d40ff
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 23 Jul 2024 06:04:28 +0000 (15:04 +0900)]
Release version 1.70.12
Changes:
- Add metadata profile for NUIGadget
Change-Id: I01a12cdb3b87053bc8169a02a184904e6228e5a9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 23 Jul 2024 05:47:54 +0000 (14:47 +0900)]
Add metadata profile for NUIGadget
The following informations are added for NUIGadget feature:
- http://tizen.org/metadata/ui-gadget/dll
- http://tizen.org/metadata/ui-gadget/resource/dll
- http://tizen.org/metadata/ui-gadget/resource/class-name
Change-Id: I5a7b3f4292c8437fda480804d637ec314c8317d2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Tue, 23 Jul 2024 01:16:06 +0000 (10:16 +0900)]
Release version 1.70.11
Changes:
- Add the logic to terminate apps that are not responding
Change-Id: I16456c3836917e1f7d323c3e31e0bcf4bfb193ff
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Mon, 22 Jul 2024 04:10:57 +0000 (13:10 +0900)]
Add the logic to terminate apps that are not responding
After this patch is applied, any apps that have not responded for 100 seconds after launching will be terminated.
Change-Id: Ie105ddbb204a6f0279639c8d6ccee65cb96207b5
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Mon, 22 Jul 2024 04:57:59 +0000 (13:57 +0900)]
Release version 1.70.10
Changes:
- Check pending item before processing the launch request
Change-Id: I647903f56991f1c84d0aec18d54efb41fa9034d2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 22 Jul 2024 03:25:41 +0000 (12:25 +0900)]
Check pending item before processing the launch request
When the target application ID is changed, amd should check whether
the target application is starting or not.
Change-Id: I3197e0fa8718ef9d99f6822097a117a7ae1426b5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 18 Jul 2024 01:19:27 +0000 (10:19 +0900)]
Release version 1.70.9
Changes:
- Call AMD_MOD_PREINIT function
Change-Id: I2e22c59d81fcd462776c183f4ff78e053a0d7a52
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 17 Jul 2024 06:53:16 +0000 (15:53 +0900)]
Call AMD_MOD_PREINIT function
Before amd starts the memory allocation, amd calls AMD_MOD_PREINIT() to
provider the entry point to plugin modules.
Change-Id: I37fb326905ae4103d9a41f85b518d19280861135
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 17 Jul 2024 00:06:19 +0000 (09:06 +0900)]
Release version 1.70.8
Changes:
- Modify amd_launch_start_app function
Change-Id: I3ce28ccdc008911efa82f46f47bce88921998050
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 16 Jul 2024 23:24:48 +0000 (08:24 +0900)]
Modify amd_launch_start_app function
To check whther the target application is launching or not, the function
calls _request_check_status(). If it returns 1, it means the request is pending.
In that case, the function returns 0.
Change-Id: I58513c0b3b0e83cec0c9b81be23dcd931c227c6a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 11 Jul 2024 00:09:48 +0000 (09:09 +0900)]
Release version 1.70.7
Changes:
- Call Finish method to release all resources
Change-Id: I6a9bd196f22ae696c774a4ee8978ee0da678dce8
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 10 Jul 2024 23:13:19 +0000 (08:13 +0900)]
Call Finish method to release all resources
To prevent crash issues, amd should release all resources of
AppStatusManager instance when calling exit handlers.
This patch adds a destructor of the AppStatusManager to call Finish()
method.
Change-Id: I3232c54339fcf95131279a6303e8d7aa44de0fea
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 3 Jul 2024 04:00:09 +0000 (13:00 +0900)]
Release version 1.70.6
Changes:
- Fix static analysis issues
Change-Id: I1e08359b00bfb4af24138b203b10772b93c58f6f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 2 Jul 2024 23:48:21 +0000 (08:48 +0900)]
Fix static analysis issues
Checker:
- DEREF_OF_NULL
Change-Id: I715ecc12e7a65e866e64bdf229eb2da3a029feea
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 1 Jul 2024 05:30:47 +0000 (14:30 +0900)]
Release version 1.70.5
Changes:
- Fix static analysis issues
Change-Id: I0a8af71f3dc100ffd9b17fc3523eb3c9310e52e0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 1 Jul 2024 00:00:40 +0000 (09:00 +0900)]
Fix static analysis issues
Checker:
- UNREACHABLE_CODE
Change-Id: Ie853fcb17ce13dd5398cd512f90fccace5dde428
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 27 Jun 2024 08:26:39 +0000 (17:26 +0900)]
Release version 1.70.4
Changes:
- Modify AppControl Checker
Change-Id: Id8d1508164fc5c73cd0109b54ce05b74b1def812
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 19 Jun 2024 05:36:10 +0000 (14:36 +0900)]
Modify AppControl Checker
If the target application is a robot app, amd checks whether the caller
is the srp-app-launcher or not. If it's not, the launch request will be
rejected.
Change-Id: I8848f88ec46269da7d99ffd0cf501a79173531cd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 25 Jun 2024 00:59:04 +0000 (09:59 +0900)]
Release version 1.70.3
Changes:
- Set default user ID for system daemon
Change-Id: Ia5318bc11c34d9c1f01f2a5565fd445378ad1065
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 25 Jun 2024 00:40:12 +0000 (09:40 +0900)]
Set default user ID for system daemon
If there is no active user, amd sets the system user ID to the target
uid of the request for system daemon.
Change-Id: I8fc7532e0ca59be798db3b961c711ab7410c0381
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 21 Jun 2024 05:08:28 +0000 (14:08 +0900)]
Release version 1.70.2
Changes:
- Change log levels
Change-Id: I6e6307012f09a8451fa7708ddb61fe7a1aba69e0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 20 Jun 2024 23:45:42 +0000 (08:45 +0900)]
Change log levels
This patch changes the log level to error level for debugging.
Change-Id: I29d7cdd4ecd221f29ad5ff3221904e2d4d6aea90
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 4 Jun 2024 09:31:57 +0000 (18:31 +0900)]
Release version 1.70.1
Changes:
- Change return value when app is blocking status
- Modify noti message
- Separate initialization of AppStatusManager
- MemoryLimit has been replaced by MemoryMax
Change-Id: Ibc9c9e0e1057c56d320006fff332142a11e768e2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Łukasz Stelmach [Tue, 4 Jun 2024 09:29:39 +0000 (11:29 +0200)]
MemoryLimit has been replaced by MemoryMax
The MemoryLimit option is marked as deprecated in systemd and needs to
be changed to MemoryMax in unit files.
Change-Id: I767dc60a32719d92418c2549c8636b13b081a0e5
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Hwankyu Jhun [Tue, 4 Jun 2024 06:10:19 +0000 (15:10 +0900)]
Separate initialization of AppStatusManager
The following methods are added:
- AddSignalReadyCb()
- SetRequestBrokerDisconntectedEventCb()
- AddInotifyWatch()
- AddVconfInitTimer()
The AppStatusManager::Init() calls the added functions for the initialization.
Change-Id: I0ac3986fed9f9980c7a43fb272730e7934947959
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 4 Jun 2024 06:15:57 +0000 (15:15 +0900)]
Modify noti message
The argument is added to notify that the status is updated forcedly.
Change-Id: I71e212046be86e2d493d2fd33d30baacd141a7d0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 4 Jun 2024 04:34:04 +0000 (13:34 +0900)]
Change return value when app is blocking status
The implementation of CheckExecutable method changes the value that
returned -ENOENT to -EREJECTED.
Change-Id: Ibb4d999c62f553751b94d38c803328f8f6b46595
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 4 Jun 2024 00:28:44 +0000 (09:28 +0900)]
Release version 1.70.0
Changes:
- Handle robot app type
Change-Id: I4f820e5fdaa9d8924b4381a2b2bc04b479938eef
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 3 Jun 2024 06:50:35 +0000 (15:50 +0900)]
Handle robot app type
To support robot profile, amd handles 'robotapp' type.
Change-Id: I5a436de2215ca2da77d7e84effe806f083feb93d
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 17 Apr 2024 07:02:19 +0000 (16:02 +0900)]
Release version 1.69.16
Changes:
- Fix static analysis issues
Change-Id: I038b74c62f126c7ee07853f7eb746a7cd1063af2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 17 Apr 2024 05:30:15 +0000 (14:30 +0900)]
Fix static analysis issues
This patch checks whether the GError variable is nullptr or not.
Change-Id: Ia98fb1c35ce8538e84d253df0c4849bfc190f390
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 17 Apr 2024 01:55:49 +0000 (10:55 +0900)]
Release version 1.69.15
Changes:
- rpc-port: Modify stub preparation handler
Change-Id: If40713897de07a81435eae1f3bbbeefb36aed619
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 17 Apr 2024 01:23:54 +0000 (10:23 +0900)]
rpc-port: Modify stub preparation handler
If the request is pended, amd sends the result to the caller immediately.
Change-Id: I0307a428ddc3b075a3f59d260f1bb3efc96c84ff
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 4 Apr 2024 06:39:02 +0000 (15:39 +0900)]
Release version 1.69.14
Changes:
- Create aul directories
Change-Id: I2a90d22c77107b80d3bf6ddced75145317bd4b2c
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 4 Apr 2024 05:51:39 +0000 (14:51 +0900)]
Create aul directories
Currently, amd can run before creating aul directories by systemd-tempfiles.
In this case, amd has crashed. When attempting to access the '.amd.db',
the operation fails because the directory does not exist, which causes
the crash. When doing the AMD initialization, it is necessary to check whether
the required directory exists and perform the creation operation if it doesn't.
Change-Id: I3a36b9cffa778d8a97f8b2aff7c9035adde1667e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 3 Apr 2024 09:41:10 +0000 (18:41 +0900)]
Release version 1.69.13
Changes:
- Modify rpcport directory permissions
- Remove vip configuration file from resourced directory
Change-Id: I5e96bcc309f51a87e98ddb03b973156b5f405150
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 2 Apr 2024 03:54:17 +0000 (12:54 +0900)]
Remove vip configuration file from resourced directory
To prevent rebooting the device, amd.vip.conf file is removed.
When amd is restarted, amd loads running context informations from
the db(tmpfs). Rebooting the device is not needed.
Change-Id: I8365b7a68c46df30a260cc4dc74671eba9e1a6f4
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 2 Apr 2024 03:49:53 +0000 (12:49 +0900)]
Modify rpcport directory permissions
The permission is changed to 777. The owner and group are changed to root:root.
The application cannot create and delete the file directly.
Because, the SMACK label of the directory is "User::Home".
Change-Id: Ic272de07661cffc4c71945f845dbcc5d02c41b2f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 2 Apr 2024 00:36:20 +0000 (09:36 +0900)]
Release version 1.69.12
Changes:
- Check disabled app info
Change-Id: I4af8fa2ade09c6a4295d0fa0889b588a6cce7618
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 2 Apr 2024 00:25:32 +0000 (09:25 +0900)]
Check disabled app info
If amd cannot find the appinfo from the memory & db when getting
the launch request, amd should check whether the disabled app info exists
or not.
This patch is for debugging.
Change-Id: I88c893bcf5e51bdae17b18755a0f0461c57cd41e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 29 Mar 2024 03:20:34 +0000 (12:20 +0900)]
Release version 1.69.11
Changes:
- Fix login monitor
Change-Id: I351e3ee09c2633628ad5957b7eec3c52e0acd631
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 28 Mar 2024 22:58:19 +0000 (07:58 +0900)]
Fix login monitor
Before setting UID_STATE_ONLINE to the state of the user info, amd
should check whether the state is UID_STATE_ONLINE or not.
Change-Id: I716da3c33f1509e13d85cdcf1039410c73d66cbe
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 28 Mar 2024 11:14:22 +0000 (20:14 +0900)]
Release version 1.69.10
Changes:
- Modify sending ping request
Change-Id: Ibc8438569ff763704dd7fd65793452ea262867f9
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 28 Mar 2024 10:41:44 +0000 (19:41 +0900)]
Modify sending ping request
This patch changes the ping request to asynchronous.
Change-Id: Ia37d49b9e6f2f74434e510bbad1147e699f554f5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Ilho Kim [Thu, 28 Mar 2024 07:15:37 +0000 (16:15 +0900)]
Release version 1.69.9
Changes:
- Add codes for bypass pkgmgr privilege
- Update codes for bypass pkgmgr privilege
Change-Id: I9a6945a0f94506e0ccdfbfff5eb658522483b9f9
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Inkyun Kil [Wed, 27 Mar 2024 00:17:30 +0000 (09:17 +0900)]
Update codes for bypass pkgmgr privilege
Change-Id: Ieebeb5f9a8f9022a14dbc26b5efe6ebecc28ac65
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Mon, 25 Mar 2024 09:06:25 +0000 (18:06 +0900)]
Add codes for bypass pkgmgr privilege
- Changing the pkgmgr protocol to TIDL requires a way to pass the privilege
Change-Id: Ia2ff2364016f5112ccf37ff95dc95dd3b1f2b311
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Hwankyu Jhun [Thu, 21 Mar 2024 08:40:31 +0000 (17:40 +0900)]
Release version 1.69.8
Changes:
- Fix crash issues related to amd termination
Change-Id: I7d5d473fb53ec44af324cd53eef6185acf6453cc
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 21 Mar 2024 04:44:50 +0000 (13:44 +0900)]
Fix crash issues related to amd termination
There are crash issues related to termination behavior of amd.
This patch fixes 'use after free' problems.
Change-Id: Idb671e45c1f365f6bebc9d64002e9adc0f9df6d5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Changgyu Choi [Fri, 15 Mar 2024 01:36:06 +0000 (10:36 +0900)]
Release version 1.69.7
Changes:
- Change mainloop to tizen-core
Change-Id: Iae1ae3720773d6990964b60e64e80dc875f4a03d
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Thu, 14 Mar 2024 05:15:39 +0000 (14:15 +0900)]
Change mainloop to tizen-core
After applying this patch, amd uses tizen-core mainloop instead of gmainloop.
Change-Id: Ide72e7a3856804861898b6c5c06b928e2a4bd1b5
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Tue, 12 Mar 2024 22:49:05 +0000 (07:49 +0900)]
Release version 1.69.6
Changes:
- Check widget viewer privilege
- Remove backtrace output
- Remove warning messages
Change-Id: I18e158c7fdcd2dede6c177e7d150567033fa4a22
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 11 Mar 2024 23:15:24 +0000 (08:15 +0900)]
Remove warning messages
The return type of the callback function of the amd noti should be integer.
Change-Id: Ibf500d61d61c9af92bfd9037834306db4e81b8d7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 11 Mar 2024 22:54:08 +0000 (07:54 +0900)]
Remove backtrace output
If amd calls backtrace() when getting the signal, amd can be crashed.
This patch removes to print backtrace using backtrace() function.
Change-Id: I58a4ae0427da67a2ff2bdf67f8171c5e58515b12
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 8 Mar 2024 05:13:10 +0000 (14:13 +0900)]
Check widget viewer privilege
If the port name is "ScreenConnectorInput", amd checks whether the
caller has a privilege related to widget viewer or not.
Change-Id: I15019d879a2633099bebf8aa1ed5995a991e9f15
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 27 Feb 2024 23:54:41 +0000 (08:54 +0900)]
Release version 1.69.5
Changes:
- tizen_launch_splash_launch_v2 does not allow a null argument.
Change-Id: I3994737c6369e66fd1d4f0e63aa26eb7a6db6607
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
SooChan Lim [Tue, 27 Feb 2024 23:28:22 +0000 (08:28 +0900)]
tizen_launch_splash_launch_v2 does not allow a null argument.
Wayland protocol does not allow the null argument of which type
is arrary anymore.
Change-Id: I8cfed0a4b32523771fba52fb1f141d7c52f4b692
Hwankyu Jhun [Tue, 27 Feb 2024 10:27:11 +0000 (19:27 +0900)]
Release version 1.69.4
Changes:
- Check app status existence before insert
Change-Id: I83dd9a5f71c5733d24aae580be1676bd47a489d7
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 27 Feb 2024 10:14:32 +0000 (19:14 +0900)]
Check app status existence before insert
Before insert the app status, amd checks whether the app status exists or not.
Change-Id: If8c79a0cad2deaff4a3e17f30fe860674c391f12
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 23 Feb 2024 00:16:08 +0000 (09:16 +0900)]
Release version 1.69.3
Changes:
- Modify incorrect instance ID settings
Change-Id: I808e46c56a2855149ddceb8b9733d6298a5afdb1
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 23 Feb 2024 00:06:54 +0000 (09:06 +0900)]
Modify incorrect instance ID settings
The instance ID of the app status handle must be set only when the instance ID
of the launch context is not empty.
Change-Id: I0e8d6e5565870b34c5738074df10707786026fd2
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 22 Feb 2024 05:42:01 +0000 (14:42 +0900)]
Release version 1.69.2
Changes:
- Modify APP_NOTIFY_START handler
Change-Id: I96f564610dff3620d405d6a9c8693231399550ce
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Thu, 22 Feb 2024 04:32:02 +0000 (13:32 +0900)]
Modify APP_NOTIFY_START handler
when the app status information is not found, amd looks up the appid and
registers the app status information.
Change-Id: Idf2538afd003fff8601fba1845af2572f68b52c6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 20 Feb 2024 00:09:40 +0000 (09:09 +0900)]
Release version 1.69.1
Changes:
- Fix the gadget path
Change-Id: I5e6b25897744e6ac1f764a322277ed394ca116c5
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 19 Feb 2024 23:23:46 +0000 (08:23 +0900)]
Fix the gadget path
The gadget path must contain a resource type to facilitate mounting.
After this patch is applied, the gadget path will be
"/<package root path>/res/allowed/<res-type>/".
Change-Id: Iaf4681a67a85d963f2776b8b2a63326882925fae
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 5 Feb 2024 09:10:00 +0000 (18:10 +0900)]
Release version 1.69.0
Changes:
- Monitor freezer signal in the amd_suspend
Change-Id: I6111b3fa2381499331f1956bc0381117950b2bfd
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 5 Feb 2024 06:35:25 +0000 (15:35 +0900)]
Monitor freezer signal in the amd_suspend
To send the thaw event to the running process, amd listens to the freezer signal.
The listening the freezer signal code is moved to the amd_suspend from
the watchdog module.
Change-Id: I2aa0e4a513e235f0869de6d98ca309b7ae019854
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Sangyoon Jang [Mon, 5 Feb 2024 01:52:44 +0000 (10:52 +0900)]
Release version 1.68.3
Changes:
- Fix build error
Change-Id: I909d44aea1ce9e68239c77b124fd050e74217f26
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Mon, 5 Feb 2024 01:33:18 +0000 (10:33 +0900)]
Fix build error
Change-Id: Idbf0050fe75e613ecfd2b0612adf338f2b02565e
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 31 Jan 2024 08:42:48 +0000 (17:42 +0900)]
Release version 1.68.2
Changes:
- Fix lib rpk mount
Change-Id: I96a29d8ae8fd433b18f95dd49e0c7009ca691f07
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>