platform/core/security/privacy-guard.git
6 years agoFixes related to issues detected by Coverity tool 93/175093/5
Saulo Moraes [Fri, 6 Apr 2018 18:09:02 +0000 (15:09 -0300)]
Fixes related to issues detected by Coverity tool

Change-Id: I24b215fb13420a30f28574945b0dbfd7b2b84f72

6 years agofix cmake 3.9 issues 15/173615/2 accepted/tizen/unified/20180409.100048 submit/tizen/20180403.141639 submit/tizen/20180408.231339
Saulo Moraes [Wed, 28 Mar 2018 16:46:58 +0000 (13:46 -0300)]
fix cmake 3.9 issues

Change-Id: Ib54febd853f23448cd486d19eecee9449843fd0b
(cherry picked from commit d9a2767fd6db20fa5282a4201cd7e0e945984e63)

6 years agoFix SVACE alert of possible buffer overflow in float2regex function 77/172077/2 sandbox/tcshin93/test submit/tizen/20180312.014711
Saulo Moraes [Fri, 9 Mar 2018 11:35:17 +0000 (08:35 -0300)]
Fix SVACE alert of possible buffer overflow in float2regex function

Change-Id: I9e68e02dc2fa2aeb2ad27636f0198f4f4902c75d

6 years agoFix buffer_overflow issue detected by svace 2.5 (WGID: 321663) 25/170225/2 accepted/tizen/unified/20180221.061130 submit/tizen/20180220.082030
Saulo Moraes [Wed, 14 Feb 2018 13:45:54 +0000 (11:45 -0200)]
Fix buffer_overflow issue detected by svace 2.5 (WGID: 321663)

Change-Id: I3dd36415aaf9fa2ab0bb5421b20244be90c50e55

6 years agoImproving comments and replace pg_strlcpy by privacy_guard_utils 60/149960/10 accepted/tizen/unified/20170920.081040 submit/tizen/20170919.011823
Kyoungyong Lee [Mon, 4 Sep 2017 04:39:41 +0000 (13:39 +0900)]
Improving comments and replace pg_strlcpy by privacy_guard_utils

Change-Id: I3094d5094ad91a64179ceb2ab5a8c19c94382033

6 years agoFix the string copy error 64/147964/1 accepted/tizen/unified/20170907.060340 submit/tizen/20170907.004521
jungkon.kim [Wed, 6 Sep 2017 06:39:21 +0000 (15:39 +0900)]
Fix the string copy error

Change-Id: If307b38556e0760b359264d4a3a87ff11abb4708

6 years ago:Privacy Guard - version up to 0.9.5 29/147329/1 accepted/tizen/unified/20170904.145248 submit/tizen/20170904.045605 submit/tizen/20170904.082806
Kyoungyong Lee [Mon, 4 Sep 2017 04:39:41 +0000 (13:39 +0900)]
:Privacy Guard - version up to 0.9.5

Change-Id: If45d38d8f8052bc5b31f73703c956873eb52106c

6 years agoAdding DLM feature 28/145528/4
Saulo Moraes [Tue, 22 Aug 2017 17:13:53 +0000 (14:13 -0300)]
Adding DLM feature

Change-Id: Ic6612ca4cb4dede3a5eeab02ff86c500759bff93

6 years agoapplying ASLR to tc-privacy-guard in privacy-guard-server package. 15/143215/2 accepted/tizen/4.0/unified/20170829.020149 accepted/tizen/unified/20170809.135437 submit/tizen/20170809.080213 submit/tizen_4.0/20170828.100004 submit/tizen_4.0/20170828.110004
Kyoungyong Lee [Wed, 9 Aug 2017 06:02:41 +0000 (15:02 +0900)]
applying ASLR to tc-privacy-guard in privacy-guard-server package.

Change-Id: Iff0686f7d9b28226ef54b6b446042e2b7c88441f

6 years agofix bug 26/135526/3 accepted/tizen/4.0/unified/20170816.012516 accepted/tizen/4.0/unified/20170816.015335 accepted/tizen/unified/20170629.085916 submit/tizen/20170623.052121 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
SEUNGTAEK HAN [Fri, 23 Jun 2017 02:05:02 +0000 (11:05 +0900)]
fix bug

Change-Id: Ifee4aa8a492657539fbf080956b45b5f75ce02c7

