Merge "sepolicy: Add cap_sys_nice to surfaceflinger"
diff --git a/dumpstate.te b/dumpstate.te
index 69504b9..80c1563 100644
--- a/dumpstate.te
+++ b/dumpstate.te
@@ -100,8 +100,7 @@
# Allow dumpstate to make binder calls to any binder service
binder_call(dumpstate, binderservicedomain)
-binder_call(dumpstate, { appdomain autoplay_app netd })
-
+binder_call(dumpstate, { appdomain autoplay_app netd wificond })
# Reading /proc/PID/maps of other processes
allow dumpstate self:capability sys_ptrace;
diff --git a/wificond.te b/wificond.te
index 2c5fd1e..eb02ded 100644
--- a/wificond.te
+++ b/wificond.te
@@ -44,3 +44,7 @@
allow wificond wpa_socket:dir rw_dir_perms;
allow wificond system_wpa_socket:sock_file unlink;
allow wificond wpa_socket:sock_file unlink;
+
+# dumpstate support
+allow wificond dumpstate:fd use;
+allow wificond dumpstate:fifo_file write;
\ No newline at end of file