Junghyun Yeon [Fri, 2 Feb 2018 04:59:55 +0000 (13:59 +0900)]
Release version 0.7.5
Changes:
- Add some compile options for memory protection
Change-Id: Id9a1d1327f967620d2c7e72788e519125ea07d3d
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Fri, 12 Jan 2018 07:11:38 +0000 (16:11 +0900)]
Add some compile options for memory protection
Change-Id: I63cac868668b96539dd0bbfd6877e36384876bbb
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Fri, 19 Jan 2018 07:48:35 +0000 (16:48 +0900)]
Release version 0.7.4
Changes:
- Clean up obsolete code
Change-Id: I7a400d88f2e592011c6d4c78079d704ec15bacdd
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Wed, 3 Jan 2018 05:34:35 +0000 (14:34 +0900)]
Clean up obsolete code
Now dmcrypt feature used always.
Change-Id: Ia8b19af50936dfb21770c642643a1217580878f5
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Mon, 6 Nov 2017 08:22:02 +0000 (17:22 +0900)]
Release version 0.7.3
Changes:
- Fix crash issue of calling disable pkgs from storaged
Change-Id: If21d7eb332bcb6867c8687d0d258cb1188b64841
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Thu, 2 Nov 2017 07:41:11 +0000 (16:41 +0900)]
Fix crash issue of calling disable pkgs from storaged
Currently, storaged calls app2sd api which is synchronous when sdcard
being umounted. Then, app2sd-server calls storage_get_primary_sdcard()
which requests sdcard information to storaged synchronously. This causes
deadlock and storaged gets SIGABRT. However, app2sd-server doesn't need
to call storage_get_primary_sdcard() at current implementaion.
Change-Id: I6a005e6cc7d343929dfbfb8c77264609d457fe23
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Tue, 17 Oct 2017 06:54:02 +0000 (15:54 +0900)]
Release version 0.7.2
Changes:
- Fix wrong comment spelling
Change-Id: I7c212caa3c9b3d0a2a2ead0a47575bb9b01142e1
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Seungha Son [Thu, 12 Oct 2017 01:58:41 +0000 (10:58 +0900)]
Fix wrong comment spelling
Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: Iec5b33b2419be441ae62b89c09613debf3f8260e
Sangyoon Jang [Wed, 11 Oct 2017 12:33:45 +0000 (21:33 +0900)]
Release version 0.7.1
Changes:
- Fix usage of realpath
- Fix buffer size used on read() system call
Change-Id: I79837ffd41a693d6ab14282669954341d9ca1a4b
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 10 Oct 2017 07:50:28 +0000 (16:50 +0900)]
Fix buffer size used on read() system call
Change-Id: Ib5cea6ca00cbcd621685b203426603f66c9920be
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 11 Oct 2017 10:08:12 +0000 (19:08 +0900)]
Fix usage of realpath
NULL is recommended for the second parameter of realpath() because of
buffer overflow.
Change-Id: I21de69b08f17c7ec3262729ec09334f16247ec84
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 6 Sep 2017 06:12:55 +0000 (15:12 +0900)]
Release version 0.7.0
Changes:
- Remove unnecessary loop
- Refactor app2sd server codes
- Add a new API for getting external image path
Change-Id: Icc5933c66f7485c9bb19bae174cfa1615e869fd8
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Fri, 1 Sep 2017 10:04:27 +0000 (19:04 +0900)]
Add a new API for getting external image path
Change-Id: I20d1a32c3c9879885ed90e1e35221c61aaf394d0
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Wed, 16 Aug 2017 11:16:45 +0000 (20:16 +0900)]
Refactor app2sd server codes
- Fix code style
- Remove duplicated codes
- Remove unnecessary codes
- Fix indentations
Change-Id: I85d9f2db34182f669030f3c60d5cb98c7c77dbf5
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Seungha Son [Wed, 16 Aug 2017 01:59:07 +0000 (10:59 +0900)]
Remove unnecessary loop
- Loop body cannot be executed more than once
Signed-off-by: Seungha Son <seungha.son@samsung.com>
Change-Id: I03262226f4e32976e41a3ac68fe3315fd79643a1
Hwankyu Jhun [Tue, 13 Jun 2017 07:52:37 +0000 (16:52 +0900)]
Release version 0.6.7
Changes:
- Fix invalid log format
Change-Id: I6b4e88338b7735cfa330794a93499249464c8c31
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 12 Jun 2017 22:26:17 +0000 (07:26 +0900)]
Fix invalid log format
Change-Id: I8be9bf7d21f165bba14a594bf084097a6ed16d11
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Sangyoon Jang [Fri, 12 May 2017 05:03:08 +0000 (14:03 +0900)]
Release version 0.6.6
Changes:
- Modify the function to kill running apps
Change-Id: Ibb47caef1a32a258a47a3100f0a88cb438d0c959
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
jongmyeongko [Tue, 2 May 2017 14:57:52 +0000 (23:57 +0900)]
Modify the function to kill running apps
When the sdcard is removed, the app2sd can't acess the app2sd file.
And this can cause the failure to get pkginfo and appinfo.
Change-Id: I7c2eae676bee659e0b2a410728bfac70d9fa7e9d
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
(cherry picked from commit
2b9f24daf1adf82259ddba110d5cd513a0ea780f)
Sangyoon Jang [Tue, 25 Apr 2017 05:58:05 +0000 (14:58 +0900)]
Release version 0.6.5
Changes:
- Fix a memory leak
Change-Id: I2be140f5db28a1d8d337a44e4b41cbd8c418a202
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Tue, 18 Apr 2017 02:25:22 +0000 (11:25 +0900)]
Fix a memory leak
Change-Id: I0c6e5cc33442159cbf1630459db4120c203b0420
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Junghyun Yeon [Tue, 11 Apr 2017 05:27:32 +0000 (14:27 +0900)]
Release version 0.6.4
Changes:
- Use %license macro to copy license file
- Fix memory leaks
Change-Id: I91c69754d02af7e4362f2d58a6c377b4b6554981
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Fri, 31 Mar 2017 12:09:27 +0000 (21:09 +0900)]
Fix memory leaks
Change-Id: I38feffcd9e1661eedadc619881671bb636d920fe
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Thu, 23 Mar 2017 01:59:10 +0000 (10:59 +0900)]
Use %license macro to copy license file
Change-Id: I42a7a9bce4927ad8500c2e787bea7cfc6e387775
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Junghyun Yeon [Fri, 17 Mar 2017 06:29:54 +0000 (15:29 +0900)]
Release version 0.6.3
- Fix calculation function of internal free memory
Change-Id: I9d20c9a4211b3aa59ac1c383347951f5b8fbc002
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
jongmyeongko [Mon, 13 Mar 2017 02:20:25 +0000 (11:20 +0900)]
Fix wrong available mem calculation of internal storage
Change-Id: I3562eb06879c06744b38b93c110693f47cd77847
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
(cherry picked from commit
c4063451edc4c8d8ee6d199e22e8fdbdef0db9db)
jongmyeongko [Sat, 4 Mar 2017 02:36:36 +0000 (11:36 +0900)]
Release version 0.6.2
Changes:
- Fix error handle bug
- Fix static analysis issue
Change-Id: Iccd440c9291b2cf3f1da1e4d3d7f64a5465b2bbb
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Mon, 6 Mar 2017 05:05:26 +0000 (14:05 +0900)]
Fix error handle bug
When there was an error in previous iteration,
error->messge wil be referenced as an freed state in next iteration.
This may causes a crash.
Change-Id: Iedf6414ea359a1decc06007a919650469768c705
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Junghyun Yeon [Thu, 16 Feb 2017 07:55:57 +0000 (16:55 +0900)]
Fix static analysis issue
Change-Id: I1275ef8c1aa377dc0c8ffd1dfcc2ad8d88f3e0fe
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Thu, 9 Feb 2017 06:36:42 +0000 (15:36 +0900)]
Release version 0.6.1
Changes:
- Fix password generator
Change-Id: I4b890b4c14e20936ce0bb6a0a5d960d6a09f37b7
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Thu, 2 Feb 2017 06:34:51 +0000 (15:34 +0900)]
Fix password generator
In some case this generates abnormal password and this causes a failure
when execute cryptosetup command.
Change-Id: I51ead2cc9588fde71218795dc8a2290eb8f204f2
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
jongmyeongko [Thu, 19 Jan 2017 09:24:17 +0000 (18:24 +0900)]
Release Version 0.6.0
Changes:
- Change the library verson in .pc as the package version
- Clean-up buffer allocation codes
- Make library version same as package version
- Make plugin rpm package seperately
Change-Id: I59eab9898f08b21afe03651a15ad420682d4ec8f
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Thu, 19 Jan 2017 08:29:08 +0000 (17:29 +0900)]
Change the library verson in .pc as the package version
Change-Id: Ie28537bc9eb9b79c85fd66e4a7bf8c144a1344c0
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Wed, 14 Dec 2016 12:30:33 +0000 (21:30 +0900)]
Clean-up buffer allocation codes
Change-Id: Ic7a4a1c8510889eaa3fdca1a58a5517764a215a2
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Sangyoon Jang [Tue, 17 Jan 2017 01:39:33 +0000 (10:39 +0900)]
Make library version same as package version
Change-Id: I1f5983eaa372be368fe44e1ee216bc02abc38dad
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Sangyoon Jang [Thu, 12 Jan 2017 08:03:43 +0000 (17:03 +0900)]
Make plugin rpm package seperately
To removing profile build dependency, make plugin rpm package seperately.
(Need to create JIRA-TRE issue to including rpm package)
Change-Id: I2c87ed9e105446751bb2d4e79af39700b0d6fca1
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
Inkyun Kil [Fri, 13 Jan 2017 06:03:26 +0000 (15:03 +0900)]
Replace 'readdir_r' with 'readdir'
- Fix build error for toolchain upgrade.
This patch is intended to be missing from previous patch.
Change-Id: I05ce9544b7919c7fd72e09b7a75f8139540dc886
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Fri, 13 Jan 2017 06:54:54 +0000 (15:54 +0900)]
Fix coding rule violations
Change-Id: I8719abf678d139fc2288c47011c1ca097c2deb96
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Thu, 15 Dec 2016 06:06:56 +0000 (15:06 +0900)]
Replace 'readdir_r' with 'readdir'
'readdir_r' is deprecated since version 2.24 glibc.
By upgrading TOOLCHAIN for platform, it should be replaced by 'readdir'
Change-Id: I802ccd1cca6d9504948140a9c72000c9960b3ea1
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Hwankyu Jhun [Tue, 10 Jan 2017 08:56:02 +0000 (17:56 +0900)]
Revert "Revert "Adjust log level not to recognized an error always""
This reverts commit
1902db5d176e7fa95dfac11aa10804739b80ec00.
Change-Id: I65c58a7c2a7e2646474f44b9ebe4f30f57c32cb6
Hwankyu Jhun [Tue, 10 Jan 2017 08:55:49 +0000 (17:55 +0900)]
Revert "Revert "Support legacy image for backward-compatibility""
This reverts commit
7bd2ec8239a32021fbcfdbcef7dd5fb67a99da53.
Change-Id: I30bedd776b2044b318ac577fdbfaf8d32bd5d54b
Hwankyu Jhun [Tue, 10 Jan 2017 08:55:35 +0000 (17:55 +0900)]
Revert "Revert "Refactor duplicate codes as a function to reuse them""
This reverts commit
3f28235b928ce486c68d90e608d8a1f10f7c5eb8.
Change-Id: I146f3f039d11ec1eaaf1137c6b9ce4e352958246
Hwankyu Jhun [Tue, 10 Jan 2017 08:55:17 +0000 (17:55 +0900)]
Revert "Refactor duplicate codes as a function to reuse them"
This reverts commit
a9899cecfa471b1fdb8bdb611242817d5623b340.
Change-Id: I2ae91cac4bd8f9a6b20880e48960bb0c840df804
Hwankyu Jhun [Tue, 10 Jan 2017 08:54:54 +0000 (17:54 +0900)]
Revert "Support legacy image for backward-compatibility"
This reverts commit
2b99c718d1a9eed073fe9a668540dd49b3a973ec.
Change-Id: I64c55bfbce50e7b78f47891fca19f79f682a5b25
Hwankyu Jhun [Tue, 10 Jan 2017 08:54:39 +0000 (17:54 +0900)]
Revert "Adjust log level not to recognized an error always"
This reverts commit
a942140b767fa71813b51872fc01056b0b058e4e.
Change-Id: I15976fdf1e2eda9e8094753dbe15097096752803
Sunmin Lee [Fri, 6 Jan 2017 11:51:33 +0000 (20:51 +0900)]
Require libtzplatform-config explicitly
Until now, this package has been built using symbols in other
packages indirectly. As static library is removed, it should
require libtzplatform-config library in itself.
Change-Id: I9a560e4d7cd970f4de13174fc450416272ce9c95
jongmyeongko [Wed, 4 Jan 2017 11:04:08 +0000 (20:04 +0900)]
Adjust log level not to recognized an error always
Submit together:
https://review.tizen.org/gerrit/#/c/104823/
Change-Id: Ifdd8d5ee8688b865c5c999edba590c2332271524
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Wed, 14 Dec 2016 10:37:59 +0000 (19:37 +0900)]
Support legacy image for backward-compatibility
Work flows for migration
-> helper daemon will call app2ext_migrate_legacy_all()
-> call pkgmgr client api to execute the installer backend
-> the backend mount legacy image
-> the backend change old labels
-> the backedn umount legacy image
Submit with :
[slp-pkgmgr] https://review.tizen.org/gerrit/#/c/107123/
[app-installers] https://review.tizen.org/gerrit/#/c/107124/
[tpk-backend] https://review.tizen.org/gerrit/#/c/107125/
[pkgmgr-server] https://review.tizen.org/gerrit/#/c/108346/
[wgt-backend] https://review.tizen.org/gerrit/#/c/108485/
Migration Trigger Test:
#test_app2ext --migrate-all (refer to usage)
Change-Id: I180d6144d3fa033f7c969dc76f4f0f3e5b20e91f
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Tue, 3 Jan 2017 02:16:20 +0000 (11:16 +0900)]
Refactor duplicate codes as a function to reuse them
The codes for finalizing device setup(includes mount) are written as a function
Change-Id: I92b032cc7ef1df79cf5665179b435150d4f25005
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Tue, 3 Jan 2017 06:26:47 +0000 (15:26 +0900)]
Refactor duplicate codes as a function to reuse them
The codes for generting directory list are written as a function
Change-Id: Ic9c27c751e439a030e3d24ac5e85695548b21aec
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Tue, 27 Dec 2016 01:18:25 +0000 (10:18 +0900)]
Fix external installation for global app
The "System" label is required to access the files for
global app, which files have "System" label.
But, the files for local app are can be access as "User" execution.
Because the transmute option is true.
Change-Id: Ied9f9bfaae4ac04a475fb6e6e0c07cd5071d6e87
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Junghyun Yeon [Wed, 7 Dec 2016 05:30:28 +0000 (14:30 +0900)]
Fix static analysis tool issue
- Remove unreachable code
- fix memory leak
Change-Id: Ia7ad1372fde5acc89dc6e2657368491c8c2b8da2
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Sangyoon Jang [Wed, 16 Nov 2016 07:34:16 +0000 (16:34 +0900)]
Clean up repository
Fix CMakeLists.txt to make extendible.
Clean build dependency of each components.
Rename some files.
Change-Id: I5fe6ee6d7618ec6da82ec717fec9e50cab6681c1
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
jongmyeongko [Sun, 13 Nov 2016 07:35:54 +0000 (16:35 +0900)]
bugfix related storing external_path
and, fix memory leak
Change-Id: I0dd633643297daa1dc1db21101eaf8059b6f0d4f
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Junghyun Yeon [Wed, 12 Oct 2016 10:47:42 +0000 (19:47 +0900)]
Pass image path when change pkg db
- Pass image path when change
installed_location column at pkg db
Change-Id: I8ec2b9abe2d967f2756025e9517a2873a19496d0
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Hwankyu Jhun [Sun, 30 Oct 2016 22:55:38 +0000 (07:55 +0900)]
Fix memory leak
Change-Id: I4b88aca7d9b24679356ac05b0b591cba22ce7ce0
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
jongmyeongko [Mon, 24 Oct 2016 01:56:16 +0000 (10:56 +0900)]
make app2sd more robust on some failure cases.
- ensure a given waiting time before app2sd-server is terminated
- apply retrial logic for client api
Change-Id: I733bf20313f72ccd7350aeea5ef35c9395be2527
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Mon, 17 Oct 2016 06:06:10 +0000 (15:06 +0900)]
fix a defect of app2sd-server termination before processing is done.
- defect : app2sd-server could be terminated by timeout from previous request.
Change-Id: I089d1a23a9dbb93b3980954ef3164480f27811cf
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
Junghyun Yeon [Wed, 12 Oct 2016 08:23:38 +0000 (17:23 +0900)]
Fix pre app upgrade function to return proper value
- Function didn't return value which is retrieved
by app2sd-server
Change-Id: I5d3c3a0415f5131f95a1a7dbf80128c4d49d2824
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
jongmyeongko [Thu, 28 Jul 2016 13:40:38 +0000 (22:40 +0900)]
to support system-session installer-backends
Change-Id: I0a636a263eb3808aead8b394860cf2b933932545
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Tue, 9 Aug 2016 02:16:03 +0000 (11:16 +0900)]
use w/o restart version api for killing application
Change-Id: Id8f755d32a2abca79b8391128b98f5422b0b041f
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Tue, 9 Aug 2016 06:46:35 +0000 (15:46 +0900)]
change internal storage path (opt -> opt/usr)
opt and opt/usr are not same partition anymore.
Change-Id: Id9cd711251b410aba3ce7b53c816f43d30d806b4
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Mon, 18 Jul 2016 09:11:24 +0000 (18:11 +0900)]
get mount path of sdcard using storage api instead of hard-coded path.
Change-Id: I37061efb63b430f771e8aa2fd00218675c9f429f
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Tue, 19 Jul 2016 04:03:33 +0000 (13:03 +0900)]
remove app2ext_get_app_location api
this is not useful and will not be supported.
Submit with:
https://review.tizen.org/gerrit/#/c/80493/
Change-Id: Ic35753aa6902ff804c44f108b8258ea1723ff2b6
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
jongmyeongko [Fri, 22 Jul 2016 02:51:10 +0000 (11:51 +0900)]
fix problems in case both global and local are installed/removed
- bugfix deleting entire app directory.
- use composite primary key of app2sd_info table to save both local and global app.
- always overwrite same extimg file.
Change-Id: I25b70cc88188a96b729cd16982722efe66a4b5a0
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
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