platform/core/security/privilege-checker.git
8 years agoUpdate native privilege info: Fix issued version of mapservice of wearable profile... 59/74959/1 accepted/tizen/ivi/20160617.082904 accepted/tizen/mobile/20160617.082732 accepted/tizen/tv/20160617.082703 accepted/tizen/wearable/20160617.082751 submit/tizen/20160616.084313
Yunjin Lee [Thu, 16 Jun 2016 07:02:13 +0000 (16:02 +0900)]
Update native privilege info: Fix issued version of mapservice of wearable profile to 2.3.2

Change-Id: I16899354f924cdef0ff54c0ea70e73a55bc31ab8
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoFix privilege mis-grouping issue 33/74633/1 accepted/tizen/common/20160615.193611 accepted/tizen/ivi/20160616.002339 accepted/tizen/mobile/20160616.002327 accepted/tizen/tv/20160616.002320 accepted/tizen/wearable/20160616.002314 submit/tizen/20160615.050748
Yunjin Lee [Wed, 15 Jun 2016 04:46:59 +0000 (13:46 +0900)]
Fix privilege mis-grouping issue
- pkgmgr passes privilege list including internal privileges and it causes misgrouping issue. fix to bypass internal privileges when getting privilege group info.
- fix not to check api version when getting privilege group info(not required).

Change-Id: I6263178b7d747b3fc9fa1bdccfa50d97e73c1246
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoRevise return value of privilege_info_is_privacy() 46/73246/2 accepted/tizen/common/20160608.160950 accepted/tizen/ivi/20160609.091000 accepted/tizen/mobile/20160609.090921 accepted/tizen/tv/20160609.090933 accepted/tizen/wearable/20160609.090951 submit/tizen/20160608.114653
Yunjin Lee [Tue, 7 Jun 2016 09:03:25 +0000 (18:03 +0900)]
Revise return value of privilege_info_is_privacy()
return 1 for true(privilege id privacy related), 0 for false(include not stored in db case), and -1 for any other DB error.

Change-Id: If5b6d6dd3f2df0879b0e12def69b57bdeebe379d
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoFix 64bit build break 39/73139/1 accepted/tizen/common/20160607.194556 accepted/tizen/ivi/20160607.072002 accepted/tizen/mobile/20160607.071949 accepted/tizen/tv/20160607.071952 accepted/tizen/wearable/20160607.071936 submit/tizen/20160607.012830
Yunjin Lee [Tue, 7 Jun 2016 01:18:52 +0000 (10:18 +0900)]
Fix 64bit build break

Change-Id: Ia193f79ca2076b7cb79b8ccb80edc939d41eeb1e
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoRevise testsuit: Add missing testcase and add util header for frequently used functions 38/72538/1 submit/tizen/20160603.071358
Yunjin Lee [Wed, 1 Jun 2016 10:41:11 +0000 (19:41 +0900)]
Revise testsuit: Add missing testcase and add util header for frequently used functions

Change-Id: Iccbf48e74fc4696ed45a7cc0bf27be745c33d5c1
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoAdd wrt privilege: widget.viewer 41/72441/2
Yunjin Lee [Wed, 1 Jun 2016 05:26:06 +0000 (14:26 +0900)]
Add wrt privilege: widget.viewer

Change-Id: I5943e2d07c3be88175119947b10430ba81a91b7a
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoFix memory leak and typo 04/70704/3
Yunjin Lee [Fri, 20 May 2016 07:18:39 +0000 (16:18 +0900)]
Fix memory leak and typo

Change-Id: Iac7f5a7429320e38061cba70a74f041b0a44f7de
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoAdd core email privilege to wearable profile and update language files 26/70026/1 accepted/tizen/common/20160518.124929 accepted/tizen/ivi/20160518.090242 accepted/tizen/mobile/20160518.090213 accepted/tizen/tv/20160518.090238 accepted/tizen/wearable/20160518.090227 submit/tizen/20160518.013757
Yunjin Lee [Wed, 18 May 2016 01:29:06 +0000 (10:29 +0900)]
Add core email privilege to wearable profile and update language files
Add core email privilege to wearable profile (ACR-604)

Change-Id: Ic17f19172044e65204e2fec5d8b738a43bd4f2e9
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoUpdate mapping table: Add mediastorage and externalstorage to web default privilege 91/68391/1 accepted/tizen/common/20160510.141323 accepted/tizen/ivi/20160510.070826 accepted/tizen/mobile/20160510.070839 accepted/tizen/tv/20160510.070719 accepted/tizen/wearable/20160510.070723 submit/tizen/20160510.052841
Yunjin Lee [Wed, 4 May 2016 02:02:03 +0000 (11:02 +0900)]
Update mapping table: Add mediastorage and externalstorage to web default privilege

