platform/core/appfw/pkgmgr-server.git
6 years agoMemory leak error 92/140792/8
b.mandala [Wed, 26 Jul 2017 09:49:26 +0000 (15:19 +0530)]
Memory leak error

Change-Id: I5bc54d38aa34af5b64768a8e828695ad061cd222
Signed-off-by: b.mandala <b.mandala@partner.samsung.com>
6 years agoAdd the policy for set_app_label method 02/140702/1
jongmyeongko [Wed, 26 Jul 2017 06:03:55 +0000 (15:03 +0900)]
Add the policy for set_app_label method

Change-Id: I9d8a40a89230d56d6d112c031aa7ac0b406be520
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
6 years agoFix misusing of strncat 01/139601/2
Sangyoon Jang [Wed, 19 Jul 2017 11:49:14 +0000 (20:49 +0900)]
Fix misusing of strncat

Change-Id: Ide549ba856ca38c9a8a9016d7e4fefef50f53f21
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoRelease version 0.6.13 76/136476/1 accepted/tizen/unified/20170706.193108 submit/tizen/20170630.024412 submit/tizen/20170704.014215 submit/tizen/20170705.015812
Sangyoon Jang [Fri, 30 Jun 2017 02:12:14 +0000 (11:12 +0900)]
Release version 0.6.13

Changes:
 - Remove drm dependency
 - Change codes for CPU lock

Change-Id: I8203b491ff91ef296f18342d902b82e536338651
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoChange codes for CPU lock 80/135580/7
Junghyun Yeon [Fri, 23 Jun 2017 07:25:16 +0000 (16:25 +0900)]
Change codes for CPU lock

- APIs used in previous implementation are not included in some profile
  So change methods of locking CPU by using dbus directly

Change-Id: I7a8898040856e69fd2f4b48da1883b49ef145585
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoRemove dependency 32/134332/8
Junghyun Yeon [Fri, 16 Jun 2017 04:51:21 +0000 (13:51 +0900)]
Remove dependency

- Remove dependency and use some APIs with dynamically loaded
shared library to reduce binary size

Change-Id: I5c7a4658f253d80d238591f73e19b499c3494d2c
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoRelease version 0.6.12 91/133091/1 accepted/tizen/unified/20170609.204217 submit/tizen/20170609.050739 submit/tizen/20170609.051007
Sangyoon Jang [Fri, 9 Jun 2017 02:06:34 +0000 (11:06 +0900)]
Release version 0.6.12

Changes:
 - Add CPU lock on pkgmgr-server

Change-Id: Id1ce1b62dba2b8c9fc3c591a2363c2d3b29a7f5f
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
6 years agoAdd CPU lock on pkgmgr-server 81/131681/7
Junghyun Yeon [Tue, 30 May 2017 10:46:31 +0000 (19:46 +0900)]
Add CPU lock on pkgmgr-server

- Enable CPU lock on pkgmgr-server when backend doing
something which will take some time to let device not to
enter sleep

Change-Id: Ibecec1c1cb7eba85923e4dc95fee2fe5f47bdee4
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoRelease version 0.6.11 23/132023/1 accepted/tizen/unified/20170607.063216 submit/tizen/20170531.235759
Junghyun Yeon [Thu, 1 Jun 2017 00:24:57 +0000 (09:24 +0900)]
Release version 0.6.11

Changes:
 - Adjust priority of getsize handler

Change-Id: Ibdca551a114f58c384f77907bace46add82a6482
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoAdjust prioriy of getsize hander 70/130170/5
jongmyeongko [Fri, 19 May 2017 09:18:40 +0000 (18:18 +0900)]
Adjust prioriy of getsize hander

The sigchild of pkg_getsize can be handled in signal_handler earlier than
getsize_io_handler for getsize_fd which is written in pkg_getsize
just before its termination. (reproducable issue)

Change-Id: Ia985c56cf1ab34fde02efc2557ae9ee2922e31bf
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
6 years agoRelease version 0.6.10 72/130072/1 accepted/tizen/unified/20170519.200037 submit/tizen/20170519.052610 tizen_4.0.m1_release
Junghyun Yeon [Fri, 19 May 2017 04:54:22 +0000 (13:54 +0900)]
Release version 0.6.10

Changes:
 - Refactoring updateinfo related codes

Change-Id: I8a5749c87ed2800971e49c9090b3c7713cf8e30f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoRefactoring updateinfo related codes 29/128129/5
Junghyun Yeon [Mon, 8 May 2017 00:19:38 +0000 (09:19 +0900)]
Refactoring updateinfo related codes

- Remove unused codes
- Refactoring extra data type for several request type

Change-Id: I60787d11d32d738235db763183c1218926bc80b4
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoRelease version 0.6.9 11/128911/1 accepted/tizen/unified/20170512.165910 submit/tizen/20170512.073248
Sangyoon Jang [Fri, 12 May 2017 05:03:51 +0000 (14:03 +0900)]
Release version 0.6.9

Changes:
 - Fix signal handler for handling all dead childs

Change-Id: Id732e25c7e772d76ebbf042e2b37658b1a2a1819
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
6 years agoFix signal handler for handling all dead childs 19/127919/3
jongmyeongko [Tue, 2 May 2017 09:59:35 +0000 (18:59 +0900)]
Fix signal handler for handling all dead childs

The signal handler can be called once (not for each child)
when childs are terminated at very close timing each other.

reproduce : #pkgcmd --clear-all
this causes all slots (rpm, tpk and wgt) active, and
some processes are terminated at very close timing.

Change-Id: Ie007e17431e78e2920356e6178dff3af86826790
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
6 years agoRelease version 0.6.8 00/128200/1 accepted/tizen/unified/20170510.012838 submit/tizen/20170508.042017
Junghyun Yeon [Mon, 8 May 2017 04:20:14 +0000 (13:20 +0900)]
Release version 0.6.8

Changes:
 - Fix pkg update info

Change-Id: Ie6297b66dac7ef2b515f03b83a3683431bc85ecf
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
6 years agoFix pkg update info 37/128137/1
Junghyun Yeon [Mon, 8 May 2017 01:56:08 +0000 (10:56 +0900)]
Fix pkg update info

- Fix memory leak
- Fix to return error when failed to push into queue

