platform/core/security/device-policy-manager.git
6 years agoAdd ScopedGMainloop 59/155359/1
Lee Sung Jun [Fri, 13 Oct 2017 04:44:27 +0000 (13:44 +0900)]
Add ScopedGMainloop

Change-Id: Ic00fd75d080dca3dbf74af83ef2e70900e609855
Signed-off-by: Lee Sung Jun <sjun221.lee@samsung.com>
6 years agoPil: Remove ApplicationInfo in packman 47/152847/1 accepted/tizen/4.0/unified/20170929.080051 accepted/tizen/unified/20170929.081524 submit/tizen/20170928.060242 submit/tizen_4.0/20170928.060204 tizen_4.0.IoT.p1_release tizen_4.0.m2_release
yeji01kim [Wed, 27 Sep 2017 08:17:43 +0000 (17:17 +0900)]
Pil: Remove ApplicationInfo in packman

Change-Id: I8df3db89decf07cb9450d1aca81ce8e9e5623823
Signed-off-by: yeji01kim <yeji01.kim@samsung.com>
6 years agoAdd missing connection to server before unregisteration of admin 00/152500/1
Sungbae Yoo [Tue, 26 Sep 2017 08:29:01 +0000 (17:29 +0900)]
Add missing connection to server before unregisteration of admin

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: Ife1fed03dce659b0281f40b856b7c119f0d07baa

6 years agoMerge branch 'tizen' into tizen_4.0 accepted/tizen/4.0/unified/20170921.074248 accepted/tizen/unified/20170921.072036 submit/tizen/20170920.103809 submit/tizen_4.0/20170920.103820
Sungbae Yoo [Wed, 20 Sep 2017 10:31:42 +0000 (19:31 +0900)]
Merge branch 'tizen' into tizen_4.0

6 years agoAdd an exception handler for syspopup 65/151265/2
Sungbae Yoo [Wed, 20 Sep 2017 09:02:07 +0000 (18:02 +0900)]
Add an exception handler for syspopup

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I008755380848c00be37bda8bf4c83b755514be0e

6 years agoCoding rules: Remove unnecessary blank line accepted/tizen/4.0/unified/20170915.202846 submit/tizen_4.0/20170915.041935
Jaemin Ryu [Tue, 12 Sep 2017 08:10:44 +0000 (17:10 +0900)]
Coding rules: Remove unnecessary blank line

Change-Id: I3f17003f9324b010df3eb1566f15c9866f18a9af
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
6 years agoCoding rules: Remove unnecessary blank line accepted/tizen/unified/20170918.093920 submit/tizen/20170915.042428
Jaemin Ryu [Tue, 12 Sep 2017 08:10:44 +0000 (17:10 +0900)]
Coding rules: Remove unnecessary blank line

Change-Id: I3f17003f9324b010df3eb1566f15c9866f18a9af
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
6 years ago[SECIOTSW-280] Rework dpm-syspopup user-interface 19/148019/3
s414kim [Wed, 6 Sep 2017 08:48:43 +0000 (17:48 +0900)]
[SECIOTSW-280] Rework dpm-syspopup user-interface

Change-Id: I1c631ef5552c21b60b8f2aca03972ccde73fa12c
Signed-off-by: s414kim <s414.kim@samsung.com>
6 years agoApply syspopup serivce
yeji01kim [Fri, 18 Aug 2017 09:55:04 +0000 (18:55 +0900)]
Apply syspopup serivce

Syspopup dbus was activated by dpm.
The syspopup service will work in its own executable file,
separated from the dpm.

Change-Id: Icb237818eeac7279be760f430dcc20b037ddac5e
Signed-off-by: yeji01kim <yeji01.kim@samsung.com>
6 years agoRemove libxml-2.0 dependency 30/146930/3
Jaemin Ryu [Thu, 31 Aug 2017 06:43:24 +0000 (15:43 +0900)]
Remove libxml-2.0 dependency

This commit fixes dpm-pil package dependency error in plugins

Change-Id: I220acc714353653b8b0a8e8bf3e44f53bd259a2d
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
6 years agoAdd checking empty plugin directory 68/144668/1 accepted/tizen/4.0/unified/20170829.020013 accepted/tizen/unified/20170821.051212 submit/tizen/20170817.045900 submit/tizen/20170818.072322 submit/tizen_4.0/20170828.100004 submit/tizen_4.0/20170828.110004
Jaemin Ryu [Thu, 17 Aug 2017 10:41:56 +0000 (19:41 +0900)]
Add checking empty plugin directory

Change-Id: I46aa2d9d3e5da320a3ab786df96526364f1de316
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
6 years agoApply plugin architecture 74/139674/7
Jaemin Ryu [Thu, 20 Jul 2017 05:45:37 +0000 (14:45 +0900)]
Apply plugin architecture

This commit introduces runtime facilities to build policy plug-ins.
All built-in policies are also moved to the separated repositories.

Change-Id: I16b63fb69fde869e940519a40cbb3f50e425439d
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
6 years agoApply ASLR to dpm-admin-cli 31/143431/1 accepted/tizen/unified/20170816.155857 submit/tizen/20170810.051126
Sungbae Yoo [Thu, 10 Aug 2017 02:13:31 +0000 (11:13 +0900)]
Apply ASLR to dpm-admin-cli

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I912d3e7b6ea9d37c50c00306bf6da580fdeb3a9b

