platform/core/security/security-config.git
4 years agoAdd missing SMACK labelling cmd in change_permission. 13/257813/2 accepted/tizen_4.0_unified tizen_4.0 accepted/tizen/4.0/unified/20210504.050901 submit/tizen_4.0/20210503.084422
Jin-gyu Kim [Mon, 3 May 2021 08:13:19 +0000 (17:13 +0900)]
Add missing SMACK labelling cmd in change_permission.

This does not affect any operation, but need to reset SMACK label
for any mismatch in SMACK label.

Change-Id: I0d6053c341d4070d25b7a0839ef439a4972ed424

4 years agoDo not use rpm command in set_capability 98/257798/1 submit/tizen_4.0/20210503.071714
Jin-gyu Kim [Mon, 3 May 2021 05:34:25 +0000 (14:34 +0900)]
Do not use rpm command in set_capability

"rpm" command cannot be existed in some cases.
Instead of using it, check a specific file path to determine a certain
rpm is installed or not.

Change-Id: I6f5fda1cd35cac3bc039c5b4e008b28eafdeb1c1

4 years agoCreate a new script for setting permissions. 97/257797/1
Jin-gyu Kim [Fri, 23 Apr 2021 05:31:51 +0000 (14:31 +0900)]
Create a new script for setting permissions.

This script needs to be run while image is being created or updated.
(After in-house applications are installed.)
We could consider it to be run in security-config service, but it will
increase the 1st boot time.

Change-Id: I5a11dd720ea46ae69b1acc6be09305c74fb39292

4 years agoAdd org.tizen.engine-loader.service & engine-loader.service 11/242711/1 accepted/tizen/4.0/unified/20200907.231218 submit/tizen_4.0/20200901.033837
jin-gyu.kim [Mon, 31 Aug 2020 03:42:48 +0000 (03:42 +0000)]
Add org.tizen.engine-loader.service & engine-loader.service

Change-Id: I5fa3cc8f052404abfc108fe816f0995f4c4b9989

5 years agoChange the condition to check ASLR applied. 84/220884/1 accepted/tizen/4.0/unified/20191226.231259 submit/tizen_4.0/20191226.005741
jin-gyu.kim [Mon, 3 Dec 2018 02:41:47 +0000 (11:41 +0900)]
Change the condition to check ASLR applied.

- "file" cmd can print "pie" not "shared object" for ASLR applied exec.

Change-Id: I0bd6caba258f3b12239f9cd6487b98c54c168431
(cherry picked from commit d6bc33dd95ae82652dd0a940b5ce4cb2ba9ddc96)

5 years agoSet SMACK label of netlabel as 'System' 55/212655/1 accepted/tizen/4.0/unified/20190827.101802 submit/tizen_4.0/20190826.060429
jin-gyu.kim [Wed, 10 Apr 2019 01:55:16 +0000 (10:55 +0900)]
Set SMACK label of netlabel as 'System'

- Previously, it was set as System::Privileged by systemd.
- Basically, network is controlled by Nether with the privilege.
- Therefore, it does not have to be set as System::Privileged.
- Overwrite it as 'System', but in the future, the more smarter
  change will be needed.

Change-Id: I5b2e00c1e729b0f404d0ce8e428824bfe260823f

6 years agoUpdating UID column of policy DB in upgrade script. 87/205087/1
jin-gyu.kim [Mon, 29 Apr 2019 04:56:03 +0000 (13:56 +0900)]
Updating UID column of policy DB in upgrade script.

- Global UID could be different while upgrading the image.
- Get global UID by referring tizen-platform.conf.

Change-Id: Ic42c503bb82987dcbc2eb69e5585e68f7a1286fd

6 years agoAdd cap_sys_admin to amd. 39/193039/1 accepted/tizen/4.0/unified/20181119.153000 submit/tizen_4.0/20181114.064617
jin-gyu.kim [Wed, 14 Nov 2018 02:22:57 +0000 (11:22 +0900)]
Add cap_sys_admin to amd.

Change-Id: I8ae0ceffec6f02865ae6426a133544a45b2d4eca

6 years agoModify upgrade script. 31/192031/5 submit/tizen_4.0/20181029.073014
jin-gyu.kim [Mon, 29 Oct 2018 05:20:20 +0000 (14:20 +0900)]
Modify upgrade script.

- If upgrade is ongoing from 4.x to 4.x, then askrules should not be deleted.

Change-Id: I91101fcdb039d1b8c47776e734bedfecc58238e7

6 years agoUpdate FOTA script of privacy package migration 99/191699/1
Yunjin Lee [Mon, 22 Oct 2018 10:45:38 +0000 (19:45 +0900)]
Update FOTA script of privacy package migration

- Modified to pass unsettable packages
- Handle packages not in privacy whitelist

