Skip to content
Snippets Groups Projects
Commit e5775fbd authored by Dmitry Shmidt's avatar Dmitry Shmidt
Browse files

dumpstate: Fix wificond access


Bug: 31246864

Change-Id: I8319e632b3be1e558dfc550453b8298914c89064
Signed-off-by: default avatarDmitry Shmidt <dimitrysh@google.com>
parent 56febcef
No related branches found
No related tags found
No related merge requests found
...@@ -100,8 +100,7 @@ allow dumpstate { dm_device cache_block_device }:blk_file getattr; ...@@ -100,8 +100,7 @@ allow dumpstate { dm_device cache_block_device }:blk_file getattr;
# Allow dumpstate to make binder calls to any binder service # Allow dumpstate to make binder calls to any binder service
binder_call(dumpstate, binderservicedomain) 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 # Reading /proc/PID/maps of other processes
allow dumpstate self:capability sys_ptrace; allow dumpstate self:capability sys_ptrace;
......
...@@ -44,3 +44,7 @@ allow wificond self:capability { setuid setgid setpcap chown }; ...@@ -44,3 +44,7 @@ allow wificond self:capability { setuid setgid setpcap chown };
allow wificond wpa_socket:dir rw_dir_perms; allow wificond wpa_socket:dir rw_dir_perms;
allow wificond system_wpa_socket:sock_file unlink; allow wificond system_wpa_socket:sock_file unlink;
allow wificond 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment