Skip to content

Commit 9b2a8dd

Browse files
committed
Add note about localabstract
1 parent 6c66c1e commit 9b2a8dd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

snapo-link-android/link-core/src/main/java/com/openai/snapo/link/core/SnapOLinkServer.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ class SnapOLinkServer(
4646

4747
/** Name visible to `adb shell cat /proc/net/unix`. */
4848
val socketName: String = "snapo_server_${Process.myPid()}"
49+
// Security note: this binds in the Linux abstract namespace. Access is governed by SELinux
50+
// (connectto), not filesystem perms. Other apps will not be able to connect, but it is
51+
// reachable by ADB forward.
4952

5053
// --- lifecycle ---
5154
@Volatile

0 commit comments

Comments
 (0)