Change-Id: I2f74b1bb7ab644859648ff3be45de4d82b3eec12
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
6 years agoChange gid of ode service as system_share 35/183035/1 accepted/tizen/4.0/unified/20180702.051630 submit/tizen_4.0/20180702.022231
jin-gyu.kim [Mon, 2 Jul 2018 02:13:12 +0000 (11:13 +0900)]
Change gid of ode service as system_share

- When running image upgrade, fota service needs to access token file generated by ode.

Change-Id: I4045fca4aa83594a6f7cef29edf5225857fbca41

7 years agoAdd ode-progress-ui@.service to service list. 42/180142/1 accepted/tizen/4.0/unified/20180529.023802 submit/tizen_4.0/20180525.062453
jin-gyu.kim [Fri, 25 May 2018 05:43:55 +0000 (14:43 +0900)]
Add ode-progress-ui@.service to service list.

Change-Id: I667b787b88bb1ca84dd5dddd99763afd7ef96d1e

7 years agoFix service test to delete Carriage Return. 24/175124/1 accepted/tizen/4.0/unified/20180411.153057 submit/tizen_4.0/20180409.051346 submit/tizen_4.0/20180410.013216
jin-gyu.kim [Mon, 9 Apr 2018 04:53:10 +0000 (13:53 +0900)]
Fix service test to delete Carriage Return.

- If service file is written in window, the unexpected result is
comming due to Carriage Return.

Change-Id: I68638dc44007f2297eab368b15e7af593cd46491

7 years agoFix upgrade script to change global uid. 67/168067/1 tizen_4.0_tv accepted/tizen/4.0/unified/20180124.154255 submit/tizen_4.0/20180124.050244
jin-gyu.kim [Wed, 24 Jan 2018 04:15:50 +0000 (13:15 +0900)]
Fix upgrade script to change global uid.

- If global uid is diffrent, it should be changed in security-manager db.

Change-Id: I6e9380467c6b29d5097c37685477265e9d8634ee

7 years agochange the condition when giving cap to launchpad-loader 77/167577/1
jin-gyu.kim [Thu, 18 Jan 2018 08:39:26 +0000 (17:39 +0900)]
change the condition when giving cap to launchpad-loader

Change-Id: I30634470a9cf7923c452107ff9ba7b75b5fee21f

7 years agoMerge "Remove redundant setcap to gpsd" into tizen_4.0 accepted/tizen/4.0/unified/20180118.142658 submit/tizen_4.0/20180117.122023
Kim Kidong [Wed, 17 Jan 2018 11:25:07 +0000 (11:25 +0000)]
Merge "Remove redundant setcap to gpsd" into tizen_4.0

7 years agoMerge "Enable run-time permission only for specific profiles." into tizen_4.0
Kim Kidong [Wed, 17 Jan 2018 11:24:39 +0000 (11:24 +0000)]
Merge "Enable run-time permission only for specific profiles." into tizen_4.0

7 years agoMerge "update privacy mount list" into tizen_4.0
Kim Kidong [Wed, 17 Jan 2018 11:24:29 +0000 (11:24 +0000)]
Merge "update privacy mount list" into tizen_4.0

7 years agoRemove redundant setcap to gpsd 13/167313/1
jin-gyu.kim [Wed, 17 Jan 2018 04:49:14 +0000 (13:49 +0900)]
Remove redundant setcap to gpsd

- gpsd is installed by plugin-prebuilt.

Change-Id: If2e953d7835849b16bb47e089f7cf289d7a8e526

7 years agoAdd condition when giving capabilities to launchpad-loader. 52/166852/1
jin-gyu.kim [Fri, 12 Jan 2018 06:30:46 +0000 (15:30 +0900)]
Add condition when giving capabilities to launchpad-loader.

Change-Id: Icce63b730011340ed9f58f7cf94b7f815ded3ce8

7 years agoEnable run-time permission only for specific profiles. 24/166324/2
jin-gyu.kim [Tue, 9 Jan 2018 10:41:20 +0000 (19:41 +0900)]
Enable run-time permission only for specific profiles.

- Run-time permission is not required for all profiles.
- Set the flag file which can distinguish it.

Change-Id: I70397952cc2c25fb7d127391c2ff3d88e9ee94d4

7 years agoFix upgrade script. 12/166012/1 accepted/tizen/4.0/unified/20180111.051019 submit/tizen_4.0/20180105.084406 tizen_4.0.IoT.p2_release
jin-gyu.kim [Fri, 5 Jan 2018 07:11:46 +0000 (16:11 +0900)]
Fix upgrade script.

- upgrade script should include security-config setting (ex : group id set)

Change-Id: Ic07f9b0606033df6728c1fa0e9d7a86816139b60

7 years agoUpdate service list. 55/165955/1 accepted/tizen/4.0/unified/20180111.050956 submit/tizen_4.0/20180105.024403
jin-gyu.kim [Fri, 5 Jan 2018 02:40:02 +0000 (11:40 +0900)]
Update service list.

- dlog_logger.service : uid=log,gid=log

Change-Id: I08f0585d2111a0f9660d7432ddaeaafba9849474

