summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
jongmyeongko [Wed, 13 Jul 2016 08:16:22 +0000 (17:16 +0900)]
apply featuring to app2sd plugin, and clean CMakeLists
Change-Id: Id976ee70872ce94f88b0fb468068100226d78377
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Hwankyu Jhun [Fri, 22 Jul 2016 00:41:14 +0000 (09:41 +0900)]
Add the app2ext_utils.c to the app2sd library
Change-Id: I51bad0a5fa1e94b89bc1602fab4ae1334c71fe27
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
jongmyeongko [Thu, 21 Jul 2016 04:04:55 +0000 (13:04 +0900)]
Set the SMACK security label to run given executable file in systemd services
Change-Id: If582a36ae44c0a2705dc8e28dc35bb907621ba2d
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Fri, 8 Jul 2016 14:09:00 +0000 (23:09 +0900)]
improve app2sd stability
- do not handle as failure in case source dir does not exists.
(some application has no 'lib')
- sync() after pre/post called.
- bugfix kill all running apps when sdcard is removed.
Change-Id: Ied0578a840f4216ff461150532fea22854b4753d
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Tue, 5 Jul 2016 12:57:43 +0000 (21:57 +0900)]
fix pkg move behavior
kill apps and umount image when sdcard is removed
Change-Id: I120edd133e3c349ae1e4dfce512975436e6c48ad
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Mon, 4 Jul 2016 10:27:49 +0000 (19:27 +0900)]
remove CAP_MAC_OVERRIDE from app2sd-server
separate move function to pre_move and pos_move
for labeling the contents under .mmc
Submit with:
https://review.tizen.org/gerrit/#/c/78072/
Change-Id: Iac91cf9fc17f4bb3bb2728bed8e94efa1cdaa9bf
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Thu, 30 Jun 2016 11:17:02 +0000 (20:17 +0900)]
add some error info.
Change-Id: I7e2af8d19bb7cc820afaef7e348d41d53e648f1e
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Wed, 29 Jun 2016 03:37:18 +0000 (12:37 +0900)]
enable dmcrypt feature
Change-Id: I3e35703905f523b727db2c5563bda23b5610ad07
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Tue, 28 Jun 2016 10:53:54 +0000 (19:53 +0900)]
disable dmcrypt feature
Change-Id: I1ab82a19655d94b5397cd1298bd8008d3c7b90f5
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Mon, 27 Jun 2016 10:23:39 +0000 (19:23 +0900)]
check app2sd dir before move to external
Change-Id: Ie717dd05b4fc856905f73253eb6706f83edf3506
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Mon, 23 May 2016 11:40:37 +0000 (20:40 +0900)]
dmcrypt feature
Change-Id: I746e2ca60d4a8a73302f2d123381f6f08c3de32f
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Fri, 24 Jun 2016 02:14:32 +0000 (11:14 +0900)]
fix static analysis defects
Change-Id: I57f42828e938011ecdf916cf755099614b43e6fb
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Wed, 22 Jun 2016 08:49:17 +0000 (17:49 +0900)]
grant User label for app2sd-server
Change-Id: I3d8dc20e2326c464de0f4b002896582c1e690618
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Tue, 21 Jun 2016 08:24:42 +0000 (17:24 +0900)]
change the function name for enabling/disabling all pkgs
Change-Id: I7a1425dfc38235de55f13d9b5f54b99d5d2285a6
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Tue, 14 Jun 2016 10:05:03 +0000 (19:05 +0900)]
add enalbe/disable function for entire packages.
Change-Id: I8434dc46662ba15380d884eca3f0b0c149355c0f
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Mon, 13 Jun 2016 02:41:12 +0000 (11:41 +0900)]
fix buffer underflow and overflow
Change-Id: I667f183f886be7b06bf41fef597fdafca86b3cbe
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Fri, 10 Jun 2016 15:37:03 +0000 (00:37 +0900)]
adjust app2sd-server capability
remove smack labeling.
- installer will set required labels using security api.
sub change : refactor force_clean
Change-Id: I7e75e20fff773ff79752ad5107186417615c9fd1
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Thu, 9 Jun 2016 02:38:55 +0000 (11:38 +0900)]
implement server part for force_clean
force_clean will be called before installation.
Change-Id: Ibc39046817fc6defe8ee3542ed7912ab1a038563
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Fri, 3 Jun 2016 04:14:05 +0000 (13:14 +0900)]
apply encoded_id to move behavior
Change-Id: I64bbed6e5f0196dbe5e583374165ee9a4d829ecb
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Fri, 3 Jun 2016 02:18:08 +0000 (11:18 +0900)]
change chmod to fchmod
plus, delete a not-used function
Change-Id: I591f6429915121f4377107d540510cc660d4c0db
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Wed, 1 Jun 2016 08:52:53 +0000 (17:52 +0900)]
fix missing encoded_id related change & code clearing.
Change-Id: I4f653ec89c0ab5396678e859192e569f4a47d57e
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Tue, 24 May 2016 12:21:52 +0000 (21:21 +0900)]
apply encoded name to the source file of losetup.
losetup stores only 64 byte length for the filename.
Change-Id: Ib23a76e9c03a5d3ccd81fbda2698e1d4e7eefe1e
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Tue, 5 Apr 2016 10:48:56 +0000 (19:48 +0900)]
add server/client functions
test_app2ext usage has been changed.
now, all the test can be tried to.
install example)
pre-condition: prepare /tmp/org.example.basicuiapplication-1.0.0-arm.tpk
1. (tizenglobalapp)$test_app2ext --pre-install
2. (tizenglobalapp)$pkgcmd -it tpk -p {pkg_path}
3. (tizenglobalapp)$test_app2ext --post-install
4. (tizenglobalapp)$test_app2ext --enable (mount external part)
5. (tizenglobalapp)$test_app2ext --disable (unmount external part)
Change-Id: I8d4d3c07f4632228d7cb15c015012c095a365c4d
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Junghyun Yeon [Mon, 18 Apr 2016 10:51:18 +0000 (19:51 +0900)]
Remove libprivilege-control for dependency issue
Change-Id: I3ab769c1ccf27c5a3728da7538fe7904660f7437
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
jongmyeongko [Mon, 21 Mar 2016 11:41:04 +0000 (20:41 +0900)]
rework test bin.
Change-Id: I84224f6683c9ca4743750e83f46735575b2d7c04
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Myungki Lee [Thu, 10 Mar 2016 02:37:21 +0000 (11:37 +0900)]
Remove compile warning
Change-Id: If402ab106d5caeea803be072c08c0f50e7833056
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
jongmyeongko [Tue, 8 Mar 2016 10:50:05 +0000 (19:50 +0900)]
merge tizen 2.4 & add test bin
TODO : smack labeling, consider user private app, test all functions
Change-Id: I36f60296cd02fb631c22906724ec8f374689f529
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Jiwoong Im [Wed, 24 Feb 2016 09:21:12 +0000 (18:21 +0900)]
remove hardcoded path
Change-Id: Ie3d49ebfa5ade30495a168e933765af160b86e01
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
jongmyeongko [Wed, 24 Feb 2016 06:17:26 +0000 (15:17 +0900)]
change API for writing to db
Requires :
https://review.tizen.org/gerrit/#/c/60194/
Change-Id: I54e0c7cc6de01e2b92b456c927b0e983d0738508
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Myungki Lee [Wed, 30 Dec 2015 07:26:15 +0000 (16:26 +0900)]
Fix HANDLE_LEAK
Change-Id: I23b1f04d75c5858e95cbc379471d501c1c0951cc
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
Myungki Lee [Mon, 21 Dec 2015 09:27:59 +0000 (18:27 +0900)]
Fix memory leak
Change-Id: I005028f7575f1c46af158adf3085fbd02fe13430
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
Jiwoong Im [Thu, 2 Jul 2015 02:48:48 +0000 (11:48 +0900)]
remove unused vconf key.
- VCONFKEY_PKGMGR_STATUS
Change-Id: I4f831b0139a2b8721d011b18e1e95b541a7a08e2
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
Marcin Lis [Mon, 7 Apr 2014 15:28:21 +0000 (17:28 +0200)]
Update deprecated libprivilege-control API functions.
Change-Id: I5c78cf7f43ee2cb51622d461f1870a3fa2f09fc5
Signed-off-by: Marcin Lis <m.lis@samsung.com>
Kévin THIERRY [Tue, 18 Mar 2014 07:56:30 +0000 (08:56 +0100)]
Add multi-user support
The DB was considered a system/global DB so this patch doesn't change
that. If the DB is meant to be a per user DB, "TZ_SYS_DB" will need to
be replaced with "TZ_USER_DB".
Also set a valid group tag.
Bug-Tizen: PTREL-327
Change-Id: I2006c70cde18e55aadcc0006dad87776e721c231
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
junsuk77.oh [Wed, 6 Nov 2013 11:21:01 +0000 (20:21 +0900)]
fix mount fail error during update
Change-Id: Ib3d1b1201f716998f1a679192bb3cf54525d76d1
junsuk77.oh [Fri, 1 Nov 2013 00:20:50 +0000 (09:20 +0900)]
delete unused smack, fix app2sd issue
Change-Id: I52738cd7cf1535cb2179ec1593a89c5f59a9c688
junsuk77.oh [Tue, 29 Oct 2013 06:44:37 +0000 (15:44 +0900)]
fix movetosd error : dont have smack label
Change-Id: I3910f2b0723abe6c5a0be9f9915b6ec78053a74b
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
junsuk77.oh [Tue, 29 Oct 2013 04:32:10 +0000 (13:32 +0900)]
add privilege enum type
Change-Id: Ia81285c292a9648fedbd40843ff9edd55092f90c
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
junsuk77.oh [Tue, 15 Oct 2013 07:29:01 +0000 (16:29 +0900)]
add license path
Change-Id: I245be3014f381253cb13747e0db3b1e6161de9cf
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
junsuk77.oh [Thu, 10 Oct 2013 05:34:45 +0000 (14:34 +0900)]
sync with private master
Change-Id: I1ab8bff0a025b50163e7a8764447ad7b06f802fc
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
junsuk77.oh [Tue, 8 Oct 2013 06:25:02 +0000 (15:25 +0900)]
delete license path
Change-Id: Iffa33a16c6a8e00fc1e6ad19e6e0f4b5d162e6a5
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
junsuk77.oh [Mon, 30 Sep 2013 06:06:34 +0000 (15:06 +0900)]
add git license file
Change-Id: I1995eb1478ac327db9ca5ce9dc907b6279eeb345
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
junsuk77.oh [Mon, 12 Aug 2013 01:38:22 +0000 (10:38 +0900)]
Sync to the latest code
Change-Id: Ieb96f2d74dca3befc1667edbafb5326344b47423
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
junsuk77.oh [Tue, 1 Oct 2013 12:30:49 +0000 (21:30 +0900)]
Sync to the latest code
1. remove entry of mmc path during pkg is moving
2. add dirname for debugging in print message
Change-Id: I1050bdc31b25d1b653eeecc68b5b426d67d0c721
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
Anas Nashif [Wed, 25 Sep 2013 03:59:26 +0000 (23:59 -0400)]
improve packaging
- fixed package group
- cleanup spec
- remove debian/
- remove exec flag from source files
Change-Id: I4fe5f02e68a0d3f3e2ea27eca72129f970184879
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
junsuk77.oh [Tue, 16 Jul 2013 08:19:03 +0000 (17:19 +0900)]
add smack label to app2sd
Change-Id: I2617aff6941abc3f10f002bcfd2d8342ad13e725
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
junsuk77.oh [Wed, 3 Jul 2013 02:00:01 +0000 (11:00 +0900)]
remove upperstophy charactor, this makes query to terminate
Change-Id: I54826dfe1f56c82350a3b301a4f5f723de99beb5
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
junsuk77.oh [Wed, 26 Jun 2013 09:34:50 +0000 (18:34 +0900)]
pass uninstallation if there is error on app2sd
Change-Id: I2f517a5b3ec13bc1a8fd796e886db76a869649ce
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
junsuk77.oh [Mon, 10 Jun 2013 04:55:48 +0000 (13:55 +0900)]
Merge branch private-master
Change-Id: I757bc9fc6513c1cec06b0031316177aded282def
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
junsuk77.oh [Wed, 15 May 2013 11:32:58 +0000 (20:32 +0900)]
change a name of move result file
Change-Id: I77956b44e2e96cd6bfb5ba94811e1ae9cff4f0ed
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
junsuk77.oh [Wed, 15 May 2013 08:46:21 +0000 (17:46 +0900)]
write complete result after pkg move
Change-Id: I4006e37e7386d4741bb9ef3665ac7ef1aafec459
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
Anas Nashif [Mon, 16 Sep 2013 05:04:18 +0000 (01:04 -0400)]
update changes
Change-Id: I4f2c073d84c0b2491dc8050c894a3886e32869f1
Anas Nashif [Thu, 12 Sep 2013 12:20:23 +0000 (08:20 -0400)]
package libapp2sd.so only in -devel
Change-Id: Iaf5169ae35624555d19145afc94c75bb6e1ef32c
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
Rusty Lynch [Thu, 11 Jul 2013 18:15:03 +0000 (11:15 -0700)]
Remove left over app2sd.manifest.in
The last manifest fix did not remove the auto generated manifest,
resulting in the old manifest overriding the new manifest
Change-Id: I213fb188e1c3517848b0ef89b4701b242bcc6959
Alexandru Cornea [Fri, 28 Jun 2013 17:33:12 +0000 (20:33 +0300)]
resetting manifest requested domain to floor
junsuk77.oh [Tue, 9 Apr 2013 07:58:59 +0000 (16:58 +0900)]
update installed storage to pkgmgr db when pkg is moved
Change-Id: I752ebecdb2769699f310ab1487cbfd7947722845
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
junsuk77.oh [Wed, 3 Apr 2013 01:28:38 +0000 (10:28 +0900)]
Cppcheck issue fix
Change-Id: I15c39ec4b3206db06a5b915d95c6c6ac389c297e
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
junsuk77.oh [Fri, 29 Mar 2013 09:47:00 +0000 (18:47 +0900)]
sync with master, change mkfs path
Change-Id: I15c682a0f2ccacfce4eeeec81b52a31822e5471b
Signed-off-by: junsuk77.oh <junsuk77.oh@samsung.com>
Jinkun Jang [Fri, 15 Mar 2013 16:12:26 +0000 (01:12 +0900)]
merge with master
Jinkun Jang [Tue, 12 Mar 2013 16:46:27 +0000 (01:46 +0900)]
Tizen 2.1 base
Jung Minsun [Wed, 24 Oct 2012 07:38:28 +0000 (16:38 +0900)]
Initial empty repository