aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2025-09-22 16:20:27 +0200
committerAlexander Potapenko <glider@google.com>2025-09-23 14:33:05 +0000
commite667a34fd4e9da57a13e229ceb00a4e17e65e1ee (patch)
treeb54764e74ebede4e012a02f64fab5481c726c669
parent0ac7291ca51f87df8022da0f66178546e855701a (diff)
sys/linux: use the same device in the binder seed
Otherwise the two instances can't communicate.
-rw-r--r--sys/linux/test/binder2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/linux/test/binder b/sys/linux/test/binder
index 3a5b641d2..f9b935e9c 100644
--- a/sys/linux/test/binder
+++ b/sys/linux/test/binder
@@ -1,6 +1,6 @@
r0 = openat$binderfs(0xffffffffffffff9c, &(0x7f00000000c0)='./binderfs/binder0\x00', 0x0, 0x0)
ioctl$BINDER_SET_CONTEXT_MGR_EXT(r0, AUTO, &AUTO={AUTO, 0x100, 0x0, 0x0})
mmap$binder(&(0x7f00000a0000), 0x2000, 0x1, 0x11, r0, 0x0)
-r1 = openat$binderfs(0xffffffffffffff9c, &(0x7f00000000c0)='./binderfs/binder1\x00', 0x0, 0x0)
+r1 = openat$binderfs(0xffffffffffffff9c, &(0x7f00000000c0)='./binderfs/binder0\x00', 0x0, 0x0)
mmap$binder(&(0x7f00000c0000), 0x2000, 0x1, 0x11, r1, 0x0)
ioctl$BINDER_WRITE_READ(r1, AUTO, &AUTO={AUTO, AUTO, &AUTO=[@transaction_sg={AUTO, {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, AUTO, AUTO, &AUTO={@flat=@binder={AUTO, 0x0, 0x0, 0x0}, @fd={AUTO, AUTO, r0, AUTO, 0x0}, @ptr={AUTO, 0x0, &AUTO=""/10, AUTO, 0x0, 0x0}}, &AUTO=AUTO}, 0x10}], AUTO, AUTO, &AUTO})