4 ms·
Android's flavor of Linux uses "binder" instead of pipes because of its security model. IMHO filesystem-based IPC mechanisms (notably pipes), can't be used bec
by sandGorgon 4y ago
Android's flavor of Linux uses "binder" instead of pipes because of its security model. IMHO filesystem-based IPC mechanisms (notably pipes), can't be used because of a lack of a world-writable directory - i may be wrong here.
Binder comes from Palm actually (OpenBinder)
- marcodiego 4y agoHistory of binder is more involved and has its seeds on BeOS IIRC.
- megous 4y ago"lack of a world-writable directory" What's that? A lot of programs store sockets in /run which is typically implemented by `tmpfs`.
- Matthias247 4y agoPipes don’t necessarily mean one has to use FS permissions. Eg a server could hand out anonymous pipes to authorized clients via fd passing on Unix domain sockets. The server can then implement an arbitrary permission check before doing this.