platform/core/appfw/pkgmgr-server.git
21 months agoRelease version 0.11.3 06/285906/1 accepted/tizen_7.0_unified tizen_7.0 accepted/tizen/7.0/unified/20221223.170224
Sangyoon Jang [Thu, 22 Dec 2022 06:46:11 +0000 (15:46 +0900)]
Release version 0.11.3

Changes:
 - Use macro instead of hardcoded path for library

Change-Id: I6ce75a15c8a7ea00091974b0b4339bd6a671faed
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
21 months agoUse macro instead of hardcoded path for library 90/285890/1
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>
2 years agoRelease version 0.11.2 79/283079/1
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>
2 years agoFix exit handler 31/282231/3
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>
2 years agoFix static analysis issue 38/283038/2
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>
2 years agoRelease version 0.11.1 12/275512/1 accepted/tizen_7.0_unified_hotfix tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.055825 accepted/tizen/7.0/unified/hotfix/20221116.105037 accepted/tizen/unified/20220528.144428 accepted/tizen/unified/20220608.140102 submit/tizen/20220526.031554 submit/tizen/20220531.074151 tizen_7.0_m2_release
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>
2 years agoAdd mac override capability 47/275447/1
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>
2 years agoUnset exclusive when process was failed 83/275183/1
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>
2 years agoRelease version 0.11.0 09/269209/1 accepted/tizen/unified/20220112.121712 submit/tizen/20220111.094849
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>
2 years agoExtract duplicate routine into function 40/240840/5
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>
2 years agoRelease version 0.10.3 12/266912/1 accepted/tizen_6.5_unified accepted/tizen/6.5/unified/20211124.060337 accepted/tizen/unified/20211123.143748 submit/tizen/20211122.092115 submit/tizen/20211123.001718 submit/tizen_6.5/20211123.111544
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>
3 years agoMove variable checking routine 24/265224/2
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>
3 years agoRelease version 0.10.2 40/263640/1 accepted/tizen/6.5/unified/20211028.100217 accepted/tizen/unified/20210908.011438 submit/tizen/20210907.080459 submit/tizen_6.5/20211028.162101 tizen_6.5.m2_release
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>
3 years agoChange queue of resource related requests 37/263637/2
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>
3 years agoRelease version 0.10.1 18/263518/1 submit/tizen/20210906.013143
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>
3 years agoChange behavior of resource uninstall 70/263270/4
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>
3 years agoRelease version 0.10.0 95/263095/1 accepted/tizen/unified/20210830.103955 submit/tizen/20210826.063234 submit/tizen/20210830.020619
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>
3 years agoFix parameter option of create directory request 78/262978/1
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>
3 years agoChange resource copy binary file name to res-copy 00/262800/2
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>
3 years agoHandle resource create dir request 95/262795/3
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>
3 years agoHandle resource copy request 43/261843/5
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>
3 years agoRelease version 0.9.11 22/261822/1 accepted/tizen/unified/20210728.090543 submit/tizen/20210727.083416
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>
3 years agoHandle rpk package type 04/261704/5
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>
3 years agoRelease version 0.9.10 99/259599/1 accepted/tizen/unified/20210611.013613 submit/tizen/20210610.070016
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>
3 years agoFix static analysis issues 55/259555/1
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>
3 years agoRelease version 0.9.9 09/256309/1 accepted/tizen/unified/20210401.110045 submit/tizen/20210401.052550
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>
3 years agoChange order of functions 07/256307/1
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>
3 years agoRelease version 0.9.8 94/256294/1 submit/tizen/20210401.040449
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>
3 years agoAdd unset exclusive code for certain requests 75/256275/1
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>
3 years agoRelease version 0.9.7 67/256167/1 accepted/tizen/unified/20210331.054017 submit/tizen/20210330.033527
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>
3 years agoChange backend busy type 'unsigned long long' to 'int' 66/256166/1
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>
3 years agoRelease version 0.9.6 64/256164/1 submit/tizen/20210330.073825
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>
3 years agoIncrease backend busy flag variable size 61/256161/1
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>
3 years agoRelease version 0.9.5 33/255933/1 accepted/tizen/unified/20210328.230647 submit/tizen/20210325.072936
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>
3 years agoAdd queue rule about database exclusive 44/255444/4
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>
3 years agoCheck request id to prevent processing duplicated request 20/253620/2
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>
3 years agoReject a request with too long arguments 91/251491/5
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>
3 years agoRelease version 0.9.4 74/248074/1 accepted/tizen/6.0/unified/20201125.104952 accepted/tizen/unified/20201125.124017 submit/tizen/20201120.074439 submit/tizen/20201123.082238 submit/tizen/20201125.063013 submit/tizen_6.0/20201120.074521 submit/tizen_6.0/20201125.005918
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>
3 years agoAdd length checking routine for parameters 04/246204/5
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>
3 years agoRelease version 0.9.3 75/247375/1 accepted/tizen/6.0/unified/20201110.230842 accepted/tizen/unified/20201110.125001 submit/tizen/20201110.080209 submit/tizen_6.0/20201110.080711
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>
4 years agoRemove DefaultDependencies=no on package-manager.service 12/245412/1
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

