Mark hal_dumpstate_impl as HAL impl domain
Test: No change to policy according to sesearch.
Test: "sepolicy-analyze <sepolicy file> attribute haldomain" now also
lists hal_dumpstate_impl
Bug: 34180936
Change-Id: Id2966332a783f121adb7b5551c9ec88cd0eaeaf1
diff --git a/sepolicy/hal_dumpstate_impl.te b/sepolicy/hal_dumpstate_impl.te
index e8e098d..ee2e3ab 100644
--- a/sepolicy/hal_dumpstate_impl.te
+++ b/sepolicy/hal_dumpstate_impl.te
@@ -1,6 +1,7 @@
-type hal_dumpstate_impl, domain, hal_dumpstate;
-type hal_dumpstate_impl_exec, exec_type, file_type;
+type hal_dumpstate_impl, domain;
+hal_impl_domain(hal_dumpstate_impl, hal_dumpstate)
+type hal_dumpstate_impl_exec, exec_type, file_type;
init_daemon_domain(hal_dumpstate_impl)
# Access to files for dumping