7 years agosvace defects v3 70/126570/2 accepted/tizen/unified/20170425.083059 submit/tizen/20170425.043316 tizen_4.0.m1_release
jungkon.kim [Mon, 24 Apr 2017 07:39:50 +0000 (16:39 +0900)]
svace defects v3

Change-Id: Ibbc65b1573479ef9d918fb260a47cfcccdcba9a1

7 years agoSync with tizen_3.0 branch 86/120186/1 accepted/tizen_common accepted/tizen_mobile accepted/tizen/common/20170322.153821 accepted/tizen/mobile/20170322.235429 accepted/tizen/unified/20170322.235506 submit/tizen/20170322.071008
SEUNGTAEK HAN [Wed, 22 Mar 2017 05:06:47 +0000 (14:06 +0900)]
Sync with tizen_3.0 branch

Change-Id: I680967befe9772617d3b65d011f0928708804b32

7 years agoapplied new UX guide and modified privacy-guard logics 03/96703/5 accepted/tizen/common/20161121.143431 accepted/tizen/mobile/20161121.234853 accepted/tizen/mobile/20161123.232412 accepted/tizen/unified/20170309.034053 submit/tizen/20161121.042259 submit/tizen/20161123.004357 submit/tizen_unified/20170308.100409
Kyoungyong Lee [Thu, 10 Nov 2016 02:09:25 +0000 (11:09 +0900)]
applied new UX guide and modified privacy-guard logics

Change-Id: Idfa1cd4e0c7be367837ef5f447bec535e6a46012

7 years agomodify API to get the latest access time 65/96265/2
SEUNGTAEK HAN [Tue, 8 Nov 2016 09:51:26 +0000 (18:51 +0900)]
modify API to get the latest access time

Change-Id: I7253a974ecfd9b8d29c2ff8bb5ef740916f7c4db

7 years agofix bug 24/91324/2 accepted/tizen/3.0/common/20161114.110019 accepted/tizen/3.0/mobile/20161028.143055 accepted/tizen/common/20161010.145727 accepted/tizen/mobile/20161011.233849 submit/tizen/20161010.015747 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.092423 submit/tizen_3.0_common/20161104.104000
SEUNGTAEK HAN [Fri, 7 Oct 2016 04:59:33 +0000 (13:59 +0900)]
fix bug

Change-Id: I5fdbd570c3aca9acab717d6022484940449d160f

7 years agofixed a defect not to be shown the package list in the privacy-setting 00/90600/4 accepted/tizen/3.0/mobile/20161015.034230 accepted/tizen/common/20161003.062643 accepted/tizen/mobile/20161005.080032 submit/tizen/20161001.075614 submit/tizen_3.0_mobile/20161015.000006
Kyoungyong Lee [Sat, 1 Oct 2016 07:26:46 +0000 (16:26 +0900)]
fixed a defect not to be shown the package list in the privacy-setting

Change-Id: I770d04d4895c1f3f99210611ca42f23fb512d990

7 years agoApply new API to get package id 12/90412/2 accepted/tizen/common/20160930.174704 accepted/tizen/mobile/20160930.232452 submit/tizen/20160930.022920
SEUNGTAEK HAN [Fri, 30 Sep 2016 02:22:05 +0000 (11:22 +0900)]
Apply new API to get package id

Change-Id: I8579483d25220f49a492e3b15c0eec64cb0e7ade

7 years agofix error 47/84347/1
SEUNGTAEK HAN [Thu, 18 Aug 2016 06:53:14 +0000 (15:53 +0900)]
fix error

Change-Id: Id987e34df904a28dd3073662b732c5deb8a8f2dc

7 years agofix error 95/83495/1
SEUNGTAEK HAN [Thu, 11 Aug 2016 08:34:42 +0000 (17:34 +0900)]
fix error

Change-Id: I0fedbbd72a03f3472f13a80484991d3319adeaa4

7 years agofix error 89/83489/2
SEUNGTAEK HAN [Thu, 11 Aug 2016 07:44:22 +0000 (16:44 +0900)]
fix error

Change-Id: Ie1c265e193e1fc5124bc63293049c14fccdc03d2

7 years agochange API to get user id 76/83476/1
SEUNGTAEK HAN [Thu, 11 Aug 2016 06:49:56 +0000 (15:49 +0900)]
change API to get user id