7 years agoupdate privacy mount list 64/164964/4
jin-gyu.kim [Fri, 22 Dec 2017 05:42:11 +0000 (14:42 +0900)]
update privacy mount list

Change-Id: I539c156a778372ba42ebc3ce78006ed06b9e87f4

7 years agoFix the typo in systemd_service.list 10/165710/1 accepted/tizen/4.0/unified/20180111.043642 submit/tizen_4.0/20180103.101920
jin-gyu.kim [Wed, 3 Jan 2018 10:12:39 +0000 (19:12 +0900)]
Fix the typo in systemd_service.list

Change-Id: I9cee95e6b34aa63f8f7d2e7acadb0dbb4d57df17

7 years agoChange the file capability. 45/165545/7 submit/tizen_4.0/20180103.050656
jin-gyu.kim [Tue, 2 Jan 2018 04:58:15 +0000 (13:58 +0900)]
Change the file capability.

- focus_server, sound_server, hostapd, named
- Retrieve redundant capabilities and permitted flag.
- Update security-tests.

Change-Id: Ieba61e395733dc48c2e7df2ff812681cc27ad682

7 years agoMerge "Remove redundant test scripts." into tizen_4.0 accepted/tizen/4.0/unified/20180103.064703 submit/tizen_4.0/20171222.082507 submit/tizen_4.0/20171227.012420
Kim Kidong [Fri, 22 Dec 2017 08:01:41 +0000 (08:01 +0000)]
Merge "Remove redundant test scripts." into tizen_4.0

7 years agoAdd cap_syslog to dlog_logger 92/164992/1
jin-gyu.kim [Fri, 22 Dec 2017 07:56:11 +0000 (16:56 +0900)]
Add cap_syslog to dlog_logger

- This is needed to use syslog()

Change-Id: I5d6e2b5b8e23cb4b1751145aedeb89e0521ee127

7 years agoRemove redundant test scripts. 44/164644/1
jin-gyu.kim [Wed, 20 Dec 2017 06:59:22 +0000 (15:59 +0900)]
Remove redundant test scripts.

Change-Id: I69217a2c235b0883d4dd45f19538773084da799c

7 years agoUpdate set_capability and capability test. 33/164633/1 accepted/tizen/4.0/unified/20171222.062641 submit/tizen_4.0/20171220.053450
jin-gyu.kim [Wed, 20 Dec 2017 05:50:08 +0000 (14:50 +0900)]
Update set_capability and capability test.

- Remove redundant permitted flag from excute files.
- Sync capability lists.

Change-Id: I4df28233124bcc64babb1713f0e85044f3d444fc

7 years agoFix aslr test 83/164483/1
jin-gyu.kim [Tue, 19 Dec 2017 08:44:18 +0000 (17:44 +0900)]
Fix aslr test

- Remove redundant test files.
- Remove temporary exceptions.

Change-Id: Ifc80a54dced83eb2a5f8eb2306d9b380d46b7396

7 years agoUpdate set_capability 27/164227/1 accepted/tizen/4.0/unified/20171219.072244 submit/tizen_4.0/20171218.071255 submit/tizen_4.0/20171219.011056
jin-gyu.kim [Mon, 18 Dec 2017 06:44:22 +0000 (15:44 +0900)]
Update set_capability

- Give capabilities for launchpad in security-config.
- Remove redundant permitted flags from excute files.

Change-Id: I858a170a15d33db2d395bb49c030c1ab1d1d05c6

7 years agoRemove the redundant capability. 20/164220/1
jin-gyu.kim [Mon, 18 Dec 2017 06:12:31 +0000 (15:12 +0900)]
Remove the redundant capability.

: cap_mac_admin is not required to dotnet-launcher
: scd-launcher is not existed anymore.
: oded is running as a root.

Change-Id: Ic137a9ce76281d42a20a04838d7ab62131604469

7 years agoChange Smack label of factory-reset 26/163726/1 accepted/tizen/4.0/unified/20171214.050424 submit/tizen_4.0/20171213.082418
jin-gyu.kim [Wed, 13 Dec 2017 05:48:53 +0000 (14:48 +0900)]
Change Smack label of factory-reset

Change-Id: I957add34a5153a36b1cfcc171d25efb7cd4ac49e

7 years agoRebuild arm test util binaries for PIE and relro accepted/tizen/4.0/unified/20171206.140343 submit/tizen_4.0/20171205.072221
Igor Kotrasinski [Thu, 30 Nov 2017 12:42:20 +0000 (13:42 +0100)]
Rebuild arm test util binaries for PIE and relro

Change-Id: I45957d2a3b650fc0389c14f3bd60c6acd4a9b189
Signed-off-by: Igor Kotrasinski <i.kotrasinsk@partner.samsung.com>
7 years agoGive cap_dac_override to net-config. 82/161882/1 accepted/tizen/4.0/unified/20171130.063517 submit/tizen_4.0/20171128.055807 submit/tizen_4.0/20171129.012549
jin-gyu.kim [Tue, 28 Nov 2017 05:43:40 +0000 (14:43 +0900)]
Give cap_dac_override to net-config.

