Merge "Wifi HAL SIOCSIFHWADDR sepolicy" into pi-dev

am: ce02b00794

Change-Id: I9fc51fbe9633583b12aaa20b23673077f2a4640a
This commit is contained in:
Jong Wook Kim 2018-03-31 00:05:29 +00:00 committed by android-build-merger
commit 24e74b3bf9

View file

@ -12,7 +12,7 @@ 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 };
allowxperm hal_wifi self:udp_socket ioctl { SIOCSIFFLAGS SIOCSIFHWADDR };
allow hal_wifi self:global_capability_class_set { net_admin net_raw };
# allow hal_wifi to speak to nl80211 in the kernel