Change-Id: Ic50beaf28814c973810dcb47728bc504f2f50365
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoDeprecate core privilege : minicontrol.provider 78/67678/1
Yunjin Lee [Thu, 28 Apr 2016 03:16:36 +0000 (12:16 +0900)]
Deprecate core privilege : minicontrol.provider

Change-Id: I49795de5a0f76fe5032b83733403452600b35f98
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoChange profile of privilege : core vpnservice, vpnservice.admin 62/67662/1
Yunjin Lee [Thu, 28 Apr 2016 02:24:53 +0000 (11:24 +0900)]
Change profile of privilege : core vpnservice, vpnservice.admin

Change-Id: I2560d9cadc432b27fee6e0a14894d703755f8cc9
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoRevise function to avoid SQL injection and memory leak 79/67079/2
Yunjin Lee [Mon, 25 Apr 2016 06:08:11 +0000 (15:08 +0900)]
Revise function to avoid SQL injection and memory leak

Change-Id: Ie9d579756199bab7c64b3afc05f19d47e4b1a9b0
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoAdd missing policy db generate script 02/66202/2 accepted/tizen/common/20160419.142910 accepted/tizen/ivi/20160418.124422 accepted/tizen/mobile/20160418.124138 accepted/tizen/tv/20160418.124216 accepted/tizen/wearable/20160418.124328 submit/tizen/20160418.054551
Yunjin Lee [Mon, 18 Apr 2016 00:08:26 +0000 (09:08 +0900)]
Add missing policy db generate script

Change-Id: Iee4023152f8b9e9a3dfc6b1482dec3f9ae34c3fc
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoRevise error message and Fix memory leak 16/65016/1 submit/tizen/20160407.023728
Yunjin Lee [Thu, 7 Apr 2016 01:44:40 +0000 (10:44 +0900)]
Revise error message and Fix memory leak

Change-Id: I058ffe166e48e1339d8eeb39512ac67763d0a6ac
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoAdd black list APIs and DB 63/64863/4
Yunjin Lee [Tue, 5 Apr 2016 23:56:39 +0000 (08:56 +0900)]
Add black list APIs and DB

For testing, build package and install tc-privilege-checker.*.rpm on target and run /usr/bin/tc-privilege-black-list on target shell

Change-Id: Ia7a931a7325a3cce8e039b52be67e187c8dfde44
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoUpdate language files 62/64862/2 accepted/tizen/common/20160406.144420 accepted/tizen/ivi/20160406.073451 accepted/tizen/mobile/20160406.073245 accepted/tizen/tv/20160406.073300 accepted/tizen/wearable/20160406.073327 submit/tizen/20160406.025752
Yunjin Lee [Wed, 30 Mar 2016 09:10:50 +0000 (18:10 +0900)]
Update language files

Change-Id: Ifb2e29e69a3b5b5e57e9176b1a61f92f288eea60
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoApply Tizen coding rule to headers 63/63963/2
Yunjin Lee [Tue, 29 Mar 2016 05:22:06 +0000 (14:22 +0900)]
Apply Tizen coding rule to headers

Change-Id: I917f67691ba8d177e2dd7f89747ddff78c6c5940
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoMerge "Fix typo in tv core privilege DB and sync privilege list with mobile" into...
Kim Kidong [Tue, 29 Mar 2016 02:00:56 +0000 (19:00 -0700)]
Merge "Fix typo in tv core privilege DB and sync privilege list with mobile" into tizen

8 years agoMerge "Remove minicontrol.provider from wearable profile" into tizen
Kim Kidong [Tue, 29 Mar 2016 02:00:07 +0000 (19:00 -0700)]
Merge "Remove minicontrol.provider from wearable profile" into tizen

8 years agoAdd wrt volume.set privilege to TV profile 01/63901/1 accepted/tizen/common/20160329.050957 accepted/tizen/ivi/20160328.115851 accepted/tizen/mobile/20160328.115745 accepted/tizen/tv/20160328.115800 accepted/tizen/wearable/20160328.115849 submit/tizen/20160328.110055
Yunjin Lee [Mon, 28 Mar 2016 10:52:28 +0000 (19:52 +0900)]
Add wrt volume.set privilege to TV profile

Change-Id: I84910ab3db24dad0741614031de70abad6088734
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoFix typo in tv core privilege DB and sync privilege list with mobile 17/63817/1
Yunjin Lee [Mon, 28 Mar 2016 02:57:53 +0000 (11:57 +0900)]
Fix typo in tv core privilege DB and sync privilege list with mobile