4 years agoRelease version 0.9.2 64/241064/1 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.115907 accepted/tizen/6.0/unified/hotfix/20201103.045845 accepted/tizen/unified/20200818.125949 submit/tizen/20200814.081404 submit/tizen/20200814.081807 submit/tizen_6.0/20201029.205103 submit/tizen_6.0_hotfix/20201102.192503 submit/tizen_6.0_hotfix/20201103.114803 tizen_6.0.m2_release
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>
4 years agoMinor refactoring on pkgmgr-server 19/240519/5
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>
4 years agoExtract commonly used logic 14/240314/12
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>
4 years agoCheck return value of kill request while disabling app 20/240520/1
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>
4 years agoChange request key generation logic 47/240447/1
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>
4 years agoSupress build warning 06/240306/1
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>
4 years agoRelease version 0.9.1 43/232243/1 accepted/tizen/unified/20200508.045019 submit/tizen/20200429.082446 submit/tizen/20200506.235326
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>
4 years agoFix pkgmgr-server crash 01/230901/3
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>
4 years agoRelease version 0.9.0 50/229750/1 accepted/tizen/unified/20200413.012300 submit/tizen/20200403.082852 submit/tizen/20200410.073851
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>
4 years agoFix to handle multiple install request 72/225072/5
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>
4 years agoRelease version 0.8.21 77/226377/1 accepted/tizen_5.5_unified accepted/tizen_5.5_unified_wearable_hotfix tizen_5.5 tizen_5.5_wearable_hotfix accepted/tizen/5.5/unified/20200303.170615 accepted/tizen/5.5/unified/wearable/hotfix/20201027.114509 accepted/tizen/unified/20200303.032615 submit/tizen/20200302.075610 submit/tizen_5.5/20200302.074523 submit/tizen_5.5_wearable_hotfix/20201026.184303
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>
4 years agoFix static analysis issue 51/225751/2
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>
4 years agoRelease version 0.8.20 83/223583/1 accepted/tizen/unified/20200212.125951 submit/tizen/20200131.050227 submit/tizen/20200210.091657 submit/tizen/20200211.010149
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>
4 years agoSpecify type of pkgmgr-service as "dbus" 93/222693/2
Ilho Kim [Thu, 16 Jan 2020 08:43:26 +0000 (17:43 +0900)]
Specify type of pkgmgr-service as "dbus"

- Service units with this option configured
  implicitly gain dependencies on the dbus.socket unit

Change-Id: I02a38259c10c048ecf1dca7bb3da1fea21adad26
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoRelease version 0.8.19 10/222710/1 accepted/tizen/unified/20200120.133143 submit/tizen/20200117.084916
Ilho Kim [Fri, 17 Jan 2020 08:42:34 +0000 (17:42 +0900)]
Release version 0.8.19

Changes:
 - Resolve static analysis issue

Change-Id: Ie22f4127e8149882ba8b1045ecc0455fde44d18d
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoResolve static analysis issue 55/222655/1
Ilho Kim [Fri, 17 Jan 2020 04:42:19 +0000 (13:42 +0900)]
Resolve static analysis issue

