Skip to content
Snippets Groups Projects
Commit 01649ac8 authored by Jong Wook Kim's avatar Jong Wook Kim Committed by android-build-merger
Browse files

Merge "MAC Anonymization: wificond SIOCSIFHWADDR sepolicy" am: 25e183a9

am: 3ffc4905

Change-Id: I2a38802aeb8beffa397fadb02716f77abcd39acb
parents cf06833c 3ffc4905
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ set_prop(wificond, ctl_default_prop) ...@@ -13,7 +13,7 @@ set_prop(wificond, ctl_default_prop)
# create sockets to set interfaces up and down # create sockets to set interfaces up and down
allow wificond self:udp_socket create_socket_perms; allow wificond self:udp_socket create_socket_perms;
# setting interface state up/down is a privileged ioctl # setting interface state up/down is a privileged ioctl
allowxperm wificond self:udp_socket ioctl { SIOCSIFFLAGS }; allowxperm wificond self:udp_socket ioctl { SIOCSIFFLAGS SIOCSIFHWADDR };
allow wificond self:global_capability_class_set { net_admin net_raw }; allow wificond self:global_capability_class_set { net_admin net_raw };
# allow wificond to speak to nl80211 in the kernel # allow wificond to speak to nl80211 in the kernel
allow wificond self:netlink_socket create_socket_perms_no_ioctl; allow wificond self:netlink_socket create_socket_perms_no_ioctl;
......
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