Skip to content
Snippets Groups Projects
Commit 080bfa01 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

am: 01649ac8

Change-Id: I1b3a4e10732833e85f665f43c3705b207f284aac
parents de962429 01649ac8
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ set_prop(wificond, ctl_default_prop)
# create sockets to set interfaces up and down
allow wificond self:udp_socket create_socket_perms;
# 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 to speak to nl80211 in the kernel
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