Change-Id: I301e2be8d7f45d5ee3102dbafb5ad9058ed0f7d2
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoRelease version 0.8.18 51/221751/1 tizen_5.5_tv accepted/tizen/5.5/unified/20200110.004221 accepted/tizen/5.5/unified/20200113.095822 accepted/tizen/unified/20200108.131525 submit/tizen/20200107.095251 submit/tizen_5.5/20200107.095257 submit/tizen_5.5/20200109.083510 submit/tizen_5.5/20200113.000655
Junghyun Yeon [Tue, 7 Jan 2020 08:49:16 +0000 (17:49 +0900)]
Release version 0.8.18

Changes:
 - Fix some codes
 - Fix pkgmgr-server

Change-Id: I5589d909f7e898f55a480f9dad23c15064b80b11
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
4 years agoFix pkgmgr-server 06/221606/5
Junghyun Yeon [Mon, 6 Jan 2020 06:23:50 +0000 (15:23 +0900)]
Fix pkgmgr-server

- Fix wrong use of g_variant_get to prevent memory leak.
- Add unregistering object to reduce ref counter properly.

Change-Id: I5262a2d20550286babc71327d603be6fcae0b2de
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
4 years agoFix some codes 21/217521/4
Junghyun Yeon [Tue, 12 Nov 2019 07:24:26 +0000 (16:24 +0900)]
Fix some codes

- Add logs to print error message when server failed to read signal.

Change-Id: Ib213e80e23491c629117ecb8059cd2bf1586223f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
4 years agoRelease version 0.8.17 08/220108/1 accepted/tizen/unified/20191216.222218 submit/tizen/20191213.074937
Ilho Kim [Fri, 13 Dec 2019 07:02:43 +0000 (16:02 +0900)]
Release version 0.8.17

Changes:
 - Fix wrong indentation

Change-Id: Ie1e7fa1ecd0f82938732c54c6c75839eb49f208f
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
4 years agoFix wrong indentation 54/217454/1
Junghyun Yeon [Tue, 12 Nov 2019 02:37:33 +0000 (11:37 +0900)]
Fix wrong indentation

Change-Id: I081c17a0f7cbd64f6957caa2cb81dba205c79bca
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
5 years agoRelease version 0.8.16 56/214856/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.023721 accepted/tizen/5.5/unified/mobile/hotfix/20201027.083602 accepted/tizen/unified/20191011.023401 submit/tizen/20190927.070616 submit/tizen/20191001.095121 submit/tizen/20191002.002728 submit/tizen/20191010.101146 submit/tizen_5.5/20191031.000003 submit/tizen_5.5_mobile_hotfix/20201026.185103 tizen_5.5.m2_release
Ilho Kim [Fri, 27 Sep 2019 06:57:38 +0000 (15:57 +0900)]
Release version 0.8.16

Changes:
 - Log request type, client pid, cmdline

Change-Id: I5059dd8396628e42436ca4d6b48250a52ce37ac0
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
5 years agoLog request type, client pid, cmdline 57/214657/6
Sangyoon Jang [Wed, 25 Sep 2019 05:47:34 +0000 (14:47 +0900)]
Log request type, client pid, cmdline

Add some information for debugging purposes.

Change-Id: Ice93560057bea2eecb2bd51f809a997ff8c68005
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoRelease version 0.8.15 09/211809/1 accepted/tizen/unified/20190812.235622 submit/tizen/20190809.084335
Ilho Kim [Fri, 9 Aug 2019 08:15:27 +0000 (17:15 +0900)]
Release version 0.8.15

Changes:
 - Change /usr/bin/false to /bin/false in the dbus configuration
 - Fix the possibility of a memory leak

Change-Id: Ia14011581ba57bfc81496f33e039637c1b49a93a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
5 years agoFix the possibility of a memory leak 12/209912/3
Ilho Kim [Fri, 12 Jul 2019 08:23:42 +0000 (17:23 +0900)]
Fix the possibility of a memory leak

The sqlite3_open_v2 function may have a db handle
even if an error occurs.

Change-Id: Iaf2d074f8b48bec00504bc9d00fd138b1c3d4480
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
5 years agoChange /usr/bin/false to /bin/false in the dbus configuration 17/209917/1
INSUN PYO [Fri, 12 Jul 2019 09:08:37 +0000 (18:08 +0900)]
Change /usr/bin/false to /bin/false in the dbus configuration

Change-Id: I7080ea6f01ec1386474b242b8f4db302d02ba722