Change-Id: Ie9ca2d498b7c8c4da4f6c54e60545f5f11f5c2e2

7 years agoFix systemd socket target name 05/81405/1
Kyungwook Tak [Tue, 26 Jul 2016 05:05:58 +0000 (14:05 +0900)]
Fix systemd socket target name

socket.target.wants -> sockets.target.wants

Change-Id: Ia75d40dc1988de43a5d71f92492d7e19569c044c
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
7 years agoSet SmackProcessLabel to System 19/80819/3 accepted/tizen/common/20160721.175541 accepted/tizen/mobile/20160721.090338 submit/tizen/20160721.003054
Yunjin Lee [Wed, 20 Jul 2016 10:32:37 +0000 (19:32 +0900)]
Set SmackProcessLabel to System

Change-Id: I12a33d48d69813d1e901189d35787647c1293fe0
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
7 years agoset the monitor default policy to 0 36/79836/1 accepted/tizen/common/20160713.144946 accepted/tizen/mobile/20160713.094400 submit/tizen/20160713.071839
Kyoungyong Lee [Wed, 13 Jul 2016 07:13:09 +0000 (16:13 +0900)]
set the monitor default policy to 0

Change-Id: Ia7f190bfaf43000642997c616d8f41669b0f7361

7 years agodiscriminate the global app and 3rd party app in the platform 37/78837/1 accepted/tizen/common/20160707.172029 accepted/tizen/mobile/20160707.114121 submit/tizen/20160707.091038
Kyoungyong Lee [Thu, 7 Jul 2016 05:34:37 +0000 (14:34 +0900)]
discriminate the global app and 3rd party app in the platform

Change-Id: I2575cb773e138f76c913b5e1994a668c79dc2bf3

7 years agoremove useless APIs and added global app check code. 32/78732/3 submit/tizen/20160706.144108
Kyoungyong Lee [Wed, 6 Jul 2016 14:07:29 +0000 (23:07 +0900)]
remove useless APIs and added global app check code.

Change-Id: I7b581c63fc36cd813a433386250a75c362dd2721

7 years agoremove useless apis 23/78623/1
Kyoungyong Lee [Wed, 6 Jul 2016 08:29:10 +0000 (17:29 +0900)]
remove useless apis

Change-Id: Ieb0580bcb27a98a7ca3565609d3009c97bd9408e

7 years agofixed a defect that could not add preload applications installation information to... 69/78369/1 accepted/tizen/common/20160705.170628 accepted/tizen/mobile/20160705.101319 submit/tizen/20160705.082957
Kyoungyong Lee [Tue, 5 Jul 2016 08:24:15 +0000 (17:24 +0900)]
fixed a defect that could not add preload applications installation information to the privacy-guard db

Change-Id: Ia787afef0c85b3ad87ce8fd019a1869e54e01648

7 years agochange to use absolute path in shell script - phase2 70/77770/1 accepted/tizen/common/20160704.145233 accepted/tizen/mobile/20160704.090159 submit/tizen/20160704.002536
Kyoungyong Lee [Fri, 1 Jul 2016 05:04:29 +0000 (14:04 +0900)]
change to use absolute path in shell script - phase2

Change-Id: I590fc795ad707bae68ae69f12d38c50ba1f243ee

7 years agochange to use absolute path in shell script 65/77765/1 accepted/tizen/common/20160701.193016 submit/tizen/20160701.044036 submit/tizen_common/20160701.180000
Kyoungyong Lee [Fri, 1 Jul 2016 04:38:35 +0000 (13:38 +0900)]
change to use absolute path in shell script

Change-Id: Id284cdc4b3fc3401f00fe0140d44d8414570de5f

7 years agoFixed image build log 54/77654/2 accepted/tizen/mobile/20160701.034446 submit/tizen/20160701.015900
SEUNGTAEK HAN [Thu, 30 Jun 2016 11:07:40 +0000 (20:07 +0900)]
Fixed image build log

Change-Id: I070def99bcbfd05ee205cf718a0e435e513ddb0b

7 years agoremove duplicate logic 38/75538/2 accepted/tizen/common/20160620.163904 accepted/tizen/mobile/20160621.084104 submit/tizen/20160620.100245
Kyoungyong Lee [Mon, 20 Jun 2016 09:55:08 +0000 (18:55 +0900)]
remove duplicate logic