Change-Id: I010dadd4cf55f1ecf433a5f953e897e39d27dcdb
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoRelease version 0.6.7 12/126912/2 accepted/tizen/unified/20170428.033036 submit/tizen/20170425.040634 submit/tizen/20170427.131814
Junghyun Yeon [Tue, 25 Apr 2017 08:50:25 +0000 (17:50 +0900)]
Release version 0.6.7

Changes:
 - Fix memory leak
 - update info request will return fail when it fails to push into queue

Change-Id: I2805e19791335f0b282cda6bda2b62f1819ae989
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoFix behavior of register update info 08/126708/2
Junghyun Yeon [Tue, 25 Apr 2017 01:44:44 +0000 (10:44 +0900)]
Fix behavior of register update info

- Fix memory leak
- It will return error when failed to push into queue

Change-Id: I913e3c655b1182700429e263bc8fd19e9c5e8f94
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoRelease version 0.6.6 04/126304/1 accepted/tizen/unified/20170421.114258 submit/tizen/20170421.005321
Junghyun Yeon [Fri, 21 Apr 2017 01:55:02 +0000 (10:55 +0900)]
Release version 0.6.6

Changes:
- Add new implementation for pkg update info

Change-Id: Ie663ad9f8bf3d9d6c6af949e84207cc7b913c474
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoAdd new implementation for pkg update info 67/122067/17
Junghyun Yeon [Thu, 30 Mar 2017 05:30:40 +0000 (14:30 +0900)]
Add new implementation for pkg update info

- New implementation for pkg update info register/unregister

Related changes:
[slp-pkgmgr] : https://review.tizen.org/gerrit/122068
[pkgmgr-info] : https://review.tizen.org/gerrit/121964

Change-Id: I7d62b8618575e01f3393b0e378ccdfc745689ede
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoRelease version 0.6.5 08/125708/1 accepted/tizen/unified/20170419.164634 submit/tizen/20170419.014756
Junghyun Yeon [Tue, 18 Apr 2017 12:00:23 +0000 (21:00 +0900)]
Release version 0.6.5

Changes :
- Change processing slot for clear data/cache
- Fix memory leaks

Change-Id: I3d634b99d89caaff89757290292c4a2ab162f987
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoFix memory leaks 73/125173/1
Sangyoon Jang [Fri, 14 Apr 2017 04:59:09 +0000 (13:59 +0900)]
Fix memory leaks

Change-Id: I796229aae7cf5883e65f0a92e37356fdf07ab373
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoChange the processing slot for cleardata/clearcache 39/124239/2
jongmyeongko [Wed, 5 Apr 2017 14:16:17 +0000 (23:16 +0900)]
Change the processing slot for cleardata/clearcache

In the most client's event-callback, the pkgid is used to classify the incomming event.
So, we should control not to process somethings simultaneously
for same pkgid in different slots.

Note: In case of getting size, there is dedicated callback. so, no problem.
In case of clear cache all, the pkgid is '__ALL__', so it can be distinguished.

Change-Id: If7840f9ae49ae5857483cae3ed3902f0cdab0319
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
(cherry picked from commit a171770669d15b8f1d0ab44aa5c438ba83e5880c)

7 years agoRelease version 0.6.4 95/124295/1 accepted/tizen/unified/20170412.152110 submit/tizen/20170411.042057
Junghyun Yeon [Tue, 11 Apr 2017 05:30:11 +0000 (14:30 +0900)]
Release version 0.6.4

Changes:
- Fix bug on handling request args

Change-Id: I11c582b5837f660818a3fb21f47b85d952d2f980
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoFix bug on handling request args 94/124194/1
Sangyoon Jang [Mon, 10 Apr 2017 12:17:01 +0000 (21:17 +0900)]
Fix bug on handling request args

Change-Id: Iabac0f48f9ac8fb9db9b4bf2e3c208131fc0dab1
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoRelease version 0.6.3 92/123792/1 accepted/tizen/unified/20170407.190612 submit/tizen/20170407.042402
Sangyoon Jang [Fri, 7 Apr 2017 04:45:00 +0000 (13:45 +0900)]
Release version 0.6.3

Changes:
 - Fix a bug on DRM related operations
 - Use %license macro to copy license file
 - Fix static analyzer issues
 - Remove duplicated depencency
 - Adjust exit handler priority

Change-Id: I85a9970a534f0db5f05f51dcfd7f26fd9bde1f19
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoAdjust exit handler priority 31/123631/2
Sangyoon Jang [Thu, 6 Apr 2017 08:50:53 +0000 (17:50 +0900)]
Adjust exit handler priority

g_timeout_add_seconds register timer callback with G_PRIORITY_DEFAULT(0),
but g_idler_add with G_PRIORITY_DEFAULT_IDLE(200).
We need to ensure that the queue_job() invoked before exit_server().

Change-Id: I1cbb3d198cd2ced4def64924abe10c97922a3fd7
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix duplicated depencency 84/122184/2
Junghyun Yeon [Thu, 30 Mar 2017 11:50:18 +0000 (20:50 +0900)]
Fix duplicated depencency

- remove duplicated dependency, pkgmgr-info

Change-Id: Id436dc6de5417e1104dc099b5e3c59b27b6a05c2
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoFix static analyzer issues 76/122476/1
Sangyoon Jang [Fri, 31 Mar 2017 12:10:34 +0000 (21:10 +0900)]
Fix static analyzer issues

Change-Id: I7e0899b101a48004cb5f832a6ddba21cfdf7cedb
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoUse %license macro to copy license file 36/120436/1
Sangyoon Jang [Thu, 23 Mar 2017 02:08:35 +0000 (11:08 +0900)]
Use %license macro to copy license file

Change-Id: I96fd5478aceac6293dfcb7cef46c62ee9f6a23db
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoChange behavior of pkgmgr-server with DRM related operations 46/119746/2
Junghyun Yeon [Mon, 20 Mar 2017 04:21:09 +0000 (13:21 +0900)]
Change behavior of pkgmgr-server with DRM related operations

- 3 drm related operations which are allowed by pkgmgr-server currently
should be performed with same process.
- these operations should be invoked sequentially so pkgmgr-server will not
terminated until all operations has done.

Change-Id: I9b1008bbfa4d11db7586ec96ae4124533e945788
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoRelease version 0.6.2 96/119496/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170322.154049 accepted/tizen/ivi/20170323.000756 accepted/tizen/mobile/20170323.000355 accepted/tizen/tv/20170323.000544 accepted/tizen/unified/20170323.000836 accepted/tizen/wearable/20170323.000703 submit/tizen/20170317.070714 submit/tizen/20170320.224022 submit/tizen/20170322.050206 submit/tizen/20170322.091134
Junghyun Yeon [Fri, 17 Mar 2017 06:40:43 +0000 (15:40 +0900)]
Release version 0.6.2

- Use signalfd to handle SIGCHLD
- Adjust log level

Change-Id: I174b74cf82094566d1f80a4bd3975b04a4fa15ca
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoAdjust some log levels 65/119265/4
Sangyoon Jang [Thu, 16 Mar 2017 07:22:07 +0000 (16:22 +0900)]
Adjust some log levels

Use ERR level in error case.
Use INFO level at handling signal.

Change-Id: Ie19197df1a485aeaebe0100dc87dc6ad59da70b4
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoUse signalfd to handle SIGCHLD 43/119243/1
Sangyoon Jang [Thu, 16 Mar 2017 06:14:07 +0000 (15:14 +0900)]
Use signalfd to handle SIGCHLD

Change-Id: I6e6327508e074919d7347afdafdb13fa9555c13b
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoRelease version 0.6.1 13/118413/1 accepted/tizen/common/20170310.122327 accepted/tizen/ivi/20170310.102903 accepted/tizen/mobile/20170310.102817 accepted/tizen/tv/20170310.102833 accepted/tizen/unified/20170310.104806 accepted/tizen/wearable/20170310.102848 submit/tizen/20170310.063646 submit/tizen_unified/20170310.103754
Sangyoon Jang [Fri, 10 Mar 2017 08:30:19 +0000 (17:30 +0900)]
Release version 0.6.1

Changes:
 - Temporary revert: "Remove Profile Build Dependency"

Change-Id: If350ad56f739361cb3f09929939d8e713e6afeb0
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoRevert "Remove Profile Build Dependency: Do it at runtime" 44/118144/1
Sangyoon Jang [Thu, 9 Mar 2017 03:48:17 +0000 (12:48 +0900)]
Revert "Remove Profile Build Dependency: Do it at runtime"

This reverts commit 09082fbbd5b749c4f4fc70018546c3c693f625f0.

This is temporary revert commit.

Change-Id: Ibc420994d074b9b50d296da69601a52b9875d56c

7 years agoRelease version 0.6.0 36/117336/3 accepted/tizen/common/20170306.165219 accepted/tizen/ivi/20170307.050451 accepted/tizen/mobile/20170307.050316 accepted/tizen/tv/20170307.050359 accepted/tizen/unified/20170309.032503 accepted/tizen/wearable/20170307.050425 submit/tizen/20170306.070018 submit/tizen_unified/20170308.100406
jongmyeongko [Sat, 4 Mar 2017 08:41:47 +0000 (17:41 +0900)]
Release version 0.6.0

Changes:
 - Add enable/disable apps
 - Fix build warnings

Change-Id: I39b350beea00980848ca6e1636d29d678024fe4e
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix build warnings 43/117443/1
Sangyoon Jang [Mon, 6 Mar 2017 06:27:36 +0000 (15:27 +0900)]
Fix build warnings

Change-Id: Id7f230dfd9d09ac50543e813025d177f0cc27b4b
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoAdd enable/disable apps 29/117029/1
Junghyun Yeon [Wed, 22 Feb 2017 05:35:30 +0000 (14:35 +0900)]
Add enable/disable apps

- Add handling enable/disable apps

Related changes :
[slp-pkgmgr] : https://review.tizen.org/gerrit/115926

Change-Id: Ib1ffaaeca75dc2a3d49939c43259b67e33d45d19
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoRelease version 0.5.0 69/113969/1 accepted/tizen/common/20170209.122548 accepted/tizen/ivi/20170210.004235 accepted/tizen/mobile/20170210.003941 accepted/tizen/tv/20170210.004035 accepted/tizen/wearable/20170210.004129 submit/tizen/20170209.083108
Sangyoon Jang [Thu, 9 Feb 2017 11:14:16 +0000 (20:14 +0900)]
Release version 0.5.0

Changes:
 - Change queue of cleardata
 - Make CAP_DAC_OVERRIDE inheritable for using xdelta3

Change-Id: I533ddac4d8c178a1a5209832c259ca23519507af
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoMake CAP_DAC_OVERRIDE inheritable for using xdelta3 31/113731/2
Sangyoon Jang [Wed, 8 Feb 2017 12:34:32 +0000 (21:34 +0900)]
Make CAP_DAC_OVERRIDE inheritable for using xdelta3

Currently, xdelta3 has CAP_DAC_OVERRIDE itself by file capability.
This is security hole, because attacker can modify any files using
xdelta3. To prevent this problem, make xdelta3 have CAP_DAC_OVERRIDE
only by inheriting from server.

Change-Id: I76f9416cff0c8b2e54c18093c162f6044c399245
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoChange queue of cleardata 93/112893/1
Junghyun Yeon [Fri, 3 Feb 2017 07:06:18 +0000 (16:06 +0900)]
Change queue of cleardata

- Cleardata is performed by pkgmgr-server itself so change queue into pkgtool
- reqkey is no longer required when calling cleardata so it was removed

Change-Id: Iee3ece77bc22111c2bc590f5a4d4f1400792c3c8
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoRelease Version 0.4.0 92/110992/1 accepted/tizen/common/20170125.112802 accepted/tizen/ivi/20170119.222127 accepted/tizen/mobile/20170119.221615 accepted/tizen/tv/20170119.221849 accepted/tizen/wearable/20170119.222018 submit/tizen/20170119.070147
jongmyeongko [Thu, 19 Jan 2017 06:31:01 +0000 (15:31 +0900)]
Release Version 0.4.0

Changes:
- Remove Profile Build Dependency: Do it at runtime

Change-Id: If6988a96083060192f4d8753d975811f92824355
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoRemove unused versioning macro 90/110990/1
jongmyeongko [Thu, 19 Jan 2017 06:29:15 +0000 (15:29 +0900)]
Remove unused versioning macro

