summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/sepolicy/dumpstate.te17
1 files changed, 17 insertions, 0 deletions
diff --git a/common/sepolicy/dumpstate.te b/common/sepolicy/dumpstate.te
new file mode 100644
index 0000000..ad16894
--- /dev/null
+++ b/common/sepolicy/dumpstate.te
@@ -0,0 +1,17 @@
+# Signal java processes to dump hal_vehicle_default, hal_audiocontrol_default
+allow dumpstate {
+ hal_vehicle_default
+ hal_audiocontrol_default
+}:process signal;
+
+
+# Allow dumpstate to make binder calls to hal_identity, hal_light, hal_power
+binder_call(dumpstate, hal_identity_default)
+binder_call(dumpstate, hal_light_default)
+binder_call(dumpstate, hal_power_default)
+
+dump_hal(hal_vehicle)
+dump_hal(hal_audiocontrol)
+dump_hal(hal_identity)
+dump_hal(hal_light)
+dump_hal(hal_power)