Change-Id: Id59bbbdfaf4ee09e7e117d23010fce34787d5a07
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoRemove minicontrol.provider from wearable profile 52/63452/1
Yunjin Lee [Thu, 24 Mar 2016 05:14:20 +0000 (14:14 +0900)]
Remove minicontrol.provider from wearable profile

Change-Id: Ibbff5846b81cc444f20272c621dbe13112519319
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoRevise version info of wearable privileges 13/63313/2 accepted/tizen/common/20160323.185418 accepted/tizen/ivi/20160323.140955 accepted/tizen/mobile/20160323.135636 accepted/tizen/tv/20160323.135917 accepted/tizen/wearable/20160323.135618 submit/tizen/20160323.092724
Yunjin Lee [Wed, 23 Mar 2016 06:53:28 +0000 (15:53 +0900)]
Revise version info of wearable privileges

Change-Id: I75edbbe73f33fc7f568ef5ac99808c55f1ffa78f
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoUpdate language files 03/63303/1 accepted/tizen/ivi/20160323.140618 accepted/tizen/mobile/20160323.134929 accepted/tizen/tv/20160323.135408 accepted/tizen/wearable/20160323.135018 submit/tizen/20160323.061642
Yunjin Lee [Wed, 23 Mar 2016 06:10:45 +0000 (15:10 +0900)]
Update language files

Change-Id: I3119f033efb2f9025342ad438fd2c54b3069f845
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoAdd core privilege: vpnservice, vpnservice.admin 91/63291/1
Yunjin Lee [Wed, 23 Mar 2016 05:36:51 +0000 (14:36 +0900)]
Add core privilege: vpnservice, vpnservice.admin

Change-Id: I0dfa280dfc4de1bfee89cf9b1f9d4a2a518df6ef
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoAdd missing privilege: Add web d2d.datasharing privilege to tv profile 31/62631/1 accepted/tizen/common/20160317.161158 accepted/tizen/ivi/20160318.113222 accepted/tizen/mobile/20160318.112839 accepted/tizen/tv/20160318.113036 accepted/tizen/wearable/20160318.113106 submit/tizen/20160317.065914
Yunjin Lee [Thu, 17 Mar 2016 06:52:30 +0000 (15:52 +0900)]
Add missing privilege: Add web d2d.datasharing privilege to tv profile

Change-Id: Id91475043754cfe6890d5cf4277dfe5233cdb1af
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoAdd core location.coarse privilege 77/62277/1 accepted/tizen/common/20160315.221727 accepted/tizen/ivi/20160315.123434 accepted/tizen/mobile/20160315.123327 accepted/tizen/tv/20160315.123347 accepted/tizen/wearable/20160315.123411 submit/tizen/20160315.073731
Yunjin Lee [Tue, 15 Mar 2016 07:24:42 +0000 (16:24 +0900)]
Add core location.coarse privilege

Change-Id: I0753b330fc22ff0dbff15c2d47e27690372397b9
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoRevise mapping table: Add missing privilege mapping(core use_ir) and fix miswritten... 31/62231/1
Yunjin Lee [Tue, 15 Mar 2016 03:03:57 +0000 (12:03 +0900)]
Revise mapping table: Add missing privilege mapping(core use_ir) and fix miswritten expired version(wrt systemmanager) in mapping table

Change-Id: Ia510cb956199c409be5cae5d61576aca0ecf0d17
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoFix typo in wearable testsuit 10/62110/1
Yunjin Lee [Mon, 14 Mar 2016 10:38:42 +0000 (19:38 +0900)]
Fix typo in wearable testsuit

Change-Id: Id3cb913a2c9a343fece674c36aa2cb9c7d3bc348
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoApply "-Werror -Wall -Wextra" option 62/61762/1 accepted/tizen/common/20160311.201610 accepted/tizen/ivi/20160311.060919 accepted/tizen/mobile/20160311.060745 accepted/tizen/tv/20160311.060811 accepted/tizen/wearable/20160311.060841 submit/tizen/20160310.101935
Yunjin Lee [Thu, 10 Mar 2016 10:12:22 +0000 (19:12 +0900)]
Apply "-Werror -Wall -Wextra" option

Change-Id: I3ccaf81d9189fae198ff650d21ea66e4a56225f6
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoModify core mapservice to non-privacy related privilege 07/61607/1
Yunjin Lee [Wed, 9 Mar 2016 06:57:18 +0000 (15:57 +0900)]
Modify core mapservice to non-privacy related privilege

Change-Id: Ifab7707f23b88a15447e25ec511e4aa52787824c
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoModify query for privilege description refers to https://review.tizen.org/gerrit... 00/61500/1
Yunjin Lee [Tue, 8 Mar 2016 09:04:13 +0000 (18:04 +0900)]
Modify query for privilege description refers to https://review.tizen.org/gerrit/#/c/57858/