- It is required to access bridge device.

Change-Id: Ia48b6f032f3979ccf4b4ae04c9d9ef8f801419f9

7 years agoChange uid / gid of ttrace-marker 41/161741/1
jin-gyu.kim [Mon, 27 Nov 2017 08:03:09 +0000 (17:03 +0900)]
Change uid / gid of ttrace-marker

Change-Id: I88d78045ca1e953b77ef6ad901490469d335cf94

7 years agogive cap_dac_override to network modules 70/161570/1 accepted/tizen/4.0/unified/20171127.083327 submit/tizen_4.0/20171126.232824
jin-gyu.kim [Fri, 24 Nov 2017 06:46:09 +0000 (15:46 +0900)]
give cap_dac_override to network modules

- cap_dac_override is required to access bridge device

Change-Id: I3f2bb5e1f58df4cbb692546053bb2f2617573af4

7 years agoadd dbus gui/gid & gumd gid & buxton uid/gid 36/161236/4 accepted/tizen/4.0/unified/20171124.063622 submit/tizen_4.0/20171123.061645
INSUN PYO [Wed, 22 Nov 2017 07:36:53 +0000 (16:36 +0900)]
add dbus gui/gid & gumd gid & buxton uid/gid

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Signed-off-by: Inkyun Kil <inkyun.kil@samsung.com>
Change-Id: I1b7c73d219f65b3de17d5d166c146c6a3f09fd0d

7 years agoModify FOTA script. 67/161067/1 accepted/tizen/4.0/unified/20171122.071133 submit/tizen_4.0/20171121.084606
jin-gyu.kim [Tue, 21 Nov 2017 08:30:41 +0000 (17:30 +0900)]
Modify FOTA script.

- In some cases, rpm version is not available.
- Therefore, use the harded value for cynara-db-migration upgrade in FOTA.

Change-Id: I68e8f18ecb44c681157a79b3afa528a3b5e421c0

7 years agoModify FOTA script: privacy DB should store user settable privacy packages only 95/160895/1 submit/tizen_4.0/20171121.043228
Yunjin Lee [Mon, 20 Nov 2017 10:05:15 +0000 (19:05 +0900)]
Modify FOTA script: privacy DB should store user settable privacy packages only

Change-Id: I12773eacba17c7417af8fc168d0c43b80377df66
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
(cherry picked from commit 33c9a46835fff2c7a0ddd3de8fec9d38b6e19fa9)

7 years agoAdd group priv_tee_client for tee.client privilege. 45/160645/1 accepted/tizen/4.0/unified/20171121.061641 accepted/tizen/4.0/unified/20171121.144047 submit/tizen_4.0/20171117.090526 submit/tizen_4.0/20171120.110317
r.tyminski [Fri, 17 Nov 2017 08:13:35 +0000 (09:13 +0100)]
Add group priv_tee_client for tee.client privilege.

Change-Id: Idd601f5804dbada7fa414e2c963a86fc578af4f3

7 years agoRevert "Fix FOTA script : Handle pkg_type when privacy db migration" 27/157527/1 accepted/tizen/4.0/unified/20171026.153037 submit/tizen_4.0/20171026.061042 submit/tizen_4.0/20171026.082852 tizen_4.0.m2_release
Yunjin Lee [Wed, 25 Oct 2017 02:08:19 +0000 (02:08 +0000)]
Revert "Fix FOTA script : Handle pkg_type when privacy db migration"

refers to: https://review.tizen.org/gerrit/#/c/157525/

This reverts commit aa3dee639475532204e2f9435c53c04053368fad.

Change-Id: I381c71c94f8597faf43789e74f39c771591a7924

7 years agoFix FOTA script : Handle pkg_type when privacy db migration 61/157061/1 accepted/tizen/4.0/unified/20171023.120715 submit/tizen_4.0/20171023.080805
Yunjin Lee [Mon, 23 Oct 2017 07:52:59 +0000 (16:52 +0900)]
Fix FOTA script : Handle pkg_type when privacy db migration

refer to: https://review.tizen.org/gerrit/#/c/156999/

Change-Id: I7c81c81ea373bc58b11220d60fd9401f7db75511
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
7 years agoGive cap_sys_admin to dotnet-launcher and wrt-loader. 87/156787/2 accepted/tizen/4.0/unified/20171020.032503 submit/tizen_4.0/20171020.030738
jin-gyu.kim [Fri, 20 Oct 2017 03:02:30 +0000 (12:02 +0900)]
Give cap_sys_admin to dotnet-launcher and wrt-loader.

Change-Id: I4956bd116cd8f15649ef4bf3ef66622b3c69f0f9

