Skip to content
Snippets Groups Projects
Commit 25e183a9 authored by Jong Wook Kim's avatar Jong Wook Kim Committed by Gerrit Code Review
Browse files

Merge "MAC Anonymization: wificond SIOCSIFHWADDR sepolicy"

parents bc24ba72 72030486
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.
Please register or to comment