sepolicy: Add policies for IPv6 Tethering

Added security policies needed for IPv6 tethering functionality
to perform operations on sockets

CRs-fixed: 628313
Change-Id: Ia5d88ecac78693aff672123492bf1cb3307110a8
This commit is contained in:
Subash Abhinov Kasiviswanathan
2014-03-12 17:13:13 -06:00
committed by Avijit Kanti Das
parent 3fef26f444
commit 2c3fed3a82
2 changed files with 5 additions and 1 deletions

View File

@@ -18,4 +18,5 @@ BOARD_SEPOLICY_UNION := \
smd_test.te \
qmi_ping.te \
qmi_test_service.te \
irsc_util.te
irsc_util.te \
netd.te

3
netd.te Normal file
View File

@@ -0,0 +1,3 @@
#Policies for IPv6 tethering
allow netd netd:capability { setgid setuid };
allow netd netd:packet_socket { create bind setopt read ioctl };