7 years agoFix logger usage according to KLAY API changed 48/139248/1 accepted/tizen/4.0/unified/20170816.012330 accepted/tizen/4.0/unified/20170816.015243 accepted/tizen/unified/20170727.190702 accepted/tizen/unified/20170728.195544 submit/tizen/20170720.071940 submit/tizen/20170724.061427 submit/tizen/20170724.094119 submit/tizen/20170726.025713 submit/tizen/20170727.084517 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170814.115522 submit/tizen_4.0_unified/20170814.115522
sangwan.kwon [Tue, 18 Jul 2017 05:54:01 +0000 (14:54 +0900)]
Fix logger usage according to KLAY API changed

Change-Id: I2acb74ae549215138d7f9f0af121ebe858086b4f
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
7 years agoFix memory leaks after using vconf_get_str() 79/135579/1 accepted/tizen/unified/20170627.043408 submit/tizen/20170626.035422
yeji01kim [Fri, 23 Jun 2017 06:59:58 +0000 (15:59 +0900)]
Fix memory leaks after using vconf_get_str()

Change-Id: I80f93d90a3e5535a58589d17c77cc34dcf5e218c
Signed-off-by: yeji01kim <yeji01.kim@samsung.com>
7 years agoFix WiFi manager initialize error on emulator 93/133393/3 accepted/tizen/unified/20170612.171539 submit/tizen/20170612.114133
s414kim [Mon, 12 Jun 2017 04:37:28 +0000 (13:37 +0900)]
Fix WiFi manager initialize error on emulator

Change-Id: I48c881c993c66308ccfc94a4cd0d0985fac4bea9
Signed-off-by: s414kim <s414.kim@samsung.com>
7 years agoChange not to build bluetooth feature if not defined 18/133218/1 submit/tizen/20170612.012922
Sungbae Yoo [Fri, 9 Jun 2017 08:24:55 +0000 (17:24 +0900)]
Change not to build bluetooth feature if not defined

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I75e180a90d2746906b819725d4ad44688d776568

7 years agoRemove device-security-monitor 95/132895/1 accepted/tizen/unified/20170608.184902 submit/tizen/20170608.080338
Sungbae Yoo [Thu, 8 Jun 2017 07:47:36 +0000 (16:47 +0900)]
Remove device-security-monitor

Because the name of "libdsm.so" is already used
by another package in VD

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: Ieae171ecddc7c77adf61e1fbbc5957505b416668

7 years ago[SECIOTSW-776] Remove DPM/DSM libraries 25/130125/2 accepted/tizen/unified/20170519.200505 submit/tizen/20170519.085134 tizen_4.0.m1_release
Seok Hong [Fri, 19 May 2017 07:33:11 +0000 (16:33 +0900)]
[SECIOTSW-776] Remove DPM/DSM libraries

Change-Id: I65f4bfee09500818603e9b14787235cb2ed38f8c
Signed-off-by: Seok Hong <seok85.hong@samsung.com>
7 years ago[SECIOTSW-693] Remove maintenance check logic 13/129813/4
Seok Hong [Thu, 18 May 2017 07:17:41 +0000 (16:17 +0900)]
[SECIOTSW-693] Remove maintenance check logic

Change-Id: I83e5ed45cc05163fb5fc0d0f55e06f4f6e43963b
Signed-off-by: Seok Hong <seok85.hong@samsung.com>
7 years ago[SECIOTSW-683] Fix Svace issues of policy-model.h 43/128743/1
Seok Hong [Thu, 11 May 2017 05:50:08 +0000 (14:50 +0900)]
[SECIOTSW-683] Fix Svace issues of policy-model.h

Change-Id: If76e76ff99c80d289193fbcd394c3dfc7213021c
Signed-off-by: Seok Hong <seok85.hong@samsung.com>
7 years ago[SECIOTSW-413] Support Tizen 4.0 Unified Build Environment 37/124137/5 accepted/tizen/unified/20170515.074500 submit/tizen/20170512.035851
Seok Hong [Thu, 11 May 2017 02:01:45 +0000 (11:01 +0900)]
[SECIOTSW-413] Support Tizen 4.0 Unified Build Environment

Change-Id: I683a653926f9069d301b47c8fec49d091298511a
Signed-off-by: Seok Hong <seok85.hong@samsung.com>
7 years agoFix build error with GCC 6 in SmackSecurityMonitor 41/125841/3 accepted/tizen/unified/20170420.155412 submit/tizen/20170420.064756
Seok Hong [Wed, 19 Apr 2017 05:41:15 +0000 (14:41 +0900)]
Fix build error with GCC 6 in SmackSecurityMonitor

Change-Id: Ic46144dd8ec819ab3719f0ce98f8c7a948396d66
Signed-off-by: Seok Hong <seok85.hong@samsung.com>
7 years ago[SECIOTSW-442] Replace WiFi package with the new one 98/124598/4
Seok Hong [Wed, 12 Apr 2017 01:53:12 +0000 (10:53 +0900)]
[SECIOTSW-442] Replace WiFi package with the new one

Change-Id: Ibe176d63f8ad3a2955a3681343825e07cb24e4c5
Signed-off-by: Seok Hong <seok85.hong@samsung.com>
7 years agoAdd SmackSecurityMonitor - Smack Issue counter 45/121545/9 submit/tizen/20170418.013543
Seok Hong [Tue, 28 Mar 2017 07:22:33 +0000 (16:22 +0900)]
Add SmackSecurityMonitor - Smack Issue counter

This commit requires root privilege to test functions.
So, device-policy-manager should be manually started in console

Change-Id: Iafd6ed17639f7207d6f8f7188aa6f2be956faae5
Signed-off-by: Seok Hong <seok85.hong@samsung.com>
7 years agoAdd SmackSecurityMonitor - Smack log collector 45/121345/8
Seok Hong [Tue, 28 Mar 2017 01:09:50 +0000 (10:09 +0900)]
Add SmackSecurityMonitor - Smack log collector

This commit requires root privilege to test functions.
So, device-policy-manager should be manually started in console

Change-Id: I7a79d3f57ded12b8cfe16615a7c7168e165c239a
Signed-off-by: Seok Hong <seok85.hong@samsung.com>
7 years agoAdd Skeleton of Device Security Monitor client library 44/121344/5
Seok Hong [Tue, 28 Mar 2017 01:41:10 +0000 (10:41 +0900)]
Add Skeleton of Device Security Monitor client library

Change-Id: I0e0c5d0fcecddb3cba6535e3c7b6683f02348047
Signed-off-by: Seok Hong <seok85.hong@samsung.com>
7 years agoRemove unused member variable 44/119044/1
Seok Hong [Wed, 15 Mar 2017 08:26:01 +0000 (17:26 +0900)]
Remove unused member variable

Change-Id: I009964ec6248fba6c2ed0ddb35bc23ea6913b712
Signed-off-by: Seok Hong <seok85.hong@samsung.com>
7 years agoAdd support for maintenance mode 95/116595/2
Jaemin Ryu [Mon, 27 Feb 2017 07:08:13 +0000 (16:08 +0900)]
Add support for maintenance mode

Change-Id: Idf57c2f003cba52eaddc17bd533ab2e6501f81e6
Signed-off-by: Seok Hong <seok85.hong@samsung.com>
7 years agoMerge changes Ic3ebcdbb,I1cac75bb into tizen
Jaemin Ryu [Fri, 17 Feb 2017 03:49:54 +0000 (19:49 -0800)]
Merge changes Ic3ebcdbb,I1cac75bb into tizen

* changes:
  Spec code clean: make it more explicit
  Remove Profile Build Dependency (wearable): do it at runtime

7 years agoMerge changes I6f1336e6,I37b5ca81 into tizen
Jaemin Ryu [Fri, 17 Feb 2017 03:49:12 +0000 (19:49 -0800)]
Merge changes I6f1336e6,I37b5ca81 into tizen

* changes:
  Unify mobile / wearable codes
  Defragment CAPI for Profiles

7 years agoSupport factory reset 72/110872/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/3.0/common/20170120.102203 accepted/tizen/3.0/ivi/20170120.072900 accepted/tizen/3.0/mobile/20170120.072814 accepted/tizen/3.0/tv/20170120.072827 accepted/tizen/3.0/wearable/20170120.072845 accepted/tizen/common/20170119.171813 accepted/tizen/common/20170214.173814 accepted/tizen/ivi/20170119.222511 accepted/tizen/ivi/20170215.085810 accepted/tizen/mobile/20170119.222429 accepted/tizen/mobile/20170215.085649 accepted/tizen/tv/20170119.222447 accepted/tizen/tv/20170215.085731 accepted/tizen/unified/20170309.033119 accepted/tizen/wearable/20170119.222454 accepted/tizen/wearable/20170215.085751 submit/tizen/20170119.051926 submit/tizen/20170214.101511 submit/tizen_3.0/20170119.050644 submit/tizen_unified/20170308.100408
Jaemin Ryu [Wed, 18 Jan 2017 09:48:20 +0000 (18:48 +0900)]
Support factory reset

Change-Id: I4ce09d0919a7bed9a08d7835a87a83c5ddabb875
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
7 years agoRebuild policy storage on factory reset 71/110871/1
Jaemin Ryu [Wed, 18 Jan 2017 09:41:57 +0000 (18:41 +0900)]
Rebuild policy storage on factory reset

Change-Id: I969b859ac18970afc62b2cbd4a1952e2d4a80faa
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
7 years agoMove admin related code to client manager accepted/tizen/3.0/common/20170117.075615 accepted/tizen/3.0/ivi/20170117.005228 accepted/tizen/3.0/mobile/20170117.005139 accepted/tizen/3.0/tv/20170117.005153 accepted/tizen/3.0/wearable/20170117.005209 submit/tizen_3.0/20170113.092432 submit/tizen_3.0/20170116.032247
Jaemin Ryu [Fri, 13 Jan 2017 04:53:11 +0000 (13:53 +0900)]
Move admin related code to client manager

Change-Id: I635639d2cd1358f64838ca94991370be7b4600cd
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
7 years agoRefactor policy model
Jaemin Ryu [Mon, 9 Jan 2017 09:29:03 +0000 (18:29 +0900)]
Refactor policy model

Change-Id: Ieff00735f8c0f3f80c8a8039bfb4adac1da082a9
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
7 years agoApply PIMPL idom pattern to policy control module
Jaemin Ryu [Fri, 23 Dec 2016 00:10:27 +0000 (09:10 +0900)]
Apply PIMPL idom pattern to policy control module

Change-Id: Id2e15b4e0061ec7a0129da1039bf03d7925aac4e
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
7 years agoDivide policy storage into global and user scope 10/105610/2
Jaemin Ryu [Tue, 13 Dec 2016 00:44:21 +0000 (09:44 +0900)]
Divide policy storage into global and user scope

