From 796761b8a0beb55129d65a7485cc278119a5232a Mon Sep 17 00:00:00 2001 From: Dedy Lansky Date: Tue, 1 Dec 2015 09:22:24 +0200 Subject: 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 --- common/fstman.te | 2 ++ 1 file changed, 2 insertions(+) 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; -- cgit v1.2.3