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
This commit is contained in:
parent
59e40a04e2
commit
fb076f8b11
1 changed files with 2 additions and 3 deletions
|
@ -19,6 +19,5 @@ allow wpa random_device:chr_file r_file_perms;
|
|||
type_transition wpa wifi_data_file:sock_file wpa_socket;
|
||||
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 };
|
||||
# Allow wpa to read and write unix dgram sockets from init
|
||||
allow wpa init:unix_dgram_socket { read write };
|
||||
|
|
Loading…
Reference in a new issue