Change-Id: I8c1bb83b48e545fd8535f7ca260b1173d3047fa2
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
7 years agoFix race issue in password status handler
Jaemin Ryu [Tue, 10 Jan 2017 09:18:55 +0000 (18:18 +0900)]
Fix race issue in password status handler

Change-Id: I0b2fbabb0b55c90d3aa52402e1c74110bc994d33
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
7 years agoUse dlog as default logger backend
Jaemin Ryu [Tue, 10 Jan 2017 09:13:18 +0000 (18:13 +0900)]
Use dlog as default logger backend

Change-Id: Ic25468bf31137a55a0b608ad8d91f318287fb3c8
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
7 years agoUpdate error code when dpm_manager_create returns NULL
Jaemin Ryu [Tue, 10 Jan 2017 08:54:24 +0000 (17:54 +0900)]
Update error code when dpm_manager_create returns NULL

Change-Id: I9e7d069c65509cce715c3c983620ccc277f902bf
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
7 years agoRemove hard-corded restriction_testcase_messaging 48/110148/1
Sungbae Yoo [Fri, 13 Jan 2017 05:41:23 +0000 (14:41 +0900)]
Remove hard-corded restriction_testcase_messaging

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: Ie7aa4694f6ed3bc72b7d831821f6cc1b18e85a1c

7 years agoMerge "Remove dpm/context.h" into tizen
Sungbae Yoo [Fri, 13 Jan 2017 04:47:37 +0000 (20:47 -0800)]
Merge "Remove dpm/context.h" into tizen

7 years agoRemove dpm/context.h 57/82957/2
Sungbae Yoo [Mon, 8 Aug 2016 09:17:51 +0000 (18:17 +0900)]
Remove dpm/context.h

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: Id747f8a05463b47183b71242a8a20d3125a70151

7 years agoAdd a delete method of ecore event handler to dpm-syspopup 08/109708/1
seolheui,kim [Wed, 11 Jan 2017 08:16:24 +0000 (17:16 +0900)]
Add a delete method of ecore event handler to dpm-syspopup

Change-Id: Ibcc9eb3cdce796e87dbb5c9a2f553614e6566f21
Signed-off-by: seolheui,kim <s414.kim@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen
Sungbae Yoo [Tue, 3 Jan 2017 06:32:27 +0000 (15:32 +0900)]
Merge branch 'tizen_3.0' into tizen

7 years agoFix permission/smack lable bug of database 93/107793/1 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 accepted/tizen/3.0.m2/mobile/20170104.141316 accepted/tizen/3.0.m2/tv/20170104.141957 accepted/tizen/3.0.m2/wearable/20170104.142254 accepted/tizen/3.0/common/20170102.143148 accepted/tizen/3.0/ivi/20170102.094138 accepted/tizen/3.0/mobile/20170102.094038 accepted/tizen/3.0/tv/20170102.094100 accepted/tizen/3.0/wearable/20170102.094118 submit/tizen_3.0.m2/20170104.093751 submit/tizen_3.0/20161230.040445
Jaemin Ryu [Fri, 30 Dec 2016 03:38:14 +0000 (12:38 +0900)]
Fix permission/smack lable bug of database

Change-Id: I264db0a6534ef742b24b3ec67b28e746c3c1953c
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
7 years agoSpec code clean: make it more explicit 19/107419/6
MyungJoo Ham [Wed, 28 Dec 2016 04:23:22 +0000 (13:23 +0900)]
Spec code clean: make it more explicit

Let's make sure that full-deamon is matched with full-library.

Change-Id: Ic3ebcdbbfca2b3e62068448faae827d3b700bf5e
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoRemove Profile Build Dependency (wearable): do it at runtime 05/105205/8
MyungJoo Ham [Tue, 27 Dec 2016 05:31:45 +0000 (14:31 +0900)]
Remove Profile Build Dependency (wearable): do it at runtime

This is for Tizen 4.0.

1. Let's not create another source code that is almost same as another.

2. Let's not make build dependent on profile.
(Not allowed in Tizen 4.0 Build Environment.)

Change-Id: I1cac75bbd756d3efc8e1f87734b558872a2b4e7e
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoUnify mobile / wearable codes 03/105203/5
MyungJoo Ham [Tue, 27 Dec 2016 05:23:10 +0000 (14:23 +0900)]
Unify mobile / wearable codes

The next commit will decide whether to use mobile/wearable in runtime.

Change-Id: I6f1336e661a0f37ff900906a5aefe7889e6b63b0
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoDefragment CAPI for Profiles 44/102644/14
MyungJoo Ham [Tue, 6 Dec 2016 08:37:05 +0000 (17:37 +0900)]
Defragment CAPI for Profiles

- This is for Tizen 4.0 Configurability / Building Blocks
  (Fragmentation of CAPI is a blocking issue)

- CC'ed SDK (sh.cat.lee@samsung.com) for SDK review