Change-Id: I43386a2b4c6f1506ee5327c2367f9d04318fda5b
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoRemove Profile Build Dependency: Do it at runtime
MyungJoo Ham [Wed, 16 Nov 2016 08:36:07 +0000 (17:36 +0900)]
Remove Profile Build Dependency: Do it at runtime

- This is for Tizen 4.0.

  : Tizen 4.0 Configurability and Build Blocks require
  to remove all profile-depending build options in spec files.
  (No More profile macros!)

- It is recommended to distinguish features/profiles at runtime.
 unless it incurs too much overhead, which requires you to
 create multiple binaries and subpackages.

(csr is included in Tizen:TV; thus we can keep BuildRequires on csr for TV
while not using csr in TV at runtime)

patchset5: updated coding style

Change-Id: Ibc2e335a4f88918c37d703f8e9379a07d94a7fdc
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoChange to add quote using g_shell_quote in some parameter 03/110003/3 accepted/tizen/3.0/common/20170116.122518 accepted/tizen/3.0/ivi/20170114.000319 accepted/tizen/3.0/mobile/20170114.000206 accepted/tizen/3.0/tv/20170114.000248 accepted/tizen/3.0/wearable/20170114.000303 submit/tizen_3.0/20170113.111925
Junghyun Yeon [Thu, 12 Jan 2017 11:00:59 +0000 (20:00 +0900)]
Change to add quote using g_shell_quote in some parameter

- Inserting double quote will not cover if filepath contains double quote
- using g_shell_quote handles this correctly

Change-Id: Ib519c4c40536b3bcc78e2287e72542b822715c84
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoAdd double quote at argument to parsing properly 67/109967/1 accepted/tizen/3.0/common/20170113.182215 accepted/tizen/3.0/ivi/20170113.080804 accepted/tizen/3.0/mobile/20170113.080719 accepted/tizen/3.0/tv/20170113.080734 accepted/tizen/3.0/wearable/20170113.080750 submit/tizen_3.0/20170112.094949
Sangyoon Jang [Thu, 12 Jan 2017 09:42:42 +0000 (18:42 +0900)]
Add double quote at argument to parsing properly

Change-Id: I93d346baec22916600c3586fe05a3b434e28c7ee
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoSupport legacy image for backward-compatibility 46/108346/10 accepted/tizen/3.0/common/20170109.195932 accepted/tizen/3.0/ivi/20170109.073434 accepted/tizen/3.0/tv/20170110.055309 accepted/tizen/3.0/wearable/20170109.073236 accepted/tizen/common/20170112.174519 accepted/tizen/ivi/20170112.222544 accepted/tizen/mobile/20170112.222435 accepted/tizen/tv/20170112.222501 accepted/tizen/wearable/20170112.222523 submit/tizen/20170112.013301 submit/tizen_3.0/20170106.072144 submit/tizen_3.0/20170106.102334
jongmyeongko [Wed, 4 Jan 2017 06:25:14 +0000 (15:25 +0900)]
Support legacy image for backward-compatibility

Refer to:
https://review.tizen.org/gerrit/#/c/104823/

Change-Id: I79f4ae9e75e728f20e3d079b3d63f1ba1a8f3c6a
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoAppend null byte when readlink on backend path 81/108581/2
Sangyoon Jang [Thu, 5 Jan 2017 06:34:24 +0000 (15:34 +0900)]
Append null byte when readlink on backend path

readlink() does not append a null byte to buf.

Change-Id: I28034db705afd0ad1b1a5275f7896a6f9f0c3399
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix possible memory leak 05/107905/2 accepted/tizen/3.0/common/20170109.083951 accepted/tizen/3.0/ivi/20170106.095020 accepted/tizen/3.0/mobile/20170106.094837 accepted/tizen/3.0/tv/20170106.094921 accepted/tizen/3.0/wearable/20170106.094949 accepted/tizen/common/20170110.085240 accepted/tizen/ivi/20170106.103658 accepted/tizen/mobile/20170106.103459 accepted/tizen/tv/20170106.103543 accepted/tizen/wearable/20170106.103621 submit/tizen/20170105.051706 submit/tizen_3.0/20170105.051635
Junghyun Yeon [Mon, 2 Jan 2017 00:08:52 +0000 (09:08 +0900)]
Fix possible memory leak

Change-Id: I63fddbec9b75149b1b65ab9f8ad6993e52bde472
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoChange signal type when disabling app for certain user 64/107264/3
Junghyun Yeon [Tue, 27 Dec 2016 08:53:08 +0000 (17:53 +0900)]
Change signal type when disabling app for certain user

- Server will send disable_app/enable_app when disable/enable
global app for certain uid

Related changes:
[pkgmgr-info] : https://review.tizen.org/gerrit/107069
[pkgmgr-tool] : https://review.tizen.org/gerrit/107098
[slp-pkgmgr] : https://review.tizen.org/gerrit/107263

Change-Id: I9b00ebb7f943740287b123c398b67b573be8c7f7
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoAdjust to change of pkg_cleardata interface 49/108349/2
Sangyoon Jang [Wed, 4 Jan 2017 06:27:20 +0000 (15:27 +0900)]
Adjust to change of pkg_cleardata interface

Submit together:
 - https://review.tizen.org/gerrit/108352

Change-Id: Id20f7c3362a7d12c7f2f565b9533879a8f659174
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix queue_job 37/108137/2
Sangyoon Jang [Tue, 3 Jan 2017 06:24:29 +0000 (15:24 +0900)]
Fix queue_job

When multiple job queued and some job failed, the server cannot process
next job because queue_job() never invoked.

Return TRUE to continue invoking queue_job() until no job available.

Change-Id: I207ced8359ea177233c6d637b94ac6277a0a175c
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoMerge "Pass adjusted file path to backend" into tizen_3.0 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 accepted/tizen/3.0.m2/mobile/20170104.121607 accepted/tizen/3.0.m2/tv/20170104.122342 accepted/tizen/3.0.m2/wearable/20170104.122723 accepted/tizen/3.0/common/20161228.071550 accepted/tizen/3.0/ivi/20161226.030309 accepted/tizen/3.0/mobile/20161226.030144 accepted/tizen/3.0/tv/20161226.030215 accepted/tizen/3.0/wearable/20161226.030241 submit/tizen_3.0.m2/20170104.093749 submit/tizen_3.0/20161223.043050
Sangyoon Jang [Fri, 23 Dec 2016 05:17:05 +0000 (21:17 -0800)]
Merge "Pass adjusted file path to backend" into tizen_3.0

