platform/core/security/drm-service-core-tizen.git
7 years agoRemove old update script 71/147671/1 tizen_4.0_tv accepted/tizen/4.0/unified/20170906.144020 submit/tizen_4.0/20170906.063410 tizen_4.0.IoT.p1_release tizen_4.0.IoT.p2_release tizen_4.0.m2_release
Sunmin Lee [Tue, 5 Sep 2017 08:17:07 +0000 (17:17 +0900)]
Remove old update script

RW update script for Tizen 2.4 (to 3.0) is not necessary in Tizen 4.0.
Remove this file to avoid being executed during Tizen 4.0 update.

Change-Id: Iee17c2a20a6aa3b5ce206cdda00565ab8766d5c0

7 years agoprevent buffer overflow at memcpy 61/140161/3 accepted/tizen/4.0/unified/20170816.013042 accepted/tizen/4.0/unified/20170829.015805 accepted/tizen/unified/20170725.173452 submit/tizen/20170724.065948 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170828.100004 submit/tizen_4.0/20170828.110004
Dongsun Lee [Mon, 24 Jul 2017 05:01:33 +0000 (14:01 +0900)]
prevent buffer overflow at memcpy

Change-Id: I956e8f89b0fa422c3a1eab006ade07282bb7646a
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
7 years agoFix upgrade script number 94/136594/1 accepted/tizen/unified/20170705.163011 submit/tizen/20170704.073704 submit/tizen/20170705.025248
sangwan.kwon [Fri, 30 Jun 2017 07:53:01 +0000 (16:53 +0900)]
Fix upgrade script number

* Accordig to OS upgrade team's guide, this script would be run as 240.

Change-Id: If6c320a9edf9243e0846af33a07e5bcc1d9cfedb
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
(cherry picked from commit c628dbf7efcbecc79412da7b65b81ac6b8505bb0)

7 years agoFix svace_2.3 defects 88/123588/6 accepted/tizen/unified/20170407.190850 submit/tizen/20170407.075823 tizen_4.0.m1_release
sangwan.kwon [Thu, 6 Apr 2017 07:33:43 +0000 (16:33 +0900)]
Fix svace_2.3 defects

Change-Id: I7563a95024daca60331b2d5d742768b6bba06f0b
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
7 years agoFix svace defects 87/123587/1
Kyungwook Tak [Thu, 9 Feb 2017 07:38:43 +0000 (16:38 +0900)]
Fix svace defects

Change-Id: Ib8740613250c789ce43d95c083e0f9a03a9ca97c
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
(cherry picked from commit 265e328cf364a7eaf7d6f845c8fcdd52831b506d)
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
7 years agoRemove std::nothrow from ASLR enabled bin 37/108937/3 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170109.202447 accepted/tizen/ivi/20170109.084941 accepted/tizen/mobile/20170109.084837 accepted/tizen/tv/20170109.084904 accepted/tizen/unified/20170309.033147 accepted/tizen/wearable/20170109.084922 submit/tizen/20170109.064234 submit/tizen_unified/20170308.100408
Kyungwook Tak [Fri, 6 Jan 2017 08:15:47 +0000 (17:15 +0900)]
Remove std::nothrow from ASLR enabled bin

std::nothrow in glibc from gcc6.2 cannot linked with ASLR enabled
executable in x86 series architectures but don't know why...
So just use default new and handle std::bad_alloc.

Change-Id: I21191c108e94be4ca2c7157807407f8f6ec5f4d3
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
7 years agoReplace deprecated readdir_r with readdir 23/106023/4 accepted/tizen/common/20161227.192120 accepted/tizen/ivi/20161226.131243 accepted/tizen/mobile/20161226.131204 accepted/tizen/tv/20161226.131210 accepted/tizen/wearable/20161226.131219 submit/tizen/20161226.013211 submit/tizen/20170106.082227 submit/tizen/20170106.082921
Kyungwook Tak [Wed, 21 Dec 2016 09:22:55 +0000 (18:22 +0900)]
Replace deprecated readdir_r with readdir

Change-Id: I47574d8c7523b5976e79adefa2a6cf290fe705db
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
7 years agoFix coding style according to tizen rule 90/106290/2
Kyungwook Tak [Wed, 21 Dec 2016 04:39:55 +0000 (13:39 +0900)]
Fix coding style according to tizen rule

Use pre-commit.sh to fit style

Change-Id: I5ca49a7698e1c6f6fa0ab891b4966343e77a8908
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
7 years agoChange data resource directory 63/106063/2
Kyungwook Tak [Tue, 20 Dec 2016 09:23:49 +0000 (18:23 +0900)]
Change data resource directory

sys ro share -> sys home because of size limitation

Change-Id: I2e090d609024d0c094b3f2e429a7fc51d254d1eb
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
7 years agoRefactor: c pointer to std::unique_ptr on db 62/106062/2
Kyungwook Tak [Tue, 20 Dec 2016 08:56:42 +0000 (17:56 +0900)]
Refactor: c pointer to std::unique_ptr on db