5 years agoRelease version 0.8.14 86/209886/1 accepted/tizen/unified/20190717.115201 submit/tizen/20190712.071407 submit/tizen/20190716.022534
Ilho Kim [Fri, 12 Jul 2019 06:41:37 +0000 (15:41 +0900)]
Release version 0.8.14

Changes:
 - Change the config value of the systemd service ("false" -> "no")

Change-Id: I583540955c5cbafaee25cb596eb25b42af2d7372
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
5 years agoChange the config value of the systemd service ("false" -> "no") 74/208374/1
INSUN PYO [Mon, 24 Jun 2019 02:20:53 +0000 (11:20 +0900)]
Change the config value of the systemd service ("false" -> "no")

"no" and "false" have the same meaning, but the document has "no".
Also, since the parsing order is "no" first, there is some performance gain.

Change-Id: Id9795e1ce058103bf06388e428221e04087ae128

5 years agoRelease version 0.8.13 58/207958/1 submit/tizen/20190614.073711
Sangyoon Jang [Fri, 14 Jun 2019 07:31:07 +0000 (16:31 +0900)]
Release version 0.8.13

Changes:
 - Reduce rules of dbus policy

Change-Id: I4da10f065bea745ad5157550b34d755c3f0b3a5d
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoReduce rules of dbus policy 29/207929/3
Sangyoon Jang [Fri, 14 Jun 2019 04:33:03 +0000 (13:33 +0900)]
Reduce rules of dbus policy

Check admin priviliege as default.

Change-Id: Id03a028df6d70c255a7207405fa996fa88d1c48a
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoRelease version 0.8.12 32/203632/1 accepted/tizen/unified/20190417.132335 submit/tizen/20190416.100651 submit/tizen/20190416.233814
Junghyun Yeon [Tue, 16 Apr 2019 08:56:25 +0000 (17:56 +0900)]
Release version 0.8.12

Changes:
 - Add dependency for pkgmgr-server

Change-Id: I9963089d767b02a0f38799e63887a0be32934c41
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
5 years agoAdd dependency for pkgmgr-server 94/201794/4
Junghyun Yeon [Tue, 19 Mar 2019 11:59:48 +0000 (20:59 +0900)]
Add dependency for pkgmgr-server

- Package install/uninstall request should be handled
  after db recovery and package recovery has done.

Related changes :
[app-installers] : https://review.tizen.org/gerrit/202801
[pkgmgr-info] : https://review.tizen.org/gerrit/201792

Change-Id: Ie970f7a969cea9b74d34f5623f45597bfdbb3a62
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
5 years agoRelease version 0.8.11 93/202593/1 accepted/tizen/unified/20190401.224931 submit/tizen/20190401.082641 submit/tizen_5.0/20190401.082359
Sangyoon Jang [Mon, 1 Apr 2019 08:25:22 +0000 (17:25 +0900)]
Release version 0.8.11

Changes:
 - Use lstat instead of stat to checking symlink

Change-Id: I0c11450e67a10ccd976259cdd59e1f4a68a12d36
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoUse lstat instead of stat to checking symlink 73/202573/1
Sangyoon Jang [Mon, 1 Apr 2019 05:35:45 +0000 (14:35 +0900)]
Use lstat instead of stat to checking symlink

stat() doest not see link itself.

Change-Id: Ic9a77d1de973589f5c004b2da43824adb508328f
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoRelease version 0.8.10 05/198705/1 accepted/tizen/5.0/unified/20190129.064432 accepted/tizen/unified/20190130.151705 submit/tizen/20190129.024709 submit/tizen_5.0/20190129.024705
Sangyoon Jang [Tue, 29 Jan 2019 02:18:29 +0000 (11:18 +0900)]
Release version 0.8.10

Changes:
 - Fix wrong parameter of dbus reply

Change-Id: I40388e20cbc9428dec41e9cb8311df6cbb319116
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoFix wrong parameter of dbus reply 42/198642/1
Sangyoon Jang [Mon, 28 Jan 2019 09:56:15 +0000 (18:56 +0900)]
Fix wrong parameter of dbus reply

