From: jin-gyu.kim Date: Mon, 23 Apr 2018 07:30:13 +0000 (+0900) Subject: Apply systemd service file verification. X-Git-Tag: submit/tizen/20180426.053938^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2d9b8498c79167c73288db35515d39dfb6fc3013;p=platform%2Fcore%2Fsecurity%2Fsecurity-config.git Apply systemd service file verification. - If service file is not included in the white list, is will be disabled. : only for mobile & wearable profiles. - Update white lists. Change-Id: Ie58405d4f12680b5f201adbc4d3964d575d2badf --- diff --git a/test/new_service_test/check_new_service.sh b/test/new_service_test/check_new_service.sh index 999a580..bec5b6f 100644 --- a/test/new_service_test/check_new_service.sh +++ b/test/new_service_test/check_new_service.sh @@ -32,14 +32,14 @@ function check_service echo $service_name >> $log_file # Move the service file to another directory. This service cannot be launched by systemd or d-bus. # TODO : This is temporary. Checking onlycap may need to be considered later. - #if [ -e "/etc/smack/onlycap" ] - #then - # if [ ! -d $not_permitted_service_path ] - # then - # mkdir $not_permitted_service_path - # fi - # mv "$1" "$not_permitted_service_path$service_name" - #fi + if [ -e "/etc/smack/onlycap" ] + then + if [ ! -d $not_permitted_service_path ] + then + mkdir $not_permitted_service_path + fi + mv "$1" "$not_permitted_service_path$service_name" + fi fi } diff --git a/test/new_service_test/emulator/mobile/dbus_service.list b/test/new_service_test/emulator/mobile/dbus_service.list index 0587569..2d6e8f2 100644 --- a/test/new_service_test/emulator/mobile/dbus_service.list +++ b/test/new_service_test/emulator/mobile/dbus_service.list @@ -17,7 +17,6 @@ org.projectx.bt.service;root;root;; org.projectx.bt_core.service;root;root;; org.tizen.MobileapAgent.service;network_fw;network_fw;; org.tizen.PhonenumberUtils.dbus.service;service_fw;service_fw;; -org.tizen.SoundServer.service;multimedia_fw;multimedia_fw;; org.tizen.account.manager.service;root;root;; org.tizen.alarm.manager.service;root;root;; org.tizen.app2sd.service;root;root;; @@ -33,7 +32,10 @@ org.tizen.pkg_recovery.service;root;root;; org.tizen.pkgdir_tool.service;root;root;; org.tizen.pkgmgr.service;root;root;; org.tizen.scmirroring.server.service;multimedia_fw;multimedia_fw;; +org.tizen.SoundServer.service;root;root;; org.tizen.smartreply.service;ui_fw;ui_fw;System; org.tizen.system.crash.service;root;root;; +org.tizen.system.deviced.service;root;root;; org.tizen.system.popup.service;root;root;; +org.tizen.system.vibrator.service;system_fw;root;; org.tizen.zigbee.service;network_fw;network_fw;; diff --git a/test/new_service_test/emulator/mobile/systemd_service.list b/test/new_service_test/emulator/mobile/systemd_service.list index e4312ab..93686bc 100644 --- a/test/new_service_test/emulator/mobile/systemd_service.list +++ b/test/new_service_test/emulator/mobile/systemd_service.list @@ -6,16 +6,20 @@ auth-fw.service;security_fw;security_fw;System; bluetooth-address.service;network_fw;network_fw;System; bluetooth-force-hci-logger.service;network_fw;network_fw;System; bluetooth-frwk.service;network_fw;network_fw;System; +bluetooth-frwk-core.service;network_fw;network_fw;System; bluetooth-hci-dump@.service;network_fw;network_fw;System; bluetooth-hci-logger.service;network_fw;network_fw;System; +bluetooth-hci-logger-stop.service;network_fw;network_fw;System; bluetooth-map-agent.service;network_fw;network_fw;System; bluetooth-pbap-agent.service;network_fw;network_fw;System; bluetooth-share.service;network_fw;network_fw;System; +bluetooth-share-start.service;network_fw;network_fw;System; +bluez-start.service;network_fw;network_fw;System; boot-animation.service;application;application;System; browser-provider.service;web_fw;web_fw;System; buxton2.service;buxton;buxton;System; callmgr.service;telephony;telephony;System; -central-key-manager.service;key-manager;key-manager;System; +central-key-manager.service;key-manager;security_fw;System; cert-checker.service;security_fw;security_fw;System; cert-server.service;security_fw;security_fw;System; connman-vpn.service;network_fw;network_fw;System; @@ -33,7 +37,7 @@ device-policy-manager.service;security_fw;security_fw;System; device-policy-syspopup.service;security_fw;security_fw;System; deviced.service;root;root;System::Privileged; display-manager.service;root;root;System; -dlog_logger.service;root;root;System; +dlog_logger.service;log;log;System; download-provider.service;web_fw;web_fw;System; emergency.service;root;root;System; emuld.service;root;root;System::Privileged; @@ -64,6 +68,7 @@ log_dump.service;root;root;System; log_dump.service;system_fw;system_fw;System; # conditionaly used media-server.service;multimedia_fw;multimedia_fw;System; mediacontroller.service;multimedia_fw;multimedia_fw;System; +mm-resource-managerd.service;multimedia_fw;multimedia_fw;System; mobileap-agent.service;network_fw;network_fw;System; msg-server.service;messaging;messaging;System; murphyd.service;multimedia_fw;multimedia_fw;System; @@ -95,6 +100,8 @@ security-manager.service;root;root;System::Privileged; sensord.service;sensor;input;System; serial-getty@.service;root;root;System; shutdown-animation.service;application;application;System; +sound-server.service;multimedia_fw;multimedia_fw;System; +stc-iptables.service;network_fw;network_fw;System; stc-manager.service;root;root;System; storaged.service;root;root;System::Privileged; swap_manager.service;system_fw;system_fw;System; @@ -137,7 +144,7 @@ systemd-update-utmp-runlevel.service;root;root;System; systemd-update-utmp.service;root;root;System; systemd-user-sessions.service;root;root;System; systemd-vconsole-setup.service;root;root;System; -tef-simulator.service;security_fw;security_fw;System; +tef-simulator.service;security_fw;security_fw;System::TEF; telephony-daemon.service;telephony;telephony;System; tizen-system-env.service;root;root;System; tizenid.service;system_fw;system_fw;System; diff --git a/test/new_service_test/emulator/tv/dbus_service.list b/test/new_service_test/emulator/tv/dbus_service.list index 81f01a0..0a8ed2b 100644 --- a/test/new_service_test/emulator/tv/dbus_service.list +++ b/test/new_service_test/emulator/tv/dbus_service.list @@ -11,7 +11,8 @@ org.freedesktop.systemd1.service;root;root;; org.projectx.bt.service;root;root;; org.projectx.bt_core.service;root;root;; org.tizen.MobileapAgent.service;network_fw;network_fw;; -org.tizen.SoundServer.service;multimedia_fw;multimedia_fw;; +org.tizen.PhonenumberUtils.dbus.service;service_fw;service_fw;; +org.tizen.SoundServer.service;root;root;; org.tizen.alarm.manager.service;root;root;; org.tizen.data-provider-master.service;app_fw;app_fw;; org.tizen.dpm.syspopup.service;security_fw;root;; @@ -25,5 +26,6 @@ org.tizen.pkgmgr.service;root;root;; org.tizen.scmirroring.server.service;multimedia_fw;multimedia_fw;; org.tizen.smartreply.service;ui_fw;ui_fw;System; org.tizen.system.crash.service;root;root;; +org.tizen.system.deviced.service;root;root;; org.tizen.zigbee.service;network_fw;network_fw;; org.bluez.service;root;root;; # need to be checked by service file verification diff --git a/test/new_service_test/emulator/tv/systemd_service.list b/test/new_service_test/emulator/tv/systemd_service.list index 038053b..d32509f 100644 --- a/test/new_service_test/emulator/tv/systemd_service.list +++ b/test/new_service_test/emulator/tv/systemd_service.list @@ -1,14 +1,19 @@ ac.service;app_fw;app_fw;System; alarm-server.service;app_fw;app_fw;System; auth-fw.service;security_fw;security_fw;System; +bluetooth.service;network_fw;network_fw;System; bluetooth-address.service;network_fw;network_fw;System; bluetooth-force-hci-logger.service;network_fw;network_fw;System; bluetooth-frwk.service;network_fw;network_fw;System; +bluetooth-frwk-core.service;network_fw;network_fw;System; bluetooth-hci-dump@.service;network_fw;network_fw;System; bluetooth-hci-logger.service;network_fw;network_fw;System; +bluetooth-hci-logger-stop.service;network_fw;network_fw;System; +bluetooth-share-start.service;network_fw;network_fw;System; +bluez-start.service;network_fw;network_fw;System; browser-provider.service;web_fw;web_fw;System; buxton2.service;buxton;buxton;System; -central-key-manager.service;key-manager;key-manager;System; +central-key-manager.service;key-manager;security_fw;System; cert-server.service;security_fw;security_fw;System; connman.service;network_fw;network_fw;System; console-getty.service;root;root;System; @@ -23,7 +28,7 @@ device-policy-manager.service;security_fw;security_fw;System; device-policy-syspopup.service;security_fw;security_fw;System; deviced.service;root;root;System::Privileged; display-manager.service;root;root;System; -dlog_logger.service;root;root;System; +dlog_logger.service;log;log;System; download-provider.service;web_fw;web_fw;System; emergency.service;root;root;System; emuld.service;root;root;System::Privileged; @@ -50,6 +55,7 @@ log_dump.service;root;root;System; log_dump.service;system_fw;system_fw;System; # conditionaly used media-server.service;multimedia_fw;multimedia_fw;System; mediacontroller.service;multimedia_fw;multimedia_fw;System; +mm-resource-managerd.service;multimedia_fw;multimedia_fw;System; mobileap-agent.service;network_fw;network_fw;System; murphyd.service;multimedia_fw;multimedia_fw;System; muse-server.service;multimedia_fw;multimedia_fw;System; @@ -60,8 +66,10 @@ offline-update.service;root;root;System::Privileged; package-manager.service;app_fw;app_fw;System; package-recovery.service;app_fw;app_fw;System; pass.service;system_fw;system_fw;System; +phonenumber-utils.service;service_fw;service_fw;System; pkg-db-recovery.service;app_fw;app_fw;System; pkgdir-tool.service;app_fw;app_fw;System; +privacy-guard-server.service;security_fw;security_fw;System; pulseaudio.service;root;root;System; pushd.service;service_fw;service_fw;System; quotaon.service;root;root;System; @@ -74,6 +82,8 @@ security-manager-cleanup.service;root;root;System::Privileged; security-manager-rules-loader.service;root;root;System::Privileged; security-manager.service;root;root;System::Privileged; serial-getty@.service;root;root;System; +sound-server.service;multimedia_fw;multimedia_fw;System; +stc-iptables.service;network_fw;network_fw;System; stc-manager.service;root;root;System; storaged.service;root;root;System::Privileged; swap_manager.service;system_fw;system_fw;System; @@ -105,6 +115,7 @@ systemd-reboot.service;root;root;System; systemd-remount-fs.service;root;root;System; systemd-suspend.service;root;root;System; systemd-sysctl.service;root;root;System; +systemd-tmpfiles-setup.service;root;root;System::Privileged; systemd-tmpfiles-setup-dev.service;root;root;System::Privileged; systemd-udev-settle.service;root;root;System; systemd-udev-trigger.service;root;root;System; @@ -114,13 +125,14 @@ systemd-update-utmp-runlevel.service;root;root;System; systemd-update-utmp.service;root;root;System; systemd-user-sessions.service;root;root;System; systemd-vconsole-setup.service;root;root;System; -tef-simulator.service;security_fw;security_fw;System; +tef-simulator.service;security_fw;security_fw;System::TEF; telephony-daemon.service;telephony;telephony;System; tizen-system-env.service;root;root;System; tizenid.service;system_fw;system_fw;System; tlm.service;root;root;System; ttrace-marker.service;system_fw;system_fw;System; udev-sdb-init.service;root;root;System; +usb-host-ffs-test-daemon.service;system_fw;system_fw;System; user@.service;%i;users;User; __user@.service;%i;;User; webappenc-initializer.service;security_fw;security_fw;System; diff --git a/test/new_service_test/emulator/wearable/dbus_service.list b/test/new_service_test/emulator/wearable/dbus_service.list index 9994548..7a3e350 100644 --- a/test/new_service_test/emulator/wearable/dbus_service.list +++ b/test/new_service_test/emulator/wearable/dbus_service.list @@ -15,7 +15,7 @@ org.projectx.bt.service;root;root;; org.projectx.bt_core.service;root;root;; org.tizen.MobileapAgent.service;network_fw;network_fw;; org.tizen.PhonenumberUtils.dbus.service;service_fw;service_fw;; -org.tizen.SoundServer.service;multimedia_fw;multimedia_fw;; +org.tizen.SoundServer.service;root;root;; org.tizen.account.manager.service;root;root;; org.tizen.alarm.manager.service;root;root;; org.tizen.data-provider-master.service;app_fw;app_fw;; @@ -31,5 +31,7 @@ org.tizen.pkgdir_tool.service;root;root;; org.tizen.pkgmgr.service;root;root;; org.tizen.smartreply.service;ui_fw;ui_fw;System; org.tizen.system.crash.service;root;root;; +org.tizen.system.deviced.service;root;root;; org.tizen.system.popup.service;root;root;; +org.tizen.system.vibrator.service;system_fw;root;; org.tizen.zigbee.service;network_fw;network_fw;; diff --git a/test/new_service_test/emulator/wearable/systemd_service.list b/test/new_service_test/emulator/wearable/systemd_service.list index 346f4ac..c3340c6 100644 --- a/test/new_service_test/emulator/wearable/systemd_service.list +++ b/test/new_service_test/emulator/wearable/systemd_service.list @@ -5,12 +5,16 @@ auth-fw.service;security_fw;security_fw;System; bluetooth-address.service;network_fw;network_fw;System; bluetooth-force-hci-logger.service;network_fw;network_fw;System; bluetooth-frwk.service;network_fw;network_fw;System; +bluetooth-frwk-core.service;network_fw;network_fw;System; bluetooth-hci-dump@.service;network_fw;network_fw;System; bluetooth-hci-logger.service;network_fw;network_fw;System; +bluetooth-hci-logger-stop.service;network_fw;network_fw;System; +bluetooth-share-start.service;network_fw;network_fw;System; +bluez-start.service;network_fw;network_fw;System; boot-animation.service;application;application;System; buxton2.service;buxton;buxton;System; callmgr.service;telephony;telephony;System; -central-key-manager.service;key-manager;key-manager;System; +central-key-manager.service;key-manager;security_fw;System; cert-server.service;security_fw;security_fw;System; connman.service;network_fw;network_fw;System; console-getty.service;root;root;System; @@ -26,7 +30,7 @@ device-policy-manager.service;security_fw;security_fw;System; device-policy-syspopup.service;security_fw;security_fw;System; deviced.service;root;root;System::Privileged; display-manager.service;root;root;System; -dlog_logger.service;root;root;System; +dlog_logger.service;log;log;System; download-provider.service;web_fw;web_fw;System; emergency.service;root;root;System; emuld.service;root;root;System::Privileged; @@ -57,6 +61,7 @@ log_dump.service;root;root;System; log_dump.service;system_fw;system_fw;System; # conditionaly used media-server.service;multimedia_fw;multimedia_fw;System; mediacontroller.service;multimedia_fw;multimedia_fw;System; +mm-resource-managerd.service;multimedia_fw;multimedia_fw;System; mobileap-agent.service;network_fw;network_fw;System; msg-server.service;messaging;messaging;System; mtp-initiator.service;network_fw;network_fw;System; @@ -91,6 +96,8 @@ security-manager.service;root;root;System::Privileged; sensord.service;sensor;input;System; serial-getty@.service;root;root;System; shutdown-animation.service;application;application;System; +sound-server.service;multimedia_fw;multimedia_fw;System; +stc-iptables.service;network_fw;network_fw;System; stc-manager.service;root;root;System; storaged.service;root;root;System::Privileged; swap_manager.service;system_fw;system_fw;System; @@ -102,6 +109,7 @@ systemd-binfmt.service;root;root;System; systemd-exit.service;root;root;System; systemd-fsck-root.service;root;root;System; systemd-fsck@.service;root;root;System; +systemd-halt.service;root;root;System; systemd-hibernate-resume@.service;root;root;System; systemd-hibernate.service;root;root;System; systemd-hostnamed.service;root;root;System; @@ -128,11 +136,12 @@ systemd-tmpfiles-setup.service;root;root;System::Privileged; systemd-udev-settle.service;root;root;System; systemd-udev-trigger.service;root;root;System; systemd-udevd.service;root;root;System::Privileged; +systemd-update-done.service;root;root;System; systemd-update-utmp-runlevel.service;root;root;System; systemd-update-utmp.service;root;root;System; systemd-user-sessions.service;root;root;System; systemd-vconsole-setup.service;root;root;System; -tef-simulator.service;security_fw;security_fw;System; +tef-simulator.service;security_fw;security_fw;System::TEF; telephony-daemon.service;telephony;telephony;System; tizen-fstrim-user.service;root;root;System; tizen-system-env.service;root;root;System; @@ -140,6 +149,7 @@ tizenid.service;system_fw;system_fw;System; tlm.service;root;root;System; ttrace-marker.service;system_fw;system_fw;System; udev-sdb-init.service;root;root;System; +usb-host-ffs-test-daemon.service;system_fw;system_fw;System; user@.service;%i;users;User; __user@.service;%i;;User; vmodem-x86.service;root;root;System::Privileged; diff --git a/test/new_service_test/target/mobile/dbus_service.list b/test/new_service_test/target/mobile/dbus_service.list index a255533..4207999 100644 --- a/test/new_service_test/target/mobile/dbus_service.list +++ b/test/new_service_test/target/mobile/dbus_service.list @@ -2,15 +2,12 @@ net.asp.service;network_fw;network_fw;; net.connman.service;network_fw;network_fw;; net.connman.vpn.service;network_fw;network_fw;; net.netconfig.service;network_fw;network_fw;; -net.stc.service;root;;; # need to be checked whether it is existed net.wifidirect.service;network_fw;network_fw;; -net.wmesh.service;network_fw;network_fw;; # need to be checked whether it is existed org.O1.SecurityAccounts.gUserManagement.service;root;root;; org.bluez.ag_agent.service;network_fw;network_fw;; org.bluez.map_agent.service;root;root;; org.bluez.obex.service;network_fw;network_fw;; org.bluez.pb_agent.service;root;root;; -org.freedesktop.hostname1.service;root;;; # need to be checked whether it is existed org.freedesktop.locale1.service;root;root;; org.freedesktop.login1.service;root;root;; org.freedesktop.systemd1.service;root;root;; @@ -19,7 +16,6 @@ org.projectx.bt_core.service;root;root;; org.tizen.MobileapAgent.service;network_fw;network_fw;; org.tizen.PhonenumberUtils.dbus.service;service_fw;service_fw;; org.tizen.SmartcardService.service;network_fw;network_fw;; -org.tizen.SoundServer.service;multimedia_fw;multimedia_fw;; # Need to check by SFV org.tizen.account.manager.service;root;root;; org.tizen.alarm.manager.service;root;root;; org.tizen.app2sd.service;root;root;; @@ -35,7 +31,10 @@ org.tizen.pkg_recovery.service;root;root;; org.tizen.pkgdir_tool.service;root;root;; org.tizen.pkgmgr.service;root;root;; org.tizen.scmirroring.server.service;multimedia_fw;multimedia_fw;; +org.tizen.SoundServer.service;root;root;; org.tizen.smartreply.service;ui_fw;ui_fw;System; org.tizen.system.crash.service;root;root;; +org.tizen.system.deviced.service;root;root;; org.tizen.system.popup.service;root;root;; +org.tizen.system.vibrator.service;system_fw;root;; org.tizen.zigbee.service;network_fw;network_fw;; diff --git a/test/new_service_test/target/mobile/systemd_service.list b/test/new_service_test/target/mobile/systemd_service.list index eb6e510..b80c67b 100644 --- a/test/new_service_test/target/mobile/systemd_service.list +++ b/test/new_service_test/target/mobile/systemd_service.list @@ -6,18 +6,22 @@ auth-fw.service;security_fw;security_fw;System; bluetooth-address.service;network_fw;network_fw;System; bluetooth-force-hci-logger.service;network_fw;network_fw;System; bluetooth-frwk.service;network_fw;network_fw;System; +bluetooth-frwk-core.service;network_fw;network_fw;System; bluetooth-hci-device.service;root;root;System; bluetooth-hci-dump@.service;network_fw;network_fw;System; bluetooth-hci-logger.service;network_fw;network_fw;System; +bluetooth-hci-logger-stop.service;network_fw;network_fw;System; bluetooth-hciattach@.service;root;root;System; bluetooth-map-agent.service;network_fw;network_fw;System; bluetooth-pbap-agent.service;network_fw;network_fw;System; bluetooth-share.service;network_fw;network_fw;System; +bluetooth-share-start.service;network_fw;network_fw;System; +bluez-start.service;network_fw;network_fw;System; boot-animation.service;application;application;System; browser-provider.service;web_fw;web_fw;System; buxton2.service;buxton;buxton;System; callmgr.service;telephony;telephony;System; -central-key-manager.service;key-manager;key-manager;System; +central-key-manager.service;key-manager;security_fw;System; cert-checker.service;security_fw;security_fw;System; cert-server.service;security_fw;security_fw;System; connman-vpn.service;network_fw;network_fw;System; @@ -35,12 +39,12 @@ device-policy-manager.service;security_fw;security_fw;System; device-policy-syspopup.service;security_fw;security_fw;System; deviced.service;root;root;System::Privileged; display-manager.service;root;root;System; -dlog_logger.service;root;root;System; +dlog_logger.service;log;log;System; download-provider.service;web_fw;web_fw;System; emergency.service;root;root;System; esd.service;app_fw;app_fw;System; -factory-reset.service;root;root;System; -factory-reset-launch.service;root;root;System; +factory-reset.service;root;root;System::Privileged; +factory-reset-launch.service;root;root;System::Privileged; faultd.service;root;root;System; feedbackd.service;system_fw;system_fw;System; fido.service;service_fw;service_fw;System; @@ -65,6 +69,7 @@ log_dump.service;root;root;System; log_dump.service;system_fw;system_fw;System; # conditionaly used media-server.service;multimedia_fw;multimedia_fw;System; mediacontroller.service;multimedia_fw;multimedia_fw;System; +mm-resource-managerd.service;multimedia_fw;multimedia_fw;System; mobileap-agent.service;network_fw;network_fw;System; msg-server.service;messaging;messaging;System; mtp-initiator.service;network_fw;network_fw;System; @@ -97,6 +102,8 @@ security-manager.service;root;root;System::Privileged; sensord.service;sensor;input;System; serial-getty@.service;root;root;System; shutdown-animation.service;application;application;System; +sound-server.service;multimedia_fw;multimedia_fw;System; +stc-iptables.service;network_fw;network_fw;System; stc-manager.service;root;root;System; storaged.service;root;root;System::Privileged; swap_manager.service;system_fw;system_fw;System; diff --git a/test/new_service_test/target/tv/dbus_service.list b/test/new_service_test/target/tv/dbus_service.list index ff67ff0..74d04e2 100644 --- a/test/new_service_test/target/tv/dbus_service.list +++ b/test/new_service_test/target/tv/dbus_service.list @@ -13,7 +13,8 @@ org.freedesktop.systemd1.service;root;root;; org.projectx.bt.service;root;root;; org.projectx.bt_core.service;root;root;; org.tizen.MobileapAgent.service;network_fw;network_fw;; -org.tizen.SoundServer.service;multimedia_fw;multimedia_fw;; +org.tizen.PhonenumberUtils.dbus.service;service_fw;service_fw;; +org.tizen.SoundServer.service;root;root;; org.tizen.alarm.manager.service;root;root;; org.tizen.data-provider-master.service;app_fw;app_fw;; org.tizen.dpm.syspopup.service;security_fw;root;; @@ -27,6 +28,7 @@ org.tizen.pkgmgr.service;root;root;; org.tizen.scmirroring.server.service;multimedia_fw;multimedia_fw;; org.tizen.smartreply.service;ui_fw;ui_fw;System; org.tizen.system.crash.service;root;root;; +org.tizen.system.deviced.service;root;root;; org.tizen.system.popup.service;root;root;; org.tizen.zigbee.service;network_fw;network_fw;; org.bluez.service;root;root;; # need to be checkd diff --git a/test/new_service_test/target/tv/systemd_service.list b/test/new_service_test/target/tv/systemd_service.list index 15bddaf..f861195 100644 --- a/test/new_service_test/target/tv/systemd_service.list +++ b/test/new_service_test/target/tv/systemd_service.list @@ -1,14 +1,19 @@ ac.service;app_fw;app_fw;System; alarm-server.service;app_fw;app_fw;System; auth-fw.service;security_fw;security_fw;System; +bluetooth.service;network_fw;network_fw;System; bluetooth-address.service;network_fw;network_fw;System; bluetooth-force-hci-logger.service;network_fw;network_fw;System; bluetooth-frwk.service;network_fw;network_fw;System; +bluetooth-frwk-core.service;network_fw;network_fw;System; bluetooth-hci-dump@.service;network_fw;network_fw;System; bluetooth-hci-logger.service;network_fw;network_fw;System; +bluetooth-hci-logger-stop.service;network_fw;network_fw;System; +bluetooth-share-start.service;network_fw;network_fw;System; +bluez-start.service;network_fw;network_fw;System; browser-provider.service;web_fw;web_fw;System; buxton2.service;buxton;buxton;System; -central-key-manager.service;key-manager;key-manager;System; +central-key-manager.service;key-manager;security_fw;System; cert-server.service;security_fw;security_fw;System; connman-vpn.service;network_fw;network_fw;System; connman.service;network_fw;network_fw;System; @@ -24,7 +29,7 @@ device-policy-manager.service;security_fw;security_fw;System; device-policy-syspopup.service;security_fw;security_fw;System; deviced.service;root;root;System::Privileged; display-manager.service;root;root;System; -dlog_logger.service;root;root;System; +dlog_logger.service;log;log;System; download-provider.service;web_fw;web_fw;System; emergency.service;root;root;System; esd.service;app_fw;app_fw;System; @@ -50,6 +55,7 @@ media-server.service;multimedia_fw;multimedia_fw;System; mediacontroller.service;multimedia_fw;multimedia_fw;System; mobileap-agent.service;network_fw;network_fw;System; mtp-initiator.service;network_fw;network_fw;System; +mm-resource-managerd.service;multimedia_fw;multimedia_fw;System; murphyd.service;multimedia_fw;multimedia_fw;System; muse-server.service;multimedia_fw;multimedia_fw;System; net-config.service;network_fw;network_fw;System; @@ -59,8 +65,10 @@ offline-update.service;root;root;System::Privileged; package-manager.service;app_fw;app_fw;System; package-recovery.service;app_fw;app_fw;System; pass.service;system_fw;system_fw;System; +phonenumber-utils.service;service_fw;service_fw;System; pkg-db-recovery.service;app_fw;app_fw;System; pkgdir-tool.service;app_fw;app_fw;System; +privacy-guard-server.service;security_fw;security_fw;System; pulseaudio.service;root;root;System; pushd.service;service_fw;service_fw;System; quotaon.service;root;root;System; @@ -73,6 +81,8 @@ security-manager-cleanup.service;root;root;System::Privileged; security-manager-rules-loader.service;root;root;System::Privileged; security-manager.service;root;root;System::Privileged; serial-getty@.service;root;root;System; +sound-server.service;multimedia_fw;multimedia_fw;System; +stc-iptables.service;network_fw;network_fw;System; stc-manager.service;root;root;System; storaged.service;root;root;System::Privileged; sys-kernel-tracing.service;system_fw;system_fw;System; @@ -120,6 +130,7 @@ tizenid.service;system_fw;system_fw;System; tlm.service;root;root;System; ttrace-marker.service;system_fw;system_fw;System; udev-sdb-init.service;root;root;System; +usb-host-ffs-test-daemon.service;system_fw;system_fw;System; user@.service;%i;users;User; # Need to be defined group __user@.service;%i;;User; # Need to be defined group webappenc-initializer.service;security_fw;security_fw;System; diff --git a/test/new_service_test/target/wearable/dbus_service.list b/test/new_service_test/target/wearable/dbus_service.list index 3f6123a..d9776e2 100644 --- a/test/new_service_test/target/wearable/dbus_service.list +++ b/test/new_service_test/target/wearable/dbus_service.list @@ -2,15 +2,12 @@ net.asp.service;network_fw;network_fw;; net.connman.service;network_fw;network_fw;; net.connman.vpn.service;network_fw;network_fw;; net.netconfig.service;network_fw;network_fw;; -net.stc.service;root;;; # need to be checked whether it is existed net.wifidirect.service;network_fw;network_fw;; -net.wmesh.service;network_fw;network_fw;; # need to be checked whether it is existed org.O1.SecurityAccounts.gUserManagement.service;root;root;; org.bluez.ag_agent.service;network_fw;network_fw;; org.bluez.hid_agent.service;network_fw;network_fw;; org.bluez.hf_agent.service;root;root;; org.bluez.obex.service;network_fw;network_fw;; -org.freedesktop.hostname1.service;root;;; # need to be checked whether it is existed org.freedesktop.locale1.service;root;root;; org.freedesktop.login1.service;root;root;; org.freedesktop.systemd1.service;root;root;; @@ -19,7 +16,6 @@ org.projectx.bt_core.service;root;root;; org.tizen.MobileapAgent.service;network_fw;network_fw;; org.tizen.PhonenumberUtils.dbus.service;service_fw;service_fw;; org.tizen.SmartcardService.service;network_fw;network_fw;; -org.tizen.SoundServer.service;multimedia_fw;multimedia_fw;; # Need to check by SFV org.tizen.account.manager.service;root;root;; org.tizen.alarm.manager.service;root;root;; org.tizen.data-provider-master.service;app_fw;app_fw;; @@ -34,7 +30,10 @@ org.tizen.NetNfcService.service;network_fw;network_fw;; org.tizen.pkg_recovery.service;root;root;; org.tizen.pkgdir_tool.service;root;root;; org.tizen.pkgmgr.service;root;root;; +org.tizen.SoundServer.service;root;root;; org.tizen.smartreply.service;ui_fw;ui_fw;System; org.tizen.system.crash.service;root;root;; +org.tizen.system.deviced.service;root;root;; org.tizen.system.popup.service;root;root;; +org.tizen.system.vibrator.service;system_fw;root;; org.tizen.zigbee.service;network_fw;network_fw;; diff --git a/test/new_service_test/target/wearable/systemd_service.list b/test/new_service_test/target/wearable/systemd_service.list index a74defa..a451d73 100644 --- a/test/new_service_test/target/wearable/systemd_service.list +++ b/test/new_service_test/target/wearable/systemd_service.list @@ -5,14 +5,18 @@ auth-fw.service;security_fw;security_fw;System; bluetooth-address.service;network_fw;network_fw;System; bluetooth-force-hci-logger.service;network_fw;network_fw;System; bluetooth-frwk.service;network_fw;network_fw;System; +bluetooth-frwk-core.service;network_fw;network_fw;System; bluetooth-hci-device.service;root;root;System; bluetooth-hci-dump@.service;network_fw;network_fw;System; bluetooth-hci-logger.service;network_fw;network_fw;System; +bluetooth-hci-logger-stop.service;network_fw;network_fw;System; bluetooth-hciattach@.service;root;root;System; +bluetooth-share-start.service;network_fw;network_fw;System; +bluez-start.service;network_fw;network_fw;System; boot-animation.service;application;application;System; buxton2.service;buxton;buxton;System; callmgr.service;telephony;telephony;System; -central-key-manager.service;key-manager;key-manager;System; +central-key-manager.service;key-manager;security_fw;System; cert-server.service;security_fw;security_fw;System; connman.service;network_fw;network_fw;System; console-getty.service;root;root;System; @@ -28,12 +32,12 @@ device-policy-manager.service;security_fw;security_fw;System; device-policy-syspopup.service;security_fw;security_fw;System; deviced.service;root;root;System::Privileged; display-manager.service;root;root;System; -dlog_logger.service;root;root;System; +dlog_logger.service;log;log;System; download-provider.service;web_fw;web_fw;System; emergency.service;root;root;System; esd.service;app_fw;app_fw;System; -factory-reset.service;root;root;System; -factory-reset-launch.service;root;root;System; +factory-reset.service;root;root;System::Privileged; +factory-reset-launch.service;root;root;System::Privileged; faultd.service;root;root;System; feedbackd.service;system_fw;system_fw;System; fido.service;service_fw;service_fw;System; @@ -56,6 +60,7 @@ log_dump.service;root;root;System; log_dump.service;system_fw;system_fw;System; # conditionaly used media-server.service;multimedia_fw;multimedia_fw;System; mediacontroller.service;multimedia_fw;multimedia_fw;System; +mm-resource-managerd.service;multimedia_fw;multimedia_fw;System; mobileap-agent.service;network_fw;network_fw;System; msg-server.service;messaging;messaging;System; mtp-responder.service;network_fw;network_fw;System; @@ -72,6 +77,7 @@ pass.service;system_fw;system_fw;System; phonenumber-utils.service;service_fw;service_fw;System; pkg-db-recovery.service;app_fw;app_fw;System; pkgdir-tool.service;app_fw;app_fw;System; +privacy-guard-server.service;security_fw;security_fw;System; pulseaudio.service;root;root;System; pushd.service;service_fw;service_fw;System; quotaon.service;root;root;System; @@ -84,8 +90,11 @@ security-config.service;root;root;System::Privileged; security-manager-cleanup.service;root;root;System::Privileged; security-manager-rules-loader.service;root;root;System::Privileged; security-manager.service;root;root;System::Privileged; +sensord.service;sensor;input;System; serial-getty@.service;root;root;System; shutdown-animation.service;application;application;System; +sound-server.service;multimedia_fw;multimedia_fw;System; +stc-iptables.service;network_fw;network_fw;System; stc-manager.service;root;root;System; storaged.service;root;root;System::Privileged; swap_manager.service;system_fw;system_fw;System; @@ -135,6 +144,7 @@ tizenid.service;system_fw;system_fw;System; tlm.service;root;root;System; ttrace-marker.service;system_fw;system_fw;System; udev-sdb-init.service;root;root;System; +usb-host-ffs-test-daemon.service;system_fw;system_fw;System; user@.service;%i;users;User; __user@.service;%i;;User; webappenc-initializer.service;security_fw;security_fw;System;