platform/core/security/device-policy-manager.git
15 months agoDeprecate device policy manager module 87/291587/1 accepted/tizen_8.0_unified tizen_8.0 accepted/tizen/8.0/unified/20231005.093606 accepted/tizen/unified/20230420.041542 tizen_8.0_m2_release
yeji01.kim [Wed, 19 Apr 2023 00:39:59 +0000 (09:39 +0900)]
Deprecate device policy manager module

Change-Id: Id2cde867a00c22502a74b325ab7de3dc893f79f9
Signed-off-by: yeji01.kim <yeji01.kim@samsung.com>
3 years agoMerge "[fix] Rename dbus auto-activation service file" into tizen
Jaemin Ryu [Wed, 3 Feb 2021 03:57:37 +0000 (03:57 +0000)]
Merge "[fix] Rename dbus auto-activation service file" into tizen

3 years agoFix dbus servie name according to the dbus guideline 52/241152/1 accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix accepted/tizen_6.5_unified accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix tizen_6.0 tizen_6.0_hotfix tizen_6.5 tizen_7.0 tizen_7.0_hotfix accepted/tizen/6.0/unified/20201030.114926 accepted/tizen/6.0/unified/hotfix/20201103.003123 accepted/tizen/6.5/unified/20211028.115121 accepted/tizen/7.0/unified/20221110.062046 accepted/tizen/7.0/unified/hotfix/20221116.105537 accepted/tizen/unified/20200928.100344 submit/tizen/20200910.003721 submit/tizen/20200928.051244 submit/tizen_6.0/20201029.205104 submit/tizen_6.0_hotfix/20201102.192504 submit/tizen_6.0_hotfix/20201103.114804 submit/tizen_6.5/20211028.162401 tizen_6.0.m2_release tizen_6.5.m2_release tizen_7.0_m2_release
Jaemin Ryu [Tue, 18 Aug 2020 06:26:58 +0000 (15:26 +0900)]
Fix dbus servie name according to the dbus guideline

Change-Id: I3c297a25b89fe1800df9ae93a8e6b20d5f1a431a
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
4 years ago[fix] Rename dbus auto-activation service file 70/231370/1
sanghyeok.oh [Tue, 21 Apr 2020 12:04:26 +0000 (21:04 +0900)]
[fix] Rename dbus auto-activation service file

Naming rule for dbus auto-activation service file : well-known name + ".service"
https://bugs.freedesktop.org/show_bug.cgi?id=99874

Change-Id: I98bf2febd305f8b35587afbe0266b80e3fb4c42a

4 years agoMerge "Remove duplicate dependency with implicit dependencies at "Type=dbus"" into... submit/tizen/20190814.063318
Jaemin Ryu [Wed, 14 Aug 2019 06:29:07 +0000 (06:29 +0000)]
Merge "Remove duplicate dependency with implicit dependencies at "Type=dbus"" into tizen

4 years agoRemove unnecessary dependency in device-policy-manager.service 38/211738/1 accepted/tizen_5.5_unified accepted/tizen_5.5_unified_mobile_hotfix accepted/tizen_5.5_unified_wearable_hotfix tizen_5.5 tizen_5.5_mobile_hotfix tizen_5.5_tv tizen_5.5_wearable_hotfix accepted/tizen/5.5/unified/20191031.022109 accepted/tizen/5.5/unified/mobile/hotfix/20201027.090014 accepted/tizen/5.5/unified/wearable/hotfix/20201027.112653 accepted/tizen/unified/20190809.110836 submit/tizen/20190808.115421 submit/tizen_5.5/20191031.000004 submit/tizen_5.5_mobile_hotfix/20201026.185104 submit/tizen_5.5_wearable_hotfix/20201026.184304 tizen_5.5.m2_release
Hyotaek Shim [Thu, 8 Aug 2019 11:55:47 +0000 (20:55 +0900)]
Remove unnecessary dependency in device-policy-manager.service

Change-Id: I1611fc5349c9b2266d7ef43f8e00d8c97078266f
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
4 years agoRemove duplicate dependency with implicit dependencies at "Type=dbus" 86/211586/1
INSUN PYO [Wed, 7 Aug 2019 02:56:08 +0000 (11:56 +0900)]
Remove duplicate dependency with implicit dependencies at "Type=dbus"

Refs: https://www.freedesktop.org/software/systemd/man/systemd.service.html
 - Services with Type=dbus set automatically acquire dependencies of type Requires= and After= on dbus.socket.