7 years agoAdd tef-simulator.service in systemd service lists. 46/156546/1 accepted/tizen/4.0/unified/20171019.082205 submit/tizen_4.0/20171019.012440
jin-gyu.kim [Thu, 19 Oct 2017 01:16:34 +0000 (10:16 +0900)]
Add tef-simulator.service in systemd service lists.

Change-Id: I3bd7190870d92af4521025e9253744276a7ba3a3

7 years agoEnable Askuser 83/156383/1 submit/tizen_4.0/20171018.075016
Yunjin Lee [Wed, 18 Oct 2017 07:44:06 +0000 (16:44 +0900)]
Enable Askuser

Change-Id: I65b92a5357a0739538f52079186fa51e3c9eb650
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
7 years agoFix to parse script file while running aslr-test. 62/156262/1 submit/tizen_4.0/20171018.005519
jin-gyu.kim [Wed, 18 Oct 2017 00:50:26 +0000 (09:50 +0900)]
Fix to parse script file while running aslr-test.

- This was applied by "https://review.tizen.org/gerrit/#/c/143944/" before.
- But, it was retrieved by mistake.

Change-Id: Iaf6a2b643b0559413ed56475eceefeebc02546f2

7 years agoAdd ifcfg to exception of path check test submit/tizen_4.0/20171017.065351
jin-gyu.kim [Wed, 11 Oct 2017 07:22:32 +0000 (16:22 +0900)]
Add ifcfg to exception of path check test

Change-Id: Ia164c4ffc1f39e0add7c17fd2db972ee24e6885d

7 years agoMerge "Update check_new_service.sh" into tizen_4.0
jin-gyu.kim [Tue, 17 Oct 2017 06:50:37 +0000 (06:50 +0000)]
Merge "Update check_new_service.sh" into tizen_4.0

7 years agoUpdate check_new_service.sh 84/156084/2
jin-gyu.kim [Mon, 25 Sep 2017 07:49:01 +0000 (16:49 +0900)]
Update check_new_service.sh

- If uid / gid are not defined, then set those "root" in test script.
- Sync systemd / dbus service lists.

Change-Id: I3c8def765c6df8de7ae6da1af214b1f174a46131

7 years agoRetrieve execution permission from ASLR not applied files. 81/156081/1
jin-gyu.kim [Tue, 17 Oct 2017 05:58:50 +0000 (14:58 +0900)]
Retrieve execution permission from ASLR not applied files.

Change-Id: I98f8636c00cd1e82f31b2f90dea4fc87f7fec985

7 years agoMerge remote-tracking branch 'origin/tizen' into tizen_4.0 accepted/tizen/4.0/unified/20171012.074718 submit/tizen_4.0/20171011.082443 submit/tizen_4.0/20171011.082546 submit/tizen_4.0/20171012.004833 tizen_4.0.IoT.p1_release
jin-gyu.kim [Wed, 11 Oct 2017 08:23:40 +0000 (17:23 +0900)]
Merge remote-tracking branch 'origin/tizen' into tizen_4.0

7 years agoAdd FOTA script for privacy package migration 59/152259/6 submit/tizen/20171011.082452
Yunjin Lee [Mon, 25 Sep 2017 11:01:49 +0000 (20:01 +0900)]
Add FOTA script for privacy package migration

Change-Id: Iafd731b51eb8beae4e6ca710b76217f6df7d62c1
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
7 years agoMerge "Fix upgrade script" into tizen
Kim Kidong [Wed, 11 Oct 2017 07:50:32 +0000 (07:50 +0000)]
Merge "Fix upgrade script" into tizen

7 years agoFix upgrade script 45/151945/6
jin-gyu.kim [Fri, 22 Sep 2017 10:57:43 +0000 (19:57 +0900)]
Fix upgrade script

- pkgmgr will update app information only if version is changed.
- Therefore, migrate the privious security and cynara database.

Change-Id: Ibb7641439855a71dbc93e3ff61c062f5051bb079

7 years agoApply ASLR to execstack i386 & x86_64 versions.
jin-gyu.kim [Tue, 10 Oct 2017 10:13:21 +0000 (19:13 +0900)]
Apply ASLR to execstack i386 & x86_64 versions.

Change-Id: I8c29d4a81eb5e120f3af6cdbb5c961ae403a3a86

7 years agoApply ASLR to execstack i386 & x86_64 versions. 01/154501/1
jin-gyu.kim [Tue, 10 Oct 2017 10:13:21 +0000 (19:13 +0900)]
Apply ASLR to execstack i386 & x86_64 versions.

Change-Id: I8c29d4a81eb5e120f3af6cdbb5c961ae403a3a86

7 years agoRevise dep test script 00/151600/1 accepted/tizen/4.0/unified/20170922.064534 submit/tizen_4.0/20170921.085018
Yunjin Lee [Thu, 21 Sep 2017 06:08:16 +0000 (15:08 +0900)]
Revise dep test script