Change-Id: Idd0b7f9ec16150bd8b70d9f380d0c924070a8a26
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoRelease version 0.8.9 18/198618/1 submit/tizen/20190128.065353 submit/tizen_5.0/20190128.065405
Sangyoon Jang [Mon, 28 Jan 2019 06:23:34 +0000 (15:23 +0900)]
Release version 0.8.9

Changes:
 - Fix security vulnerabilities
 - Change server start/end log level to warning

Change-Id: I1d97b713e225ed9b42005a0e369899cf123a764f
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoChange server start/end log level to warning 40/198540/1
Sangyoon Jang [Fri, 25 Jan 2019 07:59:17 +0000 (16:59 +0900)]
Change server start/end log level to warning

In some case, we need to log as warning.

Change-Id: Icfa6d1951d8ddd2347aea0bf42e2e10e4a03dd78
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoFix security vulnerabilities 69/197969/1
Sangyoon Jang [Thu, 17 Jan 2019 10:17:58 +0000 (19:17 +0900)]
Fix security vulnerabilities

Change-Id: I7152a7ff9bf9464d27a2f7da68eab936630bb6d4
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
5 years agoRelease version 0.8.8 42/197642/1 accepted/tizen/unified/20190117.151838 submit/tizen/20190115.003759 submit/tizen/20190116.052201 submit/tizen/20190117.001629
Hwankyu Jhun [Tue, 15 Jan 2019 01:48:49 +0000 (10:48 +0900)]
Release version 0.8.8

Changes:
 - Release gdbus connection

Change-Id: I5ddd990d4cf33929ecf1267e1d8f6ff64b31ad59
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
5 years agoRelease gdbus connection 41/197641/3
Hwankyu Jhun [Tue, 15 Jan 2019 01:32:37 +0000 (10:32 +0900)]
Release gdbus connection

Before main thread is terminated, we should release the allocated
memory.
This patch is for releasing the gdbus connection.

Change-Id: I18c30630133accd2974c8c1044d6f19b487e8162
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
6 years agoRelease version 0.8.7 16/183216/1 accepted/tizen/5.0/unified/20181102.013427 accepted/tizen/unified/20180705.081212 submit/tizen/20180703.103524 submit/tizen_5.0/20181101.000002
Sangyoon Jang [Tue, 3 Jul 2018 10:28:35 +0000 (19:28 +0900)]
Release version 0.8.7

Changes:
 - Revert "Add allow rule for dbus-policy"

Change-Id: Ic9475d93526ef19b8f724c5e5629570d7dc2728d
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRevert "Add allow rule for dbus-policy" 96/183196/1
Sangyoon Jang [Tue, 3 Jul 2018 08:30:52 +0000 (17:30 +0900)]
Revert "Add allow rule for dbus-policy"

This reverts commit 03d837ef5da17ba950cd8b9b2c8fc99183fb892c.

