summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2020-04-10Fix unchecked return valuetizen_6.0.m2_releasesubmit/tizen_6.0_hotfix/20201103.115101submit/tizen_6.0_hotfix/20201102.192901submit/tizen_6.0/20201029.205501submit/tizen/20200410.035811accepted/tizen/unified/20200410.122736accepted/tizen/6.0/unified/hotfix/20201102.235534accepted/tizen/6.0/unified/20201030.104419tizen_6.0_hotfixtizen_6.0accepted/tizen_6.0_unified_hotfixaccepted/tizen_6.0_unifiedSangwan Kwon1-2/+5
Change-Id: I39b362b4dc1e4ed4de86abbdd15480bd40b3b2ad Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
2020-02-26Upgrade version to 2.3.7submit/tizen/20200227.054011submit/tizen/20200227.015625accepted/tizen/unified/20200305.123320Sangwan Kwon1-1/+1
* Fix coverity defect Change-Id: Id5ea5c5f3219e52cdb5df3367b891bb1ba610134 Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
2020-02-26Fix coverity defectSangwan Kwon2-1/+13
* MISSING_MOVE_ASSIGNMENT * UNCAUGHT_EXCEPT Change-Id: I4ab109a4737b54263c5d54ac07004032b0a483b5 Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
2020-02-17Fix coverity defectsubmit/tizen/20200217.042237accepted/tizen/unified/20200218.145936Sangwan Kwon1-0/+4
* Uncaught exception Change-Id: I42d3930d0b385f147cebb82c8126931e9c794f25 Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
2020-01-10Upgrade version to 2.3.6submit/tizen/20200110.050843accepted/tizen/unified/20200113.130628Sangwan Kwon1-1/+1
* Bump to gcc9 Change-Id: I3f07ddc7fc03e1d25dc63c01d1ad03a6a90b7888 Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
2020-01-10Fix stringop-truncation warningSangwan Kwon1-1/+2
Pathname sockets: The pathname in sun_path should be null-terminated. ref: http://man7.org/linux/man-pages/man7/unix.7.html Change-Id: Ie3cd95aff89e8f77e07acdac9e181a092b731bee Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
2020-01-07Do not capture reference on non-local lambdasubmit/tizen/20200107.053941accepted/tizen/unified/20200108.131639Sangwan Kwon1-1/+1
Change-Id: I033029a0b0c7bbaaaa02d1d86348576af221e581 Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
2020-01-07[Tizen 6.0] Support build with GCC 9.2Mikhail Kashkarov2-0/+2
wp-loader.cpp:34:49: error: 'function' in namespace 'std' does not name a template type 34 | int getValueCstr(std::string &value, const std::function<int(const char **)> &getfunc) | ^~~~~~~~ wp-loader.cpp:29:1: note: 'std::function' is defined in header '<functional>'; did you forget to '#include <functional>'? 28 | #include "common/exception.h" +++ |+#include <functional> Change-Id: I7d4d627cfef2356a2061f6b5e7051e34a68fcee1 Signed-off-by: Mikhail Kashkarov <m.kashkarov@partner.samsung.com> Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
2019-12-10Bump boost version to 1.71.0submit/tizen/20191210.060021accepted/tizen/unified/20191210.141131Sangwan Kwon2-0/+12
Change-Id: I794ed2db4985d25a20a07749de69b9e3db1d851b Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
2019-10-15Merge "Add privilege information to api headers" into tizensubmit/tizen/20191120.105952submit/tizen/20191015.014434accepted/tizen/unified/20191121.073346sangwan kwon2-0/+56
2019-10-14Add privilege information to api headersSangwan Kwon2-0/+56
Change-Id: I354789b6e38d5f7db575bfa7fa22b585f9289d41 Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
2019-08-20Revert "tizen: Add additional unit for "unified" user session"tizen_5.5.m2_releasesubmit/tizen_5.5_wearable_hotfix/20201026.184306submit/tizen_5.5_mobile_hotfix/20201026.185106submit/tizen_5.5/20191031.000006submit/tizen/20190823.002419accepted/tizen/unified/20190823.092409accepted/tizen/5.5/unified/wearable/hotfix/20201027.102309accepted/tizen/5.5/unified/mobile/hotfix/20201027.062034accepted/tizen/5.5/unified/20191031.005118tizen_5.5_wearable_hotfixtizen_5.5_tvtizen_5.5_mobile_hotfixaccepted/tizen_5.5_unified_wearable_hotfixaccepted/tizen_5.5_unified_mobile_hotfixaccepted/tizen_5.5_unifiedYunmi Ha4-37/+0
This reverts commit 41452349d956d5c890f7a743c155600f8b091f63. We've optimized systemd-user without unified system/session. So, we revert the patch for unified system/session. Change-Id: Ib7e2e358d26ec39c5907ccc6ef9458c382754b36
2019-08-16Release 2.3.5submit/tizen/20190816.021249accepted/tizen/unified/20190816.112251Sangwan Kwon1-1/+1
* Disable service at boot time * Grant smack label to test binary * Refactoring csr.service and csr-OOO.socket * Remove unnecessary setting * Remove unnecessary code from csr-popup.[socket|service] * Support auto coverage checking * [LCOV] Prepare to measure the line coverage * tizen: Add additional unit for "unified" user session Change-Id: Id11ea5c88792436d84efa353756f61b50cca6e0d Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
2019-08-14Disable service at boot timeSangwan Kwon1-2/+0
Change-Id: Idc346fe8712a04bf0b4f18eafe73a111d413a3c0 Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
2019-08-14Grant smack label to test binarySangwan Kwon1-0/+1
- Test binary needs privilege for installing app Change-Id: I89471e255c4741245eb07882a3b29d417b2757c7 Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
2019-07-23Refactoring csr.service and csr-OOO.socketsubmit/trunk/20190812.110839submit/tizen/20190813.005155accepted/tizen/unified/20190814.065142INSUN PYO5-9/+2
- Using "Wants=csr.service" in csr-OOO.socket is replaced by putting csr.service in multi-user.target.wants. - Using "After=csr.service" in csr-OOO.socket is not requires because there is an explicit dependency between socket and service. - All four sockets are required for csr.service. So, "Requires=OOO.socket" must be in csr.service. - "Sockets=" in the csr.service is replaced by "Requires=OOO.socket". ("Sockets=" includes "After=" and "Wants=") Change-Id: If6303fcf17f16c70b4c5b67cca897f0c650b4b85
2019-07-17Remove unnecessary settingINSUN PYO1-1/+0
Change-Id: I0524d2fce2904a986216fe1399a8a4dbb01e22e5
2019-07-09Remove unnecessary code from csr-popup.[socket|service]INSUN PYO2-5/+0
1. The csr-popup.service does not need to be running at boot time, so it removes the "Wants=csr-popup.service" from the csr-popup.socket. 2. You do not need "Sockets=" and "Service=" for sockets and services with the same prefix. 3. "Type=simple" is the systemd defaults, so we don't need it. Change-Id: I4a282d27dff9a8591bf68b4ca9e9b1a41592a87d
2019-07-08Support auto coverage checkingsubmit/tizen/20190708.094113accepted/tizen/unified/20190709.071058Sangwan Kwon9-5/+67
Change-Id: I383849a301f33017d332dabb4650e0763d71419b Signed-off-by: Sangwan Kwon <sangwan.kwon@samsung.com>
2019-07-05[LCOV] Prepare to measure the line coveragesangwan.kwon4-0/+8
Change-Id: I10668614519956b8950ce9bcf97cd52bbe27c077 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2019-04-23tizen: Add additional unit for "unified" user sessionsubmit/tizen/20190502.022402accepted/tizen/unified/20190502.112856Mateusz Moscicki4-0/+38
The unified user session is about moving user session units, managed by systemd --user, to main systemd, where it's managed as part of newly created user@.target. user@.target will contain same units as previously available in user/, with same UID and environment setup. systemd instance is used for unit to be able to specify UID (inherited from user@.target). The rationale behind this work is following: * VD requirement to remove user session support * boot time optimization requirements, due to: + 'systemd --user' taking 1s its own startup that could be used for unit startup + ability to better rearrange units if these managed by one systemd instance Unit installed by this commit will not be used till user login mechanism will be changed in systemd package (via changing pam_systemd to start user@.target, rather than user@.service). Change-Id: I34ec6af3e2736348747a3d702451d540354c9831
2019-02-07Release 2.3.4submit/tizen/20190211.075859submit/tizen/20190208.032755accepted/tizen/unified/20190212.084041sangwan.kwon1-1/+1
* Fix memory-leak bug on sample engine * Fix log fomatter according to boost version upgrade * Fix JIRA defect about ASAN Change-Id: Ifc3e3d9380ac07313b548597e74b72482fcff5e0 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2019-02-07Fix memory-leak bug on sample enginesangwan.kwon1-1/+3
Change-Id: Ifd834844441d143093bfd15cd156f1dac9ef969b Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2018-07-06Fix log fomatter according to boost version upgradesubmit/tizen_5.0/20181101.000006submit/tizen/20180706.070308accepted/tizen/unified/20180710.082954accepted/tizen/5.0/unified/20181102.024419accepted/tizen_5.0_unifiedsangwan.kwon2-1/+27
- boost version : 1.65.1 Change-Id: Ic3b45f5e47cb4e2edbec22820075c43078944c60 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2018-06-25Fix JIRA defect about ASANsubmit/tizen/20180626.021021accepted/tizen/unified/20180626.140824sangwan.kwon1-3/+5
- alloc-dealloc-mismatch (malloc vs operator delete) Change-Id: I1e75b63c6e02eb34e05e26e97c3909e6ee27ec35 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2018-06-14Release 2.3.3submit/tizen/20180614.045125accepted/tizen/unified/20180618.151417sangwan.kwon1-1/+1
* Fix resource leak on test binary * Fix coverity defects * Fix misuse of unique_ptr Change-Id: I53418d8c942fc7bc717baee4b39f2b7f0bc87498 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2018-04-24Fix resource leak on test binarysubmit/tizen/20180424.064628accepted/tizen/unified/20180424.165721sangwan.kwon1-2/+2
Change-Id: Iba58129c65bbcdd1201158536b99c2f1f5429daf Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2018-03-27Fix coverity defectssubmit/tizen/20180404.064013submit/tizen/20180404.020934accepted/tizen/unified/20180405.064319sangwan.kwon7-17/+33
* Uninitialized scalar field * Uninitialized pointer field * Unchecked return value from library * Wrapper object use after free * Data race condition Change-Id: I00bf5cf4d4dc5afe53a0080d9316da37989c9e42 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2018-03-08Fix misuse of unique_ptrsubmit/tizen/20180316.053242submit/tizen/20180309.020443accepted/tizen/unified/20180319.062926sangwan.kwon1-8/+6
Change-Id: I81328ff84be8bbc07ee1c52e8f91676a84b30681 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2018-03-05Release 2.3.2submit/tizen/20180305.084114accepted/tizen/unified/20180306.061319sangwan.kwon1-1/+1
* Fix typo in a public header * Merge branch 'tizen_4.0' into tizen * Add smack label to internal-test as System * Fix sample engine latest updated time as installing time * Fix csr-server capability as inheritable * Remove deprecated upgrade script * Fix failed internal test cases Change-Id: I3b2f624fc2d64983d73af8d3c8eeb62a7e1e1c43 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2018-03-05Fix typo in a public headersangwan.kwon1-1/+1
Change-Id: I22cd100b43c2d118fe4a5bcbcae7f30a58bfba5d Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2017-10-12Merge branch 'tizen_4.0' into tizensangwan.kwon1-0/+1
Change-Id: Id39e536a81235b91d5852286c4ba433c5d5a098f Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2017-09-25Add smack label to internal-test as Systemsangwan.kwon1-0/+1
Change-Id: I7dbe98b64f42fc0fc9db7947749057e9aa1e3b21 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2017-08-22Fix sample engine latest updated time as installing timetizen_4.0.m2_releasetizen_4.0.IoT.p2_releasetizen_4.0.IoT.p1_releasesubmit/tizen_4.0/20170828.100005submit/tizen/20170823.025619accepted/tizen/unified/20170823.170303accepted/tizen/4.0/unified/20170828.222318sangwan.kwon1-0/+3
Malware detected time should greater than engine's latest update time when engine is not updated after malware detecting. But some device's current time is not correct(before: 2016) and sample engine's latest updated time is fixed time(after: 2017), some TC was always failed. Change-Id: I34ec53e612eb927ae0c2261a1ba4f42af6a7fb51 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2017-08-18Fix csr-server capability as inheritablesangwan.kwon1-0/+2
Change-Id: Ide4a5c8b6e5416671ad0ca6d54ee01ff2852bd9a Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2017-08-17Remove deprecated upgrade scriptsangwan.kwon2-8/+0
Change-Id: Ifa75fc6e9f946316ab771ff08be5453359c859aa Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2017-06-12Fix failed internal test casessangwan.kwon4-2/+32
Change-Id: I7330cadd7d966bd0cfe878548ead432a505ce85e Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2017-05-16Release 2.3.1tizen_4.0.m1_releasesubmit/tizen_4.0_unified/20170814.115522submit/tizen_4.0/20170814.115522submit/tizen_4.0/20170811.094300submit/tizen/20170517.012418accepted/tizen/unified/20170517.080126accepted/tizen/4.0/unified/20170816.014247accepted/tizen/4.0/unified/20170816.010530sangwan.kwon1-1/+1
* Fix log fomatter according to boost version upgrade * Check a task status inside HandleExt to handle concurrent issue * Remove error log on NativeMainloop dtor * Cherrypicks from tizen_3.0 branch (HEAD: 6adc3ec) * Run set cap script after csr rpm installation * Make File::Type class to encapsulate filetype op * Revert "Determine package by removable attribute" * Determine package by removable attribute * Add error handling for getting stat * Downgrade log levels which printed too frequently * Downgrade some frequently printed log's level * Remove platform version diff handling * Version Comparision String Fix * Apply the reviewed API documentation Change-Id: I218b60e3934d01f6411d6eb4abec83e58d9332fb Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2017-05-11Fix log fomatter according to boost version upgradesangwan.kwon10-45/+169
Change-Id: Iba8af0d1900230375550258f0daaf68db641925e Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2017-03-20Check a task status inside HandleExt to handle concurrent issueDongsun Lee3-5/+9
Change-Id: I46211a78f6b43cf8da0e001b3e511e765d981d70 Signed-off-by: Dongsun Lee <ds73.lee@samsung.com> (cherry picked from commit 9f8be3f00c3dc9446f8b7abad887871ad3224804)
2017-02-23Remove error log on NativeMainloop dtorsubmit/tizen/20170319.011939accepted/tizen/wearable/20170320.010402accepted/tizen/unified/20170320.010443accepted/tizen/tv/20170320.010346accepted/tizen/mobile/20170320.010332accepted/tizen/ivi/20170320.010418accepted/tizen/common/20170320.173510accepted/tizen_wearableaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_iviaccepted/tizen_commonKyungwook Tak1-3/+0
NativeMainloop can be destructed even though it's not timed out case. Because the loop can be used by client side to implement async logic, and all listening sockets are closed automatically as RAII Change-Id: I36760e7202206c82f2a0545e993069ad59549547 Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2017-02-20Cherrypicks from tizen_3.0 branch (HEAD: 6adc3ec)Kyungwook Tak13-171/+185
Fix svace defects (cherry picked from commit 2d3c97687a31b2a7d30979821be822dac67b79b6) Restart service after test sample engine installed (cherry picked from commit 074d22b0ec48f8657e56f0f3af5c1d0fa1dea09c) Fix bug on CS sample engine (cherry picked from commit 6adc3ec9be0e6b4e0e24bca85e7a0872f7d7c6ff) Change-Id: Ibb820332ba178bdda953cf81de900286b0edbaa4 Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2017-02-01Run set cap script after csr rpm installationKyungwook Tak1-0/+5
csr server needs capability which is set by security-config. Change-Id: I0083549e9a006b8b37e0c8084da214cbf2c10930 Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2017-02-01Make File::Type class to encapsulate filetype opKyungwook Tak2-59/+133
Change-Id: I789fa225fdeaacb5d08c6d4235b1d8e259313885 Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2017-02-01Revert "Determine package by removable attribute"Kyungwook Tak2-23/+6
This reverts commit b4f1327fa51cdbc6d378287859a48bd01c2e72e4. Need more precise decision related to preloaded app deletions. Change-Id: I49367d5afd2748ce8133b3345cb23e5bd6d9fb76 Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2017-01-31Determine package by removable attributeKyungwook Tak2-6/+23
Change-Id: Ic398d0a9056ee2bcef7f17d0813f15da9cb85816 Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2017-01-31Add error handling for getting statKyungwook Tak1-0/+5
Change-Id: I1b8464ebfb3af33a48325af42595512dcba2284a Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2017-01-31Downgrade log levels which printed too frequentlyKyungwook Tak3-6/+8
Change-Id: I1af4abcf28e42ea4659782d358c27cd603a0e93c Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2017-01-23Downgrade some frequently printed log's levelKyungwook Tak2-3/+3
Change-Id: I1fd99687f04e12422ec7761dec5fb3f7b865fce7 Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
2017-01-16Remove platform version diff handlingKyungwook Tak18-331/+15
The csr project was developed on both of 2.4 and 3.0 tizen version at first but 2.4 is forked to other package and no more maintanance needed in here. Also the branch tizen need not to support tizen version lower than 3, so remove all codes related. Change-Id: I912d9f9c6a345d0d6a21192eda56e39cb0d9cb79 Signed-off-by: Kyungwook Tak <k.tak@samsung.com>