Merge "sepolicy: Allow hal_wifi to set wlan driver status prop"

This commit is contained in:
Roshan Pius 2017-03-03 19:17:30 +00:00 committed by Gerrit Code Review
commit 32cc614866
2 changed files with 2 additions and 1 deletions

View file

@ -399,7 +399,6 @@ set_prop(system_server, debug_prop)
set_prop(system_server, powerctl_prop)
set_prop(system_server, fingerprint_prop)
set_prop(system_server, device_logging_prop)
set_prop(system_server, wifi_prop)
set_prop(system_server, dumpstate_options_prop)
set_prop(system_server, overlay_prop)
userdebug_or_eng(`set_prop(system_server, wifi_log_prop)')

View file

@ -5,6 +5,8 @@ binder_call(hal_wifi_server, hal_wifi_client)
r_dir_file(hal_wifi, proc_net)
r_dir_file(hal_wifi, sysfs_type)
set_prop(hal_wifi, wifi_prop)
# allow hal wifi set interfaces up and down
allow hal_wifi self:udp_socket create_socket_perms;
allowxperm hal_wifi self:udp_socket ioctl { SIOCSIFFLAGS };