pkgmgr-server does not provide object which has properties.
(refer: https://review.tizen.org/gerrit/183195)

Change-Id: I810030a090fb06d1fcf9f4bf91fd85013ef09283

6 years agoRelease version 0.8.6 68/182168/1 accepted/tizen/unified/20180622.122617 submit/tizen/20180621.072011
Sangyoon Jang [Thu, 21 Jun 2018 05:19:10 +0000 (14:19 +0900)]
Release version 0.8.6

Changes:
 - Fix wrong word
 - Allow clients sending cleardata command

Change-Id: I85779048a2764e63a39dc92d1b33568e70f3d3f4
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoAllow clients sending cleardata command 08/180708/1
Sangyoon Jang [Fri, 1 Jun 2018 08:50:11 +0000 (17:50 +0900)]
Allow clients sending cleardata command

Change-Id: I2eb236ad90c0eb629890b3a4da9d72fd37b55de1
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoFix wrong word 91/179491/2
Junghyun Yeon [Fri, 18 May 2018 07:11:23 +0000 (16:11 +0900)]
Fix wrong word

Change-Id: If72874f4af6dab9e9ed448115a54d3db696b5bb5
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoRelease version 0.8.5 49/179149/1 accepted/tizen/unified/20180517.062307 accepted/tizen/unified/20180521.003613 submit/tizen/20180516.061151 submit/tizen/20180518.004605
Junghyun Yeon [Wed, 16 May 2018 06:09:35 +0000 (15:09 +0900)]
Release version 0.8.5

Changes:
 - Add allow rule for dbus-policy
 - Fix static analysis issue

Change-Id: If040fee4bab4689cc5e76675b2f87e9e506539e2
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoFix static analysis issue 22/179122/2
Junghyun Yeon [Wed, 16 May 2018 02:50:33 +0000 (11:50 +0900)]
Fix static analysis issue

Change-Id: I065bf952c0d87519fdcc5fc2a5488f462f269e03
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoAdd allow rule for dbus-policy 54/178954/3
Inkyun Kil [Tue, 15 May 2018 05:11:38 +0000 (14:11 +0900)]
Add allow rule for dbus-policy

Change-Id: Ic0f65c23f08cea15e34bf088b26b90133fbc8143
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoRelease version 0.8.4 62/178662/1 accepted/tizen/unified/20180514.094108 submit/tizen/20180511.064939
Junghyun Yeon [Fri, 11 May 2018 06:44:02 +0000 (15:44 +0900)]
Release version 0.8.4

Changes:
 - Change rules for default dbus policy
 - Release version 0.8.3
 - Fix init backend queue structure

Change-Id: Ie7c1479a1984a9c0ad2c0d54f27c2bea2b8a4f52
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoFix init backend queue structure 92/178092/2
Sangyoon Jang [Tue, 8 May 2018 05:58:00 +0000 (14:58 +0900)]
Fix init backend queue structure

Allocating memory for real path of queue using strdup.

Change-Id: If10862af2a392258ddd842d3c1acdb1c386844d5
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRelease version 0.8.3 90/177590/1
Inkyun Kil [Wed, 2 May 2018 05:23:22 +0000 (14:23 +0900)]
Release version 0.8.3

Changes:
 - Change rules for default dbus policy

Change-Id: I7e16d142f93a15d9d20fd7afd69e0d59e734ffa9
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoChange rules for default dbus policy 53/177053/1
Inkyun Kil [Tue, 17 Apr 2018 10:27:14 +0000 (19:27 +0900)]
Change rules for default dbus policy

Change-Id: I4b514c3af9be08bfb12fe3b8220d26bb32b4759e
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
6 years agoRelease version 0.8.2 80/172480/1 accepted/tizen/unified/20180314.141455 submit/tizen/20180314.060414
Junghyun Yeon [Wed, 14 Mar 2018 06:35:31 +0000 (15:35 +0900)]
Release version 0.8.2

Changes:
 - Fix possible corruption
 - Fix memory leak

Change-Id: Iad89290955679b16c9781c44b58d585f883ceed8
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoFix memory leak 50/172150/1
Junghyun Yeon [Mon, 12 Mar 2018 07:39:58 +0000 (16:39 +0900)]
Fix memory leak

Change-Id: I06da714e9ee2cccd422c556c1c15e91a4a8df4fd
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoFix possible corruption 14/169214/1
Junghyun Yeon [Mon, 5 Feb 2018 04:51:47 +0000 (13:51 +0900)]
Fix possible corruption

- Memory corruption tool detects that
  local char array could be uninitialized even if
  g_io_channel_read_chars returns G_IO_STATUS_NORMAL
  so it should be initialized at declaration.

Change-Id: I927bbb174d0e657b47f27ed42739f503e9fdf6d6
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoRelease version 0.8.1 52/169052/1 accepted/tizen/unified/20180205.060507 submit/tizen/20180202.063742
Junghyun Yeon [Fri, 2 Feb 2018 05:02:43 +0000 (14:02 +0900)]
Release version 0.8.1

Changes:
 - Fix to not generate arg when length is 0
 - Fix fd leak

Change-Id: I59a5cf0e023d19e1da063205b6f11638da121e04
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoFix fd leak 59/168259/2
Sangyoon Jang [Thu, 25 Jan 2018 08:14:40 +0000 (17:14 +0900)]
Fix fd leak

csr_cs_context_destroy should be invoked.

Change-Id: I8a57241a28c9bbf4024e3904197409c7e27fb11d
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoFix to not generate arg when length is 0 47/168247/2
Junghyun Yeon [Thu, 25 Jan 2018 07:08:28 +0000 (16:08 +0900)]
Fix to not generate arg when length is 0

It could cause heap corruption.

Change-Id: I0fec6c50565d0af070994e6c355610221c36e185
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>