- When you SR this, you need to create JIRA-TRE issue:

  For images with device-policy-manager and libdpm
   : Add device-policy-manager-profile_common / libdpm-profile_common for common profile
   : Add device-policy-manager-profile_mobile / libdpm-profile_mobile for mobile profile
   : Add device-policy-manager-profile_wearable / libdpm-profile_wearable for wearable profile
   : Add device-policy-manager-profile_tv / libdpm-profile_tv for tv profile
   : Add device-policy-manager-profile_ivi / libdpm-profile_ivi for ivi profile

  For images with dpm-testcases
   : Replace dpm-testcases with dpm-testcases-profile_common for common profile
   : Replace dpm-testcases with dpm-testcases-profile_mobile for mobile profile
   : Replace dpm-testcases with dpm-testcases-profile_wearable for wearable profile
   : Replace dpm-testcases with dpm-testcases-profile_tv for tv profile
   : Replace dpm-testcases with dpm-testcases-profile_ivi for ivi profile

Changed at patchset 3:
   Applied fixes from wearable/tv profiles
Changed at patchset13:
   Applied fixes affecting libmm-camcorder

Change-Id: I37b5ca81efd9706e02048b5c4179f916ff521661
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoRefactor dpm-syspopup and remove password bundle data accepted/tizen/3.0/common/20161227.101800 accepted/tizen/3.0/ivi/20161227.005549 accepted/tizen/3.0/mobile/20161227.005347 accepted/tizen/3.0/tv/20161227.005510 accepted/tizen/3.0/wearable/20161227.005528 submit/tizen_3.0/20161226.022346
seolheui,kim [Tue, 20 Dec 2016 06:20:06 +0000 (15:20 +0900)]
Refactor dpm-syspopup and remove password bundle data

Change-Id: I41205fc9c8df85e9337aeef479f204605cd9a5fb
Signed-off-by: seolheui,kim <s414.kim@samsung.com>
7 years agoRefactor dpm-syspopup and remove password bundle data 64/105964/24
seolheui,kim [Tue, 20 Dec 2016 06:20:06 +0000 (15:20 +0900)]
Refactor dpm-syspopup and remove password bundle data

Change-Id: I41205fc9c8df85e9337aeef479f204605cd9a5fb
Signed-off-by: seolheui,kim <s414.kim@samsung.com>
7 years agoAdd preferences/settings management script
Seok Hong [Fri, 23 Dec 2016 07:21:15 +0000 (16:21 +0900)]
Add preferences/settings management script

Change-Id: Idf6adb04b376a454fc965c135e4dcefadd329342
Signed-off-by: Seok Hong <seok85.hong@samsung.com>
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
7 years agoAdd redefining PATH env in dpm-syspopup
Sungbae Yoo [Wed, 21 Dec 2016 08:05:17 +0000 (17:05 +0900)]
Add redefining PATH env in dpm-syspopup

Change-Id: Ieaf5731eb1aba25cdf32d768be83c35a9c21aa31
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
7 years agoAdd preferences/settings management script 26/106826/3
Seok Hong [Fri, 23 Dec 2016 07:21:15 +0000 (16:21 +0900)]
Add preferences/settings management script

Change-Id: Idf6adb04b376a454fc965c135e4dcefadd329342
Signed-off-by: Seok Hong <seok85.hong@samsung.com>
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
7 years agoAdd redefining PATH env in dpm-syspopup 89/106289/1
Sungbae Yoo [Wed, 21 Dec 2016 08:05:17 +0000 (17:05 +0900)]
Add redefining PATH env in dpm-syspopup

Change-Id: Ieaf5731eb1aba25cdf32d768be83c35a9c21aa31
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
7 years agoReplace method registeration with expose interface 06/103706/2 accepted/tizen/3.0/common/20161221.180410 accepted/tizen/3.0/ivi/20161221.005016 accepted/tizen/3.0/mobile/20161221.005105 accepted/tizen/3.0/tv/20161221.004812 accepted/tizen/3.0/wearable/20161221.004856 accepted/tizen/common/20161219.152219 accepted/tizen/ivi/20161219.225512 accepted/tizen/mobile/20161219.225417 accepted/tizen/tv/20161219.225436 accepted/tizen/wearable/20161219.225453 submit/tizen/20161219.072944 submit/tizen_3.0/20161219.020755
Jaemin Ryu [Fri, 9 Dec 2016 07:47:43 +0000 (16:47 +0900)]
Replace method registeration with expose interface

Change-Id: I8bf7ad0b69671ac23ff7ee662f3c5ee013b52c24
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
7 years agoAdd Preferences Store 06/105506/1
Jaemin Ryu [Mon, 19 Dec 2016 00:44:36 +0000 (09:44 +0900)]
Add Preferences Store

Change-Id: I053cb9a2d179029ee022c3bdb28a1ca3cb138990
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
7 years agoMerge "Remove the dead code from PasswordPolicy::enforceChange" into tizen
Jaemin Ryu [Sun, 18 Dec 2016 04:13:45 +0000 (20:13 -0800)]
Merge "Remove the dead code from PasswordPolicy::enforceChange" into tizen

7 years agoRemove the dead code from PasswordPolicy::enforceChange 02/103602/2
Sungjun, Lee [Fri, 9 Dec 2016 02:11:04 +0000 (11:11 +0900)]
Remove the dead code from PasswordPolicy::enforceChange

Change-Id: I5dc64569c8d2af0ee4e193a8869c85902616c952
Signed-off-by: Sungjun, Lee <sjun221.lee@samsung.com>
7 years agoAdd syspopup service 63/105363/3
Sungbae Yoo [Fri, 16 Dec 2016 09:11:29 +0000 (18:11 +0900)]
Add syspopup service

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: If50b927276100c40bc9f282c7b448bd597947a0e
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
7 years agoRemove dbus request for mobileap-agent 33/105033/1
Sungbae Yoo [Thu, 15 Dec 2016 06:57:59 +0000 (15:57 +0900)]
Remove dbus request for mobileap-agent

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I055f4aeb95439b4e7cca3132a4b7e020868cc494

