cm: policy for ipv6 tethering
* Enable use of radish via netd for ipv6 tethering Change-Id: Ifa0e85686fc70f59c089ca40a78cea9935820185
This commit is contained in:
parent
674bebbd6d
commit
fdf1aff5ad
@ -6,3 +6,5 @@
|
||||
/sys/devices/system/cpu.*/cpufreq(/.*)? -- u:object_r:sysfs_devices_system_cpu:s0
|
||||
/sys/block/mmcblk0/queue/scheduler -- u:object_r:sysfs_writable:s0
|
||||
|
||||
/data/hostapd(/.*)? u:object_r:wifi_data_file:s0
|
||||
/data/misc/radio(/.*)? u:object_r:radio_data_file:s0
|
||||
|
4
sepolicy/netd.te
Normal file
4
sepolicy/netd.te
Normal file
@ -0,0 +1,4 @@
|
||||
allow netd self:capability { setuid sys_module setgid };
|
||||
allow netd self:packet_socket create_socket_perms;
|
||||
allow netd radio_data_file:dir rw_dir_perms;
|
||||
allow netd radio_data_file:file create_file_perms;
|
@ -13,6 +13,7 @@ BOARD_SEPOLICY_UNION += \
|
||||
genfs_contexts \
|
||||
seapp_contexts \
|
||||
installd.te \
|
||||
netd.te \
|
||||
ueventd.te \
|
||||
vold.te \
|
||||
mac_permissions.xml
|
||||
|
Loading…
Reference in New Issue
Block a user