7 years agoPass adjusted file path to backend 73/106773/3
Sangyoon Jang [Fri, 23 Dec 2016 02:53:22 +0000 (11:53 +0900)]
Pass adjusted file path to backend

Submit with:
 - https://review.tizen.org/gerrit/106774

Change-Id: Iff9755081a5d8031395c031bc684d07d7a288cbc
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoChange bin file to be executed 86/106486/2
Junghyun Yeon [Thu, 22 Dec 2016 01:26:10 +0000 (10:26 +0900)]
Change bin file to be executed

- pkg_clearcache is replced by pkg_cleardata so change code to use it
- new pkg_cleardata will handle clear data of pkg

Related changes:
[pkgmgr-tool] : https://review.tizen.org/gerrit/106485
[app-installers] : https://review.tizen.org/gerrit/105691
[tpk-backend] : https://review.tizen.org/gerrit/106603
[wgt-backend] : https://review.tizen.org/gerrit/106601

Change-Id: Ifa296ecdaf00596261c7e676bbebe6a5b344a386
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoMerge "Enable disable/enable function of global apps" into tizen_3.0 accepted/tizen/3.0/common/20161227.101249 accepted/tizen/3.0/ivi/20161222.024831 accepted/tizen/3.0/mobile/20161222.024714 accepted/tizen/3.0/tv/20161222.024739 accepted/tizen/3.0/wearable/20161222.024806 submit/tizen_3.0/20161221.130430
jongmyeong ko [Wed, 21 Dec 2016 12:12:07 +0000 (04:12 -0800)]
Merge "Enable disable/enable function of global apps" into tizen_3.0

7 years agorefactor getsize sync function 25/105825/9
jongmyeongko [Mon, 19 Dec 2016 14:10:32 +0000 (23:10 +0900)]
refactor getsize sync function

Submit with:
https://review.tizen.org/gerrit/#/c/105817/
https://review.tizen.org/gerrit/#/c/105823/
https://review.tizen.org/gerrit/#/c/105825/

Change-Id: I2b5a17199324a1f0ee6a2bac0f5adf8d077283f8
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoEnable disable/enable function of global apps 57/106257/1
Junghyun Yeon [Wed, 21 Dec 2016 06:37:25 +0000 (15:37 +0900)]
Enable disable/enable function of global apps

- For now, disable/enabling of global apps are prohibited.
  Remove some codes to enable it

Change-Id: I2dd4c7873ce3432e0c3e10c5df18a1cab96a1d6e
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoexecute backend with different argument based on pkg's basic status 37/105037/7
Junghyun Yeon [Thu, 15 Dec 2016 07:02:13 +0000 (16:02 +0900)]
execute backend with different argument based on pkg's basic status

- Change argument on pkg's status, RO/RW or Global/User pkg

Change-Id: Ib15cbf9e8736598883ab2760bda980f10d4b8669
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoFix bug while handling change app label request 90/105890/1
Junghyun Yeon [Tue, 20 Dec 2016 02:42:53 +0000 (11:42 +0900)]
Fix bug while handling change app label request

Change-Id: Ia45ada0e6ed5a23ec7c45691b3ee864b715785dd
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoReturn no such pkg error when failed to get pkgtype 11/104011/2 accepted/tizen/3.0/common/20161213.163816 accepted/tizen/3.0/ivi/20161213.064817 accepted/tizen/3.0/mobile/20161213.064704 accepted/tizen/3.0/tv/20161213.064735 accepted/tizen/3.0/wearable/20161213.064753 submit/tizen_3.0/20161212.103225
Junghyun Yeon [Mon, 12 Dec 2016 05:52:40 +0000 (14:52 +0900)]
Return no such pkg error when failed to get pkgtype

Change-Id: I33265d0a30cd4162551d1cff3489797ce933fe05
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoconsideration about legacy media path. 61/103561/2 accepted/tizen/3.0/common/20161212.060358 accepted/tizen/3.0/ivi/20161212.022756 accepted/tizen/3.0/mobile/20161212.022542 accepted/tizen/3.0/tv/20161212.022653 accepted/tizen/3.0/wearable/20161212.022725 submit/tizen_3.0/20161209.072525
jongmyeongko [Thu, 8 Dec 2016 16:38:16 +0000 (01:38 +0900)]
consideration about legacy media path.

if caller uid is regular user, then check and convert legacy path.

Change-Id: I22d4ead49a6b599b08a2cdea6f6b590fe6319b97
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoFix getting pkgtype from request 13/103413/1
Sangyoon Jang [Thu, 8 Dec 2016 08:26:01 +0000 (17:26 +0900)]
Fix getting pkgtype from request

Change-Id: I9d85af7f9da1f5c7615ee1d3c403054dc673e8d6
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix unintended switch-case operation 19/103019/1 accepted/tizen/3.0/common/20161208.153459 accepted/tizen/3.0/ivi/20161208.062750 accepted/tizen/3.0/mobile/20161208.062526 accepted/tizen/3.0/tv/20161208.062607 accepted/tizen/3.0/wearable/20161208.062701 submit/tizen_3.0/20161207.072901
Junghyun Yeon [Wed, 7 Dec 2016 04:56:55 +0000 (13:56 +0900)]
Fix unintended switch-case operation

Change-Id: I463eeb18ea67e589b609d4d09e68dee81964aed6
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoif it's failed to get the pkgtype from the file, use the pkgtype argument. 58/101958/1 accepted/tizen/3.0/common/20161206.125837 accepted/tizen/3.0/ivi/20161206.000425 accepted/tizen/3.0/mobile/20161206.000312 accepted/tizen/3.0/tv/20161206.000343 accepted/tizen/3.0/wearable/20161206.000403 submit/tizen_3.0/20161205.120256
jongmyeongko [Fri, 2 Dec 2016 13:02:40 +0000 (22:02 +0900)]
if it's failed to get the pkgtype from the file, use the pkgtype argument.

