From 9e69c46395b8f7b519370f21a4f414b6ca1cd9b5 Mon Sep 17 00:00:00 2001 From: Kangping Dong Date: Wed, 17 Jan 2024 12:23:07 +0800 Subject: [PATCH] [Thread] create socket dev/socket/ot-daemon/thread-wpan.sock Creates the /dev/socket/ot-daemon/thread-wpan.sock socket from the service init file. This is required for communication between ot-ctl and ot-daemon service Bug: 320451788 Test: verified that ot-daemon can create socket /dev/socket/ot-daemon/thread-wpan.sock Change-Id: Ib2111d67d2ce6726158f02a2cb2310c7ba9bf270 --- thread/apex/ot-daemon.34rc | 1 + 1 file changed, 1 insertion(+) diff --git a/thread/apex/ot-daemon.34rc b/thread/apex/ot-daemon.34rc index 1eb1294d52..25060d1828 100644 --- a/thread/apex/ot-daemon.34rc +++ b/thread/apex/ot-daemon.34rc @@ -21,4 +21,5 @@ service ot-daemon /apex/com.android.tethering/bin/ot-daemon -I thread-wpan --aut user thread_network group thread_network inet system seclabel u:r:ot_daemon:s0 + socket ot-daemon/thread-wpan.sock stream 0666 thread_network thread_network override