summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-12-23fix build error by [-Werror=terminate]sandbox/jaehun77/gcc6xDongkyun, Son2-1/+2
Destructors are noexcept by default As of C++11, destructors have an implicit noexcept exception-specification (unless a base class or non-static member variable has a destructor that is noexcept(false)). In practice this means that the following program behaves differently in C++11 than in C++03: #include <stdexcept> struct S { ~S() { throw std::runtime_error ("oops"); } }; int main (void) { try { S s; } catch (...) { return 42; } } While in C++03 this program returns 42, in C++11 it terminates with a call to std::terminate. By default GCC will now issue a warning for throw-expressions in noexcept functions, including destructors, that would immediately result in a call to terminate. The new warning can be disabled with -Wno-terminate. It is possible to restore the old behavior when defining the destructor like this: ~S() noexcept(false) { throw std::runtime_error ("oops"); } Signed-off-by: Dongkyun, Son <dongkyun.s@samsung.com>
2016-12-09Merge branch 'tizen' into tizen_3.0submit/tizen_3.0/20161209.014843submit/tizen_3.0.m2/20170104.093756accepted/tizen/3.0/mobile/20161209.103900accepted/tizen/3.0.m2/mobile/20170105.025817tizen_3.0.m2accepted/tizen_3.0.m2_mobilesangwan.kwon3-4/+4
Change-Id: Ibc0d24a716f85fb3c486f77247747b5ea732fa47 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-12-09Add number to upgrade scriptsangwan.kwon3-4/+4
Change-Id: Id1f759b4e4942c39046c04133b9829185d05f132 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-10-09Upgrade version to 0.1.3submit/tizen_3.0/20161028.092323submit/tizen_3.0/20161028.062323submit/tizen/20161010.015747accepted/tizen/mobile/20161011.233846accepted/tizen/3.0/mobile/20161028.150532sandbox/vbarinov/ubsansangwan.kwon1-1/+1
* Replace pkgmgrinfo_cliet api to pkgmgr_client * Add client and common requirement to devel package * Add platform upgrade script * Add exception handling on popup test * HOTFIX : Fix ldconfig path to hard coded Change-Id: Ib0959269fbbd8386bc94ccd50df100250cc69368 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-10-05Replace pkgmgrinfo_cliet api to pkgmgr_clientsangwan.kwon2-48/+48
* pkgmgrinfo_client api will be deprecated. Change-Id: Ibb109a644f436c641257cba5ec3f36b6cb164241 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-09-13Add client and common requirement to devel packageSlava Barinov1-0/+2
Without explicit dependency the case is possible when the -devel package is installed without client package and provides a broken symlink to /usr/lib/libcert-checker-common.so.0 Change-Id: Ie04c096609574148c225e03c6757ac3b24ad5206 Signed-off-by: Slava Barinov <v.barinov@samsung.com>
2016-09-09Add platform upgrade scriptsubmit/tizen_3.0_mobile/20161015.000001submit/tizen/20160912.100526submit/tizen/20160912.023936accepted/tizen/mobile/20160913.042018accepted/tizen/3.0/mobile/20161015.032604sangwan.kwon5-1/+65
Change-Id: Ic04d915b58c4f7ea6119eea0b77f637db123e7ac Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-07-27Add exception handling on popup testsubmit/tizen/20160727.072641accepted/tizen/mobile/20160727.102426sangwan.kwon1-11/+20
Change-Id: I0194a82d728abe804eb214be52b001ded0b98723 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-07-27HOTFIX : Fix ldconfig path to hard codedsubmit/tizen/20160727.054353sangwan.kwon1-1/+1
Change-Id: I9182831e1af3f33d1ce11c22316e133745df5ab7 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-07-26Upgrade version to 0.1.2submit/tizen/20160726.071219accepted/tizen/mobile/20160726.105847sangwan.kwon1-1/+1
* Move adding smack label command to manifest * Code refactoring in spec file * Delete unnecessary pkg_check_modules * Add package info validation logic * Replace popup architecture to systemd service * Set SmackProcessLabel to System Change-Id: Ica720ac107d58e3574cf01eb9aca30d837647e07 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-07-25Move adding smack label command to manifestsangwan.kwon4-7/+19
Change-Id: I424462909558811b405b2ecb5da07921ee9f83ef Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-07-25Code refactoring in spec filesangwan.kwon1-38/+30
1) macro renamed 2) refactor according to guidelines - https://wiki.tizen.org/wiki/Packaging/Guidelines Change-Id: I4949800727e9e6cec0665059c3c2681388356809 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-07-24Delete unnecessary pkg_check_modulessangwan.kwon1-1/+0
* libtzplatform-config Change-Id: I8ba6e4a98e7ad6ed35951bc74c17599606d30798 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-07-24Add package info validation logicsangwan.kwon2-0/+18
* Before popup call app-control for launching setting-manager, * Check package info first. Change-Id: If0f607694b7fb18f2ddff556f3fc0726cb591d61 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-07-22Replace popup architecture to systemd servicesangwan.kwon25-824/+572
[AS-IS] * popup used to pipe for IPC [TO-BE] * use to systemd service Change-Id: Ie203c8a4dbcb071fd3896e0c7af1bb8cd7280dbf Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-07-21Set SmackProcessLabel to Systemsubmit/tizen/20160727.034645submit/tizen/20160721.003054accepted/tizen/mobile/20160727.042426accepted/tizen/mobile/20160721.090504Yunjin Lee1-0/+1
Change-Id: I32822f90203dc34f8748a10565906b91a707d05e Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
2016-07-01Upgrade version to 0.1.1submit/tizen/20160704.044555accepted/tizen/mobile/20160704.090609sangwan.kwon1-1/+1
* Add socket to systemd targets * Fix svace defects * Apply tizen coding rule * Fix build error at 64bit arch Change-Id: Ie61a5b9a46309ab7cc5344e8d53f2385b5f1f317 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-07-01Add socket to systemd targetssangwan.kwon2-1/+7
Change-Id: Ifbef735f9dc9a1b178307bc7feddbcdb519769c7 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-06-30Fix svace defectssangwan.kwon2-71/+97
* About taint checking, variable should be checked boundary. * About exception handling, should handle whole possible exception. Change-Id: I6e85bc12cdeea550f7ea1c6dd06b7d9cbb91b3d7 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-05-30Apply tizen coding rulesangwan.kwon70-5333/+5093
* It depends on cpp rule checker(version 160520) Change-Id: Ica308e1296be4f3567725fdb004f3bae8a456a0c
2016-05-25Fix build error at 64bit archsubmit/tizen/20160525.085258accepted/tizen/mobile/20160602.021048accepted/tizen/ivi/20160602.021115accepted/tizen/common/20160525.160330accepted/tizen_iviaccepted/tizen_commonsangwan.kwon1-20/+0
[problem] * In 64bit arch, time_t and int64_t has problem when overloading [solve] * Delete time_t in serialization.h Change-Id: I20dc01022487dadd4119ee318ef2bf4de478a984
2016-05-25Upgrade version to 0.1.0submit/tizen/20160525.080353sangwan.kwon1-1/+1
[AS-IS] * cert-checker was daemon [TO-BE] * cert-checker run as service by on_demand Change-Id: If9a650e7137ae41351d26cdbb0e9f042eb693d36
2016-05-24Add CAPI for clientsangwan.kwon7-13/+94
Change-Id: Ie618a4248445c1b4bebf3bb47b13486463a4b67f
2016-05-24Add mainloop stop logic by using eventfdsangwan.kwon7-7/+150
Change-Id: If175379bebd20eeb60d091284f754857f59d34a7
2016-05-20Seperate logic to thread for several client connectionsangwan.kwon7-13/+21
Change-Id: I8424f68e23f32cc8104c9c3987bc2054c6c034ad
2016-05-20Add TC for g_main_loop timeoutsangwan.kwon2-1/+22
Change-Id: I70e1185c5b86d8fe8d8b03c0ff9559582d8d96c8
2016-05-20Apply timeout at g_main_loopsangwan.kwon4-14/+38
* If no event since cchecker launched, cchecker should exit * timeout = 10 miniute Change-Id: Ie472171c597e6dc4ffda1674bc859e26a066d9ca
2016-05-19Fix namespace of Clientsangwan.kwon4-11/+2
Change-Id: I569965b36bb8ab7d505fabaccb270eaec016f853
2016-05-19Adjust class access modifier in logicsangwan.kwon1-12/+15
Change-Id: I6881cfaa24adb1e58e4d4c5d8da886b7dd79e27a
2016-05-18Add TC about timersangwan.kwon3-0/+42
Change-Id: Ia023c6caf553c1589ea50779670a3a066cf8c5d4
2016-05-18Add timer for remaining buffersangwan.kwon5-2/+172
* Timer's interval is 1 hour. * It works periodically until buffer is empty. Change-Id: I719c9addcedeb6f276d969a849c8374813857589
2016-05-16Fix TC according to on_demand stylesangwan.kwon3-20/+14
Change-Id: I838690016ce7aa0f1f61faf3ad45b0543667dcc2
2016-05-16Add logic to deal remaining buffersangwan.kwon1-15/+26
* If process return OCSP_CHECK_AGAIN, don't exit. Change-Id: I3ddeed639cc854a22f3e88b6ab5f1f29935c7c30
2016-05-12Detach looping logic from setupsangwan.kwon4-7/+17
[AS-IS] * running g_main_loop is in setup * so, it can hard to test [TO-BE] * seperate setup and looping Change-Id: I591da58b93895e46adbd1262b11e0d7dd545c7c6
2016-05-12Add TC for client APIsangwan.kwon5-15/+61
Change-Id: I93d6b0de5f82f5cc9985c6464044125bc9ca05c6
2016-05-12Move log system to common librarysangwan.kwon35-51/+44
Change-Id: I313b4b4d6019cca575996f7f3fd3f3254f4ce11a
2016-05-11Implement on-demand style about client-sidesangwan.kwon19-13/+424
[AS-IS] * cert-checker was daemon. [TO-BE] * Change to on-demand style. * Add client library. Change-Id: Ia318bc8a724db1f50a50bd42aa4c8c94b078e287
2016-05-10Implement on-demand style about server-sidesangwan.kwon48-217/+2225
[AS-IS] * cert-checker was daemon. [TO-BE] * Change to on-demand style. * cert-svc call cert-checker. * Add common library. Change-Id: Idab160e6103cf62299b97a5485a767de9831d614 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-05-10Add gitignore filesangwan.kwon1-0/+8
Change-Id: Ifeae19f1578386c5ea315c1d75ff08712329a69e
2016-04-20bug fix in db directory permissionsubmit/tizen/20160422.031748accepted/tizen/mobile/20160422.070426accepted/tizen/ivi/20160422.070252accepted/tizen/common/20160422.171901Dongsun Lee1-1/+1
Change-Id: I1f263f5df9256588e0019718874caa03b2ff33c6 Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
2016-04-15change a user from system to security_fwsubmit/tizen/20160419.001742submit/tizen/20160418.074121accepted/tizen/mobile/20160419.050219accepted/tizen/ivi/20160419.050238accepted/tizen/common/20160419.143240Dongsun Lee7-12/+17
Change-Id: I394228947a672e9e6a6c0110bd8fb8cdaae66060 Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
2016-03-22Upgrade version to 0.0.5submit/tizen/20160322.073310accepted/tizen/wearable/20160323.011424accepted/tizen/tv/20160323.011411accepted/tizen/mobile/20160323.011352accepted/tizen/ivi/20160323.011447accepted/tizen/common/20160322.150738accepted/tizen_wearableaccepted/tizen_tvsangwan.kwon1-1/+1
Change-Id: I86b9e09431efafadcc63564b7bacff74d343979b Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-03-22Add BSL-1.0 license file and license boilerplatesangwan.kwon4-1/+53
Change-Id: I795e89fa5135167aabc5599fd4dcf605690198db Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-03-15Delete thread unsafe function. strerrorsubmit/tizen/20160321.051308accepted/tizen/wearable/20160321.113743accepted/tizen/tv/20160321.113723accepted/tizen/mobile/20160321.113706accepted/tizen/ivi/20160321.113800accepted/tizen/common/20160321.150604sangwan.kwon2-2/+11
* use GetErrnoString() instead of it Change-Id: I0d767d423be26987d387ad1b1c5899d7f36a27b3 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-03-15Set linker flags and delete unuse librarysangwan.kwon6-7/+4
* flag : about as-needed * delete lib : cert-svc Change-Id: Iba79ed9fc6dd5d478ccb871b3f8aeac41a10dedf Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-03-09Fix group tag to Security/Certificate Managementsangwan.kwon1-1/+1
* System/Security -> Security/Certificate Management Change-Id: I1312c5e97e1a0b6b3b3410251d677a1728914026 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-03-04Specify signed keyword explicitlysubmit/tizen/20160304.055833accepted/tizen/wearable/20160305.093447accepted/tizen/tv/20160305.093432accepted/tizen/mobile/20160305.093413accepted/tizen/ivi/20160305.093507accepted/tizen/common/20160304.195523sangwan.kwon1-2/+2
Change-Id: Ief109eac6c859e4a158473611d63a5de134fc369 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-03-04Define macro for updated tz-configsangwan.kwon1-1/+6
Change-Id: I6daeb100a6b9dceb3917a0a337f037999c7451c5 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-03-02Fix hard coded pathsangwan.kwon3-13/+16
Change-Id: Ic47c2b6f4201fc71104077fd93dba2bff09d139c Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
2016-02-25Update UML Designer documentationsubmit/tizen/20160226.022940accepted/tizen/wearable/20160226.040304accepted/tizen/tv/20160226.040245accepted/tizen/mobile/20160226.040230accepted/tizen/ivi/20160226.040323accepted/tizen/common/20160229.160509sangwan.kwon3-4057/+3976
* delete unuse attributes Change-Id: I1928cc78b0916ec10eba10559f794d9223402133 Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>