Change-Id: Iaaaa3fabd772dc12609a8b98a67b324e81004df0
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
7 years agoRevise dep test script 04/151504/2 accepted/tizen/unified/20170922.065437 submit/tizen/20170921.085026
Yunjin Lee [Thu, 21 Sep 2017 06:08:16 +0000 (15:08 +0900)]
Revise dep test script

Change-Id: Iaaaa3fabd772dc12609a8b98a67b324e81004df0
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
7 years agoRemove root_minimization test from image test.
jin-gyu.kim [Thu, 21 Sep 2017 04:39:10 +0000 (13:39 +0900)]
Remove root_minimization test from image test.

Change-Id: I01accba8133e40f7e44ab8d44162349f8eb4f7da

7 years agoRemove root_minimization test from image test. 76/151476/1
jin-gyu.kim [Thu, 21 Sep 2017 04:39:10 +0000 (13:39 +0900)]
Remove root_minimization test from image test.

Change-Id: I01accba8133e40f7e44ab8d44162349f8eb4f7da

7 years agoGive cap_net_raw to telephony-daemon accepted/tizen/4.0/unified/20170921.073601 submit/tizen_4.0/20170920.095243
jin-gyu.kim [Wed, 20 Sep 2017 02:06:41 +0000 (11:06 +0900)]
Give cap_net_raw to telephony-daemon

- This is required to use raw socket.

Change-Id: I99f3c59a74024f7ebfff0a434abf616cb24a9cf1

7 years agoGive cap_net_raw to telephony-daemon 13/151113/1 accepted/tizen/unified/20170921.071914 submit/tizen/20170920.095249
jin-gyu.kim [Wed, 20 Sep 2017 02:06:41 +0000 (11:06 +0900)]
Give cap_net_raw to telephony-daemon

- This is required to use raw socket.

Change-Id: I99f3c59a74024f7ebfff0a434abf616cb24a9cf1

7 years agoSet the permission and smack label of TZ_USER_CONTENT/symbolic link files including... 14/149714/2 accepted/tizen/4.0/unified/20170914.175947 submit/tizen_4.0/20170914.011207
Hyotaek Shim [Wed, 13 Sep 2017 02:34:36 +0000 (11:34 +0900)]
Set the permission and smack label of TZ_USER_CONTENT/symbolic link files including /opt/usr/home/owner/media/Shared
lrwxrwxrwx  1 root priv_mediastorage  _  21 Sep 13  2017 Shared -> /opt/usr/media_shared

Change-Id: I6af858c16c05ec60a5c457cd2be7fb3d0b70a257
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
7 years agoSet the permission and smack label of TZ_USER_CONTENT/symbolic link files including... 10/149710/3 accepted/tizen/unified/20170914.154307 submit/tizen/20170914.011138
Hyotaek Shim [Wed, 13 Sep 2017 02:34:36 +0000 (11:34 +0900)]
Set the permission and smack label of TZ_USER_CONTENT/symbolic link files including /opt/usr/home/owner/media/Shared
lrwxrwxrwx  1 root priv_mediastorage  _  21 Sep 13  2017 Shared -> /opt/usr/media_shared

Change-Id: I6af858c16c05ec60a5c457cd2be7fb3d0b70a257
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
7 years agoUpdate service according to Service File Verification 18/147418/1
keeho.yang [Mon, 4 Sep 2017 08:48:27 +0000 (17:48 +0900)]
Update service according to Service File Verification

Change-Id: Ib637bd9b55f95f4e399faddd83dca50193680400

7 years agoAdd new service daemon to non_root_list 01/146101/1
keeho.yang [Fri, 25 Aug 2017 02:53:42 +0000 (11:53 +0900)]
Add new service daemon to non_root_list

Change-Id: Ibb9196c64ce53ff0654b4bb6d40dba21afcaab3e

7 years agoApply changing permission of /var/lib/misc to all profiles. 35/146035/1 accepted/tizen/unified/20170825.043953 submit/tizen/20170824.132109
jin-gyu.kim [Thu, 24 Aug 2017 13:11:56 +0000 (22:11 +0900)]
Apply changing permission of /var/lib/misc to all profiles.

- It was only applied on mobile / wearable profiles before.
- This should be worked on other profiles also.

Change-Id: I62584c73eb638d68b82944a7ea0de862c53b6503

7 years agoGive capabilities to oded. 95/145595/1
jin-gyu.kim [Wed, 23 Aug 2017 04:50:23 +0000 (13:50 +0900)]
Give capabilities to oded.

cap_dac_override to access /dev/mmcblk* and /dev/mapper/control
cap_sys_admin to use ioctl system call
cap_sys_boot after encryption, reboot is required
cap_sys_ptrace to know process for storage encryption
cap_kill to kill the process

Change-Id: If9c2dc087c40f0585d7eb31289f070a9c59454bd