Change-Id: I7cc196f7094a9882d5683ccc4b8f83a7e7c482c3

7 years agofixed svace defects 92/75492/2 accepted/tizen/common/20160620.163751 submit/tizen/20160620.065057
Kyoungyong Lee [Mon, 20 Jun 2016 06:30:39 +0000 (15:30 +0900)]
fixed svace defects

Change-Id: Icdd719e4559470e0ecda5d0f5481244e1d97d624

7 years agointegrated with cynara-monitor 09/74109/2 accepted/tizen/common/20160613.144808 accepted/tizen/mobile/20160613.123623 submit/tizen/20160613.045357
Kyoungyong Lee [Mon, 13 Jun 2016 01:45:36 +0000 (10:45 +0900)]
integrated with cynara-monitor

Change-Id: Id6492d82b8e83179380e34be43813cd0e40e507a

8 years agomodify to filter privilege 17/72617/4
SEUNGTAEK HAN [Thu, 2 Jun 2016 00:36:09 +0000 (09:36 +0900)]
modify to filter privilege

Change-Id: Ibd228a3e224c9a6999c4a22aa903ff0dc5299ef7

8 years agointegration with cynara - phase 1 32/72132/2
Kyoungyong Lee [Tue, 31 May 2016 00:51:45 +0000 (09:51 +0900)]
integration with cynara - phase 1

Change-Id: I2c2f824ddd157af62aeae4e5947e786cb82b7344

8 years agoadded PKGMGR_PLUGIN interfaces (pre/post install) to avoid warnings when install... 52/71952/1
Kyoungyong Lee [Mon, 30 May 2016 01:46:33 +0000 (10:46 +0900)]
added PKGMGR_PLUGIN interfaces (pre/post install) to avoid warnings when install/uninstall packages

Change-Id: I47477355a34e25366e4786a3eabc5fe46ba4bb9d

8 years agoMerge "integrate privacy-guard with cynara-monitor" into tizen
Kyoungyong Lee [Mon, 30 May 2016 00:43:59 +0000 (17:43 -0700)]
Merge "integrate privacy-guard with cynara-monitor" into tizen

8 years agochanged the smack rule of .privacy-guard.db-journal to System AND added PKGMGR Plugin... 77/71377/2 accepted/tizen/common/20160525.160213 accepted/tizen/mobile/20160526.094948 submit/tizen/20160525.073003
Kyoungyong Lee [Wed, 25 May 2016 07:23:12 +0000 (16:23 +0900)]
changed the smack rule of .privacy-guard.db-journal to System AND added PKGMGR Plugin Interfaces

Change-Id: Id60304c07e0f41fc0186f3770246ec05061ec18c

8 years agochange the smack rule of privacy-guard db to System 98/71198/1 accepted/tizen/common/20160524.150816 accepted/tizen/mobile/20160525.003634 submit/tizen/20160524.111557
Kyoungyong Lee [Tue, 24 May 2016 11:11:52 +0000 (20:11 +0900)]
change the smack rule of privacy-guard db to System

Change-Id: If55df9d35260b2d6458e3d3142aa96994d20a12f

8 years agochange the owner of the privacy-guard db from system to security_fw 18/70218/1 accepted/tizen/common/20160519.191254 accepted/tizen/mobile/20160519.085004 submit/tizen/20160519.010815
Kyoungyong Lee [Wed, 18 May 2016 23:43:15 +0000 (08:43 +0900)]
change the owner of the privacy-guard db from system to security_fw

Change-Id: I96a26dbae6b55b4c802b914bfa20ed3a54b5a41c

8 years agointegrate privacy-guard with cynara-monitor 56/70056/3
Kyoungyong Lee [Wed, 18 May 2016 01:55:44 +0000 (10:55 +0900)]
integrate privacy-guard with cynara-monitor

Change-Id: I89292e186dc8a7d35308e8bcad0677a04eb56459

8 years agochange the user of the daemon from system to security_fw 13/70113/1 accepted/tizen/common/20160518.125151 accepted/tizen/mobile/20160518.090900 submit/tizen/20160518.071416
Kyoungyong Lee [Wed, 18 May 2016 07:05:13 +0000 (16:05 +0900)]
change the user of the daemon from system to security_fw

