sepolicy: Fix permissions for service.adb.tcp.port
This makes the rule more specific by overriding the upstream sepolicy. Also adds the adbd context which is necessary for "adb tcpip". Change-Id: Ia17eb56fc1682ab248764329e88eebd2a4075c97
This commit is contained in:
parent
d2248b27a8
commit
5c9f9efba6
1
sepolicy/adbd.te
Normal file
1
sepolicy/adbd.te
Normal file
@ -0,0 +1 @@
|
||||
allow adbd adbtcp_prop:property_service set;
|
@ -1 +1 @@
|
||||
service.adb.tcp. u:object_r:adbtcp_prop:s0
|
||||
service.adb.tcp.port u:object_r:adbtcp_prop:s0
|
||||
|
@ -14,6 +14,7 @@ BOARD_SEPOLICY_UNION += \
|
||||
seapp_contexts \
|
||||
service_contexts \
|
||||
auditd.te \
|
||||
adbd.te \
|
||||
healthd.te \
|
||||
hostapd.te \
|
||||
installd.te \
|
||||
|
Loading…
Reference in New Issue
Block a user