Change-Id: I793cac4916a99855ece84b41478040a0f81ffeee

5 years agoRemove unnecessary setting 70/210670/2
INSUN PYO [Tue, 23 Jul 2019 11:45:15 +0000 (20:45 +0900)]
Remove unnecessary setting

Change-Id: I1f24726f385cf7cac1a718b441ca4a8d5e0bf113

5 years agoMerge "Change the unit-test package name according to the guideline" into tizen
Jaemin Ryu [Fri, 26 Jul 2019 05:57:12 +0000 (05:57 +0000)]
Merge "Change the unit-test package name according to the guideline" into tizen

5 years agoChange the unit-test package name according to the guideline 05/210205/1
Jaemin Ryu [Wed, 17 Jul 2019 01:41:50 +0000 (10:41 +0900)]
Change the unit-test package name according to the guideline

Change-Id: I213d91a468380b81cb4c2ef9acde4dbbcc3b7a12
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
5 years agoRemove unnecessary setting 94/209094/2
INSUN PYO [Tue, 2 Jul 2019 07:20:57 +0000 (16:20 +0900)]
Remove unnecessary setting

Change-Id: I5431c314cdf6dc1d1c5dc3585fcae0d2b8d4a5e6

5 years agoDelete meaningless configuration 29/209529/1
INSUN PYO [Mon, 8 Jul 2019 11:22:53 +0000 (20:22 +0900)]
Delete meaningless configuration

Change-Id: Ibfde184f27a813b1427c70ca6eaeb6eb1b35f130

5 years agoAllow admin re-registration 92/206992/1
Jaemin Ryu [Wed, 29 May 2019 23:59:42 +0000 (08:59 +0900)]
Allow admin re-registration

Change-Id: I3b88f92b1e6d4359b81d7b17bd7ce17c16f6828e
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
5 years agoChange plugin directory accepted/tizen_5.0_unified tizen_5.0 accepted/tizen/5.0/unified/20190304.054834 accepted/tizen/unified/20190307.230803 submit/tizen/20190222.075321 submit/tizen/20190225.022013 submit/tizen_5.0/20190222.075859
Jaemin Ryu [Thu, 26 Jul 2018 06:03:24 +0000 (15:03 +0900)]
Change plugin directory

Change-Id: If018dad443f2da2d3a9becf4a15ca2193a5cf318
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
5 years agoApply type-safe query builder
sangwan.kwon [Tue, 30 Jan 2018 10:44:55 +0000 (19:44 +0900)]
Apply type-safe query builder

Change-Id: I87feb3a4a4cabd0d952445ed4b9347922cd4116c
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
5 years agoFix typo: wether -> whether 53/197553/1
yeji kim [Mon, 14 Jan 2019 05:42:23 +0000 (14:42 +0900)]
Fix typo: wether -> whether

Change-Id: I02326399259bb17738372c2f96001c43ec23a0bd
Signed-off-by: yeji kim <yeji01.kim@samsung.com>
5 years agoFix typo: registring -> registering 82/187982/1 accepted/tizen/5.0/unified/20181102.020921 accepted/tizen/unified/20180831.061514 submit/tizen/20180830.061049 submit/tizen_5.0/20181101.000004
yeji01.kim [Thu, 30 Aug 2018 06:00:53 +0000 (15:00 +0900)]
Fix typo: registring -> registering

Change-Id: I2744141fc7b117c0f844043a2bfd01987b53fe16
Signed-off-by: yeji01.kim <yeji01.kim@samsung.com>
6 years agoSyspopup : Add dbus config rule 23/182523/1
yeji01.kim [Tue, 26 Jun 2018 01:30:54 +0000 (10:30 +0900)]
Syspopup : Add dbus config rule

Add user "root" rule to reply to dbus call invoked from deviced.
This is for usb client policy.

Change-Id: I54566d7853cc6121306d060ae836fcbc7c138bdd
Signed-off-by: yeji01.kim <yeji01.kim@samsung.com>
6 years agoFix missing return statements 24/178224/1 accepted/tizen/unified/20180509.142758 submit/tizen/20180509.062137
Jaemin Ryu [Wed, 9 May 2018 01:21:12 +0000 (10:21 +0900)]
Fix missing return statements

Change-Id: If838f4fac651426e8dce7b424a9286de30a0227c
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
6 years agoFix syspopup-service gmainloop to run in main context 55/177655/2 accepted/tizen/unified/20180503.080752 submit/tizen/20180503.024702
seolheui kim [Wed, 2 May 2018 12:11:12 +0000 (21:11 +0900)]
Fix syspopup-service gmainloop to run in main context

Change-Id: I6f9e9d67a403cd340d5f0bcb12c0b27714766b9a
Signed-off-by: seolheui kim <s414.kim@samsung.com>
6 years agoApply default deny policy to dpm-syspopup service 54/177654/1
seolheui kim [Wed, 2 May 2018 11:45:32 +0000 (20:45 +0900)]
Apply default deny policy to dpm-syspopup service

Change-Id: I624edbef0663cfcebdf934cdaeb21170ae40cc92
Signed-off-by: seolheui kim <s414.kim@samsung.com>
6 years agoModify dpm-syspopup dbus config to apply default allow policy 72/177072/1
seolheui kim [Wed, 25 Apr 2018 06:34:49 +0000 (15:34 +0900)]
Modify dpm-syspopup dbus config to apply default allow policy

Change-Id: I8ce59a906c6e17375455d4d736f56d5ab34efc81
Signed-off-by: seolheui kim <s414.kim@samsung.com>
6 years agoAdd default deny policy to syspopup dbus config 07/176407/2
seolheui kim [Thu, 19 Apr 2018 05:48:31 +0000 (14:48 +0900)]
Add default deny policy to syspopup dbus config

Change-Id: I4367a3c2e8628aba92467010a0028cb0cd67dbd3
Signed-off-by: seolheui kim <s414.kim@samsung.com>
6 years agoServer: Add checking for loading completion 34/169934/11
yeji01.kim [Mon, 12 Feb 2018 07:18:22 +0000 (16:18 +0900)]
Server: Add checking for loading completion

Change-Id: Iceb7679e862952a91faf6d9f8ef36116686362bb
Signed-off-by: yeji01.kim <yeji01.kim@samsung.com>
6 years agoFix the issues that don't handle return values 67/174967/1 accepted/tizen/unified/20180406.144327 submit/tizen/20180406.044945
Sungbae Yoo [Thu, 5 Apr 2018 11:35:06 +0000 (20:35 +0900)]
Fix the issues that don't handle return values

This is to fix the coverity issues

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

6 years agoFix dpm-admin-cli unchecked value issue 75/173675/2 accepted/tizen/unified/20180404.063309 submit/tizen/20180403.065735
seolheui kim [Fri, 23 Mar 2018 05:34:48 +0000 (14:34 +0900)]
Fix dpm-admin-cli unchecked value issue

- explicit pull dereferenced : passing null pointer 'username' to basic_string
- unchecked return value : when getpwnam_r is called

Change-Id: Ic668618273506a02dd4c1244ba902d911767fff4
Signed-off-by: seolheui kim <s414.kim@samsung.com>
6 years agoFix out-of-bounds writing to buffer 56/173656/2
seolheui kim [Fri, 23 Mar 2018 03:58:16 +0000 (12:58 +0900)]
Fix out-of-bounds writing to buffer

Change-Id: I401ea407c5180f83900776abeb3f565e85d0d8e9
Signed-off-by: seolheui kim <s414.kim@samsung.com>
6 years agoFix profile string memory leak in syspopup interface 48/173648/2 submit/tizen/20180327.003656
seolheui kim [Fri, 23 Mar 2018 01:59:13 +0000 (10:59 +0900)]
Fix profile string memory leak in syspopup interface

Change-Id: I0ee52e340cc8d69c5f899fb995e5857da9c97ac6
Signed-off-by: seolheui kim <s414.kim@samsung.com>
6 years agoFix maintenance mode activation logic to apply fixed klay service 88/173488/1
seolheui kim [Thu, 22 Mar 2018 02:18:19 +0000 (11:18 +0900)]
Fix maintenance mode activation logic to apply fixed klay service

Change-Id: Id0f25df0ac4f8242a552de2dcd4f8c0e2e9ed2f2
Signed-off-by: seolheui kim <s414.kim@samsung.com>
6 years agoExport administration API tizen_4.0_tv
Jaemin Ryu [Thu, 8 Mar 2018 05:36:53 +0000 (14:36 +0900)]
Export administration API

Change-Id: I5d35b1203e5d7eae22252b19351a90c86c151f8a
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
6 years agoRemove the maintenance mode check on client signal handler 11/170211/2
seolheui kim [Wed, 14 Feb 2018 08:08:19 +0000 (17:08 +0900)]
Remove the maintenance mode check on client signal handler