Change-Id: I2d8c16ece9aad4660100ea47db57ad981516078a
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoDeprecate/remove wrt keymanager privilege 97/61497/1
Yunjin Lee [Tue, 8 Mar 2016 08:53:50 +0000 (17:53 +0900)]
Deprecate/remove wrt keymanager privilege

Change-Id: Ib2b0475f923ae1fe59c081c6631136fdfdbc75b4
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoModify to see mobile when build profile is common 93/60893/1 accepted/tizen/common/20160303.110144 accepted/tizen/ivi/20160305.085744 accepted/tizen/mobile/20160305.085652 accepted/tizen/tv/20160305.085710 accepted/tizen/wearable/20160305.085725 submit/tizen/20160303.010122
Yunjin Lee [Thu, 3 Mar 2016 00:52:37 +0000 (09:52 +0900)]
Modify to see mobile when build profile is common

Change-Id: I0d7136836771d37c90b4ed4b129d2ef6085b143d
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoDeprecate native keymanager and Add web d2d.datasharing privilege 87/60787/1
Yunjin Lee [Wed, 2 Mar 2016 08:08:49 +0000 (17:08 +0900)]
Deprecate native keymanager and Add web d2d.datasharing privilege

Change-Id: Iadb7b011fcab8d7c5ca27fa704b18c889621c1e7
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoRemove useless mkdir line from spec file 88/60188/3
Yunjin Lee [Wed, 24 Feb 2016 06:01:27 +0000 (15:01 +0900)]
Remove useless mkdir line from spec file

Change-Id: I05c14c13ec1ff42eecfd9729dfe3ec5b57989e78
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years ago1. Add core use_ir privilege 2. Remove d2d.* privileges except d2d.datasharing 3... 11/60011/1 accepted/tizen/common/20160301.120611 accepted/tizen/ivi/20160223.232426 accepted/tizen/mobile/20160223.232338 accepted/tizen/tv/20160223.232352 accepted/tizen/wearable/20160223.232406 submit/tizen/20160223.085655 submit/tizen_common/20160229.190608
Yunjin Lee [Mon, 22 Feb 2016 08:45:27 +0000 (17:45 +0900)]
1. Add core use_ir privilege 2. Remove d2d.* privileges except d2d.datasharing 3. Update DID and language files 4. Add note field to csv file - this field is ignored when creating db -

Change-Id: If489d5784c6d75cf3aeecfb78caee3195a02f2b4
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years ago1. Remove d2d.admin privilege 2. Revise expired version of mapping table and query... 91/58191/1 devel/ivi accepted/tizen/common/20160217.170659 accepted/tizen/ivi/20160218.024000 accepted/tizen/mobile/20160201.042610 accepted/tizen/tv/20160201.042637 accepted/tizen/wearable/20160201.042731 submit/devel/ivi/20160202.071226 submit/tizen/20160131.230249 submit/tizen_common/20160217.131930 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000003
Yunjin Lee [Thu, 28 Jan 2016 08:05:28 +0000 (17:05 +0900)]
1. Remove d2d.admin privilege 2. Revise expired version of mapping table and query for mapping

Change-Id: I7544201074739253c725abed749acd73d3f25de3
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years ago1. Revise rpm name from capi-security-privilege-manager to security-privilege-manager... 98/57898/3 accepted/tizen/mobile/20160129.083348 accepted/tizen/tv/20160129.083415 accepted/tizen/wearable/20160129.083438 submit/tizen/20160127.110348
Yunjin Lee [Tue, 26 Jan 2016 00:35:04 +0000 (09:35 +0900)]
1. Revise rpm name from capi-security-privilege-manager to security-privilege-manager 2. Add pc_requires to fix build fail of askuser

Change-Id: Ie212fe0ab401708483fd2512377591fb986418f0
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years ago1. Modify privilege verification logic according to the changes of expired version... 58/57858/2 submit/tizen/20160125.091654
Yunjin Lee [Mon, 25 Jan 2016 09:11:42 +0000 (18:11 +0900)]
1. Modify privilege verification logic according to the changes of expired version 2. Fix api version padding 3. Fix broken DB of TV profile

Change-Id: I8e2778e498a7379c9b997eef3449bcc16fa240e8
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoAdd privacy feature: APIs and privacy info 55/57455/9 submit/tizen/20160125.072456
Yunjin Lee [Wed, 20 Jan 2016 07:54:55 +0000 (16:54 +0900)]
Add privacy feature: APIs and privacy info

To Test New APIs, bulid packages and install tc-privilege-checker.*.rpm and run /usr/bin/tc-privilege-info

