Łukasz Stelmach [Thu, 13 Apr 2023 16:06:52 +0000 (18:06 +0200)]
tests: provide getuid() mockup
In some build environments the UID of build processes can be arbitrary
high which causes some tests to fail due to checks in app2ext_interface.c
Change-Id: I29bd686f6305f1a709e89180debc14e0904bb18b
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Sangyoon Jang [Wed, 17 Nov 2021 03:14:31 +0000 (12:14 +0900)]
Release version 0.7.23
Changes:
- Add options to LUKS1 format
Change-Id: I603084e45dcac593bdd13502cb7cb87c46de8b51
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Mon, 15 Nov 2021 08:55:41 +0000 (17:55 +0900)]
Add options to LUKS1 format
Change-Id: I3d2f3d5c6348eb5d765250c299a14872f8386f2a
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Wed, 3 Nov 2021 00:53:59 +0000 (09:53 +0900)]
Release version 0.7.22
Changes:
- Fix usage of GVariant in "g_dbus_proxy_call_sync"
Change-Id: I4c8118c6bcba0df5331613c7e38c13543a8945a7
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 2 Nov 2021 10:16:03 +0000 (19:16 +0900)]
Fix usage of GVariant in "g_dbus_proxy_call_sync"
The function "g_dbus_proxy_call_sync" consumes the floating GVariant parameter
So from the second loop, the variable is consumed, causing incorrect memory access
This patch changes GVariant variable from floating reference
to full reference using g_variant_ref_sink
Change-Id: I11f97ee20f72a7540413e60d921950fd0a5cdd90
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 28 May 2021 07:05:11 +0000 (16:05 +0900)]
Release version 0.7.21
Changes:
- Add cryptsetup runtime dependency
- Add sqlite3 dependency
Change-Id: I80edcf6a3ca38533b7c3316cb4a3265966f3cae2
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Thu, 1 Apr 2021 10:09:46 +0000 (19:09 +0900)]
Add sqlite3 dependency
Declare dependencies explicitly.
Change-Id: I26989184be083aa59a7e0d24d6c5f840b87d8eea
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
INSUN PYO [Fri, 5 Mar 2021 02:14:51 +0000 (11:14 +0900)]
Add cryptsetup runtime dependency
This package uses /sbin/cryptsetup.
Change-Id: Ia22632a2a3626ea4222f29c007ab0491f850b986
Sangyoon Jang [Mon, 2 Nov 2020 05:11:45 +0000 (14:11 +0900)]
Release version 0.7.20
Changes:
- Fix unit tests
Change-Id: I201b364a813654ec169ffbbc4c635ac66a7e567f
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Fri, 30 Oct 2020 06:32:05 +0000 (15:32 +0900)]
Fix unit tests
Some unittests will return unexpected error code if build with root
Change-Id: I68d9a754f0eb08e3bfbb11fb2ee7987158b3ad66
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Ilho Kim [Tue, 8 Sep 2020 02:30:20 +0000 (11:30 +0900)]
Release version 0.7.19
Changes:
- Reduce CyclomaticComplexity
- Change global variables into static
Change-Id: I01ea6deff5d37eaded2553643da0302a8fd6056d
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Junghyun Yeon [Thu, 3 Sep 2020 08:49:11 +0000 (17:49 +0900)]
Change global variables into static
Change-Id: Id6a88f8bcdd0b045c1a5bde5fe26bd4014bba96a
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Mon, 24 Aug 2020 09:40:57 +0000 (18:40 +0900)]
Reduce CyclomaticComplexity
Change-Id: Id9e0e1f7dbe94e2a641aa67cf701cd196de19f6a
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 13 Aug 2020 08:46:33 +0000 (17:46 +0900)]
Release version 0.7.18
Changes:
- Fix static analysis issue
- Fix static analysis
Change-Id: I46bbf74913ae8a568e55b558df6bb3b09e858771
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Thu, 13 Aug 2020 07:29:48 +0000 (16:29 +0900)]
Fix static analysis
Add try-catch to catch exception.
Change-Id: I91a25addfaae8f125ba904afa0e7a1b329b440de
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghoon Park [Tue, 11 Aug 2020 02:06:26 +0000 (11:06 +0900)]
Fix static analysis issue
Change-Id: Id04d83b28730e2b9553617fe23e78f4fc0dd02ca
Signed-off-by: Junghoon Park <jh9216.park@samsung.com>
Daehyeon Jung [Fri, 24 Jul 2020 01:09:57 +0000 (10:09 +0900)]
Add Server Test
Change-Id: I217b258cd34e8cdc0536f82007f9a3b220fc98e0
Signed-off-by: Daehyeon Jung <darrenh.jung@samsung.com>
Daehyeon Jung [Mon, 20 Jul 2020 04:49:36 +0000 (13:49 +0900)]
Add client test
Change-Id: I9dad81e677e60e9955f983f6c9b698a1e37d74ba
Daehyeon Jung [Wed, 15 Jul 2020 06:40:34 +0000 (15:40 +0900)]
Seperate Server and Lib test
Change-Id: I403677d5cea2eb8e7462d1ca6bd2e00cd0706435
Daehyeon Jung [Tue, 14 Jul 2020 06:54:06 +0000 (15:54 +0900)]
Add API unit tests
Change-Id: I0f20462e3d380260c996b9dab6fc45bd8b74a203
Signed-off-by: Daehyeon Jung <darrenh.jung@samsung.com>
Daehyeon Jung [Fri, 10 Jul 2020 07:01:43 +0000 (16:01 +0900)]
Prep gmock tests
Change-Id: I9f6fbe93ec1ae8b82288633ea7f3cf94c03d27e7
Signed-off-by: Daehyeon Jung <darrenh.jung@samsung.com>
Junghyun Yeon [Tue, 14 Jul 2020 06:28:00 +0000 (15:28 +0900)]
Release version 0.7.17
Changes:
- Fix static analysis issue
- Fix possible double-free issue
Change-Id: I24379e0e5f62d69ec20b4db21ce95e75a04e8e10
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Tue, 14 Jul 2020 04:46:16 +0000 (13:46 +0900)]
Fix possible double-free issue
Change-Id: Ib0ef53d5e6f77eba3f4d5e8af186613dacb6ea22
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Tue, 14 Jul 2020 00:06:33 +0000 (09:06 +0900)]
Fix static analysis issue
- Fix possible memory leak issue.
Change-Id: Icccfdce4940e00ea8d3b6227fd76580d637e573e
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Fri, 3 Jul 2020 06:51:03 +0000 (15:51 +0900)]
Release version 0.7.16
Changes:
- Revert "Use libcryptsetup API instead of using cryptsetup directly"
- Add checking return values of snprintf
Change-Id: I819f5272fd07824b09562d821b8fd29d3667eefa
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Wed, 1 Jul 2020 02:13:45 +0000 (11:13 +0900)]
Add checking return values of snprintf
Change-Id: If38a743334fda4f7f8b697ff9f24ce1531caa6b4
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Wed, 1 Jul 2020 02:01:14 +0000 (11:01 +0900)]
Revert "Use libcryptsetup API instead of using cryptsetup directly"
This reverts commit
1d11e5eb763ab4a1aca136dc57ab6b68c764f42f.
Change-Id: I21a7441e8a8d510b307c2cb8f5e2e1d48a360842
Ilho Kim [Fri, 17 Jan 2020 08:42:26 +0000 (17:42 +0900)]
Release version 0.7.15
Changes:
- Resolve static analysis issue
Change-Id: I480c98aaaaf4036350f69ad8c877018fbcc76eb6
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 17 Jan 2020 04:19:33 +0000 (13:19 +0900)]
Resolve static analysis issue
Change-Id: I2a7579c7816cbecbc074e14f8730b64f825663a1
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Tue, 7 Jan 2020 08:49:25 +0000 (17:49 +0900)]
Release version 0.7.14
Changes:
- Remove compile warning messages
Change-Id: I7f2c8d2824da3d694739dcbf8d7b5ec5b79a7e30
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Thu, 2 Jan 2020 02:02:48 +0000 (11:02 +0900)]
Remove compile warning messages
Change-Id: If6f4ce84dcc023fdd71942ada681a5f08f8bf61a
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Ilho Kim [Fri, 13 Dec 2019 07:01:55 +0000 (16:01 +0900)]
Release version 0.7.13
Changes:
- Fix error log
Change-Id: Ib81de3b1c8d214111bb1927fcd75d93ba37211f4
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Fri, 22 Nov 2019 08:19:10 +0000 (17:19 +0900)]
Fix error log
Use returned pointer from strerror_r().
Change-Id: I38d23a4ebe4a13cee4a3c70fa9203fb8eb707181
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Ilho Kim [Tue, 12 Nov 2019 04:27:38 +0000 (13:27 +0900)]
Release version 0.7.12
Changes:
- Fix usage of strerror_r()
- Delete meaningless configuration
- Change /usr/bin/false to /bin/false in the dbus configuration
- Fix possible db handle leak
- Fix static analyze issue
- Use libcryptsetup API instead of using cryptsetup directly
Change-Id: Iad8c892fcd5bb6230795312ffab2ef5389642e89
Signed-off-by: Ilho Kim <ilho159.kim@samsung.com>
Sangyoon Jang [Tue, 7 May 2019 09:59:31 +0000 (18:59 +0900)]
Use libcryptsetup API instead of using cryptsetup directly
Change-Id: I6b83d840fa5cf96c2c18ed08b5cbf5fdcf99e6ac
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Junghyun Yeon [Fri, 19 Jul 2019 06:30:49 +0000 (15:30 +0900)]
Fix static analyze issue
- Free unfreed memory.
- Clear memory before release which contains some critical information.
Change-Id: I10fc42edbc82585b54ecf731f0a05c04ba37d0f7
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
Junghyun Yeon [Fri, 12 Jul 2019 08:07:28 +0000 (17:07 +0900)]
Fix possible db handle leak
sqlite3_open_v2 could return valid connection even if an error occurs,
according to the document so try to close the connection
even if return value indicates that it has failed.
Change-Id: Ia6fa2975230ea6950e0523ab461061b9941a533f
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
INSUN PYO [Fri, 12 Jul 2019 09:18:26 +0000 (18:18 +0900)]
Change /usr/bin/false to /bin/false in the dbus configuration
Change-Id: If06b7019801d07696b01d337fd0ea95d63aa680f
INSUN PYO [Mon, 8 Jul 2019 11:18:52 +0000 (20:18 +0900)]
Delete meaningless configuration
Change-Id: Ic6180ab15029298b53591cf14f683dbd6fbb07d0
Sangyoon Jang [Tue, 7 May 2019 07:30:40 +0000 (16:30 +0900)]
Fix usage of strerror_r()
Use the GNU style. The GNU-specific strerror_r() returns a pointer to
a string containing the error message.
The buffer passed by is not used it doesn't need it.
Change-Id: Ifc61a09626602e41986b7945bb440b899d549726
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
ilho [Fri, 15 Feb 2019 08:41:54 +0000 (17:41 +0900)]
Release version 0.7.11
Changes:
- Fix memory leak
Change-Id: Iad3e4c1338568548f36bc559f2e2576ff27acbf7
Signed-off-by: ilho <ilho159.kim@samsung.com>
ilho [Mon, 28 Jan 2019 08:13:08 +0000 (17:13 +0900)]
Fix memory leak
Change-Id: I5694d2766800860fdd4df9378c29f01f2a1c2752
Signed-off-by: ilho <ilho159.kim@samsung.com>
Sangyoon Jang [Tue, 14 Aug 2018 05:45:48 +0000 (14:45 +0900)]
Release version 0.7.10
Changes:
- Fix rpm manifest
- Add app2sd-mount-helper tool
Change-Id: I020b41bee59cbcb6c747b8044a10869ad51dbe86
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 7 Aug 2018 11:29:27 +0000 (20:29 +0900)]
Add app2sd-mount-helper tool
When launching an application which is installed at external storage,
app2sd-server mounts application's image at internal storage.
Since process label of app2sd-server is "System", the directory which is
mount point for application's image has same label as app2sd-server.
This can cause smack denial in some cases.
This app2sd-mount-helper tool does mount instead of app2sd-server, and its
process label is "User::Home" which is same as other directories or
files at package root. Using this tool, the smack denial will not
happened.
Change-Id: Ic89bc960372d0a2595cd21aa6d9372473aafc2c8
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 7 Aug 2018 10:47:23 +0000 (19:47 +0900)]
Fix rpm manifest
Fix wrong usage of rpm manifest file.
Change-Id: I1dbbd870b758693069ed2f1c87cf60e72e0f19da
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Hwankyu Jhun [Wed, 1 Aug 2018 23:47:54 +0000 (08:47 +0900)]
Release version 0.7.9
Changes:
- Modified permission check
Change-Id: Id3d4b842e1e7bb90bc16236a6b7167ef8dee63cf
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 31 Jul 2018 05:59:50 +0000 (14:59 +0900)]
Modified permission check
If the target user is GLOBAL APP, the request is allowed.
Change-Id: Ib362cceabf8d36cb7cc9df8d809ea993ee1c1501
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Sangyoon Jang [Tue, 3 Jul 2018 10:28:51 +0000 (19:28 +0900)]
Release version 0.7.8
Changes:
- Change rules for default dbus policy
- Fix dbus proxy creation code
Change-Id: I628fe1b9ca6e48475d85c9430a5e2ed3404b94ad
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Tue, 3 Jul 2018 08:22:34 +0000 (17:22 +0900)]
Fix dbus proxy creation code
Add G_DBUS_PROXY_FLAGS_DO_NOT_LOAD_PROPERTIES flag.
app2sd-server does not provide object which has properties.
Without this flag, g_dbus_proxy_new_sync() will try to load properties
using GetAll method, and this call will be denied by default dbus policy.
Change-Id: Idbce104f86fb6f6067d314a4c7784b487b9235d6
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Inkyun Kil [Wed, 2 May 2018 05:21:25 +0000 (14:21 +0900)]
Release version 0.7.7
Changes:
- Change rules for default dbus policy
Change-Id: Iaf67ccce979c49e0039501cf24d6ac59d1ae4236
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Inkyun Kil [Wed, 25 Apr 2018 04:46:28 +0000 (13:46 +0900)]
Change rules for default dbus policy
Change-Id: I29b9a4b4e0e63671b3d2a89e5d9caa0941ea403a
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Sangyoon Jang [Fri, 9 Feb 2018 01:59:26 +0000 (10:59 +0900)]
Release version 0.7.6
Changes:
- Fix static analyzer issue
Change-Id: Iad281253a9acce6f28b965c44e09392680df5ea0
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
Sangyoon Jang [Mon, 5 Feb 2018 05:59:22 +0000 (14:59 +0900)]
Fix static analyzer issue
Remove unreachable codes.
Change-Id: I9f5713983575a5d3acfef1b2ae7189e82e15b9c2
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
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>