Change-Id: Id7c685152885f78ba6b10a4f06dca29dd5ae197e
Signed-off-by: seolheui kim <s414.kim@samsung.com>
6 years agoApply changes of ScopedGMainLoop to policy-client 46/167846/2 accepted/tizen/4.0/unified/20180130.042107 submit/tizen_4.0/20180122.110227
seolheui kim [Mon, 22 Jan 2018 09:48:12 +0000 (18:48 +0900)]
Apply changes of ScopedGMainLoop to policy-client

Change-Id: I2aa16e2b77919663ae0529efabfbba2a1a7e0a50
Signed-off-by: seolheui kim <s414.kim@samsung.com>
6 years agoAdd maintenance mode notify handler to policy-client 00/167800/3
seolheui kim [Mon, 22 Jan 2018 06:34:24 +0000 (15:34 +0900)]
Add maintenance mode notify handler to policy-client

Change-Id: Iec5ce7cf4c9d47584d9cbbce1f8bb68a6123112c
Signed-off-by: seolheui kim <s414.kim@samsung.com>
6 years agoAdd methodCallForce to policy-client 05/167805/3
seolheui kim [Mon, 22 Jan 2018 06:43:00 +0000 (15:43 +0900)]
Add methodCallForce to policy-client

Change-Id: I95c7e9b16dd02f0bd927ea801d5e67819babbdad
Signed-off-by: seolheui kim <s414.kim@samsung.com>
6 years agoFix condition of calling stop() 30/167830/2
seolheui kim [Mon, 22 Jan 2018 08:39:29 +0000 (17:39 +0900)]
Fix condition of calling stop()

 - remove vconf notify handler
 - call stop() on disenroll()

Change-Id: I3a6c8d9fc9466b35d7021380d0cd749a83314cb9
Signed-off-by: seolheui kim <s414.kim@samsung.com>
6 years agoAdd server run method for maintenance mode. 27/167427/5
seolheui kim [Wed, 17 Jan 2018 13:00:37 +0000 (22:00 +0900)]
Add server run method for maintenance mode.

Change-Id: Ibb0d5683c13ef04f9e4da9b2184b590fad445b56
Signed-off-by: seolheui kim <s414.kim@samsung.com>
6 years agoAdd preprocessor for policy strictize on loading. 23/164523/20 accepted/tizen/4.0/unified/20180111.051156 submit/tizen/20180109.085832 submit/tizen/20180110.012731 submit/tizen_4.0/20180109.085933 tizen_4.0.IoT.p2_release
seolheui kim [Tue, 19 Dec 2017 12:26:59 +0000 (21:26 +0900)]
Add preprocessor for policy strictize on loading.

Change-Id: I8f5bc3e2d71a339faeb8e4adb962eb3b290a6bad
Signed-off-by: seolheui kim <s414.kim@samsung.com>
6 years agoUpdate Mode State according to the number of ADMINs 49/165549/2
Lee Sung Jun [Tue, 2 Jan 2018 05:24:14 +0000 (14:24 +0900)]
Update Mode State according to the number of ADMINs

Change-Id: I7c213a992be3e1ac54ae9126610dcc68635ee6f7
Signed-off-by: Lee Sung Jun <sjun221.lee@samsung.com>
6 years agoAdd policy strictize when dpm server starts 51/164651/5
yeji01.kim [Wed, 20 Dec 2017 07:24:50 +0000 (16:24 +0900)]
Add policy strictize when dpm server starts

Change-Id: Iefd064ff803bda1f64209b96ea007c52b0502792
Signed-off-by: yeji01.kim <yeji01.kim@samsung.com>
6 years agoChange to use RemoteMethod 71/163771/5
Jaemin Ryu [Wed, 13 Dec 2017 09:18:12 +0000 (18:18 +0900)]
Change to use RemoteMethod

Change-Id: I477431b184aab74d6ce77d1be5089ddad391e428
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
6 years agoFix to catch exceptions from constructors. 11/163711/2
seolheui kim [Wed, 13 Dec 2017 02:16:48 +0000 (11:16 +0900)]
Fix to catch exceptions from constructors.

Change-Id: Icc32b9580a677ba0aa0e864b7a8bec003f0f88d2
Signed-off-by: seolheui kim <s414.kim@samsung.com>
6 years agoModify dpm client 76/163576/4
yeji01.kim [Tue, 12 Dec 2017 06:44:07 +0000 (15:44 +0900)]
Modify dpm client

