diff options
author | Dedy Lansky <dlansky@codeaurora.org> | 2015-12-01 09:22:24 +0200 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2016-08-05 00:19:12 -0700 |
commit | 796761b8a0beb55129d65a7485cc278119a5232a (patch) | |
tree | 121253fd79f6cda4656910858be1fd645b3990cf | |
parent | f1e187447e26d6932cad13d1c347c93324b8cd95 (diff) | |
download | android_device_qcom_sepolicy-796761b8a0beb55129d65a7485cc278119a5232a.tar.gz android_device_qcom_sepolicy-796761b8a0beb55129d65a7485cc278119a5232a.tar.bz2 android_device_qcom_sepolicy-796761b8a0beb55129d65a7485cc278119a5232a.zip |
sepolicy: allow fstman write permissions to wifi directory
FST Manager needs write permissions to wifi directory for supporting
whitelist of rate upgrate interface (wlan1)
Change-Id: I564e7da6118e17f7487242c55b0373dab8d12578
-rw-r--r-- | common/fstman.te | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/fstman.te b/common/fstman.te index 82ac45da..f727e714 100644 --- a/common/fstman.te +++ b/common/fstman.te @@ -35,6 +35,8 @@ allow fstman self:capability { net_admin net_raw }; allow fstman self:netlink_route_socket nlmsg_write; allow fstman sysfs:file write; r_dir_file(fstman, wifi_data_file) +allow fstman wifi_data_file:dir rw_dir_perms; +allow fstman wifi_data_file:file create_file_perms; allow fstman { wpa hostapd }:unix_dgram_socket sendto; allow fstman wpa_socket:dir rw_dir_perms; allow fstman wpa_socket:sock_file create_file_perms; |