Update wpa_supplicant policy
Change-Id: I9b05f0f2ce6c6c52b4207cac3120f06565b7da30
This commit is contained in:
parent
3123b1eef7
commit
c65b2ba338
1 changed files with 4 additions and 0 deletions
|
@ -18,3 +18,7 @@ allow wpa random_device:chr_file r_file_perms;
|
||||||
# Create a socket for receiving info from wpa
|
# Create a socket for receiving info from wpa
|
||||||
type_transition wpa wifi_data_file:sock_file wpa_socket;
|
type_transition wpa wifi_data_file:sock_file wpa_socket;
|
||||||
allow wpa wpa_socket:sock_file create_file_perms;
|
allow wpa wpa_socket:sock_file create_file_perms;
|
||||||
|
|
||||||
|
# Allow init to create wpa_socket and transition to wpa
|
||||||
|
type_transition init wpa_socket:unix_dgram_socket wpa_socket;
|
||||||
|
allow wpa wpa_socket:unix_dgram_socket { read write };
|
||||||
|
|
Loading…
Reference in a new issue