summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
jongmyeongko [Thu, 23 Jun 2016 07:57:46 +0000 (16:57 +0900)]
grant media storeage group
Change-Id: I8f021a7babf1bb4b0a1e5781b1a044bd8d505a55
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Sangyoon Jang [Fri, 10 Jun 2016 05:13:10 +0000 (14:13 +0900)]
Fix send_fail_signal
Change-Id: If5905f46cfc249135c34a40c29165e3e17c5f5f9
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
jongmyeong ko [Thu, 16 Jun 2016 13:33:56 +0000 (06:33 -0700)]
Merge "Initialize stat" into tizen
jongmyeongko [Thu, 16 Jun 2016 12:30:59 +0000 (21:30 +0900)]
fix labeling issue of new added dir(/var/lib/package-manager)
Change-Id: Ib497e933fa332a675737f980c7f58bb78366e1d3
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Thu, 16 Jun 2016 11:47:11 +0000 (20:47 +0900)]
add PIE compliler & linker option.
Change-Id: I3330aadf6eba39c3aa76f26208a05edf38c61adf
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Junghyun Yeon [Thu, 16 Jun 2016 07:26:02 +0000 (16:26 +0900)]
Initialize stat
Change-Id: Ia771840d933b0ee48d147c8f91d6753baa89973f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Wed, 15 Jun 2016 04:24:16 +0000 (13:24 +0900)]
Fix restriction mode
- Entire restriction mode -> store at run directory(volatile)
- Package restriction mode -> store at package-manager db(non-volatile)
Change-Id: Ibb764a1ecfcd843cdf039bc3f85efcfc3f920fd2
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
jongmyeongko [Fri, 10 Jun 2016 07:01:13 +0000 (16:01 +0900)]
set label to prevent execution by non-system application.
Change-Id: Ibb12282ca5d48435f70a332e40f650faa911832c
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Junghyun Yeon [Mon, 13 Jun 2016 02:23:34 +0000 (11:23 +0900)]
fix memory leak
Change-Id: I6da3fbe7a0ec0965393f0d6c3fb0d6169e5ede43
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Mon, 13 Jun 2016 01:49:12 +0000 (10:49 +0900)]
Fix double free
Change-Id: I0e80906fe6289bebd0e44b5395b291a49da1dd2b
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Thu, 9 Jun 2016 10:16:44 +0000 (19:16 +0900)]
Remove smack related capabilities
Remove capabilities using systemd service.
Change-Id: Ie8fc2a588744c62433455039f89eaf4a8c656bab
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Fri, 10 Jun 2016 07:01:50 +0000 (16:01 +0900)]
Remove a meaningless error log
Change-Id: Iabe8d37b23a36b360ee261978b8cfcb80cc635c8
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
jongmyeong ko [Fri, 10 Jun 2016 03:50:19 +0000 (20:50 -0700)]
Merge "Change move function to return req_key for signal" into tizen
Sangyoon Jang [Thu, 9 Jun 2016 10:26:13 +0000 (19:26 +0900)]
Remove unnecessary build dependency
libsmack is not used.
Change-Id: I664e9c7798f438868818d1a7f364e023f5c662da
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Junghyun Yeon [Thu, 9 Jun 2016 02:23:31 +0000 (11:23 +0900)]
Change move function to return req_key for signal
changed should be applied with slp-pkgmgr
https://review.tizen.org/gerrit/#/c/73621/
Change-Id: I2972c3aef5168773aa3bf329566dbe313f717a6f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
jongmyeongko [Tue, 31 May 2016 02:13:04 +0000 (11:13 +0900)]
Remove old recovery behavior.
Instead, new operation is necessory.
The app-installer makes recovery file.
But, there is no trigger operation to do \
a recovery using this file, actually.
So, we should implement this trigger operation in somewhere.
Change-Id: If91207538c8447d0c968b9506cc161fba7d2f0b7
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Tue, 31 May 2016 08:11:04 +0000 (17:11 +0900)]
set groups for the access of external storage.
Change-Id: Id15871fc965d241616d06efce1990d67e723e814
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Sangyoon Jang [Tue, 31 May 2016 07:26:32 +0000 (16:26 +0900)]
Make pkg_type to lower case when queuing
Change-Id: Ia063dd2d1f8d68352ca11f0db1518476b185536f
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
jongmyeongko [Fri, 27 May 2016 10:43:53 +0000 (19:43 +0900)]
fix clear data behavior
Change-Id: I272de791ac3973e3ca9530f0dba1855aeda75474
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Sangyoon Jang [Thu, 19 May 2016 10:08:24 +0000 (19:08 +0900)]
Fix checking caller permission
Skip checking when caller is system user.
Change-Id: I93bc80dd744805b9ccb4ab860426f38fd592dfd7
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Fri, 13 May 2016 09:41:52 +0000 (18:41 +0900)]
Redesign restriction mode
- Remove blacklist feature(merged to restriction mode)
- Use gdbm to store mode
- set/unset/get by pkgid
Change-Id: I3da360eb5b20471c5249f8445b96560c7fead598
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Fri, 22 Apr 2016 06:06:47 +0000 (15:06 +0900)]
Implement restriction mode
For setting restriction mode, pkgmgr-server will make a file at
/run/user/<uid>/
This file contains current restriction mode.
Since this directory is volitile, it will be deleted if the user session closed.
Change-Id: Ic665cbefc40e1010d266d809def549ab36eb51eb
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Arkadiusz Szulakiewicz [Wed, 13 Apr 2016 09:05:06 +0000 (11:05 +0200)]
Add support for mount install
Change-Id: I084d0359ece0d0bcaad80ccba1fa022da897f967
Sangyoon Jang [Mon, 2 May 2016 06:47:34 +0000 (15:47 +0900)]
Add checking user type
non-admin user cannot request operation to other users.
Change-Id: If36ac04c6e7547ca9ecc4b65ab715e81ce96d6ae
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Hwankyu Jhun [Tue, 19 Apr 2016 08:32:19 +0000 (17:32 +0900)]
Implement app signal related with app splash screen display
- Requires:
[pkgmgr-info] https://review.tizen.org/gerrit/#/c/65897/
[slp-pkgmgr] https://review.tizen.org/gerrit/#/c/64902/
Change-Id: I1a32909ffda34ce0f50228188826a860dd2cb2c6
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Junghyun Yeon [Wed, 30 Mar 2016 07:13:57 +0000 (16:13 +0900)]
implement pkg move
changes are applied in these repos
[pkgmgr-tool] https://review.tizen.org/gerrit/#/c/64121/
[slp-pkgmgr] https://review.tizen.org/gerrit/#/c/64122/
[pkgmgr-server] https://review.tizen.org/gerrit/#/c/64123/
Change-Id: I34e4d9ea0e3d8aea86681d34391d353916e4708d
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Mon, 18 Apr 2016 08:00:22 +0000 (17:00 +0900)]
Fix build fail issue
Change-Id: I6c8cd8a93108cb0d955ead98f5f7e35722de2ae4
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Junghyun Yeon [Mon, 4 Apr 2016 07:39:57 +0000 (16:39 +0900)]
not to add space at last of argument
Change-Id: I4ccfc956b5b4829f37519c5cbd7816f31afc6132
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Wed, 16 Mar 2016 11:51:23 +0000 (20:51 +0900)]
seperate app enable/disable signal
Change-Id: I6431cc7502d51b30d28355baa84fdb9957e81576
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Mon, 21 Mar 2016 06:20:07 +0000 (15:20 +0900)]
remove unnecessary pkg queue and reassign operations
Change-Id: I05effb13bbafb3dfc925a828d0fa0dbc223e15b3
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Mon, 21 Mar 2016 07:40:18 +0000 (16:40 +0900)]
kill app before server tried to disable it
Change-Id: Idad9ddb91cdcbe9e304b466e5a14a6cf0745284e
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Tue, 15 Mar 2016 08:44:27 +0000 (17:44 +0900)]
change functions for thread-safe
Change-Id: Iebcda54f4a0880a8b0ac6f7ed629a4c26188eb9d
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Mon, 14 Mar 2016 05:54:03 +0000 (14:54 +0900)]
fix to check given app handle is from global db or not
Change-Id: I789427820696a1d5bd87cc1017a5fa206d7d7189
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Sat, 12 Mar 2016 04:42:05 +0000 (13:42 +0900)]
suppress build warnings
Change-Id: I725ef47c4da3fa80f3c9ce618d6cb21b99572260
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Wed, 2 Mar 2016 07:11:11 +0000 (16:11 +0900)]
set uid before sending app signal
to signal being sent to user properly
Change-Id: Ib8122d16591bff810022aff8bad4fcb8bbe3ae02
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Thu, 3 Mar 2016 12:27:21 +0000 (21:27 +0900)]
Fix return value when check blacklist failed
It should return two integer values.
Change-Id: I722a05b024466a2795cf09464947bbc6c6a0dc61
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Thu, 3 Mar 2016 06:57:21 +0000 (15:57 +0900)]
Fix memory leak, insecure code
- Free reqkey when failed.
- Use snprintf instead of sprintf.
Change-Id: Ia50c2dd0bb602d1ccbd773a8275cf072aec9d027
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Fri, 26 Feb 2016 08:24:22 +0000 (17:24 +0900)]
Remove hardcoded path
Use _sysconfdir, fix incorrect comment.
Change-Id: I241c76601efce425a651c59134ffd6e1f886cbf7
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Junghyun Yeon [Wed, 17 Feb 2016 23:39:02 +0000 (08:39 +0900)]
fix change_info to get pkg info properly
Change-Id: I2c2869f2703c664835654da36062c562bbf16b01
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Tomasz Iwanek [Thu, 28 Jan 2016 13:43:40 +0000 (14:43 +0100)]
Generate request key for cleardata request
Fixes the problem that backend is called with missing key.
backend -k -c $pkgid
should be:
backend -k $key -c $pkgid
as pkgmgr_installer option parser requires key.
Change-Id: Ie616e3b928f52c0e5ce2c1f6fa738ebd47af13fb
Junghyun Yeon [Thu, 28 Jan 2016 10:58:20 +0000 (19:58 +0900)]
Implement app signal related with app disable/enable
Changes applied at
[pkgmgr-tool][pkgmgr-info][slp-pkgmgr][pkgmgr-server]
Change-Id: I66521744e30a20da8c67135cef16da92dea2d41c
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Thu, 21 Jan 2016 04:50:02 +0000 (13:50 +0900)]
Add blacklist management feature
Change-Id: I48543f21262825bd70a2508195ff4d6191233341
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Thu, 28 Jan 2016 06:41:55 +0000 (15:41 +0900)]
Fix processing getsize, clearcache
argv[0] should be excutable path.
remove unused parameter of __exec_with_arg_vector.
rename __exec_with_arg_vector to __fork_and_exec_with_args for clarify
functionality.
Change-Id: I8e2230fca1aeb563adf0705c99bd47d4f0362277
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Thu, 28 Jan 2016 08:59:10 +0000 (17:59 +0900)]
Set backend busy, recovery mode when needed only
Change-Id: I1470c40051f47a58f2aa3fdb75d561262b237d88
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Wed, 27 Jan 2016 08:27:22 +0000 (17:27 +0900)]
Fork child process for the backend installer only
use g_spawn_async which calls fork() and execv() internally.
Change-Id: Ibec6f0cd0a29ab2d3719ecb1d2af39905aaaf8d0
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Junghyun Yeon [Wed, 13 Jan 2016 08:20:24 +0000 (17:20 +0900)]
Each user can disable global app separately
Changes applied at [slp-pkgmgr][pkgmgr-info][pkgmgr-server]
Change-Id: Iab92e323553ab6f58ef330ac9f7b1d37b0094293
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Mon, 11 Jan 2016 00:13:26 +0000 (09:13 +0900)]
Fix wrong filepath for kill/check command
Change-Id: Ibb7d696be7f504f0420b384e797b9c5c9b665a32
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Thu, 26 Nov 2015 08:43:24 +0000 (17:43 +0900)]
Add drm related methods
ADDED:
generate_license_request
register_license
decrypt_package
Change-Id: Iaa8be0c19b6bfc6a90fc3b4028ea39e1f98f42b2
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Thu, 26 Nov 2015 07:41:34 +0000 (16:41 +0900)]
Add functionality to support sending reply at specific point
store GDBusMethodInvocation object with 'req_key' in 'req_table'
pkgmgr-server calls '__return_value_to_caller' after job finished
Change-Id: I026fceca63648b5dd7e9d4e8a1182c32869c1dca
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
VBS [Tue, 3 Nov 2015 11:32:33 +0000 (20:32 +0900)]
implement TEP install, update
[app-installer][pkgmgr-info][pkgmgr-server][pkgmgr-tool][slp-pkgmgr]
Signed-off-by: VBS <jungh.yeon@samsung.com>
Change-Id: Ie376dd71bb487229d165e36592f20987a6ed5128
jongmyeongko [Thu, 29 Oct 2015 10:19:22 +0000 (19:19 +0900)]
seperate server from slp-pkgmr to prevent cyclic dependency
Change-Id: I6ab194c243f77fa18fe0e528c88dcfbc91d1b5e4
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
KyungMi Lee [Wed, 28 Oct 2015 05:01:56 +0000 (22:01 -0700)]
Initial empty repository