From ec488e1fee034eee1491c186f610f310fb055307 Mon Sep 17 00:00:00 2001 From: Jeff Vander Stoep Date: Mon, 15 May 2017 13:25:06 -0700 Subject: [PATCH] sepolicy: remove all use of domain_deprecated This attribute has been removed from public policy and is no longer available. Bug: 38316109 Test: build policy Change-Id: I3407ced2d725de982e19b77345827de03d93c426 --- 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 a863aa6054..78d20fca06 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, domain_deprecated; +type goldfish_setup, domain; 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 95174d6821..d5571fd229 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, domain_deprecated; +type qemu_props, domain; 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 797cf5c6b0..eee21c4062 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, domain_deprecated; +type qemud, domain; type qemud_exec, exec_type, file_type; init_daemon_domain(qemud)