7 years agoFix to parse script file while running aslr-test. 44/143944/2 accepted/tizen/4.0/unified/20170829.020544 accepted/tizen/unified/20170816.053810 submit/tizen/20170814.060231 submit/tizen_4.0/20170828.100004 submit/tizen_4.0/20170828.110004
jin-gyu.kim [Mon, 14 Aug 2017 05:50:03 +0000 (14:50 +0900)]
Fix to parse script file while running aslr-test.

Change-Id: I313e522b066e8ae7e905d3c2954dcb39ca2c6bdc

7 years agoSet cap_net_raw and cap_net_admin to wmeshd 24/143724/1
jin-gyu.kim [Fri, 11 Aug 2017 05:35:08 +0000 (14:35 +0900)]
Set cap_net_raw and cap_net_admin to wmeshd

Change-Id: I628e115340afd7a3f2109c67ec51fb81f12b3fad

7 years agoFix upgrade script. 60/143360/2 accepted/tizen/unified/20170810.172042 submit/tizen/20170809.105839
jin-gyu.kim [Wed, 9 Aug 2017 10:46:22 +0000 (19:46 +0900)]
Fix upgrade script.

- Init DBs of cynara and security-manager.
- Backup and restore cynara default and ADMIN buckets.

Change-Id: I5de11f23366908721da4bf827f146e0e265183d8

7 years agoGive cap_net_admin to route 33/143233/1
jin-gyu.kim [Wed, 9 Aug 2017 06:48:21 +0000 (15:48 +0900)]
Give cap_net_admin to route

Change-Id: I1063aa345ffe5e545e6873032b9f0504a5bb0da5

7 years agoMerge "delete non root daemon" into tizen
Jin-gyu Kim [Wed, 9 Aug 2017 06:22:35 +0000 (06:22 +0000)]
Merge "delete non root daemon" into tizen

7 years agodelete non root daemon 21/143221/1
keeho.yang [Wed, 9 Aug 2017 06:19:42 +0000 (15:19 +0900)]
delete non root daemon

Change-Id: I368af21c8dd520d4a40e17f6c39ded304c67eb74

7 years agoModify 4.0 upgrade script 83/143083/3
jin-gyu.kim [Tue, 8 Aug 2017 10:29:18 +0000 (19:29 +0900)]
Modify 4.0 upgrade script

Change-Id: I12d140688019e328e65cfc96ca68ae61d6a49615

7 years agochange bluetooth-share.service uid,gid 52/142852/1
keeho.yang [Mon, 7 Aug 2017 09:55:38 +0000 (18:55 +0900)]
change bluetooth-share.service uid,gid

Change-Id: I54f35924cf6f1034702867f074336db5f9a97894

7 years agoFix new_service_test to parse correct lists 30/142730/1
jin-gyu.kim [Mon, 7 Aug 2017 05:39:37 +0000 (14:39 +0900)]
Fix new_service_test to parse correct lists

- SMACK label was not correctly filtered before.
- Fix grep command in the test script.

Change-Id: I5df41863d3067bc7a3b366f76a7cdaaa3cdcad60

7 years agochange uid, gid in network daemon 31/142531/2
keeho.yang [Fri, 4 Aug 2017 07:15:18 +0000 (16:15 +0900)]
change uid, gid in network daemon

Change-Id: I2720db6a35f074c3ead0efb2fab9dbca80723bf7

7 years agoUpdate service file lists 63/141963/2
jin-gyu.kim [Wed, 2 Aug 2017 06:20:55 +0000 (15:20 +0900)]
Update service file lists

- network daemons are changed as non-root.

Change-Id: Iacd9c760bcd5e62235a6d5382f3ef6cd8a038b6f

7 years agoMerge "Remove cap_net_raw in /usr/bin/nether" into tizen
Kim Kidong [Wed, 2 Aug 2017 02:54:33 +0000 (02:54 +0000)]
Merge "Remove cap_net_raw in /usr/bin/nether" into tizen

7 years agoMerge "cap_dac_override to data-provider-master" into tizen accepted/tizen/4.0/unified/20170816.013003 accepted/tizen/unified/20170801.054924 submit/tizen/20170731.064647 submit/tizen_4.0/20170811.094300
Kim Kidong [Mon, 31 Jul 2017 06:37:50 +0000 (06:37 +0000)]
Merge "cap_dac_override to data-provider-master" into tizen

7 years agoMerge "Add new capability to wfd-manager" into tizen
Kim Kidong [Mon, 31 Jul 2017 06:35:43 +0000 (06:35 +0000)]
Merge "Add new capability to wfd-manager" into tizen

7 years agoAdd new capability to wfd-manager 91/139191/6
jin-gyu.kim [Tue, 18 Jul 2017 01:52:47 +0000 (10:52 +0900)]
Add new capability to wfd-manager

- wfd-manager is changed as non-root.
- update capability lists also.

Change-Id: I32dfcd776a669d2df075f03673f200d4c24520a7

7 years agocap_dac_override to data-provider-master 40/141140/1
jin-gyu.kim [Fri, 28 Jul 2017 08:29:30 +0000 (17:29 +0900)]
cap_dac_override to data-provider-master