Change-Id: I8213e7b2f0a4acebc81774f5b84842d76195267c

8 years agomodified the name of the api privacy_guard_client_foreach_package_by_package_id to... 53/69653/2 accepted/tizen/common/20160517.174010 accepted/tizen/mobile/20160517.033051 submit/tizen/20160517.004843
Kyoungyong Lee [Mon, 16 May 2016 08:53:44 +0000 (17:53 +0900)]
modified the name of the api privacy_guard_client_foreach_package_by_package_id to privacy_guard_client_foreach_package_info_by_privacy_id and add changed the returned value to get count and monitor policy value additionally

Change-Id: I06d56fdc11dd8ff4c63fb6fb065615cf720073b7

8 years agomodified privacy-privilege mapping due to the change of mapping table 49/69049/3 accepted/tizen/common/20160512.143813 accepted/tizen/mobile/20160512.051135 submit/tizen/20160512.001845
Kyoungyong Lee [Wed, 11 May 2016 08:39:30 +0000 (17:39 +0900)]
modified privacy-privilege mapping due to the change of mapping table

Change-Id: I1d1fc4929dc002d041356a711e144374fb67dcea

8 years agoFixed pkg-mgr plugin related things (install/uninstall callbacks) 03/68603/2 accepted/tizen/common/20160509.134835 accepted/tizen/mobile/20160509.062226 submit/tizen/20160509.022243
Kyoungyong Lee [Mon, 9 May 2016 00:38:45 +0000 (09:38 +0900)]
Fixed pkg-mgr plugin related things (install/uninstall callbacks)

Change-Id: Iff8a4d03c9df6965955c953e6a20f3fb2f103671

8 years agochanged the access rights of db files root->system 06/67706/2 accepted/tizen/common/20160428.145112 accepted/tizen/mobile/20160429.011654 submit/tizen/20160428.084941
Kyoungyong Lee [Thu, 28 Apr 2016 06:09:13 +0000 (15:09 +0900)]
changed the access rights of db files root->system

Change-Id: Ie7c3589eaa010e9098bea9028283e1ba8c944b64

8 years agofixed savace warnings 18/67218/1 accepted/tizen/common/20160426.143508 accepted/tizen/mobile/20160426.103210 submit/tizen/20160426.044647
Kyoungyong Lee [Tue, 26 Apr 2016 02:05:19 +0000 (11:05 +0900)]
fixed savace warnings

Change-Id: Ic088f9fb1ea0f285d4a22de9969681c00677560c

8 years agoAdd log temp 92/66892/2 accepted/tizen/common/20160422.171802 accepted/tizen/mobile/20160422.070319 submit/tizen/20160422.011342
SEUNGTAEK HAN [Fri, 22 Apr 2016 01:06:04 +0000 (10:06 +0900)]
Add log temp

Change-Id: Ib26a31509c956d10aa8c444d51be2d64f49ae5ed

8 years agomodify svace defect 12/65012/2 accepted/tizen/common/20160407.132344 accepted/tizen/common/20160411.125546 accepted/tizen/mobile/20160411.005727 submit/tizen/20160407.020722 submit/tizen/20160411.002646 submit/tizen_mobile/20160408.003401
SEUNGTAEK HAN [Thu, 7 Apr 2016 00:58:02 +0000 (09:58 +0900)]
modify svace defect

Change-Id: If478072643103f9dc17b737debb01c585b431230

8 years agoModified indentation, annotation and character 43/64143/2 accepted/tizen/common/20160330.120727 submit/tizen/20160330.085528
yonwon seo [Wed, 30 Mar 2016 08:22:40 +0000 (17:22 +0900)]
Modified indentation, annotation and character

Change-Id: I0dcd5dde9bdcaf71d0e4070d284de7729657c875

8 years agoAdd Privacy-Guard 96/63996/3 master accepted/tizen/common/20160330.120237 submit/tizen/20160330.021313
SEUNGTAEK HAN [Tue, 29 Mar 2016 08:28:02 +0000 (17:28 +0900)]
Add Privacy-Guard

Change-Id: Ic9d21fd261dcb7204f809f5426368ad4d7799782

8 years agoInitial empty repository
Jinkun Jang [Thu, 10 Mar 2016 00:06:36 +0000 (16:06 -0800)]
Initial empty repository