Skip to content
Snippets Groups Projects
Commit 3ffc4905 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

Change-Id: I8ac9450deef038794a29a9724dd723e6bfdf3ee3
parents 6c112fb3 25e183a9
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