For using new APIs:
#include <privilege_info.h>

int ret = privilege_info_is_privacy("http://tizen.org/privilege/account.read");
if (ret == 1)
    //is privacy case
else if (ret == 0)
    // is not privacy case
else if (ret == -1)
    // on error

GList* privacy_list = NULL; // privacy_list must be released with g_list_free by caller
ret = privilege_info_get_privacy_list(&privacy_list);
if (ret == 0) // ret == PRVMGR_ERR_NONE
    // success case
else
    // on error

GList* privilege_list = NULL; // privilege_list must be released with g_list_free by caller
ret = privilege_info_get_privilege_list_by_privacy("ACCOUNT", &privilege_list);
if (ret == 0) // ret == PRVMGR_ERR_NONE
    //success case
else if (ret == PRVMGR_ERR_INVALID_PARAMETER)
    // privacy param is NULL
else
    // on error

Change-Id: I5106d53b4adc538155912269bdf6fd31142ad4ab
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoAdd wrt datacontrol.consumer to wearable from 2.3.2 04/57004/1 accepted/tizen/mobile/20160115.010326 accepted/tizen/mobile/20160115.010426 accepted/tizen/tv/20160115.010339 accepted/tizen/tv/20160115.010441 accepted/tizen/wearable/20160115.010358 accepted/tizen/wearable/20160115.010502 submit/tizen/20160114.091920 submit/tizen/20160114.092139
Yunjin Lee [Thu, 14 Jan 2016 08:44:33 +0000 (17:44 +0900)]
Add wrt datacontrol.consumer to wearable from 2.3.2

Change-Id: I544247de113d3151c00a8a628cc7a0c860bf7e4d
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoRevise privilege DB generation and Add wrt keymanager privilege for mobile/wearable... 20/56520/2 accepted/tizen/mobile/20160111.053328 accepted/tizen/tv/20160111.053349 accepted/tizen/wearable/20160111.053416 submit/tizen/20160111.043006
Yunjin Lee [Mon, 11 Jan 2016 01:03:35 +0000 (10:03 +0900)]
Revise privilege DB generation and Add wrt keymanager privilege for mobile/wearable profile

Change-Id: I69ae9e320090276e8b76e93c0d4ec31efb6ea9c9
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoAdd null checking and remove temporal test code for comparing mapping APIs 85/54985/5 accepted/tizen/mobile/20151221.101436 accepted/tizen/tv/20151221.101349 accepted/tizen/wearable/20151221.101520 submit/tizen/20151221.064656 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
Yunjin Lee [Mon, 21 Dec 2015 06:19:34 +0000 (15:19 +0900)]
Add null checking and remove temporal test code for comparing mapping APIs

Change-Id: Ieb1155b661494e6c3f623b76aba34269586f4d21
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years ago1. Add core d2d.admin, d2d.appcontrol, d2d.datasharing privilege for mobile/wearable... 54/54954/1 accepted/tizen/mobile/20151221.100957 accepted/tizen/tv/20151221.100953 accepted/tizen/wearable/20151221.101057 submit/tizen/20151221.043845
Yunjin Lee [Mon, 21 Dec 2015 03:22:00 +0000 (12:22 +0900)]
1. Add core d2d.admin, d2d.appcontrol, d2d.datasharing privilege for mobile/wearable/tv profile 2. Modify missing mapping profile 3. Add mapping test code for 3.0

Change-Id: I20f730a2f128409c1f80f576aa897f389e45caa6
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoApply tizen coding rule 04/53904/1
Yunjin Lee [Thu, 10 Dec 2015 06:19:42 +0000 (15:19 +0900)]
Apply tizen coding rule

Change-Id: I89e5c6d8c64051a47e7a99c470b0301d616794ff
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoAdd privilege mapping api and DBs 58/53058/2 accepted/tizen/mobile/20151204.061847 accepted/tizen/tv/20151204.061914 accepted/tizen/wearable/20151204.061933 submit/tizen/20151204.011325
Yunjin Lee [Tue, 1 Dec 2015 10:50:10 +0000 (19:50 +0900)]
Add privilege mapping api and DBs

Change-Id: I79546dc9ccfc27804b0c8e56a212371b3b2fd9d2
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoUpdate internal testsuit 66/52166/3 accepted/tizen/mobile/20151125.072528 accepted/tizen/tv/20151125.072537 accepted/tizen/wearable/20151125.072552 submit/tizen/20151125.070431
Yunjin Lee [Thu, 19 Nov 2015 11:39:13 +0000 (20:39 +0900)]
Update internal testsuit

Change-Id: I89c1a7281ee75c48f0edd1958ed4146eb44dad9b
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoRevert 'Change privilege_db_manager to see core DB when web api version is 3.0' 94/51794/2
Yunjin Lee [Mon, 16 Nov 2015 07:37:03 +0000 (16:37 +0900)]
Revert 'Change privilege_db_manager to see core DB when web api version is 3.0'

Change-Id: Ia75764af720e8a1a9a4e40d046740a582b9a65c9
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years ago1. Add privilege_db_manager api to handle NULL api version 2. Modify api version... 75/49975/3
Yunjin Lee [Thu, 22 Oct 2015 07:03:16 +0000 (16:03 +0900)]
1. Add privilege_db_manager api to handle NULL api version 2. Modify api version check logic for version extensibility 3. Modify db script to insert space for changed_to comment 4. Apply secure coding on privilege_info and privilege_manager

Change-Id: I53931b82456a5d89fddfc587a973145e7f9ca713
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
9 years agoUpdate wrt privilege db for TV profile 73/48573/1 accepted/tizen/mobile/20150925.012556 accepted/tizen/tv/20150925.012609 accepted/tizen/wearable/20150925.012623 submit/tizen/20150924.072550 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
Yunjin Lee [Wed, 23 Sep 2015 06:00:53 +0000 (15:00 +0900)]
Update wrt privilege db for TV profile

Change-Id: Id7856308f0a620223fe6cf1e3973310a1e700944
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
9 years agoChange privilege_db_manager to see core DB when web api version is 3.0 and Remove... 34/47934/3 accepted/tizen/mobile/20150917.040325 accepted/tizen/tv/20150917.040345 accepted/tizen/wearable/20150917.040352 submit/tizen/20150914.101259
Yunjin Lee [Thu, 10 Sep 2015 07:15:49 +0000 (16:15 +0900)]
Change privilege_db_manager to see core DB when web api version is 3.0 and Remove WRT push from TV profile

Change-Id: I4e278e18c8548f11c0a4485edf2a28b5b2137bce
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
9 years agoAdd core privilege for tv profile as temporay support 86/47186/1 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150901.083559 accepted/tizen/tv/20150901.083607 accepted/tizen/wearable/20150901.083618 submit/tizen/20150901.022224 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release
Yunjin Lee [Tue, 1 Sep 2015 02:15:55 +0000 (11:15 +0900)]
Add core privilege for tv profile as temporay support

Change-Id: I57cc670e429a3a90d947e6abd2e0a4e21e9b12c8
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
9 years ago1. Update privilege DB and privilge_manager logic 2. Add test code-s 72/46972/1 accepted/tizen/mobile/20150829.030121 accepted/tizen/tv/20150829.030842 accepted/tizen/wearable/20150829.031611 submit/tizen/20150828.101456
Yunjin Lee [Thu, 27 Aug 2015 11:51:47 +0000 (20:51 +0900)]
1. Update privilege DB and privilge_manager logic 2. Add test code-s

Change-Id: Ie54e279fc883ea4b1b65361fd8d165789e8a9213

9 years agoFix syntax error in spec 63/46263/4 accepted/tizen/mobile/20150827.050704 accepted/tizen/tv/20150827.050722 accepted/tizen/wearable/20150827.050739 submit/tizen/20150827.025000
Yunjin Lee [Tue, 18 Aug 2015 14:11:25 +0000 (23:11 +0900)]
Fix syntax error in spec

Change-Id: If684d53a40a465a7d19a1b2d4633455975205e20
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
9 years agoRemove unused dependency and deprecated APIs 88/45988/3
Yunjin Lee [Thu, 13 Aug 2015 03:11:56 +0000 (12:11 +0900)]
Remove unused dependency and deprecated APIs

Change-Id: Ib950fc07dcff4463f97d739eb6ac00c3a2d18269
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
9 years agoRemove dependency to cert-svc in pc-requires 86/45886/3 accepted/tizen/mobile/20150824.134545 accepted/tizen/tv/20150824.134551 accepted/tizen/wearable/20150824.134603 submit/tizen/20150824.063103
Kyungwook Tak [Wed, 12 Aug 2015 07:31:57 +0000 (16:31 +0900)]
Remove dependency to cert-svc in pc-requires

Change-Id: Icc23216660055364e2c350449d2e01d19cf256c9
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
9 years agoRevert 'Modify cert visibility enum' - cert-svc is not ready 60/40460/1 tizen_3.0.2015.q2_common accepted/tizen/common/20150605.080046 accepted/tizen/mobile/20150605.092224 accepted/tizen/tv/20150605.092129 accepted/tizen/wearable/20150605.092149 submit/tizen/20150604.054220
Yunjin Lee [Thu, 4 Jun 2015 05:14:35 +0000 (14:14 +0900)]
Revert 'Modify cert visibility enum' - cert-svc is not ready

