Skip to content
Snippets Groups Projects
Commit 5ec48c6d authored by Christopher Wiley's avatar Christopher Wiley Committed by Android (Google) Code Review
Browse files

Merge "Allow wificond to write wifi component config files"

parents b6e88d2b f83da142
No related branches found
No related tags found
No related merge requests found
......@@ -20,3 +20,11 @@ allow wificond self:capability { net_admin net_raw };
allow wificond self:netlink_socket create_socket_perms_no_ioctl;
r_dir_file(wificond, proc_net)
# wificond writes out configuration files for wpa_supplicant/hostapd.
allow wificond wifi_data_file:dir rw_dir_perms;
allow wificond wifi_data_file:file create_file_perms;
# TODO: Remove fowner when wificond runs as the wifi user b/29870863
# We need this today, because we need to chmod hostapd/supplicant
# files, which are owned by system or wifi (not wificond's root).
allow wificond self:capability { chown fowner };
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