Change-Id: I8deaf21a552e94007e5a1c7b9341dcb69ccfe0d5
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoFix build break 97/101197/1 accepted/tizen/3.0/common/20161203.012202 accepted/tizen/3.0/ivi/20161201.075343 accepted/tizen/3.0/mobile/20161201.075144 accepted/tizen/3.0/tv/20161201.075228 accepted/tizen/3.0/wearable/20161201.075308 submit/tizen_3.0/20161130.132739 submit/tizen_3.0/20161201.024001 submit/tizen_3.0/20161201.024602
Hwankyu Jhun [Wed, 30 Nov 2016 11:21:25 +0000 (20:21 +0900)]
Fix build break

Change-Id: Ifb16e6f37fd5192bca08a5fb2c84d505b91a025b
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoMerge "Add request type and codes for set app label" into tizen_3.0
jongmyeong ko [Wed, 30 Nov 2016 07:40:46 +0000 (23:40 -0800)]
Merge "Add request type and codes for set app label" into tizen_3.0

7 years agoAdd request type and codes for set app label 80/100580/3
Junghyun Yeon [Mon, 28 Nov 2016 12:02:27 +0000 (21:02 +0900)]
Add request type and codes for set app label

Related changes:
[slp-pkgmgr] : https://review.tizen.org/gerrit/100579

Change-Id: Ib2b395db143d6230817884c922e09c37f7289b38
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoUsing different pkgmgr-info API while getting pkgtype 47/100647/3
Junghyun Yeon [Tue, 29 Nov 2016 01:37:00 +0000 (10:37 +0900)]
Using different pkgmgr-info API while getting pkgtype

- Change API which is used while retrieving pkginfo
to retrieve disabled and external-installed pkg properly
(externally installed pkg but external storage has removed)

Change-Id: I374ccc1c7e73734729aafcdf68a7c38a3d06ffb4
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoConsider caller uid when handling request 43/100543/2 accepted/tizen/3.0/common/20161129.102953 accepted/tizen/3.0/ivi/20161129.002023 accepted/tizen/3.0/mobile/20161129.001919 accepted/tizen/3.0/tv/20161129.001948 accepted/tizen/3.0/wearable/20161129.002000 submit/tizen_3.0/20161128.050643
Sangyoon Jang [Mon, 28 Nov 2016 10:42:24 +0000 (19:42 +0900)]
Consider caller uid when handling request

Request for getsize now need caller uid to sending result signal,
so pkgmgr-server should pass caller uid to getsize process.

Submit with:
 - https://review.tizen.org/gerrit/100542
 - https://review.tizen.org/gerrit/100544

Change-Id: I3ec28b650d705257007ce250c91137116063aa01
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoGet pkgtype from given pkgid or pkgfile 23/99923/5 accepted/tizen/3.0/common/20161125.101754 accepted/tizen/3.0/ivi/20161125.081932 accepted/tizen/3.0/mobile/20161125.081536 accepted/tizen/3.0/tv/20161125.081743 accepted/tizen/3.0/wearable/20161125.081854 submit/tizen_3.0/20161124.130849
Sangyoon Jang [Thu, 24 Nov 2016 11:54:36 +0000 (20:54 +0900)]
Get pkgtype from given pkgid or pkgfile

Submit with:
 - https://review.tizen.org/gerrit/99922
 - https://review.tizen.org/gerrit/99944

Change-Id: I1392aa95b3ec8316255fbcd3d9f285463d3b8c99
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix build dependency 80/99880/2
Sangyoon Jang [Thu, 24 Nov 2016 10:26:16 +0000 (19:26 +0900)]
Fix build dependency

Remove unused dependency.
Add some missing dependency obviously.

Change-Id: I1461d25385616593f54e7c4f13d254c28e7fd96f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoapply retry logic to get an user type using gum api. 41/97241/1 accepted/tizen/3.0/common/20161114.143016 accepted/tizen/3.0/ivi/20161114.002606 accepted/tizen/3.0/mobile/20161114.002448 accepted/tizen/3.0/tv/20161114.002513 accepted/tizen/3.0/wearable/20161114.002538 accepted/tizen/common/20161125.095130 accepted/tizen/ivi/20161125.004138 accepted/tizen/mobile/20161125.003553 accepted/tizen/tv/20161125.003904 accepted/tizen/wearable/20161125.004023 submit/tizen/20161124.000829 submit/tizen_3.0/20161111.080112 submit/tizen_3.0_common/20161114.081136
jongmyeongko [Fri, 11 Nov 2016 12:51:46 +0000 (21:51 +0900)]
apply retry logic to get an user type using gum api.

Change-Id: I3c72109483737e0ba8281cadde48b24e9f7d2928
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoFix memory leak 90/96990/1 accepted/tizen/common/20161114.170754 accepted/tizen/ivi/20161114.003927 accepted/tizen/mobile/20161114.003756 accepted/tizen/tv/20161114.003825 accepted/tizen/wearable/20161114.003857 submit/tizen/20161111.010949 submit/tizen/20161111.080541 submit/tizen_3.0/20161111.001102
Hwankyu Jhun [Thu, 10 Nov 2016 22:51:45 +0000 (07:51 +0900)]
Fix memory leak

Change-Id: Ie588a5a60ad426e070b62367f36078ee82a0a454
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agoFix a bug in queue_job 71/96271/1 accepted/tizen/3.0/common/20161114.081116 accepted/tizen/3.0/ivi/20161110.015557 accepted/tizen/3.0/mobile/20161110.015337 accepted/tizen/3.0/tv/20161110.015435 accepted/tizen/3.0/wearable/20161110.015527 submit/tizen_3.0/20161107.133644 submit/tizen_3.0_common/20161110.084657
Sangyoon Jang [Tue, 8 Nov 2016 10:07:50 +0000 (19:07 +0900)]
Fix a bug in queue_job

Change-Id: I101dd3b6dcafda27ed401fdb6c2dd34af6d7b585
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix enable/disable pkgs handler 10/96210/1
Sangyoon Jang [Tue, 8 Nov 2016 07:12:10 +0000 (16:12 +0900)]
Fix enable/disable pkgs handler

Use one request key for each request.

Change-Id: I3ab60a450101761400d0913d71b5ab094f049b36
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoCode refactoring 81/94381/7
Sangyoon Jang [Fri, 28 Oct 2016 12:43:20 +0000 (21:43 +0900)]
Code refactoring

