diff --git a/dumpstate.te b/dumpstate.te index 69504b9fb7ab6eed53fbe02ecdb3b695b1de8824..80c1563885fa6e56ff668e6c8e1bfa2de1ac7dda 100644 --- a/dumpstate.te +++ b/dumpstate.te @@ -100,8 +100,7 @@ allow dumpstate { dm_device cache_block_device }:blk_file getattr; # 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 2c5fd1e998274a8474538a02f24df1c44226059d..eb02ded18f0f282ad5e15daef8b7331fdf8d291f 100644 --- a/wificond.te +++ b/wificond.te @@ -44,3 +44,7 @@ allow wificond self:capability { setuid setgid setpcap chown }; 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