Skip to content
Snippets Groups Projects
Commit d1ce42b5 authored by Nick Kralevich's avatar Nick Kralevich Committed by Android Git Automerger
Browse files

am d57848df: am ba1a7315: allow wpa_cli to work.

* commit 'd57848df':
  allow wpa_cli to work.
parents b90f2ad2 d57848df
No related branches found
No related tags found
No related merge requests found
...@@ -19,3 +19,9 @@ allow wpa random_device:chr_file r_file_perms; ...@@ -19,3 +19,9 @@ allow wpa random_device:chr_file r_file_perms;
type_transition wpa wifi_data_file:sock_file wpa_socket; type_transition wpa wifi_data_file:sock_file wpa_socket;
allow wpa wpa_socket:dir { rw_dir_perms setattr }; allow wpa wpa_socket:dir { rw_dir_perms setattr };
allow wpa wpa_socket:sock_file create_file_perms; allow wpa wpa_socket:sock_file create_file_perms;
# Allow wpa_cli to work. wpa_cli creates a socket in
# /data/misc/wifi/sockets which wpa supplicant communicates with.
userdebug_or_eng(`
unix_socket_send(wpa, wpa, su)
')
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