diff --git a/sepolicy/adbd.te b/sepolicy/adbd.te new file mode 100644 index 00000000..39a87aaa --- /dev/null +++ b/sepolicy/adbd.te @@ -0,0 +1 @@ +allow adbd adbtcp_prop:property_service set; diff --git a/sepolicy/property_contexts b/sepolicy/property_contexts index dc77194d..e5566dc2 100644 --- a/sepolicy/property_contexts +++ b/sepolicy/property_contexts @@ -1 +1 @@ -service.adb.tcp. u:object_r:adbtcp_prop:s0 +service.adb.tcp.port u:object_r:adbtcp_prop:s0 diff --git a/sepolicy/sepolicy.mk b/sepolicy/sepolicy.mk index a08e74a3..1a9b3434 100644 --- a/sepolicy/sepolicy.mk +++ b/sepolicy/sepolicy.mk @@ -14,6 +14,7 @@ BOARD_SEPOLICY_UNION += \ seapp_contexts \ service_contexts \ auditd.te \ + adbd.te \ healthd.te \ hostapd.te \ installd.te \