- Rewrite queue management code.
   Data Struture.
    * struct backend_queue:
     store each backend's informations(backend path, slot num, job list)
    * struct backend_job:
     store each job(request)'s infomations(req type, uid, pkgid, ...)
   The pkgmgr-server has two hash tables which map each backend, each table
   use type(tpk, wgt) and slot number as key.
   And there is another table which stores informations about the job
   currently processed.

   The pkgmgr-server will push job to each queue, pop it at idler, and
   insert the job into the backend info table(using slot num as key).
   When the backend finished the job, the server will get the job info
   and free it(by removing from the table).
   All the memories for the request data will be allocated dynamically,
   and nerver duplicated.

- Remove unused code.
- Rename enums/internal apis.
- Fix some code style.

Change-Id: Ie95b369608dc6675aeccc6a66b255b28ca200059
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix to disable/enable multiple packages 40/95640/1
Sangyoon Jang [Fri, 4 Nov 2016 06:00:44 +0000 (15:00 +0900)]
Fix to disable/enable multiple packages

Submit together:
 - https://review.tizen.org/gerrit/95565

Change-Id: Ib44668d5025b74414aa58ec9a9650a43540c03a2
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix queue msg args buffer size issue 39/95639/1
Sangyoon Jang [Thu, 27 Oct 2016 06:30:10 +0000 (15:30 +0900)]
Fix queue msg args buffer size issue

Alloc memory for args dynamically.

Change-Id: I7ed8d06477836287a1d994088959c43324c13d80
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix CMakeLists for compatibility 36/92936/2
Junghyun Yeon [Wed, 19 Oct 2016 11:42:00 +0000 (20:42 +0900)]
Fix CMakeLists for compatibility

- Fix CMakeLists to include additional source files automatically

Change-Id: I6990759ae72674e26dea5d3627d28d62740baca8
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoFix possible memory leak 14/92414/2 accepted/tizen/3.0/ivi/20161028.122954 accepted/tizen/3.0/mobile/20161028.122234 accepted/tizen/3.0/tv/20161028.122531 accepted/tizen/3.0/wearable/20161028.122749 accepted/tizen/common/20161017.170243 accepted/tizen/ivi/20161017.081555 accepted/tizen/mobile/20161017.081455 accepted/tizen/tv/20161017.081511 accepted/tizen/wearable/20161017.081531 submit/tizen/20161017.041518 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.082323 submit/tizen_3.0_common/20161104.104000
Junghyun Yeon [Mon, 17 Oct 2016 02:35:23 +0000 (11:35 +0900)]
Fix possible memory leak

Change-Id: I1acc9ca9657532ec56a99f5bf63da642aff14562
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoReturn kill/check result directly instead of writing on tmp file 95/91895/2 accepted/tizen/common/20161012.154713 accepted/tizen/ivi/20161014.022203 accepted/tizen/mobile/20161014.022230 accepted/tizen/tv/20161014.022144 accepted/tizen/wearable/20161014.022129 submit/tizen/20161012.064511
Sangyoon Jang [Wed, 12 Oct 2016 06:25:08 +0000 (15:25 +0900)]
Return kill/check result directly instead of writing on tmp file

Submit together:
 - https://review.tizen.org/gerrit/91895
 - https://review.tizen.org/gerrit/91896

Change-Id: I6d32d1f8fe93a8cbfb13429f34560024ac074549
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix returning error to client 93/91893/1
Sangyoon Jang [Wed, 12 Oct 2016 06:22:55 +0000 (15:22 +0900)]
Fix returning error to client

Return ENOMEM when memory allocation failed.

Change-Id: I4b4c0b8777c9f8a18fc1c1955e923d7ee3f290c1
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoKill app using aul api instead of proc filesystem 77/91877/4
Sangyoon Jang [Wed, 12 Oct 2016 04:52:00 +0000 (13:52 +0900)]
Kill app using aul api instead of proc filesystem

Change-Id: Ic48077821e5c81b378510deba30ecf0741b5e310
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agofix wrong behavior of pkg_getsize 55/91655/1 accepted/tizen/common/20161011.061126 accepted/tizen/ivi/20161011.234023 accepted/tizen/mobile/20161011.234005 accepted/tizen/tv/20161011.234014 accepted/tizen/wearable/20161011.233941 submit/tizen/20161011.002253
jongmyeongko [Mon, 10 Oct 2016 14:35:34 +0000 (23:35 +0900)]
fix wrong behavior of pkg_getsize

- set uid/gid for pkg_getsize

Change-Id: I57c33ae74d33148350520776d34db24bcc5ba6c9
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoSet busy status flag on pkg enable/disable 46/89746/2 accepted/tizen/3.0/ivi/20161011.062209 accepted/tizen/3.0/mobile/20161015.034057 accepted/tizen/3.0/tv/20161016.005606 accepted/tizen/3.0/wearable/20161015.083937 accepted/tizen/common/20161005.165552 accepted/tizen/ivi/20161006.075652 accepted/tizen/mobile/20161006.075603 accepted/tizen/tv/20161006.075626 accepted/tizen/wearable/20161006.075636 submit/tizen/20161005.072822 submit/tizen_3.0_ivi/20161010.000006 submit/tizen_3.0_mobile/20161015.000006 submit/tizen_3.0_tv/20161015.000005 submit/tizen_3.0_wearable/20161015.000005
Junghyun Yeon [Mon, 26 Sep 2016 23:23:31 +0000 (08:23 +0900)]
Set busy status flag on pkg enable/disable

Change-Id: Ia27ff96bd2deec12162243a339d286fc9fa93335
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agosuppess build warning on the profile which doesn't support CSR feature. 66/89766/1 accepted/tizen/common/20160928.163804 accepted/tizen/ivi/20160929.080903 accepted/tizen/mobile/20160929.080813 accepted/tizen/tv/20160929.080847 accepted/tizen/wearable/20160929.080834 submit/tizen/20160928.040222
jongmyeongko [Tue, 27 Sep 2016 02:27:43 +0000 (11:27 +0900)]
suppess build warning on the profile which doesn't support CSR feature.

Change-Id: I2a22e1002e417abdb7b03c43e794e830b14bbbbf
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agoGet actucal pkgid first and then send signal 46/88046/1 accepted/tizen/common/20160919.154544 accepted/tizen/ivi/20160919.232046 accepted/tizen/mobile/20160919.231953 accepted/tizen/tv/20160919.232017 accepted/tizen/wearable/20160919.232031 submit/tizen/20160919.055034
Sangyoon Jang [Tue, 13 Sep 2016 01:37:47 +0000 (10:37 +0900)]
Get actucal pkgid first and then send signal

