diff options
| author | Vladimir Oltean <olteanv@gmail.com> | 2018-09-26 23:33:32 +0300 |
|---|---|---|
| committer | Julian Veit <claymore1298@gmail.com> | 2019-01-26 09:49:15 +0100 |
| commit | 5182ca505bfab6a4af5999a195a5d6104366d26a (patch) | |
| tree | 6c4ba803411c6ce6b6e4732761affc04fee372c9 | |
| parent | ea4408560d83cbd7d5d4e578e024c50f1072e56b (diff) | |
common: grant cnss-daemon access to sysfs_net
* It's scanning the /sys/class/net directory tree
* Also writing to /sys/class/net/wlan0/queues/rx-0/rps_cpus
* Yes, it's actually labeled as wcnss_service.
Change-Id: I2227868405d9ea6bfba1b9fa6103225b134c5759
Signed-off-by: Vladimir Oltean <olteanv@gmail.com>
| -rw-r--r-- | common/wcnss_service.te | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/wcnss_service.te b/common/wcnss_service.te index a8863d4..9413af7 100644 --- a/common/wcnss_service.te +++ b/common/wcnss_service.te @@ -43,6 +43,8 @@ allow wcnss_service firmware_file:file r_file_perms; allow wcnss_service sysfs:file rw_file_perms; allow wcnss_service sysfs_data:file r_file_perms; allow wcnss_service proc:file r_file_perms; +allow wcnss_service sysfs_net:file rw_file_perms; +allow wcnss_service sysfs_net:dir r_dir_perms; # allow access to network performance tuner unix_socket_connect(wcnss_service, wigignpt, wigignpt) |
