Ilho Kim [Fri, 13 Jun 2025 10:47:01 +0000 (19:47 +0900)]
Release version 0.34.0
Changes:
- Add api to know whether light user is supported
Change-Id: Iec08a3ee183b25ef2f09da08bcd40f76428c6367
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 13 Jun 2025 06:06:14 +0000 (15:06 +0900)]
Add api to know whether light user is supported
Added :
pkgmgrinfo_pkginfo_is_light_user_supported
pkgmgrinfo_appinfo_is_light_user_supported
PMINFO_PKGINFO_PROP_PACKAGE_SUPPORT_LIGHT_USER
PMINFO_APPINFO_PROP_APP_SUPPORT_LIGHT_USER
Change-Id: I4fb94aa11f9ab2733ce090bd2af3cda4287bb7d9
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 11 Jun 2025 09:20:39 +0000 (18:20 +0900)]
Release version 0.33.7
Changes:
- Fix static analysis issue
Change-Id: If6ea3471f4d0e3ebe7da6ad7855ef55fde762c80
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 11 Jun 2025 09:16:18 +0000 (18:16 +0900)]
Fix static analysis issue
Change-Id: I9d85808243a1f30060dc43f6d15eeea8ea1cb50e
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 10 Jun 2025 01:47:39 +0000 (10:47 +0900)]
Release version 0.33.6
Changes:
- Remove unnecessary memory copy
- Remove flag lock for performance
- Change variable types for optimization
- Remove unnecessary memory copy
- Remove parcel dependency from handles
- Add package handle info to appinfo handle
Change-Id: Idf2eef65a8cf8106c4f0732fbebb9b8b85325178
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 5 Jun 2025 11:15:39 +0000 (20:15 +0900)]
Add package handle info to appinfo handle
When searching for appinfo using privilege filter
it is necessary to read the privileges from the package handle
Although the package search performs binary search, the amount of
computation is significantly large becuase string comparision is
performed every time
When creating a shared memory, add index information about the pkginfo
to the appinfo to quickly find pkginfo from the appinfo
Change-Id: I46f8f340eb6de85d2a475f9eabec7f4c27a3bd26
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 2 Jun 2025 08:24:56 +0000 (17:24 +0900)]
Remove parcel dependency from handles
Change-Id: I47b98ca0df731393503158df3c51e29b33f5ca34
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 28 May 2025 10:35:25 +0000 (19:35 +0900)]
Remove unnecessary memory copy
because the index data is already stored in the buffer
so index is only pointed to as a pointer
Change-Id: I4b65d4a3d940ccb870f5bb9ea89d7a3faf50f643
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Jihoi Kim [Wed, 28 May 2025 05:11:45 +0000 (14:11 +0900)]
Change variable types for optimization
- Fix some std::map feature into std::list
- Fix some std::string into std::string_view
Change-Id: I241668ff62622535e3471da4b2cb6ea82081b29a
Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
Ilho Kim [Tue, 20 May 2025 06:10:01 +0000 (15:10 +0900)]
Remove flag lock for performance
Since the update of the ShmStatus variable in the shared memory is
guaranteed to be atomic
so unnecessary locks that affect performance are removed
Change-Id: I712ef0d1301fedbd4beb8ca371552061f4311c7d
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 16 May 2025 07:20:45 +0000 (16:20 +0900)]
Remove unnecessary memory copy
When reading multiple handles create a handle indicating the shared
memory's area, and copy handles only when it passes the filter
Change-Id: If0a6351d5cfe21545fbbbf7acce64a1ddafcac6a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 19 May 2025 02:35:17 +0000 (11:35 +0900)]
Release version 0.33.5
Changes:
- Fix shared memory clear
Change-Id: I9c34af11be74b404a4be8db2304f9ca820501cc4
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 19 May 2025 01:59:00 +0000 (10:59 +0900)]
Fix shared memory clear
Change-Id: Ia44acd1e598e4165fbf158593152920e43fcab13
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 15 May 2025 11:30:53 +0000 (20:30 +0900)]
Release version 0.33.4
Changes:
- Optimaze of cases that read multiple data in shm
Change-Id: I94d060c1e1d65d79f73efb72ebdb4deba683c64d
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 15 May 2025 06:44:06 +0000 (15:44 +0900)]
Optimaze of cases that read multiple data in shm
When reader read multiple handles, memory copy was performed as many as
the number of handles.
This patch makes handles from the memory buffer that copies the entire
shared memory
Change-Id: I9a04fadde51cd39142e1ccc36b1f643e42d6e475
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 14 May 2025 12:42:33 +0000 (21:42 +0900)]
Release version 0.33.3
Changes:
- Remove shared memory to save key
Change-Id: Ib39a1286ea4f1b3951ee2c4bb7bbf071263daf23
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 14 May 2025 10:25:15 +0000 (19:25 +0900)]
Remove shared memory to save key
Since the index of the handle is already sorted based on the key,
the key can be retrived from the handle
Change-Id: I8e1588609bb72fea6fe4e65a3ffe5a82e6900863
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 14 May 2025 09:14:11 +0000 (18:14 +0900)]
Release version 0.33.2
Changes:
- Keep the mmap shared memory area
- Add a flag to prevent the writer from being blocked
- Fix static analysis issue
Change-Id: I27a13a9e34594110eae61880c39909e3ac99bb2a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 14 May 2025 09:10:38 +0000 (18:10 +0900)]
Fix static analysis issue
Change-Id: I73da43279a571423b71098565b1330907184c517
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 14 May 2025 08:26:09 +0000 (17:26 +0900)]
Add a flag to prevent the writer from being blocked
Change-Id: I285e121590b6513b4ee9274523a1290b7dabe88e
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 24 Apr 2025 03:17:59 +0000 (12:17 +0900)]
Keep the mmap shared memory area
In the case of a writer, the size of the shared memory
is maintained as a multiple of 2
and the size of the shared memory is increased only
when the size needs to be increased
In the case of reader, if the size of the shared memory doesn't change,
maintain the mmap shared memory area
Change-Id: Ia735561c820cd26ec849cff999027347f8e70c9c
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Jihoi Kim [Tue, 29 Apr 2025 11:08:12 +0000 (20:08 +0900)]
Release version 0.33.1
Changes:
- Change light-user element's attribute
- Add app filter can retrive res_control's res_type
- Fix timeout variable to be initialized properly
Change-Id: I54a0046fe6a4778bb9471eb77335dcc0cfa68917
Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
Jihoi Kim [Tue, 29 Apr 2025 10:40:52 +0000 (19:40 +0900)]
Fix timeout variable to be initialized properly
- timespec structure should be initialized with 'clock_gettime'
- using CLOCK_REALTIME as base
Change-Id: I01319bbf95ccbcc15fb9856790e6f9c2acb6c37d
Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
Ilho Kim [Fri, 18 Apr 2025 08:06:46 +0000 (17:06 +0900)]
Add app filter can retrive res_control's res_type
Change-Id: I8b620e06443d3c0339695f0cb25df3cea3b7bc02
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 17 Apr 2025 10:12:22 +0000 (19:12 +0900)]
Change light-user element's attribute
Change-Id: I076965f1fe7ceb8bf193db7886a934f28e61ba15
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Jihoi Kim [Thu, 10 Apr 2025 10:52:15 +0000 (19:52 +0900)]
Release version 0.33.0
Changes:
- Revert into shared memory cache structure
- Fix InsertKeyIndex OOB Issue
Change-Id: I83f6a49dfe21b01610a3f6cccc412a0bae0ca6e6
Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
Jihoi Kim [Thu, 10 Apr 2025 10:50:32 +0000 (19:50 +0900)]
Fix InsertKeyIndex OOB Issue
- A key may be inserted into last position
- In that case, it should not refer the original data (which is NULL)
- Rather, it refer the size of total mapped data
Change-Id: I912a6697197c21fb165ddcf774248c700f9ef5c7
Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
Jihoi Kim [Thu, 10 Apr 2025 10:46:48 +0000 (19:46 +0900)]
Revert into shared memory cache structure
- Revert into Release 0.31.2
Change-Id: I76feb5a7cff4b7c545bca9c04e9724417c0ce10d
Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
Jihoi Kim [Mon, 24 Mar 2025 08:46:51 +0000 (17:46 +0900)]
Release version 0.32.0
Changes:
- Revert shared memory implementation
Change-Id: I426a5e6aba799857e95e4af90cb4be5209af12a8
Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
Jihoi Kim [Mon, 24 Mar 2025 08:46:14 +0000 (17:46 +0900)]
Revert shared memory implementation
- Revert to 0.30.0
Change-Id: Ic33d370eb947d1cd17fa26f1e487f74bfd14bea4
Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
Jihoi Kim [Fri, 21 Mar 2025 07:19:32 +0000 (16:19 +0900)]
Release version 0.31.2
Changes:
- Fix static analysis issue
- Fix SEGV Issue during UpdatePkg, ErasePkg
Change-Id: I8c3f4d1f47e9d2ed44212268e776ff4f00c1a416
Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
Jihoi Kim [Fri, 21 Mar 2025 02:02:49 +0000 (11:02 +0900)]
Fix SEGV Issue during UpdatePkg, ErasePkg
- While Erase/UpdatePkg, size of shm may changed,
make earlier ptrs dangling.
Change-Id: I036c4b11f92f4d347c813e4f3aeeac53fe378f32
Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
Jihoi Kim [Thu, 20 Mar 2025 08:08:01 +0000 (17:08 +0900)]
Fix static analysis issue
- Resolve Null dereference issue
- Resolve Double free issue
- Resolve Memory leak issue
Change-Id: I8ab97562eac6180fef37ec5b0c369a464f85ebda
Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
Ilho Kim [Mon, 17 Mar 2025 02:01:27 +0000 (11:01 +0900)]
Release version 0.31.1
Changes:
- Fix tct failure
- Remove debug log
Change-Id: I210b8536b7a95ad5685f4c58cb7d5d7154d1ceba
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 17 Mar 2025 01:45:32 +0000 (10:45 +0900)]
Remove debug log
Change-Id: I3ad94cd6474c72d9d3a1e0b94e7d5cf08e4a7eeb
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 17 Mar 2025 00:48:15 +0000 (09:48 +0900)]
Fix tct failure
- Add lock to shared memory to ensure operation in race condition
- Fix pkgid, appid management errors in ShmManager
Change-Id: I06353f2a44a09e875e19af616a9203e502c77ccc
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
김일호/Tizen Platform Lab(SR)/삼성전자 [Sun, 16 Mar 2025 07:57:53 +0000 (16:57 +0900)]
Release version 0.31.0
Changes:
- Apply shared memory for caching pkg/app handles
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
김일호/Tizen Platform Lab(SR)/삼성전자 [Sun, 16 Mar 2025 07:25:17 +0000 (16:25 +0900)]
Apply shared memory for caching pkg/app handles
The current pkgmgr-info has a client/server structure and manages the
cache internally on the server. However, this structure presents a
difficult problem to solve. When a request comes from a process with
high CPU priority, because the CPU priority of pkginfo-server is not
high, a phenomenon occurs where the process with high CPU priority
waits. To solve this, a method was used to increase the CPU priority of
pkginfo-server during API call time using CPU inheritance, but since it
takes time to increase the CPU priority of pkginfo-server, it cannot be
considered completely solved. To solve this, the caching method is
changed to a method using shared memory so that each process can obtain
data directly from shared memory
Additionally, the serialization and deserialization processes for socket
communication are removed, which significantly reduces CPU operations
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Jihoi Kim [Wed, 26 Feb 2025 05:40:56 +0000 (14:40 +0900)]
Release version 0.30.0
Changes:
- Support UID Sandbox feature
- Remove unnecessary executable flags from files
Change-Id: I7e839498b0a96ff89c682fcebfc46f118dcc6b55
Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
Jihoi Kim [Wed, 26 Feb 2025 06:20:32 +0000 (15:20 +0900)]
Remove unnecessary executable flags from files
- service file, socket file, spec file will be non-executable
Change-Id: I87788cdab2b3d827fe91185872abaea80879fd60
Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
Jihoi Kim [Thu, 13 Feb 2025 10:58:33 +0000 (19:58 +0900)]
Support UID Sandbox feature
- When creating parcelable to invoke request db handler, convert uid
- Works both direct request and request via pkgmgr-server
- Using static const qualifier to handling GlobalUid
Change-Id: Ifed29964899d9fc05f8958f765b117ab2d6175ff
Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
Ilho Kim [Wed, 19 Feb 2025 05:52:54 +0000 (14:52 +0900)]
Release version 0.29.0
Changes:
- Change cpu inheritance timing
Change-Id: I911edeb58a6fb3b36d5326ff14f86ba62bf91694
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 19 Feb 2025 05:30:55 +0000 (14:30 +0900)]
Change cpu inheritance timing
If the pkginfo-server is creating a cache, cpu inheritance is
unnecessary because the client directly accesses db get getting data
Change-Id: I00e5fd457d7ec3124e6d75b9f7fee352108efdf3
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Mon, 3 Feb 2025 06:58:01 +0000 (15:58 +0900)]
Release version 0.28.7
Changes:
- Fix static analysis issue
Change-Id: I8140063a146ab42c15a1088d2b2a9e95723d732a
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Mon, 20 Jan 2025 05:00:11 +0000 (14:00 +0900)]
Fix static analysis issue
Change-Id: I494f54389823e60e335326aad23fb893632b1388
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Mon, 3 Feb 2025 01:41:36 +0000 (10:41 +0900)]
Release version 0.28.6
Changes:
- Fix to using abstract namespace socket
- Fix GetResControl
- Fix static analysis issue
Change-Id: I2fb71c2c1951ac6b9465963bd3d4197bb9736e41
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 21 Jan 2025 08:07:11 +0000 (17:07 +0900)]
Fix static analysis issue
- Use proper parameter type.
- Add an exception handling.
Change-Id: Ib20b17a7a261cc2fe3a239500678b2f32653cff8
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Fri, 6 Dec 2024 07:21:44 +0000 (16:21 +0900)]
Fix GetResControl
Get res-control in order.
Change-Id: I2c20390b528e13728436e7b73d04a63bdf92cf55
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 11 Dec 2024 06:06:00 +0000 (15:06 +0900)]
Fix to using abstract namespace socket
Change-Id: Ibcfe231c2b20a53590048347410dfbe20752a169
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Tue, 10 Dec 2024 06:39:48 +0000 (15:39 +0900)]
Release version 0.28.5
Changes:
- Add api for updating package info rw to roupdated
Change-Id: Ic1d5aa963554a6e6dca36516b6e41b977c1722ed
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 23 Aug 2024 12:23:40 +0000 (21:23 +0900)]
Add api for updating package info rw to roupdated
Change-Id: Ic154b43e98a76d7ca87ba303669051c80119c930
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 2 Dec 2024 07:43:26 +0000 (16:43 +0900)]
Release version 0.28.4
Changes:
- Add api to get detailed information of privilege
Change-Id: I4464f7183596de9e56d9501662ac881d6f794ff6
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 30 Nov 2023 02:03:28 +0000 (11:03 +0900)]
Add api to get detailed information of privilege
- pkgmgrinfo_pkginfo_foreach_privilege_v2
- pkgmgrinfo_get_privilege_category
- pkgmgrinfo_get_privilege_name
- pkgmgrinfo_get_privilege_type
Change-Id: I0b494fb45a94973d1427af93ef8b807ddc8d708a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 18 Nov 2024 03:50:17 +0000 (12:50 +0900)]
Release version 0.28.3
Changes:
- Fix static analysis issue
Change-Id: I67f934c6adacaa95a6c91e2360e46335760c2ee3
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 18 Nov 2024 01:35:52 +0000 (10:35 +0900)]
Fix static analysis issue
SEC_DO_NOT_ASSIGN_SIZE_OF_INT
Change-Id: I5c2df0c59c3bee89c99024e7731e52428bcfb0e6
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 22 Oct 2024 05:39:37 +0000 (14:39 +0900)]
Release version 0.28.2
Changes:
- Add apache license copyright
Change-Id: I2665582a3cdc1bae430338e3efaf1e01af31f39d
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 22 Oct 2024 05:22:00 +0000 (14:22 +0900)]
Add apache license copyright
The apache license copyright is missing from the newly added header file
Change-Id: I072469f7b5ee89854d6c99defe8693dccdd9a61a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 22 Oct 2024 04:38:42 +0000 (13:38 +0900)]
Release version 0.28.1
Changes:
- Remove parcel.h header from pkgmgr-info.h
Change-Id: I2fce0fd8ec218736a6beafea23b57d5b171dc3bf
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 22 Oct 2024 04:15:35 +0000 (13:15 +0900)]
Remove parcel.h header from pkgmgr-info.h
Remove parcel.h from pkgmgr-info.h and
move the following definition of apis to pkgmgrinfo_extension.h
pkgmgrinfo_pkginfo_to_parcel
pkgmgrinfo_appinfo_to_parcel
pkgmgrinfo_pkginfo_from_parcel
pkgmgrinfo_appinfo_from_parcel
Change-Id: I4c9eaa7c768abadcc7d15f8a3df6f842d70280e5
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 21 Oct 2024 05:08:48 +0000 (14:08 +0900)]
Release version 0.28.0
Changes:
- Add new apis for conversion between handle,parcel
Change-Id: Ib61216e7f1c214cedf42fe600e6832b1a61916d2
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 10 Oct 2024 10:14:16 +0000 (19:14 +0900)]
Add new apis for conversion between handle,parcel
[Added]
pkgmgrinfo_pkginfo_to_parcel
pkgmgrinfo_appinfo_to_parcel
pkgmgrinfo_pkginfo_from_parcel
pkgmgrinfo_appinfo_from_parcel
if the pkgmgr-info version is different
the operation of the apis is not guaranteed
Change-Id: Id9842a3fddf5b5ec3f59f9fe7ab238c40d266a6c
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Hwankyu Jhun [Tue, 8 Oct 2024 06:28:57 +0000 (15:28 +0900)]
Release version 0.27.0
Changes:
- Retrieve privileges when getting appcontrol
Change-Id: I147f4526923cd1948cc9cfc0d412ffeb2eac4d3e
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Ilho Kim [Tue, 8 Oct 2024 00:50:40 +0000 (09:50 +0900)]
Retrieve privileges when getting appcontrol
API added for getting appcontrol information from appinfo handle
pkgmgrinfo_appinfo_foreach_appcontrol_v3
pkgmgrinfo_appinfo_foreach_remote_appcontrol_v3
pkgmgrinfo_appinfo_appcontrol_get_operation
pkgmgrinfo_appinfo_appcontrol_get_uri
pkgmgrinfo_appinfo_appcontrol_get_mime
pkgmgrinfo_appinfo_appcontrol_get_id
pkgmgrinfo_appinfo_appcontrol_foreach_privilege
Change-Id: Ic7e8be59aa2bcf2d72bf970d38e4a12b178ef6e8
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 12 Aug 2024 03:19:17 +0000 (12:19 +0900)]
Release version 0.26.13
Changes:
- Add api for updating package info ro to rw
Change-Id: Idc8f8264cdee68bec5cf4ff765633ab29fa7de9d
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 12 Aug 2024 01:36:07 +0000 (10:36 +0900)]
Add api for updating package info ro to rw
Change-Id: Iad16dfd4d0b73afcfdefc6c139fedb6e128f3cd4
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Tue, 2 Jul 2024 04:17:34 +0000 (13:17 +0900)]
Release version 0.26.12
Changes:
- Fix static analysis issues
Change-Id: I5d7d65e79b31a1c5d07bd2b8095770ea4d8fc4ab
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Mon, 1 Jul 2024 06:40:10 +0000 (15:40 +0900)]
Fix static analysis issues
Change-Id: I602cd4c52327a1863a30bdd01f0c78ac8c38f03f
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Tue, 11 Jun 2024 01:02:55 +0000 (10:02 +0900)]
Release version 0.26.11
Changes:
- Remove unused variable
- MemoryLimit has been replaced by MemoryMax
Change-Id: Ia9f04435036cbebaed78dcd3091b479ef8956957
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Łukasz Stelmach [Tue, 4 Jun 2024 09:33:13 +0000 (11:33 +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: Ia2ddb61da6ec44f0e5d0e9b6096985d3e57f716f
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Ilho Kim [Wed, 8 May 2024 10:21:24 +0000 (19:21 +0900)]
Remove unused variable
Change-Id: Icf593aed636cc0aafd8932c0a77622b9f9adf5a6
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 7 May 2024 11:03:11 +0000 (20:03 +0900)]
Release version 0.26.10
Changes:
- Remove cmdline when founding a process with db lock
Change-Id: Iae63524c559df9d9c80ade8931f726ff23237ada
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 7 May 2024 10:54:25 +0000 (19:54 +0900)]
Remove cmdline when founding a process with db lock
Reading cmdline can cause smack deny
Change-Id: I1beb54269cc7a560040dbb4b9bd45ad14f29941a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 2 May 2024 23:52:40 +0000 (08:52 +0900)]
Release version 0.26.9
Changes:
- Fix UpdateCrashedWriterPackageInfo
Change-Id: I4254b6a6578c608f140f8ad00817aa3487c21315
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 2 May 2024 23:51:02 +0000 (08:51 +0900)]
Fix UpdateCrashedWriterPackageInfo
Fix the infinite loop problem
Change-Id: If199cfc0500f1ce3f5ea7a6c0d59b0e242a85f53
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 29 Apr 2024 23:25:31 +0000 (08:25 +0900)]
Release version 0.26.8
Changes:
- Fix pending cache handling logic with write query
Change-Id: Ib9d522688200f091cb2ac6738b1d430843c34d69
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 29 Apr 2024 08:56:51 +0000 (17:56 +0900)]
Fix pending cache handling logic with write query
There is a problem that the pending package information does not match
the database when the installer performs a write query request
such as writing plugin execution information
When the installer request to update the cache, the value is obtained
from the database and the cache is updated
Change-Id: Ida25b2daff5d3aefb9a2f7323d4f2a3f3650cd8c
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 25 Apr 2024 11:44:05 +0000 (20:44 +0900)]
Release version 0.26.7
Changes:
- Move the execution order of cpu inheritance forward
- Improve db busy handler
Change-Id: I9c5e1fb99c7b2e316c6cceca832f6fdd9bb3b5a9
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 25 Apr 2024 06:30:24 +0000 (15:30 +0900)]
Improve db busy handler
Threre is a possibility that db operation cannot be performed
for more than 5 seconds on low performance devices
so increase busy handler waiting count
and print the process that owns the lock of database
Change-Id: Iba95a14fb2a41450cf011e98c83a61a1295e6c23
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 25 Apr 2024 06:19:13 +0000 (15:19 +0900)]
Move the execution order of cpu inheritance forward
Change-Id: Ide4ec31a01f10dce83a3d039aec646798948930a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Tue, 9 Apr 2024 05:52:42 +0000 (14:52 +0900)]
Release version 0.26.6
Changes:
- Fix pkg db version
Change-Id: I85ba411dd828f7c8c1a56276d36a29ed3d62c0e4
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 27 Feb 2024 05:14:33 +0000 (14:14 +0900)]
Fix pkg db version
The lib rpk feature is moved to db version 30011.
Change-Id: I471f63aa14f738f290352e2c829134702061b158
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 27 Mar 2024 05:20:32 +0000 (14:20 +0900)]
Release version 0.26.5
Changes:
- Fix manifest.xsd
Change-Id: I6e66b0cff9834587918ae2d4b56c95ef9a817fec
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 27 Mar 2024 05:05:37 +0000 (14:05 +0900)]
Fix manifest.xsd
Fix Unique Particle Attribtution Violation.
Change-Id: I34f68a8d50b289ebbdd20c157ee81cbf559a7cf5
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Tue, 12 Mar 2024 12:25:35 +0000 (21:25 +0900)]
Release version 0.26.4
Changes:
- Add ConditionPathExists to pkg-db-recovery
Change-Id: Ibc630a4584e449b9975a30959f652a2683381df8
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 12 Mar 2024 12:17:55 +0000 (21:17 +0900)]
Add ConditionPathExists to pkg-db-recovery
During OTN, since the db schema has not been updated
schema verification may fail
Therefore there is need to prevents the execution of the pkg-db-recovery
service by checking file existing during OTN execution
Change-Id: Ie64d714ac63de5109c457d7551166f383d59721f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 12 Mar 2024 07:55:46 +0000 (16:55 +0900)]
Release version 0.26.3
Changes:
- Fix lcov option for lcov 2.0
Change-Id: I95da7dd6e8923def941eb107e60f20cd3d3f1af3
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 12 Mar 2024 04:58:45 +0000 (13:58 +0900)]
Fix lcov option for lcov 2.0
"mismatch,graph,unused" options are added.
Change-Id: I54f5c4802e3e0d93450c8ae3f7af2d085ac21f93
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 7 Mar 2024 07:32:05 +0000 (16:32 +0900)]
Release version 0.26.2
Changes:
- Fix pkgmgrinfo_plugininfo_foreach_plugininfo
- Remove the package_count column that is not used
Change-Id: I3e37c3906014f21d35f7867c56e8a234afa81fbe
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 5 Mar 2024 10:41:41 +0000 (19:41 +0900)]
Remove the package_count column that is not used
Change-Id: I806042dc6944d941d54495d45a816a13c740ee0d
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 28 Feb 2024 06:40:01 +0000 (15:40 +0900)]
Fix pkgmgrinfo_plugininfo_foreach_plugininfo
The absence of data is not treated as an error
Change-Id: Id2b8c4ff81bb961d8fdb020ddce44060ba180e50
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
(cherry picked from commit
770125b88497bc94eabd75f4152b3a79d83b2bfa)
Ilho Kim [Tue, 6 Feb 2024 08:36:15 +0000 (17:36 +0900)]
Release version 0.26.1
Changes:
- Remove table that db recovery tool check
Change-Id: I2b4cf83776322f32ea7d767d5799438a9dafacee
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 6 Feb 2024 08:30:57 +0000 (17:30 +0900)]
Remove table that db recovery tool check
The table update_cert_info and update_cert_info2 no longer used
Change-Id: I8a97c7c7577ffe864a72582c297cc12ddd127e17
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Wed, 31 Jan 2024 08:46:49 +0000 (17:46 +0900)]
Release version 0.26.0
Changes:
- Add pkgmgrinfo_pkginfo_get_metadata_value()
Change-Id: I5d83d321c54c2cf1fbf6bc0fd51beb5ccdb82ca1
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 31 Jan 2024 04:14:20 +0000 (13:14 +0900)]
Add pkgmgrinfo_pkginfo_get_metadata_value()
Change-Id: I412a0aeb60248bd31f332e4877daf85dcab92edb
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Tue, 30 Jan 2024 05:22:28 +0000 (14:22 +0900)]
Release version 0.25.3
Changes:
- Fix static analysis issue
Change-Id: I0a3c5f8cad1cc4c9d141af0be2456d8a5789d39e
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 29 Jan 2024 11:29:14 +0000 (20:29 +0900)]
Fix static analysis issue
Use of auto that causes a copy
Change-Id: If260acdf627a1b2ebeebd6bd5102772cb140c7ba
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Wed, 24 Jan 2024 03:40:24 +0000 (12:40 +0900)]
Release version 0.25.2
Changes:
- Fix setting certinfo
Change-Id: Ic44a42f26252b4eb9c7c14afb40c30d73534421c
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 18 Jan 2024 09:23:23 +0000 (18:23 +0900)]
Fix setting certinfo
package_count is no longer used. Use insert or replace statement for
setting certinfo.
Change-Id: Id3e37d61dbff1ecaa72f58581c7de91428c174da
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Mon, 22 Jan 2024 01:02:36 +0000 (10:02 +0900)]
Release version 0.25.1
Changes:
- Increse socket timeout for client
- Parse value from database for lib rpk
Change-Id: Iaaa57509c4dd4d1f63b0d2b9ba8d913da47cc344
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 16 Jan 2024 11:26:28 +0000 (20:26 +0900)]
Parse value from database for lib rpk
Change-Id: I97bade44316b67e65cc6c1cfeddcf352db5ecf89
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>