db connection info map in DTapps2SqliteDB have resource leak (isn't
deleted when db is closed). To manage it in c++ style, use
std::unique_ptr instead of c pointer at least here...

Change-Id: I6e645fcf654fa95dbafe99426f461cb42d273fe4
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
7 years agoRemove C++ template declarance from C linkage 22/106022/1
Kyungwook Tak [Tue, 20 Dec 2016 07:47:09 +0000 (16:47 +0900)]
Remove C++ template declarance from C linkage

Change-Id: I8c6655f1adff33300619218a86f5ac146949affb
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
7 years agoFix cxx cflags typo for debug build type 21/106021/1
Kyungwook Tak [Tue, 20 Dec 2016 07:24:34 +0000 (16:24 +0900)]
Fix cxx cflags typo for debug build type

Change-Id: I2f986a595bac976ee32ada7806854f0b46575322
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
7 years agoAdd upgrade script 64/102264/1
Kyungwook Tak [Mon, 5 Dec 2016 08:56:15 +0000 (17:56 +0900)]
Add upgrade script

Update credentials of db resource

Change-Id: I57ddcbd93b6b8ed7bdab3c3945d13857b2f544fc
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
7 years agoChange db resource credential 61/100661/1 accepted/tizen/common/20161129.104317 accepted/tizen/ivi/20161130.015114 accepted/tizen/mobile/20161130.015021 accepted/tizen/tv/20161130.015040 accepted/tizen/wearable/20161130.015058 submit/tizen/20161129.050603
Kyungwook Tak [Tue, 29 Nov 2016 02:10:22 +0000 (11:10 +0900)]
Change db resource credential

DB is only accessed by pkgmgr-server which provides platform privilege
level API so make it only accessable by pkgmgr-server.

Change-Id: Iaa27c655225e70e55e984fe33ea53aae5bfebe32
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoModify logging macro not to use LOG_TAG 44/93544/1 accepted/tizen/common/20161110.153812 accepted/tizen/ivi/20161111.001809 accepted/tizen/mobile/20161111.001714 accepted/tizen/tv/20161111.001734 accepted/tizen/wearable/20161111.001751 submit/tizen/20161110.060453
Dongsun Lee [Tue, 25 Oct 2016 01:42:33 +0000 (10:42 +0900)]
Modify logging macro not to use LOG_TAG

Change-Id: Ib9c788c6792b81dd1a8ef789b56d6f01d0704c08
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
8 years agoPotential bug fixes detected by SVACE 00/84500/1 accepted/tizen/3.0/common/20161114.105953 accepted/tizen/3.0/ivi/20161011.043848 accepted/tizen/3.0/mobile/20161015.033020 accepted/tizen/3.0/tv/20161016.004131 accepted/tizen/3.0/wearable/20161015.081824 accepted/tizen/common/20160822.132554 accepted/tizen/ivi/20160823.041029 accepted/tizen/mobile/20160823.040926 accepted/tizen/tv/20160823.040950 accepted/tizen/wearable/20160823.041009 submit/tizen/20160822.023804 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000001 submit/tizen_3.0_mobile/20161015.000002 submit/tizen_3.0_tv/20161015.000001 submit/tizen_3.0_wearable/20161015.000001
Kyungwook Tak [Fri, 19 Aug 2016 04:51:17 +0000 (13:51 +0900)]
Potential bug fixes detected by SVACE

use after free           : TADC_IF_VerifyCertChain (TADC_IF.cpp)
buffer overflow          : TADC_GetHashReqID       (TADC_Core.cpp)
checking condition error : DTappsGetCEK            (DTapps2Rights.cpp)

Change-Id: Ib938b726d3e5ba4332e7a278d9f733930b18bfbb
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoChange db file smack label & owner 24/78624/1 accepted/tizen/common/20160706.142529 accepted/tizen/ivi/20160706.132726 accepted/tizen/mobile/20160706.131512 accepted/tizen/tv/20160706.131627 accepted/tizen/wearable/20160706.131721 submit/tizen/20160706.083629
Kyungwook Tak [Wed, 6 Jul 2016 08:31:48 +0000 (17:31 +0900)]
Change db file smack label & owner

Change-Id: I22e8664b60824f67f09934f1632244d174031313
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoFix 64bit build error and some goto-catch 54/62054/2 accepted/tizen/common/20160315.221653 accepted/tizen/ivi/20160315.123125 accepted/tizen/mobile/20160315.123015 accepted/tizen/tv/20160315.123039 accepted/tizen/wearable/20160315.123105 submit/tizen/20160315.072709
Kyungwook Tak [Mon, 14 Mar 2016 05:58:09 +0000 (14:58 +0900)]
Fix 64bit build error and some goto-catch

Change-Id: I8ad8941828b85b55300574cf5ed4c0fd27861179
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoRefactor directory-hierarchy especially test resources 73/62073/1
Kyungwook Tak [Mon, 14 Mar 2016 06:36:06 +0000 (15:36 +0900)]
Refactor directory-hierarchy especially test resources

Change-Id: I481a45049636ab3b593fc79fb41b5c21df1fd8f8
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoAdd gitignore file 55/62055/1
Kyungwook Tak [Mon, 14 Mar 2016 05:59:54 +0000 (14:59 +0900)]
Add gitignore file

Change-Id: I85d8b3357083a281fd24d2e628d7b45c035707da
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoFix build warning and add related gcc options 12/61712/5 submit/tizen/20160311.052312
Kyungwook Tak [Thu, 10 Mar 2016 04:32:42 +0000 (13:32 +0900)]
Fix build warning and add related gcc options

Werror, Wall, Wextra options added

Change-Id: Ia4a361babc4e50704641d27ee47066cb421fe5a0
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoUse cryptsvc for derive key from platform key 02/58602/1 accepted/tizen/ivi/20160218.023747 accepted/tizen/mobile/20160203.050936 accepted/tizen/tv/20160203.050949 accepted/tizen/wearable/20160203.051012 submit/tizen/20160202.104355 submit/tizen_common/20160218.142243 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000003
Kyungwook Tak [Tue, 2 Feb 2016 07:08:08 +0000 (16:08 +0900)]
Use cryptsvc for derive key from platform key

Dukgenerator API integrated to cryptsvc

Change-Id: I7165467996fbd8b046b10d67013b89224fc7afd8
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoRemove tz platform config devel dependency 18/54218/1 accepted/tizen/mobile/20151214.134330 accepted/tizen/tv/20151214.135047 accepted/tizen/wearable/20151214.135703 submit/tizen/20151214.075449 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
Kyungwook Tak [Mon, 14 Dec 2015 07:16:38 +0000 (16:16 +0900)]
Remove tz platform config devel dependency

Change-Id: I5409e7cc7ba2de451dc910c0167d328486ed4e80
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
8 years agoFix array out of bound access and mem err handling 33/51733/2
Kyungwook Tak [Thu, 12 Nov 2015 11:45:11 +0000 (20:45 +0900)]
Fix array out of bound access and mem err handling

Change-Id: I5584f33a3fa41b7b99301b6263c7f6f7e7cb3811
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
9 years agoSynchronize with tizen 2.4 94/51194/1 accepted/tizen/mobile/20151110.071054 accepted/tizen/tv/20151110.071113 accepted/tizen/wearable/20151110.071134 submit/tizen/20151106.013643 submit/tizen/20151110.054123
Dongsun Lee [Thu, 5 Nov 2015 07:09:05 +0000 (16:09 +0900)]
Synchronize with tizen 2.4

Change-Id: Ia077de55a43927602e49aab2a706e51bed553a80
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
11 years agoPackage Name changed. (drm-service-core-sapps -> drm-service-core-tizen) accepted/tizen/ivi/stable accepted/tizen_ivi_panda tizen_ivi_panda accepted/tizen/20130926.103342 accepted/tizen/20130926.163524 accepted/tizen/20130926.225208 accepted/tizen/ivi/panda/20140403.015011 accepted/tizen_ivi_stable/20131116.111633 submit/tizen/20130926.084015 submit/tizen_ivi_panda/20140403.011859 submit/tizen_ivi_stable/20131116.100911
sunggun.jung [Fri, 5 Jul 2013 04:08:57 +0000 (13:08 +0900)]
Package Name changed. (drm-service-core-sapps -> drm-service-core-tizen)
Signed-off-by: sunggun.jung <sunggun.jung@samsung.com>
Change-Id: I96676ad83267d7fe26baff5df0c7951327564280

11 years agoboiler plate fixed.
sunggun.jung [Thu, 4 Jul 2013 09:20:49 +0000 (18:20 +0900)]
boiler plate fixed.
Signed-off-by: sunggun.jung <sunggun.jung@samsung.com>
Change-Id: Iecb162b06732ae3795cc370607aa2b4eaa81a9d9

11 years agoFlora License updated.
sunggun.jung [Thu, 4 Jul 2013 08:39:57 +0000 (17:39 +0900)]
Flora License updated.
Signed-off-by: sunggun.jung <sunggun.jung@samsung.com>
Change-Id: I53216a1c910a1933dd1005eac5c75816d27cfc51

11 years agoMerge branch 'master' into tizen_2.2
sunggun.jung [Thu, 4 Jul 2013 07:05:05 +0000 (16:05 +0900)]
Merge branch 'master' into tizen_2.2

Change-Id: Ibd56ebf095cadb12928be14d2f390bc4bb2f9a52

11 years agoTizen App DRM plugin binary added.
sunggun.jung [Thu, 4 Jul 2013 06:48:07 +0000 (15:48 +0900)]
Tizen App DRM plugin binary added.
Signed-off-by: sunggun.jung <sunggun.jung@samsung.com>
Change-Id: Id0c7287ed7b12367141bd80a0a5f3427173772b3

12 years agoInitial empty repository
Jung Minsun [Wed, 24 Oct 2012 08:38:58 +0000 (17:38 +0900)]
Initial empty repository