Skip to content

Commit

Permalink
Netd: receive broadcast message from hostapd
Browse files Browse the repository at this point in the history
allow netd to create dir /data/misc/wifi/sockets
allow netd to create sockets wpa_ctrl_*
allow netd to access dir /data/misc/dhcp

Change-Id: Ibd48cd40a61f8e846ae54400dd628eb3287b93bb
CRs-Fixed: 685913
  • Loading branch information
Paul Zhang authored and Steve Kondik committed Nov 12, 2014
1 parent ef41902 commit fd0259a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion netd.te
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ allow netd dhcp:process signal;
# these capabilities
allow netd self:capability { dac_override chown fowner };
allow netd wifi_data_file:file create_file_perms;
allow netd wifi_data_file:dir rw_dir_perms;
allow netd wifi_data_file:dir create_dir_perms;
allow netd wifi_data_file:sock_file { create setattr unlink write };

# Allow netd to chmod dir /data/misc/dhcp
allow netd dhcp_data_file:dir create_dir_perms;

# Needed to update /data/misc/net/rt_tables
allow netd net_data_file:file create_file_perms;
Expand Down

0 comments on commit fd0259a

Please sign in to comment.