Ilho Kim [Thu, 22 Aug 2024 09:22:26 +0000 (18:22 +0900)]
Release version 1.0.14
Changes:
- Fix the parameter that depends on the architecture
Change-Id: If1dd34c6176bcd45894cbdea0873cb945fde9b9a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 22 Aug 2024 09:21:21 +0000 (18:21 +0900)]
Fix types depends on the architecture correctly
Change-Id: If120683821c93d41781ce04e55ba77e96d633f36
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 22 Aug 2024 06:18:25 +0000 (15:18 +0900)]
Release version 1.0.13
Changes:
- Classify rpk package by checking manifest in file
Change-Id: Iffe14a193b489a22702c3f4a5e23d29c9f3292f4
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 21 Aug 2024 04:43:36 +0000 (13:43 +0900)]
Classify rpk package by checking manifest in file
To support installation in resource package where file extension is not rpk
Change-Id: Ifcb6ef663e82850557edf0fdf1432fa5a22a1cdc
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 19 Aug 2024 10:22:42 +0000 (19:22 +0900)]
Release version 1.0.12
Changes:
- Fix unclosed file descriptor
- Trivial updates
- Remove the BackendQueue from Server
- Change tidl code to be generated at build time
Change-Id: I71b04743ae91d7a4ae69fbb79d8a4f976b5a8c3c
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 29 Jul 2024 00:09:45 +0000 (09:09 +0900)]
Change tidl code to be generated at build time
Change-Id: Id19631df4ea2a79122293fcb6d4900048b057502
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 11 Jun 2024 09:29:01 +0000 (18:29 +0900)]
Remove the BackendQueue from Server
This patch is to reduce the dependency between structs
Change-Id: If041a8fb52b0b22fb01f5f70693a7cb8a56329f7
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Inkyun Kil [Tue, 23 Apr 2024 01:31:21 +0000 (10:31 +0900)]
Trivial updates
- Fix wrong indent
- Fix wrong request type
Change-Id: Iaedb4f4ca09ad6b3d936a1d7b3fe5aa5cb70fff0
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Ilho Kim [Thu, 18 Apr 2024 10:05:43 +0000 (19:05 +0900)]
Fix unclosed file descriptor
Change-Id: I191f8866e057bb081ba2026d8a5d26cc15a42dea
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 18 Apr 2024 07:55:33 +0000 (16:55 +0900)]
Release version 1.0.11
Changes:
- Change system,session signal send order
- Handle extra arguments
Change-Id: I044f2565e4fb961dadfd657bb7de90b4ae5da263
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 18 Apr 2024 07:55:18 +0000 (16:55 +0900)]
Handle extra arguments
Change-Id: I7acc1c3daea464dec594c0c4562ab54300238326
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 18 Apr 2024 07:29:56 +0000 (16:29 +0900)]
Change system,session signal send order
Change-Id: Ifa1be686083dc3e2f4bb4d140648066219cfde32
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 15 Apr 2024 04:50:56 +0000 (13:50 +0900)]
Release version 1.0.10
Changes:
- Increase timeout for exit server to 15 seconds
Change-Id: Ic91d34f6b8d32b77550b68dfe3bc8939d2625215
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 15 Apr 2024 04:43:53 +0000 (13:43 +0900)]
Increase timeout for exit server to 15 seconds
Change-Id: If8d35aced5476bc32e9ddeaefa10573f2398c4d0
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 12 Apr 2024 06:52:08 +0000 (15:52 +0900)]
Release version 1.0.9
Changes:
- Print error message, in case of Err case of Result
Change-Id: Ied1b662c754b87fd725c0e0ae0a92b0ee953e8ce
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 9 Apr 2024 01:07:05 +0000 (10:07 +0900)]
Print error message, in case of Err case of Result
Change-Id: I2ad1e3f2fcea55f41ada8d944a850801e0005246
Ilho Kim [Tue, 9 Apr 2024 01:07:27 +0000 (10:07 +0900)]
Release version 1.0.8
Changes:
- Fix Invalid type casting
Change-Id: Ia60401157f0396f02bc7656bdc1ee040fce0a3b0
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 8 Apr 2024 11:31:58 +0000 (20:31 +0900)]
Fix Invalid type casting
Change-Id: I64da6eec191e90847a3c2cf16df8f014c9a342a1
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 8 Apr 2024 09:50:07 +0000 (18:50 +0900)]
Release version 1.0.7
Changes:
- Call stop funciton when server is exiting
- Notify stopping to the service manager at the end
- Reset timer when creating callback is called
- Remove CRLF for end of line
Change-Id: Ifd666cc26e3ed12543c114e7d2bcff985f3bda7f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 8 Apr 2024 09:35:00 +0000 (18:35 +0900)]
Remove CRLF for end of line
Change-Id: I8e3414127e6e4c35ee2f61b676958dab92160983
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 8 Apr 2024 09:30:02 +0000 (18:30 +0900)]
Reset timer when creating callback is called
There is a possibility that the exit_server function registered
as a timer may be called before the client sends a request
Change-Id: I2498cf1e8a00664deee780517af5d98aa8be914e
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 8 Apr 2024 06:04:32 +0000 (15:04 +0900)]
Notify stopping to the service manager at the end
Change-Id: Ie6a63b6954067589d80655da8a5b35064ed71181
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Mon, 8 Apr 2024 04:51:23 +0000 (13:51 +0900)]
Call stop funciton when server is exiting
Change-Id: I2c32150d93aa6a39c16fd1117f996873c22d022a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Hwankyu Jhun [Fri, 5 Apr 2024 11:06:43 +0000 (20:06 +0900)]
Release version 1.0.6
Changes:
- Add a missing type casting
Change-Id: I4ba74d46fd9e2992faf1830c48c5301ddad8eafb
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 5 Apr 2024 11:06:12 +0000 (20:06 +0900)]
Add a missing type casting
The type should be '*const c_char'.
Change-Id: Ie22d1ec2107e02195c94b2dc33ea574107e2ac13
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 5 Apr 2024 10:51:40 +0000 (19:51 +0900)]
Release version 1.0.5
Changes:
- Notify start-up completion
Change-Id: Ia883448ff47ff28b20a4fe349aa0913223d1b90b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 5 Apr 2024 10:48:11 +0000 (19:48 +0900)]
Notify start-up completion
This patch adds calling sd_notify() to notify that pkgmgr-server is
ready.
Change-Id: Id19107af230f159194d0905aa72198ce5de074ad
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Ilho Kim [Fri, 5 Apr 2024 04:59:55 +0000 (13:59 +0900)]
Release version 1.0.4
Changes:
- Fix wrong return type
Change-Id: I66a12b5b6cf9efc59ae1b9590d397ba51866436b
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 5 Apr 2024 04:53:52 +0000 (13:53 +0900)]
Fix wrong return type
Change-Id: Id05f71c8366a5a78d12124b4a9656b13d25bd037
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 4 Apr 2024 12:29:58 +0000 (21:29 +0900)]
Release version 1.0.3
Changes:
- Remove needless codes
- Fix wrong c style dlog argument
Change-Id: Iad8c7dfd2426f0fc74d8a8fdee1c86a2b46a206a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 4 Apr 2024 12:27:30 +0000 (21:27 +0900)]
Fix wrong c style dlog argument
Change-Id: I7713a588fbe7cd0b15d6c911b2106fc197e67bd7
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Inkyun Kil [Thu, 4 Apr 2024 00:11:10 +0000 (09:11 +0900)]
Remove needless codes
Change-Id: I4475bf0fae832b03f45abf168852d0cfb8f979be
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Hwankyu Jhun [Wed, 3 Apr 2024 09:41:46 +0000 (18:41 +0900)]
Release version 1.0.2
Changes:
- Use socket activation with TIDL
Change-Id: Icea6403b265b13e5e18987f019a2405e08c2722a
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 3 Apr 2024 06:23:20 +0000 (15:23 +0900)]
Use socket activation with TIDL
TIDL supports socket activation.
The process name must have "d::" prefix to use that.
The process name is changed to "d::org.tizen.appfw.pkgmgr".
Requires:
- https://review.tizen.org/gerrit/#/c/platform/core/appfw/rpc-port/+/308788/
Change-Id: Id86fe64ad9f9e790c8b31bd3e53d052cc9d88537
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Ilho Kim [Tue, 2 Apr 2024 07:06:53 +0000 (16:06 +0900)]
Release version 1.0.1
Changes:
- Use dbus activation for server execution
- Revert "Use dbus activation for server execution"
- Remove unnecessary variables in BackendContext
Change-Id: I0c1609e2af5579fbfabaa382b0fd755a37f97ede
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 28 Mar 2024 11:51:37 +0000 (20:51 +0900)]
Remove unnecessary variables in BackendContext
Change-Id: I262fd191f0267090c06bab64d4add547a2e0b752
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
ilho kim [Tue, 2 Apr 2024 06:53:55 +0000 (06:53 +0000)]
Revert "Use dbus activation for server execution"
This reverts commit
fafd89df374d7c19c6f87080c0d2697736b163bb.
Change-Id: I198edb73531158c9936a3131d1a603024ed1a171
Ilho Kim [Sun, 31 Mar 2024 01:22:16 +0000 (10:22 +0900)]
Use dbus activation for server execution
Change-Id: I1e544c2f80e4842dd3dd13307e2c332d9a9de678
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 28 Mar 2024 06:54:01 +0000 (15:54 +0900)]
Release version 1.0.0
Changes:
- Refactor pkgmgr-server with tidl using rust
Change-Id: I68472bd5fe7365578538fe1a7429e04beac0af01
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 28 Mar 2024 06:13:29 +0000 (15:13 +0900)]
Refactor pkgmgr-server with tidl using rust
Change-Id: I6db661424b6d31a4e7e25340c16cffdc2ad18ce0
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Thu, 23 Mar 2023 03:39:13 +0000 (12:39 +0900)]
Release version 0.12.1
Changes:
- Remove clear_cache allow policy
- Add checking whether path is valid or not
- Use macro instead of hardcoded path for library
- Fix disable/enable packages
- Fix static analysis issues
Change-Id: I70752ce17a4bf675a1dc7ce00c6b59abbf6a7d53
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 22 Mar 2023 23:39:35 +0000 (08:39 +0900)]
Fix static analysis issues
Change-Id: I7142d9febd95062667a8c391a74d86b5de339873
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 15 Feb 2023 05:32:50 +0000 (14:32 +0900)]
Fix disable/enable packages
Remove checking if the package is global or not.
In the past, the package with same id can be installed for global and
user pkg, so it should be checked requested package is global or not.
But for now, the package cannot be installed in both side at the same time.
Change-Id: I38c32acd7732c0a97c5924fa12c70ce43762df56
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 22 Dec 2022 06:04:02 +0000 (15:04 +0900)]
Use macro instead of hardcoded path for library
Change-Id: Ic15f1a7c26b4bdd09f91f35ee71938d52640b664
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Changgyu Choi [Thu, 8 Dec 2022 06:42:17 +0000 (15:42 +0900)]
Add checking whether path is valid or not
If the path to the parent folder such as "../",
is transmitted as a parameter,
the request is rejected.
Change-Id: Ia3bab60648ee7177cdc628181e4e65ec62604ccf
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Tue, 8 Nov 2022 04:39:43 +0000 (13:39 +0900)]
Remove clear_cache allow policy
Change-Id: Ide2fb58da2f37b05dd7fd9ccbe6f2a47b3d93584
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Wed, 2 Nov 2022 02:20:00 +0000 (11:20 +0900)]
Release version 0.12.0
Changes:
- Add the clear data with path request handler
Change-Id: Idfde180b4993ec9f74e8bada61acd8dccbf75e36
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Wed, 26 Oct 2022 02:38:28 +0000 (11:38 +0900)]
Add the clear data with path request handler
Change-Id: I6eb7ee43f109e676faa4d087269688446049a1f3
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Sangyoon Jang [Tue, 18 Oct 2022 01:19:41 +0000 (10:19 +0900)]
Release version 0.11.2
Changes:
- Fix static analysis issue
- Fix exit handle
Change-Id: If618abd85bc3f24bb2d56cc3a53b7e67ed7f15f0
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 28 Sep 2022 23:15:59 +0000 (08:15 +0900)]
Fix exit handler
Since pkgmgr-server exit before handle request sometimes,
increase timeout and add exit handler right before running the mainloop.
Change-Id: If764bd98250b85cafa127b0bbec432f9049e1d6d
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Mon, 17 Oct 2022 05:34:01 +0000 (14:34 +0900)]
Fix static analysis issue
Change-Id: I6ec92134595cee61e215dee11361f1c62e13f512
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Thu, 26 May 2022 02:26:07 +0000 (11:26 +0900)]
Release version 0.11.1
Changes:
- Unset exclusive when process was failed
- Add mac override capability
Change-Id: I6da14076e095997aef15e171834d463f1179916a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 25 May 2022 03:10:33 +0000 (12:10 +0900)]
Add mac override capability
Change-Id: Ib1ad41709d00f30ae60561c6f40e986b55a79686
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Wed, 18 May 2022 01:52:08 +0000 (10:52 +0900)]
Unset exclusive when process was failed
If the operation by request type run with exclusive mode
there is a problem that the exclusive is not unset when the operation fails
Change-Id: I3a9d7b8eeab76faa93a7ca694a2f4d3b1dc5ebfe
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Tue, 11 Jan 2022 09:21:53 +0000 (18:21 +0900)]
Release version 0.11.0
Changes:
- Extract duplicate routine into function
Change-Id: I9dfb83de2da408d596f689de6e1ba48fc841e80c
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Wed, 12 Aug 2020 05:10:46 +0000 (14:10 +0900)]
Extract duplicate routine into function
Change-Id: Id981e88e6e9bb75d4eb161fc7ee971319cb0645b
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Mon, 22 Nov 2021 09:15:56 +0000 (18:15 +0900)]
Release version 0.10.3
Changes:
- Move variable checking routine
Change-Id: I95456b12c966ea7e6ae6e9f75f0328f3cb9fecd1
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Wed, 13 Oct 2021 02:14:51 +0000 (11:14 +0900)]
Move variable checking routine
pkgid could be null at this point so move pkgid checking logic.
Change-Id: I7b2f4125afa306997066286304136782ac5c33ba
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Tue, 7 Sep 2021 08:02:19 +0000 (17:02 +0900)]
Release version 0.10.2
Changes:
- Change queue of resource related requests
Change-Id: Ic2c73a447762ef2163745cd3ec31652c5f390f85
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Tue, 7 Sep 2021 07:53:33 +0000 (16:53 +0900)]
Change queue of resource related requests
Change-Id: I93ff00f51b6e4734f5cf4a1724c3a769b32b47c2
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Mon, 6 Sep 2021 01:26:34 +0000 (10:26 +0900)]
Release version 0.10.1
Changes:
- Change behavior of resource uninstall
Change-Id: Ie8b660200e686f753cc34d08c180796576c16117
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Mon, 30 Aug 2021 10:05:04 +0000 (19:05 +0900)]
Change behavior of resource uninstall
Change-Id: Ie3c351d2a668d384de26fced805343a9e74ab1fc
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Thu, 26 Aug 2021 06:29:41 +0000 (15:29 +0900)]
Release version 0.10.0
Changes:
- Handle resource copy request
- Handle resource create dir request
- Change resource copy binary file name to res-copy
- Fix parameter option of create directory request
Change-Id: I62418e70b3f79540958c725f8f8827dad3f21df0
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 24 Aug 2021 07:27:23 +0000 (16:27 +0900)]
Fix parameter option of create directory request
From 'C' to 'D'
Change-Id: I57b4cf35a3a2f4b5dc40940a7e45f388d89b9c0c
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 20 Aug 2021 03:18:34 +0000 (12:18 +0900)]
Change resource copy binary file name to res-copy
Change-Id: Ib8ece51bf28105488d6b03998e3be6337ebf09ab
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 20 Aug 2021 02:38:20 +0000 (11:38 +0900)]
Handle resource create dir request
Change-Id: Ia2c52e41d2b8f18c938b30237b66f67c2ba0130b
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 27 Jul 2021 06:37:36 +0000 (15:37 +0900)]
Handle resource copy request
Change-Id: I3119811472a1e4aab8ec91d99b57b9198d8daf23
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 27 Jul 2021 06:38:21 +0000 (15:38 +0900)]
Release version 0.9.11
Changes:
- Handle rpk package type
Change-Id: Ief6f00016413927b1a0926ab2c04277be8baf50a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 23 Jul 2021 02:49:11 +0000 (11:49 +0900)]
Handle rpk package type
Change-Id: Id0adedc53a56f33abcaab3f5e3cc68bfbfbce45d
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Thu, 10 Jun 2021 06:13:37 +0000 (15:13 +0900)]
Release version 0.9.10
Changes:
- Fix static analysis issues
Change-Id: Ib2da821fc6e0439686936a2210d7a112be6d131f
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 9 Jun 2021 12:04:23 +0000 (21:04 +0900)]
Fix static analysis issues
Fix memory leak, buffer overrun, double free.
Change-Id: I727d9ce003992af2e8f0110f0ea9bb574be2d9a5
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Thu, 1 Apr 2021 05:14:34 +0000 (14:14 +0900)]
Release version 0.9.9
Changes:
- Add unset exclusive code for certain requests
Change-Id: I76f5a13e752df25f3d77b2ff767b1fde61817711
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 1 Apr 2021 04:56:29 +0000 (13:56 +0900)]
Change order of functions
Unset exclusive should be done before free job.
Change-Id: I975aa5917112edf73212b5988f25f13025e70c45
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 1 Apr 2021 04:02:59 +0000 (13:02 +0900)]
Release version 0.9.8
Changes:
- Add unset exclusive code for certain requests
Change-Id: I2075082dd14bd6911fd7d7e640f0ec1eb4f74a55
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 1 Apr 2021 01:11:22 +0000 (10:11 +0900)]
Add unset exclusive code for certain requests
These requests are handled by pkgmgr-server itself.
Change-Id: I8c52c9b47cf1aa58795e3282ba53e769ef79fc87
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Tue, 30 Mar 2021 08:00:26 +0000 (17:00 +0900)]
Release version 0.9.7
Changes:
- Change backend busy type 'unsigned long long' to 'int'
Change-Id: Ib81703b9ccb4fe0434ce4b8d735058776644a157
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 30 Mar 2021 07:59:16 +0000 (16:59 +0900)]
Change backend busy type 'unsigned long long' to 'int'
Change-Id: I79d6af3000855798228984683f1e57ecb5d5c3a5
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 30 Mar 2021 07:35:42 +0000 (16:35 +0900)]
Release version 0.9.6
Changes:
- Increase backend busy flag variable size
Change-Id: I6b4072d34bc18ce1ec9f48d6123c58816bb8fe20
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 30 Mar 2021 07:31:09 +0000 (16:31 +0900)]
Increase backend busy flag variable size
Currently, backend_busy flag can only store up to 8 flags
Change-Id: Id6c51950b53ea35f702d571728b0fbda2c80b996
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Thu, 25 Mar 2021 06:21:41 +0000 (15:21 +0900)]
Release version 0.9.5
Changes:
- Reject a request with too long arguments
- Check request id to prevent processing duplicated request
- Add queue rule about database exclusive
Change-Id: Ia297aab9ab600cd7a05a370c5261aaaa0de3159d
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 18 Mar 2021 10:21:05 +0000 (19:21 +0900)]
Add queue rule about database exclusive
Requests about accessing pkgmgr database should be executed
only one at the same time.
Change-Id: I8d30ea9014e02001ceaf68c2134a1e6ddb5ff42b
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Tue, 16 Feb 2021 04:39:47 +0000 (13:39 +0900)]
Check request id to prevent processing duplicated request
Requires:
- https://review.tizen.org/gerrit/c/platform/core/appfw/slp-pkgmgr/+/253619
Change-Id: Ic8ab35769a433007ef41e6b4cb802c38cb212090
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Thu, 14 Jan 2021 08:03:46 +0000 (17:03 +0900)]
Reject a request with too long arguments
The request with a arguments longer than a buffer fails
Change-Id: Ie3f6fc75cb8fc90e014b7f676571df23a24fc3c3
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 20 Nov 2020 07:34:39 +0000 (16:34 +0900)]
Release version 0.9.4
Changes:
- Add length checking routine for parameters
Change-Id: I52391f2a2dd2abdaef5e031582d94320231570eb
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Tue, 27 Oct 2020 01:31:29 +0000 (10:31 +0900)]
Add length checking routine for parameters
Given pkg path or adjusted pkg path could exceeds argument buffer.
Change-Id: I62a464a269a0260734fe9d63f5b3762750cddb8f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Tue, 10 Nov 2020 07:57:50 +0000 (16:57 +0900)]
Release version 0.9.3
Changes:
- Remove DefaultDependencies=no on package-manager.service
Change-Id: Ia9cc483a4ced1ecd05ce08e6d0a50b8661e59820
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
INSUN PYO [Thu, 8 Oct 2020 08:30:29 +0000 (17:30 +0900)]
Remove DefaultDependencies=no on package-manager.service
A package-manager.service has After=package-recovery.service and Requires=package-recovery.service dependencies.
It means that package-manager.service always runs after package-recovery.service.
A package-recovery.service does not have 'DefaultDependencies=no'.
So, DefaultDependencies=no in package-manager.service does not do anything.
Change-Id: I08377b5b92ea48a7a4073c70ae56f5e175d687b4
Ilho Kim [Fri, 14 Aug 2020 07:43:01 +0000 (16:43 +0900)]
Release version 0.9.2
Changes:
- Supress build warning
- Change request key generation logic
- Check return value of kill request while disabling app
- Extract commonly used logic
- Minor refactoring on pkgmgr-server
Change-Id: I2a55b2dbb25ff4c767d09fe5097f8554b5177da9
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Fri, 7 Aug 2020 04:58:12 +0000 (13:58 +0900)]
Minor refactoring on pkgmgr-server
Integrate duplicate codes.
Change-Id: I6f7c7939d4b3c1d9bd6714bdeb92e3cffaa94d62
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Wed, 5 Aug 2020 08:04:12 +0000 (17:04 +0900)]
Extract commonly used logic
Change-Id: I0c5de257fbb1ebef0bf5b9b515b87da7a16c77f0
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Fri, 7 Aug 2020 05:15:30 +0000 (14:15 +0900)]
Check return value of kill request while disabling app
Change-Id: I453fc51f03132b94e126a856983d57122a0484f4
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 6 Aug 2020 09:00:00 +0000 (18:00 +0900)]
Change request key generation logic
request key doesn't mean backend going to be executed
Change-Id: Ie2e0d04bb836ce3559bdff003ab01b471ad4faf1
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Wed, 5 Aug 2020 07:14:18 +0000 (16:14 +0900)]
Supress build warning
Change-Id: Ia9b20f3f3ae3d1cf98ea8c7849127194a3a79938
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Wed, 29 Apr 2020 08:19:33 +0000 (17:19 +0900)]
Release version 0.9.1
Changes:
- Fix pkgmgr-server crash
Change-Id: I358f55379325fa019f42d7272009c6ef39b4048a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 16 Apr 2020 01:43:34 +0000 (10:43 +0900)]
Fix pkgmgr-server crash
The address pointed to by the pkgpath variable is patr of pkgs
pkgs is freed at end of a function, so GList is passed the freed memory
Change-Id: Iab1766c2249cd9f46ddf192250b21ca203376fe4
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 3 Apr 2020 06:32:38 +0000 (15:32 +0900)]
Release version 0.9.0
Changes:
- Fix to handle multiple install request
Change-Id: Iaae3dda3c9413d7de1964aad905e819ddb6f17b8
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Tue, 11 Feb 2020 10:32:16 +0000 (19:32 +0900)]
Fix to handle multiple install request
Added handling multiple request of install, uninstall, mount install.
Change-Id: I8fbf8b2007f275096b1b3efb783f0929dd2a6efa
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Mon, 2 Mar 2020 05:46:36 +0000 (14:46 +0900)]
Release version 0.8.21
Changes:
- Fix static analysis issue
Change-Id: I3fee32ea853464bbd43a32ebaff347342acb086e
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Mon, 24 Feb 2020 08:33:07 +0000 (17:33 +0900)]
Fix static analysis issue
Fix for TOCTOU attack.
Change-Id: I10e2436f7c2530fa5089ff545f36007760ed43d1
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Fri, 31 Jan 2020 04:32:59 +0000 (13:32 +0900)]
Release version 0.8.20
Changes:
- Specify type of pkgmgr-service as "dbus"
Change-Id: Ibc390b76be72caee680d50d950b615bd105a1345
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>