Skip to content
Snippets Groups Projects
Commit fb076f8b authored by repo sync's avatar repo sync
Browse files

Add temporary policy for wpa_supplicant.

This allows wpa_supplicant to interact with the sockets created
for it by init. Eventually we'll want those to be properly
labelled, but allow until then.

Change-Id: I33fcd22173a8d47bbc4ada8d6aa62b4d159cbb15
parent 59e40a04
No related branches found
No related tags found
No related merge requests found
...@@ -19,6 +19,5 @@ allow wpa random_device:chr_file r_file_perms; ...@@ -19,6 +19,5 @@ 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:sock_file create_file_perms; allow wpa wpa_socket:sock_file create_file_perms;
# Allow init to create wpa_socket and transition to wpa # Allow wpa to read and write unix dgram sockets from init
type_transition init wpa_socket:unix_dgram_socket wpa_socket; allow wpa init:unix_dgram_socket { read write };
allow wpa wpa_socket:unix_dgram_socket { read write };
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment