Skip to content
Snippets Groups Projects
Commit b3b8e5f5 authored by Oscar Shu's avatar Oscar Shu Committed by Gerrit Code Review
Browse files

Merge "Wifi HAL SIOCETHTOOL sepolicy"

parents 5aacdbc9 04fad007
No related branches found
No related tags found
No related merge requests found
...@@ -10,9 +10,9 @@ r_dir_file(hal_wifi, sysfs_type) ...@@ -10,9 +10,9 @@ r_dir_file(hal_wifi, sysfs_type)
set_prop(hal_wifi, exported_wifi_prop) set_prop(hal_wifi, exported_wifi_prop)
set_prop(hal_wifi, wifi_prop) set_prop(hal_wifi, wifi_prop)
# allow hal wifi set interfaces up and down # allow hal wifi set interfaces up and down and get the factory MAC
allow hal_wifi self:udp_socket create_socket_perms; allow hal_wifi self:udp_socket create_socket_perms;
allowxperm hal_wifi self:udp_socket ioctl { SIOCSIFFLAGS SIOCSIFHWADDR }; allowxperm hal_wifi self:udp_socket ioctl { SIOCSIFFLAGS SIOCSIFHWADDR SIOCETHTOOL };
allow hal_wifi self:global_capability_class_set { net_admin net_raw }; allow hal_wifi self:global_capability_class_set { net_admin net_raw };
# allow hal_wifi to speak to nl80211 in the kernel # allow hal_wifi to speak to nl80211 in the kernel
......
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