Change-Id: I8a1ee351e692d05199334d88715751d4d87b4071
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
9 years agoModify cert visibility enum and remove unused dependency 48/40248/1 submit/tizen/20150604.030419 submit/tizen_tv/20150603.015240
Yunjin Lee [Mon, 1 Jun 2015 12:36:46 +0000 (21:36 +0900)]
Modify cert visibility enum and remove unused dependency

Change-Id: I44232829eddc15a0eb088e74ce61c3af65c8384f
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
9 years agoFix build macro and code for 64bit and askuser/ Modify privilege_manager code to... 82/37682/1 accepted/tizen/common/20150521.125335 accepted/tizen/tv/20150409.012915 submit/tizen_common/20150520.888881 submit/tizen_tv/20150408.160558
Yunjin Lee [Thu, 2 Apr 2015 11:54:32 +0000 (20:54 +0900)]
Fix build macro and code for 64bit and askuser/ Modify privilege_manager code to verify privilege list

Change-Id: I08df6861516103d365ba5a4bb5cca6aa75534396
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
9 years agosync with tizen 2.4 12/36112/1 submit/tizen/20150305.030135
Yunjin Lee [Mon, 2 Mar 2015 12:43:44 +0000 (21:43 +0900)]
sync with tizen 2.4

Change-Id: I8cc8945549e12c203cf1214b25dfa3ad27479562
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
10 years agoFix build and hardcoded path 49/23049/3 accepted/tizen_3.0.2014.q3_common tizen_3.0.2014.q3_common tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common accepted/tizen/common/20140618.145235 submit/tizen_common/20140618.141247 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release
Jean-Benoit MARTIN [Mon, 16 Jun 2014 12:58:03 +0000 (14:58 +0200)]
Fix build and hardcoded path

Bug-Tizen: TC-357
Change-Id: I5d187e67078ced0d996f9b46bbf10ffbed49b8af
Signed-off-by: Jean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
10 years agoMerge "Adding multi user support for the module, Fixed review comments." into tizen submit/tizen/20140528.094608 submit/tizen/20140529.072541 submit/tizen/20140602.074435 submit/tizen/20140602.113202 submit/tizen_common/20140612.115620 submit/tizen_mobile/20140528.134708
Bumjin Im [Tue, 13 May 2014 00:11:42 +0000 (17:11 -0700)]
Merge "Adding multi user support for the module, Fixed review comments." into tizen

10 years agoModification about smack label of db file belong to process. 68/20568/2 submit/tizen/20140602.113720
jooseong.lee [Fri, 9 May 2014 08:59:26 +0000 (17:59 +0900)]
Modification about smack label of db file belong to process.

[Problem]
Most db files have 'floor' label.  Because these are created when binary is built.
No process can write db (since 'floor' label allows only read and execute)

[Solution]
Modify smack label based on below condition and three domain model
Condition1. Assign domain of process creates db files
Condition2. Assign domain of process uses db files.

Change-Id: I44c9d2e8321ccd09345ef3be8c2b8a73bc7d96d4
Signed-off-by: jooseong.lee <jooseong.lee@samsung.com>
10 years agoAdding multi user support for the module, Fixed review comments. 27/16227/5
Madhan A K [Tue, 11 Feb 2014 08:32:30 +0000 (14:02 +0530)]
Adding multi user support for the module, Fixed review comments.

Bug-Tizen: PTREL-266

Change-Id: I2cd066ae71316648bd85113cb0f4b4cc8f58153b
Signed-off-by: Madhan A K <madhan.ak@samsung.com>
11 years agoFix Build error accepted/tizen/ivi/genivi accepted/tizen/ivi/stable tizen_ivi_genivi accepted/tizen/20130912.154448 accepted/tizen/20130912.190439 accepted/tizen/20130912.194659 accepted/tizen/ivi/genivi/20140131.041902 accepted/tizen_ivi_stable/20131116.111611 ivi_oct_m2 submit/tizen/20130829.100017 submit/tizen/20130830.065518 submit/tizen/20130912.080258 submit/tizen/20130912.090600 submit/tizen_ivi_genivi/20140131.040649 submit/tizen_ivi_stable/20131116.100918
hb.min [Thu, 29 Aug 2013 09:53:00 +0000 (18:53 +0900)]
Fix Build error

11 years agoFix build error submit/tizen/20130829.010234
hb.min [Thu, 29 Aug 2013 01:02:04 +0000 (10:02 +0900)]
Fix build error

11 years agoSync with tizen_2.2 submit/tizen/20130828.070518 submit/tizen/20130829.003713
hb.min [Tue, 27 Aug 2013 11:22:08 +0000 (20:22 +0900)]
Sync with tizen_2.2