To support private file share function, cap_dac_override is required.

Change-Id: If44806d769d35b9edf740cb72545ed5d88845bc4

7 years agomove new service to non_daemon_list 14/140714/1
keeho.yang [Wed, 26 Jul 2017 06:42:31 +0000 (15:42 +0900)]
move new service to non_daemon_list

Change-Id: I15134c591fa84cb27e18a480c2b75eaab43c7a18

7 years agoMerge "Adding capabilities to network daemons" into tizen accepted/tizen/unified/20170728.195045 submit/tizen/20170724.063335 submit/tizen/20170725.071752 submit/tizen/20170726.002354 submit/tizen/20170726.020034
Jin-gyu Kim [Mon, 24 Jul 2017 06:31:19 +0000 (06:31 +0000)]
Merge "Adding capabilities to network daemons" into tizen

7 years agoDisable Askuser temporary from the time of image creation. 84/139884/1 accepted/tizen/unified/20170724.154950 submit/tizen/20170721.023809
jin-gyu.kim [Fri, 21 Jul 2017 02:29:56 +0000 (11:29 +0900)]
Disable Askuser temporary from the time of image creation.

Change-Id: Iadb2357e48f32777bdf0a577522af11fe26be6ec

7 years agoadd emul serivce in root test 10/139810/1 submit/tizen/20170721.024435 submit/tizen/20170721.030707
keeho.yang [Thu, 20 Jul 2017 12:05:37 +0000 (21:05 +0900)]
add emul serivce in root test

Change-Id: I01be6403e64b4adcbe81eee02262de1d4902b7e7

7 years agoupdate root list in emulator mobile 12/139312/2
keeho.yang [Tue, 18 Jul 2017 09:57:33 +0000 (18:57 +0900)]
update root list in emulator mobile

Change-Id: Ie840429824a22c36c32102b957ac5df7c35f7469

7 years agoTemporary disable askuser 00/139800/1 submit/tizen/20170720.112229
jin-gyu.kim [Thu, 20 Jul 2017 11:13:13 +0000 (20:13 +0900)]
Temporary disable askuser

Change-Id: I6f249e6747cab5c80a662c790b28225c54a31a1c

7 years agoAdding capabilities to network daemons 81/137881/6
taesub kim [Mon, 10 Jul 2017 07:28:45 +0000 (16:28 +0900)]
Adding capabilities to network daemons

Change-Id: I694c092e3032e337a073372e70b00b0216344d05
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
7 years agoadd faultd service in root_daemon_list 30/139130/1
keeho.yang [Mon, 17 Jul 2017 11:26:23 +0000 (20:26 +0900)]
add faultd service in root_daemon_list

Change-Id: I7a87aded88ad305b755044abddacf9fa2da00c80

7 years agoMerge "Add service lists and fix typo." into tizen accepted/tizen/unified/20170717.170555 submit/tizen/20170714.083116
Kim Kidong [Fri, 14 Jul 2017 08:28:27 +0000 (08:28 +0000)]
Merge "Add service lists and fix typo." into tizen

7 years agoMerge "Retrieve CAP_DAC_OVERRIDE from mobileap-agent and dnsmasq" into tizen
Kim Kidong [Fri, 14 Jul 2017 08:18:26 +0000 (08:18 +0000)]
Merge "Retrieve CAP_DAC_OVERRIDE from mobileap-agent and dnsmasq" into tizen

7 years agoRemove cap_net_raw in /usr/bin/nether 87/138887/1
jin-gyu.kim [Fri, 14 Jul 2017 06:51:30 +0000 (15:51 +0900)]
Remove cap_net_raw in /usr/bin/nether

- cap_net_raw is not required for nether.

Change-Id: I20481b2fb5f3164ce1fb566765ddd2f125f92b8d

7 years agoAdd service lists and fix typo. 93/138093/2
jin-gyu.kim [Tue, 11 Jul 2017 05:20:08 +0000 (14:20 +0900)]
Add service lists and fix typo.

Change-Id: I2113095de3b74de22e80a2db631ff5126b52e5cd

7 years agoAdd missing file util name conversion. 28/138828/2
jin-gyu.kim [Fri, 14 Jul 2017 03:12:21 +0000 (12:12 +0900)]
Add missing file util name conversion.

Change-Id: Ibcc155d5ec73faa29217104272fccbfc7bc40aac

7 years agoRetrieve CAP_DAC_OVERRIDE from mobileap-agent and dnsmasq 25/138825/2
jin-gyu.kim [Fri, 14 Jul 2017 02:29:17 +0000 (11:29 +0900)]
Retrieve CAP_DAC_OVERRIDE from mobileap-agent and dnsmasq

- GID of /opt/var/lib/misc was changed, therefore no need to have this cap.

Change-Id: Ieb6137d2304b0971a428a7dca8317aa7ae0690c4