For sending pkgid, appid pair correctly, get pkgid from appid first.

Change-Id: I72f682b2e519ebd96d5d812d3fb05256a2eb0277
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoFix sending app signal 44/88044/1
Sangyoon Jang [Tue, 13 Sep 2016 01:18:54 +0000 (10:18 +0900)]
Fix sending app signal

Send to signal agent too.

Change-Id: Ifa2229c35ef5c9ce92938885892f2b78e3f65c52
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agofix cmakelist 29/87329/1 accepted/tizen/common/20160907.154838 accepted/tizen/ivi/20160909.062112 accepted/tizen/mobile/20160909.062028 accepted/tizen/tv/20160909.062044 accepted/tizen/wearable/20160909.062059 submit/tizen/20160907.105742 submit/tizen/20160909.003612
Junghyun Yeon [Wed, 7 Sep 2016 10:40:15 +0000 (19:40 +0900)]
fix cmakelist

Change-Id: Iedb7a27594e8b2bf2e354f1dce32acbbfd20b701
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoremove csr routines in tv profile 18/87318/2
Junghyun Yeon [Wed, 7 Sep 2016 10:18:07 +0000 (19:18 +0900)]
remove csr routines in tv profile

Change-Id: I0487e36776f510deb317cd80ee59d6c55fa4d764
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoFix CSR routine to not to fail installation when engine is not exists 48/85948/1 accepted/tizen/common/20160830.150200 accepted/tizen/ivi/20160830.061221 accepted/tizen/mobile/20160830.060947 accepted/tizen/tv/20160830.061051 accepted/tizen/wearable/20160830.061135 submit/tizen/20160830.010724
Junghyun Yeon [Tue, 30 Aug 2016 00:58:19 +0000 (09:58 +0900)]
Fix CSR routine to not to fail installation when engine is not exists

Change-Id: I485108d8d62c5f1029bf646f6e73dda263f00a78
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoImplement CSR checking routine 71/84971/1 accepted/tizen/common/20160829.135949 submit/tizen/20160829.010716
Junghyun Yeon [Tue, 23 Aug 2016 05:36:56 +0000 (14:36 +0900)]
Implement CSR checking routine

Change-Id: Ida96780aef166ab47f3c9cd7f6f4212896923d8d
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoSet list of supplementary groups IDs 74/84274/2 accepted/tizen/common/20160818.144545 accepted/tizen/ivi/20160819.063359 accepted/tizen/mobile/20160819.063301 accepted/tizen/tv/20160819.063346 accepted/tizen/wearable/20160819.063325 submit/tizen/20160818.060816
Hwankyu Jhun [Wed, 17 Aug 2016 23:01:17 +0000 (08:01 +0900)]
Set list of supplementary groups IDs

Change-Id: I3072df4d4e41a12ca8fedcc4b59d3c378ef3c39f
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
7 years agotpk/wgt backend will run as system session 05/78205/9 accepted/tizen/common/20160812.140746 accepted/tizen/ivi/20160815.233253 accepted/tizen/mobile/20160815.233136 accepted/tizen/tv/20160815.233211 accepted/tizen/wearable/20160815.233233 submit/tizen/20160811.013634 submit/tizen/20160811.062803 submit/tizen/20160812.053402
Junghyun Yeon [Mon, 4 Jul 2016 12:33:52 +0000 (21:33 +0900)]
tpk/wgt backend will run as system session

Related changes
[slp-pkgmgr] https://review.tizen.org/gerrit/#/c/80764/
[app-installers] https://review.tizen.org/gerrit/#/c/78206/
[tpk-backend] https://review.tizen.org/gerrit/#/c/80787/
[wgt-backend] https://review.tizen.org/gerrit/#/c/81099/

Change-Id: Ifcbe6b0ceeb038d166ca924a576197299bcad8d9
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoFix coding rule 19/79619/5 accepted/tizen/common/20160803.193159 accepted/tizen/ivi/20160804.080752 accepted/tizen/mobile/20160804.080843 accepted/tizen/tv/20160804.080710 accepted/tizen/wearable/20160804.080529 submit/tizen/20160803.012753
Junghyun Yeon [Tue, 12 Jul 2016 05:13:49 +0000 (14:13 +0900)]
Fix coding rule

Change-Id: Ic18982d2254c09c628ae9e20059908c737063976
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoSet the SMACK security label to run given executable file in systemd services 50/80850/1 accepted/tizen/common/20160721.175543 accepted/tizen/ivi/20160721.090710 accepted/tizen/mobile/20160721.090340 accepted/tizen/tv/20160721.091228 accepted/tizen/wearable/20160721.090850 submit/tizen/20160721.003054
jooseong lee [Wed, 20 Jul 2016 11:25:04 +0000 (20:25 +0900)]
Set the SMACK security label to run given executable file in systemd services

Change-Id: Idc1e8645d1c96f5eb82651d7857ec74fe2e07d30
Signed-off-by: jooseong lee <jooseong.lee@samsung.com>
7 years agoImplement pkg enable/disable 18/78918/6 accepted/tizen/common/20160719.171906 accepted/tizen/ivi/20160718.104421 accepted/tizen/mobile/20160718.104306 accepted/tizen/tv/20160718.104230 accepted/tizen/wearable/20160718.104324 submit/tizen/20160718.020809
Junghyun Yeon [Thu, 7 Jul 2016 10:14:14 +0000 (19:14 +0900)]
Implement pkg enable/disable

Related changes
[pkgmgr-tool] https://review.tizen.org/gerrit/78916
[slp-pkgmgr] https://review.tizen.org/gerrit/78917
[app-installers] https://review.tizen.org/gerrit/78919
[tpk-backend] https://review.tizen.org/gerrit/#/c/79070/

Change-Id: I2ebab9538ada5468b0a9859ae171dfdf740fda2c
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
7 years agoAdd missing methods to conf file 70/79870/1
Sangyoon Jang [Wed, 13 Jul 2016 09:00:37 +0000 (18:00 +0900)]
Add missing methods to conf file

Change-Id: Ic10783609bed76c0e615e5faba098b30271e5723
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>