Skip to content
Snippets Groups Projects
Commit ba96cd1c authored by Christopher Wiley's avatar Christopher Wiley
Browse files

Allow wificond to clean up wpa_supplicant state

system_server communicates with wpa_supplicant via various control
sockets.  Allow wificond to unlink these sockets after killing
wpa_supplicant.

Bug: 30666540
Change-Id: Ic1419a587f066c36723c24518952025834959535
parent 25f0d18d
No related branches found
No related tags found
No related merge requests found
......@@ -36,3 +36,8 @@ allow wificond self:capability { chown fowner };
allow wificond hostapd:process { signal signull };
# wificond needs kill to drop mad signals on hostapd.
allow wificond self:capability kill;
# wificond cleans up sockets created by wpa_supplicant and framework
allow wificond wpa_socket:dir rw_dir_perms;
allow wificond system_wpa_socket:sock_file unlink;
allow wificond wpa_socket:sock_file unlink;
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