7 years agoAdd dpm-syspopup circle interface 34/103434/6
seolheui,kim [Thu, 8 Dec 2016 09:27:00 +0000 (18:27 +0900)]
Add dpm-syspopup circle interface

Change-Id: I78b4fd919c141c68644853aec491a9767f611165
Signed-off-by: seolheui,kim <s414.kim@samsung.com>
7 years agoAdd EINTR handling to client manager 72/104272/1
Jaemin Ryu [Tue, 13 Dec 2016 03:35:28 +0000 (12:35 +0900)]
Add EINTR handling to client manager

Change-Id: I5290d20aba718c6c6b1823fbffb103c4e581cdbb
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
7 years agoRemove ode app 03/104003/1 accepted/tizen/3.0/common/20161213.163444 accepted/tizen/3.0/ivi/20161213.023943 accepted/tizen/3.0/mobile/20161213.023850 accepted/tizen/3.0/tv/20161213.023911 accepted/tizen/3.0/wearable/20161213.023924 accepted/tizen/common/20161214.160042 accepted/tizen/ivi/20161214.014423 accepted/tizen/mobile/20161214.014230 accepted/tizen/tv/20161214.014353 accepted/tizen/wearable/20161214.014404 submit/tizen/20161213.043530 submit/tizen_3.0/20161212.020133
yeji01kim [Mon, 12 Dec 2016 05:42:59 +0000 (14:42 +0900)]
Remove ode app

Change-Id: I6813e2d7926c73c286764df6efe83ffa9018be31
Signed-off-by: yeji01kim <yeji01.kim@samsung.com>
7 years agoUpdate the doxygen comment for Password Policy 78/103078/1 accepted/tizen/3.0/common/20161207.195621 accepted/tizen/3.0/ivi/20161207.135426 accepted/tizen/3.0/mobile/20161207.135516 accepted/tizen/3.0/tv/20161207.135325 accepted/tizen/3.0/wearable/20161207.135534 submit/tizen_3.0/20161207.074215
Sungjun, Lee [Wed, 7 Dec 2016 05:48:53 +0000 (14:48 +0900)]
Update the doxygen comment for Password Policy

Change-Id: Ic7c14a6b945d8d4111a67ddb8c855235b806f924
Signed-off-by: Sungjun, Lee <sjun221.lee@samsung.com>
7 years agoRefactor function types and parameters 65/103065/3
Sungbae Yoo [Tue, 6 Dec 2016 08:19:42 +0000 (17:19 +0900)]
Refactor function types and parameters

Change-Id: If1d3d97a5ce538c74f54cc8a66cf8addb4bff439
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Signed-off-by: Seok Hong <seok85.hong@samsung.com>
7 years agoClose opened files 77/103077/1
Jaemin Ryu [Wed, 7 Dec 2016 07:26:53 +0000 (16:26 +0900)]
Close opened files

Change-Id: Ib19fdf8f4ffeb8e3feea66537e6ba2a5e3c58bf5
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
7 years agoPassword getter APIs require dpm.password privilege 40/102540/5
Sungjun, Lee [Tue, 6 Dec 2016 05:15:34 +0000 (14:15 +0900)]
Password getter APIs require dpm.password privilege

Change-Id: I2f5b1dc190daa85db7dde8e2cfe75b80c81d86d1
Signed-off-by: Sungjun, Lee <sjun221.lee@samsung.com>
7 years agoUse vconf for encryption state checking 38/102938/1
Jaemin Ryu [Wed, 7 Dec 2016 01:14:27 +0000 (10:14 +0900)]
Use vconf for encryption state checking

Change-Id: I1141adb36b9812ab40edac2318ee7797b2d316d0
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
7 years agoMerge "Remove unreachable code in dpm-admin-cli" into tizen
Jaemin Ryu [Wed, 7 Dec 2016 01:12:14 +0000 (17:12 -0800)]
Merge "Remove unreachable code in dpm-admin-cli" into tizen

7 years agoChange policy scope for browser/clipboard 20/102920/1
Jaemin Ryu [Tue, 6 Dec 2016 22:57:32 +0000 (07:57 +0900)]
Change policy scope for browser/clipboard

Change-Id: I77734b5a70f5108c25eed2f2f7f15ced7fffc48e
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
7 years agoRemove access to encryption state 18/102918/1
Jaemin Ryu [Tue, 6 Dec 2016 22:41:52 +0000 (07:41 +0900)]
Remove access to encryption state

Encryption state will be managed in separated module

Change-Id: I11d3f7f224a92b53b000b3e241648955f05f560e
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
7 years agoFix bug in admin identification 16/102916/1
Jaemin Ryu [Tue, 6 Dec 2016 22:12:20 +0000 (07:12 +0900)]
Fix bug in admin identification

Change-Id: I03556b113fb7f87d09faeecae72e45a46b71cd9a
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
7 years agoFix bug in policy comparator 15/102915/1
Jaemin Ryu [Tue, 6 Dec 2016 22:11:46 +0000 (07:11 +0900)]
Fix bug in policy comparator

Change-Id: I2ceb16a8e3f98d01080118c661b0045922b015e6
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
7 years agoRemove unreachable code in dpm-admin-cli 90/102590/2
Sungbae Yoo [Tue, 6 Dec 2016 06:56:31 +0000 (15:56 +0900)]
Remove unreachable code in dpm-admin-cli

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I33687ae215cd034851bab54a4d31fdb7d47e55ef

7 years agoMerge "Add const qualifier to policy manager interfaces" into tizen
Jaemin Ryu [Tue, 6 Dec 2016 08:03:49 +0000 (00:03 -0800)]
Merge "Add const qualifier to policy manager interfaces" into tizen

7 years agoMerge "Add per domain password status management" into tizen
Jaemin Ryu [Tue, 6 Dec 2016 08:03:24 +0000 (00:03 -0800)]
Merge "Add per domain password status management" into tizen

7 years agoAdd per domain password status management 70/102270/2
Jaemin Ryu [Mon, 5 Dec 2016 09:05:55 +0000 (18:05 +0900)]
Add per domain password status management

Change-Id: I4e07bc5390aa0916274a6a6748cfd8e042430e98
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
7 years agoAdd const qualifier to policy manager interfaces 22/102622/1
Jaemin Ryu [Mon, 5 Dec 2016 23:40:44 +0000 (08:40 +0900)]
Add const qualifier to policy manager interfaces

Change-Id: Icffcaf8a89dd89734b417c2bb57124d687c406a0
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
7 years agoAdd per domain password status management 21/102621/1
Jaemin Ryu [Mon, 5 Dec 2016 09:05:55 +0000 (18:05 +0900)]
Add per domain password status management

Change-Id: I4e07bc5390aa0916274a6a6748cfd8e042430e98
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
7 years agoODE: Fix memory leak 59/102459/1
Jaemin Ryu [Mon, 5 Dec 2016 10:30:14 +0000 (19:30 +0900)]
ODE: Fix memory leak

Change-Id: I8d3619d2e926ade208e811b8cdcb6ccc233a8dec
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
7 years agoFix dpm-syspoup process of password reply event 62/102262/1
seolheui,kim [Mon, 5 Dec 2016 08:51:50 +0000 (17:51 +0900)]
Fix dpm-syspoup process of password reply event

Change-Id: I6400e8d107656ed8eb3d08117584c2ceedba31f5
Signed-off-by: seolheui,kim <s414.kim@samsung.com>
7 years agoChange policy storage to database 68/102068/2 accepted/tizen/3.0/common/20161206.125317 accepted/tizen/3.0/ivi/20161205.234436 accepted/tizen/3.0/mobile/20161205.234253 accepted/tizen/3.0/tv/20161205.234342 accepted/tizen/3.0/wearable/20161205.234408 submit/tizen_3.0/20161205.022357 submit/tizen_3.0/20161205.022817
Jaemin Ryu [Thu, 1 Dec 2016 02:03:26 +0000 (11:03 +0900)]
Change policy storage to database

Change-Id: Id0806d24321582acd954ecf7eed82d1829798692
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
7 years agoAdd path name based admin indentifier for session daemons 67/102067/1
Jaemin Ryu [Thu, 24 Nov 2016 06:58:24 +0000 (15:58 +0900)]
Add path name based admin indentifier for session daemons

Change-Id: Ifa24fbe0336c7cbcdb273416ba6ed2e4213cdc18
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
7 years agoMerge "Modify Password and Restriction API" into tizen
Jaemin Ryu [Mon, 5 Dec 2016 00:16:32 +0000 (16:16 -0800)]
Merge "Modify Password and Restriction API" into tizen

7 years agoModify Password and Restriction API 41/101041/12
Sungjun, Lee [Wed, 30 Nov 2016 06:58:48 +0000 (15:58 +0900)]
Modify Password and Restriction API

Change-Id: I588ca784ec92520183a148ad8a9d083fb6d61d42
Signed-off-by: Sungjun, Lee <sjun221.lee@samsung.com>
7 years agoRemove factory-reset script 35/101335/1 accepted/tizen/3.0/common/20161201.135458 accepted/tizen/3.0/ivi/20161201.032659 accepted/tizen/3.0/mobile/20161201.032603 accepted/tizen/3.0/tv/20161201.032621 accepted/tizen/3.0/wearable/20161201.032639 accepted/tizen/common/20161212.185515 accepted/tizen/ivi/20161213.002811 accepted/tizen/mobile/20161213.002722 accepted/tizen/tv/20161213.002746 accepted/tizen/wearable/20161213.002804 submit/tizen/20161212.053618 submit/tizen_3.0/20161201.020235
yeji01kim [Thu, 1 Dec 2016 01:45:32 +0000 (10:45 +0900)]
Remove factory-reset script

Change-Id: I663ff15b9737e770ff0ceadfc424b305b58a63b8

7 years agoMove point to get krate handle into each APIs 08/99708/1 accepted/tizen/3.0/common/20161124.182112 accepted/tizen/3.0/ivi/20161124.031003 accepted/tizen/3.0/mobile/20161124.030933 accepted/tizen/3.0/tv/20161124.030939 accepted/tizen/3.0/wearable/20161124.030945 submit/tizen_3.0/20161124.013838
Sungbae Yoo [Thu, 24 Nov 2016 01:04:11 +0000 (10:04 +0900)]
Move point to get krate handle into each APIs

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I30b78a00065a92224ed83047a6863c141b6c29eb

7 years agoChange to apply pkgmgrinfo API change 87/95587/1 accepted/tizen/3.0/common/20161116.143224 accepted/tizen/3.0/ivi/20161116.021058 accepted/tizen/3.0/mobile/20161116.020956 accepted/tizen/3.0/tv/20161116.021017 accepted/tizen/3.0/wearable/20161116.021037 accepted/tizen/common/20161114.171504 accepted/tizen/ivi/20161114.074212 accepted/tizen/mobile/20161114.074107 accepted/tizen/tv/20161114.074125 accepted/tizen/wearable/20161114.074152 submit/tizen/20161114.035936 submit/tizen_3.0/20161114.035945 submit/tizen_3.0/20161114.045617 submit/tizen_3.0/20161115.020653
Sungbae Yoo [Fri, 4 Nov 2016 02:22:35 +0000 (11:22 +0900)]
Change to apply pkgmgrinfo API change

pkgmgrinfo_handler is renamed

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: Icd38f03012cf0af264c627d899a418fffea804c8

7 years agoMerge "Fix error: 'INT_MAX' was not declared in this scope" into tizen
Jaemin Ryu [Fri, 4 Nov 2016 02:14:46 +0000 (19:14 -0700)]
Merge "Fix error: 'INT_MAX' was not declared in this scope" into tizen

7 years agoODE,SYSPOPUP : Fixed locktype appid and Refactor ODE 76/93376/3
yeji01kim [Mon, 24 Oct 2016 04:17:49 +0000 (13:17 +0900)]
ODE,SYSPOPUP : Fixed locktype appid and Refactor ODE

Change-Id: I8469f19e4c1bafefa592aa7acc282264736b2639
Signed-off-by: yeji01kim <yeji01.kim@samsung.com>
7 years agoFix error: 'INT_MAX' was not declared in this scope 61/91661/2
Slava Barinov [Mon, 10 Oct 2016 14:22:28 +0000 (17:22 +0300)]
Fix error: 'INT_MAX' was not declared in this scope

Change-Id: I397340e62178e3da4de730b815a8eb049d116ee4
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
7 years agoFix to apply whitespace/blank_line coding rule 82/92482/1
Sungbae Yoo [Mon, 17 Oct 2016 06:47:48 +0000 (15:47 +0900)]
Fix to apply whitespace/blank_line coding rule

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: Iae9c0d69d9c1410dcc7a223c8e274cb9722912a9

7 years agoFix SQL injection vulnerability in DeviceAdministratorManager 99/90099/1 accepted/tizen/3.0/common/20161114.105935 accepted/tizen/3.0/ivi/20161011.043734 accepted/tizen/3.0/mobile/20161015.032606 accepted/tizen/3.0/tv/20161016.003843 accepted/tizen/3.0/wearable/20161015.081808 accepted/tizen/common/20161004.080952 accepted/tizen/ivi/20161005.080107 accepted/tizen/mobile/20161005.080025 accepted/tizen/tv/20161005.080037 accepted/tizen/wearable/20161005.080056 submit/tizen/20161001.075614 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000001 submit/tizen_3.0_mobile/20161015.000001 submit/tizen_3.0_tv/20161015.000001 submit/tizen_3.0_wearable/20161015.000001
Sungbae Yoo [Wed, 28 Sep 2016 09:34:38 +0000 (18:34 +0900)]
Fix SQL injection vulnerability in DeviceAdministratorManager

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I4a43bb73c060ef68efb523ce937f5655197e6739

7 years agoFix to check that password quality type is valid in the first 71/89671/2 accepted/tizen/common/20160926.154130 accepted/tizen/ivi/20160927.020904 accepted/tizen/mobile/20160927.020848 accepted/tizen/tv/20160927.020705 accepted/tizen/wearable/20160927.020828 submit/tizen/20160926.005548
Sungbae Yoo [Mon, 26 Sep 2016 09:34:29 +0000 (18:34 +0900)]
Fix to check that password quality type is valid in the first

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: Ia5871665d734270c25f8f80f2bb2dcb426703ca2

7 years agoAdd umask to make socket accesible for clients 04/89604/1
Sungbae Yoo [Mon, 26 Sep 2016 06:24:20 +0000 (15:24 +0900)]
Add umask to make socket accesible for clients

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I4e7c1ce30ce5bad29b07ab3003b08b8fa7f8e061

7 years agoFix to control platform after that effective policy is actually changed 19/89319/3
Sungbae Yoo [Fri, 23 Sep 2016 05:43:18 +0000 (14:43 +0900)]
Fix to control platform after that effective policy is actually changed

Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
Change-Id: I4afe8afbcd09929099fa8980f9703a35a59770cc

7 years agoFix the typos related to api reference 90/89290/2
Sungjun, Lee [Fri, 23 Sep 2016 04:43:12 +0000 (13:43 +0900)]
Fix the typos related to api reference

Change-Id: I0112c8671590148645d088cccb9e52c15b1dd3f3
Signed-off-by: Sungjun, Lee <sjun221.lee@samsung.com>
7 years agoRemove Notification code in Password Policy 30/88830/3
Sungjun, Lee [Wed, 21 Sep 2016 01:06:25 +0000 (10:06 +0900)]
Remove Notification code in Password Policy

Change-Id: I800d88e09b40ec5d87e21d8abb524e34e8829286
Signed-off-by: Sungjun, Lee <sjun221.lee@samsung.com>