From 7890fc4d2eb3ee17eafe33c0d91385ad763a5c0b Mon Sep 17 00:00:00 2001 From: Jeff Vander Stoep Date: Wed, 4 Nov 2015 08:49:07 -0800 Subject: [PATCH] selinux: Grant all processes the domain_deprecated attribute Bug: 25433265 Change-Id: Iafad5abd6e75c5a46f844ef3e744adf1c904b362 --- target/board/generic/sepolicy/goldfish_setup.te | 2 +- target/board/generic/sepolicy/qemu_props.te | 2 +- target/board/generic/sepolicy/qemud.te | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/target/board/generic/sepolicy/goldfish_setup.te b/target/board/generic/sepolicy/goldfish_setup.te index 85d5c8cf69..b472d2aae7 100644 --- a/target/board/generic/sepolicy/goldfish_setup.te +++ b/target/board/generic/sepolicy/goldfish_setup.te @@ -1,5 +1,5 @@ # goldfish-setup service: runs init.goldfish.sh script -type goldfish_setup, domain; +type goldfish_setup, domain, domain_deprecated; type goldfish_setup_exec, exec_type, file_type; init_daemon_domain(goldfish_setup) diff --git a/target/board/generic/sepolicy/qemu_props.te b/target/board/generic/sepolicy/qemu_props.te index 60a09a5373..6768ce7cd0 100644 --- a/target/board/generic/sepolicy/qemu_props.te +++ b/target/board/generic/sepolicy/qemu_props.te @@ -1,5 +1,5 @@ # qemu-props service: Sets system properties on boot. -type qemu_props, domain; +type qemu_props, domain, domain_deprecated; type qemu_props_exec, exec_type, file_type; init_daemon_domain(qemu_props) diff --git a/target/board/generic/sepolicy/qemud.te b/target/board/generic/sepolicy/qemud.te index eee21c4062..797cf5c6b0 100644 --- a/target/board/generic/sepolicy/qemud.te +++ b/target/board/generic/sepolicy/qemud.te @@ -1,5 +1,5 @@ # qemu support daemon -type qemud, domain; +type qemud, domain, domain_deprecated; type qemud_exec, exec_type, file_type; init_daemon_domain(qemud)