Change-Id: Ied23b4847db535989fe1be9254cad30d5638fb4d
Signed-off-by: yeji01.kim <yeji01.kim@samsung.com>
6 years agoAdd ClientRegistry to limit Max connections 29/162929/5
Lee Sung Jun [Wed, 6 Dec 2017 08:09:08 +0000 (17:09 +0900)]
Add ClientRegistry to limit Max connections

Change-Id: I8331b072a3f895da43a139843ae55ac18cd30c81
Signed-off-by: Lee Sung Jun <sjun221.lee@samsung.com>
6 years agoAdd on-demand support 13/158813/6 accepted/tizen/unified/20171130.063341 submit/tizen/20171129.063304 submit/tizen_4.0/20171129.062733
Jaemin Ryu [Fri, 3 Nov 2017 07:18:09 +0000 (16:18 +0900)]
Add on-demand support

Change-Id: I5f4b3e21ef9ab29f62a522993828b7fbb1db999d
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
6 years agoAdd external-storage restriction policy popup 54/159354/4
s414kim [Wed, 8 Nov 2017 09:26:58 +0000 (18:26 +0900)]
Add external-storage restriction policy popup

Change-Id: I14f5f8871b02db750763beb1f9013346d2ede6d1
Signed-off-by: s414kim <s414.kim@samsung.com>
6 years agoFix permissions of data-dirs 17/158817/1
sangwan.kwon [Fri, 3 Nov 2017 05:59:37 +0000 (14:59 +0900)]
Fix permissions of data-dirs

Change-Id: I852c83b5e96d44f4a8b67c454d60687d8c10457c
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
6 years agoUnify logging mechanism as dlog 00/158800/1
sangwan.kwon [Fri, 3 Nov 2017 05:16:49 +0000 (14:16 +0900)]
Unify logging mechanism as dlog

Change-Id: Ica13b72183a248bb07f755b1fc4d7684c9b7e095
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
6 years agoRemove deprecated server-sources 42/158342/1
sangwan.kwon [Thu, 26 Oct 2017 07:01:07 +0000 (16:01 +0900)]
Remove deprecated server-sources

Change-Id: I25ecea65bf0b6e5a6f1d41821103cc86e0ef1fae
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
6 years agoReorganize PIL code 14/158314/1
Jaemin Ryu [Tue, 31 Oct 2017 05:32:23 +0000 (14:32 +0900)]
Reorganize PIL code

Change-Id: I40c773292026ceb095e6d77c7bfe98fa49f0c86f

6 years agoAdd internal testcases about policy-event 26/157026/2
sangwan.kwon [Mon, 23 Oct 2017 04:40:48 +0000 (13:40 +0900)]
Add internal testcases about policy-event

Change-Id: I8f961ca0f2328be918511ac3ff56b88c530f0378
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
6 years agoRemove deprecated testcases 25/157025/1
sangwan.kwon [Thu, 19 Oct 2017 09:01:07 +0000 (18:01 +0900)]
Remove deprecated testcases

Change-Id: Ic665f1bedf455a27e528f3f699aadef7d405447e
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
6 years agoChange signal framework from rmi to dbus 50/156550/4
sangwan.kwon [Wed, 18 Oct 2017 11:35:06 +0000 (20:35 +0900)]
Change signal framework from rmi to dbus

Change-Id: Ic84843f2c966066cdc8bd4b17cb60cdc3cad3206
Signed-off-by: sangwan.kwon <sangwan.kwon@samsung.com>
6 years agoMerge "Add ScopedGMainloop" into tizen
Lee Sung Jun [Mon, 16 Oct 2017 07:39:22 +0000 (07:39 +0000)]
Merge "Add ScopedGMainloop" into tizen

6 years agoAdd usb-client to policy definition 88/155388/1
Lee Sung Jun [Fri, 13 Oct 2017 05:30:15 +0000 (14:30 +0900)]
Add usb-client to policy definition

Change-Id: Ifacdf494a02f61fa25372b2635d2e199c3c8f354
Signed-off-by: Lee Sung Jun <sjun221.lee@samsung.com>
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 agoAdd usb client syspopup and modify language file. 42/154842/1
s414kim [Wed, 11 Oct 2017 09:47:31 +0000 (18:47 +0900)]
Add usb client syspopup and modify language file.

Change-Id: I27ecbed09309c1a12098a70c1444ba6d444643ab
Signed-off-by: s414kim <s414.kim@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