11 years agoInitial empty repository master
Sehong Na [Thu, 22 Aug 2013 08:13:27 +0000 (01:13 -0700)]
Initial empty repository

11 years agoFix prevent issue
hb.min [Mon, 15 Jul 2013 05:19:05 +0000 (14:19 +0900)]
Fix prevent issue

Change-Id: I32fda9bdf16ecde5bf8557a9e3bc9c71e18f66b6
Signed-off-by: hb.min <hb.min@samsung.com>
11 years agoAdd new privilege strings
hb.min [Fri, 12 Jul 2013 05:29:19 +0000 (14:29 +0900)]
Add new privilege strings

Change-Id: Iee734dd93437ff1e3c1c77deecbda6717bfcaa06
Signed-off-by: hb.min <hb.min@samsung.com>
11 years agoSeparate the information of external privilege
hb.min [Tue, 9 Jul 2013 05:20:33 +0000 (14:20 +0900)]
Separate the information of external privilege

Change-Id: I3331f403714ad2027e66162d7c3f6effa26dcb19
Signed-off-by: hb.min <hb.min@samsung.com>
11 years agoFix build error on GCC 4.8
hb.min [Thu, 27 Jun 2013 13:01:49 +0000 (22:01 +0900)]
Fix build error on GCC 4.8

Change-Id: I7858c8fb0c732f6f70820ba130330b003430fde9
Signed-off-by: hb.min <hb.min@samsung.com>
11 years agoAdd modified privileges string
hb.min [Sun, 23 Jun 2013 06:27:04 +0000 (15:27 +0900)]
Add modified privileges string

Change-Id: I371b56b379701a465d14bbaa6f9d3518d2ba6a48
Signed-off-by: hb.min <hb.min@samsung.com>
11 years agoAdd new privileges string
hb.min [Fri, 21 Jun 2013 07:40:15 +0000 (16:40 +0900)]
Add new privileges string

Change-Id: I31736f8d4f4179b907db4dd4f2bf65fd29f446a9
Signed-off-by: hb.min <hb.min@samsung.com>
11 years agopatch for build error
Jinkun Jang [Sun, 16 Jun 2013 08:43:01 +0000 (17:43 +0900)]
patch for build error

11 years agoAdd temporary string set of privilege
hb.min [Wed, 12 Jun 2013 12:27:46 +0000 (21:27 +0900)]
Add temporary string set of privilege

Change-Id: I183bc735800cd1be7086e9528462f5a94546ff4f
Signed-off-by: hb.min <hb.min@samsung.com>
11 years agoAdd c-layer privilege description getter
hb.min [Fri, 31 May 2013 11:06:18 +0000 (20:06 +0900)]
Add c-layer privilege description getter

Change-Id: I719e156e779258aec2f61457a2f2aafeafb6ec76
Signed-off-by: hb.min <hb.min@samsung.com>
11 years agoFix privilege-checker to retrieve privacy information
hb.min [Wed, 8 May 2013 12:04:59 +0000 (21:04 +0900)]
Fix privilege-checker to retrieve privacy information

Change-Id: Ibe1078383d300b3f69ce3da5da21d369c781ea87
Signed-off-by: hb.min <hb.min@samsung.com>
11 years agoRemove the install instruction of manifest on spec file
hb.min [Tue, 7 May 2013 10:27:38 +0000 (19:27 +0900)]
Remove the install instruction of manifest on spec file

Change-Id: Ie73fc86033c0d9954cb83a968688698ac3edb27b
Signed-off-by: hb.min <hb.min@samsung.com>
11 years agoFix prevent issues
hb.min [Mon, 22 Apr 2013 12:08:28 +0000 (21:08 +0900)]
Fix prevent issues

Change-Id: Icb7e19356f5307f637ca56be339eed8e5b100c28
Signed-off-by: hb.min <hb.min@samsung.com>
11 years agoFix build error
hb.min [Sun, 14 Apr 2013 12:15:28 +0000 (21:15 +0900)]
Fix build error

Change-Id: I4b6daae7f638dd9e882c65748cf697c77531b5bb
Signed-off-by: hb.min <hb.min@samsung.com>
11 years agoAdd privilege-checker for Add-On SDK
hb.min [Sun, 14 Apr 2013 08:43:17 +0000 (17:43 +0900)]
Add privilege-checker for Add-On SDK

Change-Id: Icf786d58c13a489e0e9ca7710c2910da21b5afe2
Signed-off-by: hb.min <hb.min@samsung.com>
11 years agoInitial empty repository
HyungKyu Song [Wed, 20 Feb 2013 08:43:53 +0000 (17:43 +0900)]
Initial empty repository